]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
[BZ 19170]
[thirdparty/glibc.git] / ChangeLog
1 2017-07-23 John David Anglin <danglin@gcc.gnu.org>
2
3 [BZ 19170]
4 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
5
6 2017-07-21 DJ Delorie <dj@redhat.com>
7
8 * nss/tst-nss-test5.c: Correct test configuration.
9
10 2017-07-21 Steve Ellcey <sellcey@cavium.com>
11
12 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
13 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
14 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
15 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
16 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
17
18 2017-07-21 Steve Ellcey <sellcey@cavium.com>
19
20 * nss/nss_test1.c (default_npwd_data): Fix definition.
21
22 2017-07-21 Steve Ellcey <sellcey@cavium.com>
23
24 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
25 math_force_eval.
26
27 2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28
29 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30
31 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
32 passing to syscall exit.
33
34 2017-07-19 DJ Delorie <dj@delorie.com>
35
36 * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
37
38 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
39
40 [BZ #21741]
41 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
42 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
43 in libc.so.
44
45 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
46
47 [BZ #21740]
48 * debug/Makefile (elide-routines.o): New.
49
50 2017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
51
52 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
53 (_dl_aarch64_cap_flags): Update.
54 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
55 (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
56
57 2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
58
59 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
60 (_dl_hwcap_string): Check range.
61
62 2017-07-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63
64 [BZ #21707]
65 * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
66 relocations before or after initializing the TCB on statically
67 linked executables. That's a per-architecture definition.
68 * elf/rtld.c (dl_main): Add a comment about thread-local
69 variables initialization.
70 * sysdeps/generic/libc-start.h: New file. Define
71 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
72 * sysdeps/powerpc/Makefile:
73 [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
74 tst-tlsifunc-static.
75 [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
76 (tests-internal): Add tst-tlsifunc.
77 * sysdeps/powerpc/tst-tlsifunc.c: New file.
78 * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
79 * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
80 variable.
81 [$(subdir) = math] (test-float128% test-ifloat128%): Force
82 linking to the loader after linking to libgcc.
83 [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
84 (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
85 (tst-strfrom-locale strfrom-skeleton): Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define
87 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
88
89 2017-07-17 DJ Delorie <dj@redhat.com>
90
91 * nss/nss_test.h: New.
92 * nss/nss_test1.h: Rewrite to use test-provided data. Add group
93 tests. Parameterize to allow multiple instances.
94 * nss/nss_test2.h: New. Second instance.
95 * nss/nss_test.ver: New.
96 * nss/nss_test1.c: Update to use new framework.
97 * nss/nss_test2.c: New.
98 * nss/nss_test3.c: New.
99 * nss/nss_test4.c: New.
100 * nss/nss_test5.c: New.
101 * nss/Makefile: Build new tests.
102 * shlib-versions: Add libnss_test2.
103
104 2017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
105
106 [BZ #21512]
107 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
108 passing to syscall exit.
109
110 2017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
111
112 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
113 (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
114
115 2017-07-16 John David Anglin <danglin@gcc.gnu.org>
116
117 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
118 if _dl_fixup fails.
119
120 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
121 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
122 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
123 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
124
125 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
126 offset for r19 load.
127
128 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
129
130 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
131 Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
132 pointer offset. Correct PIC register offset. Don't mention frame
133 related instructions in epilogue.
134 (PUSHARGS_1): Correct offset.
135 (PUSHARGS_2): Likewise.
136 (PUSHARGS_3): Likewise.
137 (PUSHARGS_4): Likewise.
138 (PUSHARGS_5): Likewise.
139 (PUSHARGS_6): Likewise.
140 (POPARGS_1): Don't mention register restore.
141 (POPARGS_2): Likewise.
142 (POPARGS_3): Likewise.
143 (POPARGS_4): Likewise.
144 (POPARGS_5): Likewise.
145 (POPARGS_6): Likewise.
146 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
147 copy of PIC register.
148 (LOAD_PIC): Likewise don't mention restore.
149 (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
150 .cfi_offset. Don't record stack pointer offset. Correct PIC register
151 offset. Don't mention frame related instructions in epilogue.
152
153 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
154
155 * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
156
157 [BZ 20098]
158 * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
159 (_dl_lookup_address): Return address if it is not consistent with
160 being a linker defined function pointer. Likewise, return address
161 if address and function descriptor addresses are not accessible.
162
163 2017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
164
165 * po/libc.pot: Regenerate.
166
167 2017-07-15 John David Anglin <danglin@gcc.gnu.org>
168
169 [BZ locale/19838]
170 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
171
172 * nptl/allocatestack.c (allocate_stack): Align old and new guard
173 addresses to page boundaries when the stack grows up.
174
175 * sysdeps/hppa/math-tests.h: New.
176
177 2017-07-14 DJ Delorie <dj@redhat.com>
178
179 [BZ #21654]
180 * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
181 alignment not char alignment.
182 (__merge_grp): Likewise.
183
184 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
185 Florian Weimer <fweimer@redhat.com>
186
187 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
188 * libio/wmemstream.c (open_wmemstream): Likewise.
189 * nptl/tst-memstream.c: New.
190
191 2017-07-12 Jiong Wang <jiong.wang@arm.com>
192
193 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
194 of pcrel_address under Thumb mode.
195
196 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
197
198 [BZ #21207]
199 * locale/iso-639.def: Add Fiji Hindi (hif).
200
201 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
202
203 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
204
205 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
206
207 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
208 -fstack-protector-all.
209
210 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
211
212 [BZ #20496]
213 * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
214
215 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
216
217 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
218 to iterate over all possible object suffixes. Add a comment
219 explaining the use of sysdep-CFLAGS instead of CFLAGS.
220
221 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
222
223 [BZ #12189]
224 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
225 (tests): Add tst-ssp-1 if -fstack-protector works.
226 * debug/fortify_fail.c: Include <stdbool.h>.
227 (_fortify_fail_abort): New function.
228 (__fortify_fail): Call _fortify_fail_abort.
229 (__fortify_fail_abort): Add a hidden definition.
230 * debug/stack_chk_fail.c: Include <stdbool.h>.
231 (__stack_chk_fail): Call __fortify_fail_abort, instead of
232 __fortify_fail.
233 * debug/tst-ssp-1.c: New file.
234 * include/stdio.h (__libc_message_action): New enum.
235 (__libc_message): Replace int with enum __libc_message_action.
236 (__fortify_fail_abort): New hidden prototype.
237 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
238 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
239 with enum __libc_message_action. Call BEFORE_ABORT only if
240 action includes do_backtrace.
241 (__libc_fatal): Update __libc_message call.
242
243 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
244
245 [BZ #21738]
246 * manual/llio.texi (RWF_NOWAIT): New item.
247 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
248 Add RWF_NOWAIT check.
249 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
250
251 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
252
253 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
254 Support running on kernels without PTRACE_SINGLEBLOCK.
255
256 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
257
258 [BZ #21742]
259 * elf/Makefile (dl-routines): Move dl-conflict to ...
260 (rtld-routines): Here.
261
262 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
263
264 [BZ #21741]
265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
266 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
267 in libc.so.
268
269 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
270
271 * sysdeps/hppa/fpu/libm-test-ulps: Update.
272
273 [BZ #21016]
274 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
275 Fix typo.
276 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
277 bits/types/struct_timespec.h.
278 (PTHREAD_MUTEX_INITIALIZER): Revise define.
279 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
280 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
281 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
282 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
283 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
284 (PTHREAD_COND_INITIALIZER): Likewise.
285 Remove old definitions.
286 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
287 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
288 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
289 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
290 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
291 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
292
293 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
294
295 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
296 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
297 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
298 * sysdeps/x86_64/multiarch/memset.c: Likewise.
299 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
300 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
301 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
302 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
303 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
304 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
305 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
306 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
307 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
308 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
309 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
310 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
311
312 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
313
314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
315
316 2017-07-09 Helge Deller <deller@gmx.de>
317
318 [BZ #21049]
319 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
320 up to avoid clobbering r26.
321
322 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
323
324 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
325 profiled objects.
326
327 2017-07-06 DJ Delorie <dj@redhat.com>
328
329 * manual/tunables.texi: Add missing @end deftp.
330
331 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
332
333 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
334 (do_test): Call it.
335
336 2017-07-06 DJ Delorie <dj@redhat.com>
337
338 * config.make.in: Enable experimental malloc option.
339 * configure.ac: Likewise.
340 * configure: Regenerate.
341 * manual/install.texi: Document it.
342 * INSTALL: Regenerate.
343 * malloc/Makefile: Likewise.
344 * malloc/malloc.c: Add per-thread cache (tcache).
345 (tcache_put): New.
346 (tcache_get): New.
347 (tcache_thread_freeres): New.
348 (tcache_init): New.
349 (__libc_malloc): Use cached chunks if available.
350 (__libc_free): Initialize tcache if needed.
351 (__libc_realloc): Likewise.
352 (__libc_calloc): Likewise.
353 (_int_malloc): Prefill tcache when appropriate.
354 (_int_free): Likewise.
355 (do_set_tcache_max): New.
356 (do_set_tcache_count): New.
357 (do_set_tcache_unsorted_limit): New.
358 * manual/probes.texi: Document new probes.
359 * malloc/arena.c: Add new tcache tunables.
360 * elf/dl-tunables.list: Likewise.
361 * manual/tunables.texi: Document them.
362 * NEWS: Mention the per-thread cache.
363
364 2017-07-06 Joseph Myers <joseph@codesourcery.com>
365
366 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
367 * misc/tst-tsearch.c (TIMEOUT): Remove.
368 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
369 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
370 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
371 * string/tst-cmp.c (TIMEOUT): Define to 600.
372
373 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
374
375 [BZ #21715]
376 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
377 on definition.
378
379 2017-07-06 Florian Weimer <fweimer@redhat.com>
380 H.J. Lu <hongjiu.lu@intel.com>
381
382 [BZ #21609]
383 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
384 (gen-as-const-headers): Add rtld-offsets.sym.
385 * sysdeps/x86_64/dl-tls.c: New file.
386 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
387 * sysdeps/x86_64/tls_get_addr.S: Likewise.
388 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
389 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
390 (TI_OFFSET_OFFSET): Likwise.
391
392 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
393
394 [BZ# 21697]
395 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
396
397 2017-07-05 Florian Weimer <fweimer@redhat.com>
398
399 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
400 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
401 * resolv/tst-resolv-threads.c: New file.
402
403 2017-07-05 Florian Weimer <fweimer@redhat.com>
404
405 support: Add resolver testing mode which does not patch _res.
406 * support/resolv_test.h (struct resolv_redirect_config): Add
407 disable_redirect, server_address_overrides.
408 * support/resolv_test.c (make_server_sockets_for_address): New
409 function.
410 (resolv_test_start): Call it.
411
412 2017-07-05 Florian Weimer <fweimer@redhat.com>
413
414 * support/namespace.h (struct support_chroot_configuration)
415 (struct support_chroot): Define.
416 (support_chroot_create, support_chroot_free): New functions.
417 * support/support_chroot.c: New file.
418 * support/Makefile (libsupport-routines): Add support_chroot.
419 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
420 (path_resolv_conf): Remove definitions.
421 (chroot_env): New variable.
422 (prepare): Call support_chroot_create.
423 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
424 (special_test_callback, do_test): Likewise.
425
426 2017-07-05 Florian Weimer <fweimer@redhat.com>
427
428 Add subtest to check isolation of multiple loopback addresses.
429 * support/tst-support-namespace.c (test_localhost_bind): New function.
430 (do_test): Call it.
431
432 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
433
434 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
435 * libio/libioP.h (_IO_enable_locks): Declare.
436 * libio/Versions (_IO_enable_locks): New symbol.
437 * libio/genops.c (_IO_enable_locks): Define.
438 (_IO_old_init): Initialize flags2.
439 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
440 * libio/ferror.c (_IO_ferror): Likewise.
441 * libio/fputc.c (fputc): Likewise.
442 * libio/putc.c (_IO_putc): Likewise.
443 * libio/getc.c (_IO_getc): Likewise.
444 * libio/getchar.c (getchar): Likewise.
445 * libio/ioungetc.c (_IO_ungetc): Likewise.
446 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
447 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
448 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
449
450 2017-07-04 Florian Weimer <fweimer@redhat.com>
451
452 [BZ #21542]
453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
454 two if no accurate information is available.
455 * posix/tst-sysconf-empty-chroot.c: New file.
456 * posix/Makefile (tests): Add it.
457
458 2017-07-04 Florian Weimer <fweimer@redhat.com>
459
460 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
461 server and sort list counts. Fix improper check for empty search
462 path (completely missing domain name) leading to assertion failure
463 in update_from_conf.
464 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
465 hostname member.
466 (run_res_init): Set host name if requested.
467 (test_cases): Update.
468
469 2017-07-04 Joseph Myers <joseph@codesourcery.com>
470
471 * scripts/build-many-glibcs.py (Context.checkout): Default
472 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
473 kernel version to 4.12.
474
475 2017-07-04 Florian Weimer <fweimer@redhat.com>
476
477 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
478 list management and the role of free_list_start.
479 (decrement_at_index): Put zero at the end of the free list.
480 (__resolv_conf_attach): Fix bogus assert.
481 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
482 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
483
484 2017-07-03 Florian Weimer <fweimer@redhat.com>
485
486 resolv: Introduce free list for resolv_conf index slosts.
487 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
488 type to uintptr_t.
489 (struct resolv_conf_global): Add free_list_start member.
490 (resolv_conf_get_1): Check for free list entry.
491 (decrement_at_index): Put freed slot on the free list.
492 (__resolv_conf_attach): Obtain new slot from the free list.
493 * resolv/tst-resolv-res_ninit.c: New file.
494 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
495 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
496 (generated): Add mtrace-tst-resolv-res_ninit.out,
497 tst-resolv-res_ninit.mtrace.
498 (mtrace-tst-resolv-res_ninit.out): Add target.
499
500 2017-06-30 Florian Weimer <fweimer@redhat.com>
501
502 [BZ #984]
503 Reload /etc/resolv.conf if has been changed on disk.
504 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
505 (__resolv_conf_load, __resolv_conf_get_current): Declare.
506 * resolv/resolv_conf.c (struct resolv_conf_global): Add
507 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
508 (__resolv_conf_get_current): New function.
509 (__resolv_conf_allocate): Do not initialize initstamp.
510 (freeres): Deallocate global->conf_current.
511 * resolv/resolv.h (RES_NORELOAD): Define.
512 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
513 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
514 * resolv/resolv_context.c (replicated_configuration_matches): New.
515 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
516 the current configration.
517 * resolv/res_init.c (__res_initstamp): Remove variable definition.
518 (has_preinit_values): New function.
519 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
520 parameter and do not call __resolv_conf_attach.
521 (__res_vinit): Reimplement based __resolv_conf_load.
522 (res_options): Handle no-reload.
523 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
524 (lock): Remove.
525 (res_int): Do not update __res_initstamp.
526 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
527 RES_NORELOAD.
528 (test_cases): Test no-reload.
529 (special_test_call_res_init): Remove.
530 (special_test_callback): Rely on automated reloading. Add tests
531 for no-reload.
532
533 2017-06-30 Florian Weimer <fweimer@redhat.com>
534
535 Mirror the entire resolver configuration in struct resolv_conf.
536 * resolv/resolv_context.h (__resolv_context_nameserver_count)
537 (__resolv_context_nameserver): New functions.
538 (__resolv_context_sort_count, __resolv_context_sort_entry):
539 Likewise.
540 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
541 resolv_context parameter.
542 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
543 (addrsort): Switch to struct resolv_context.
544 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
545 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
546 sort_list, sort_list_size, options, retrans, retry, ndots members.
547 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
548 (same_address): New functions.
549 (resolv_conf_matches): Compare the new array members.
550 (__resolv_conf_allocate): Allocate and copy the new array members.
551 (update_from_conf): Copy the entire configuration.
552 * resolv/res_init.c (struct nameserver_list, struct sort_list):
553 Define using dynarray.
554 (struct resolv_conf_parser): Add nameserver_list, sort_list,
555 template members.
556 (resolv_conf_parser_init): Add preinit argument. Initialize the
557 new members.
558 (resolv_conf_parser_free): Deallocate the new arrays.
559 (allocate_address_v4): New function.
560 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
561 (res_vinit_1): Drop res_state parameter. Write all parsed date to
562 the parser object instead. Use allocate_address_v4 to allocate
563 IPv4 addresses.
564 (__res_vinit): Adjust.
565 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
566 extended name server list.
567 (test_cases): Adjust.
568
569 2017-06-30 Florian Weimer <fweimer@redhat.com>
570
571 [BZ #19569]
572 [BZ #21475]
573 Support an arbitrary number of search domains.
574 * resolv/resolv_context.h (__resolv_context_search_list): New.
575 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
576 search_list_size members.
577 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
578 (__resolv_conf_allocate): Allocate and and copy search list.
579 (update_from_conf): Copy the search list.
580 * resolv/res_init.c (struct search_list): Define using dynarray.
581 (struct resolv_conf_parser): Define.
582 (resolv_conf_parser_init, resolv_conf_parser_free)
583 (domain_from_hostname): New functions.
584 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
585 struct search_list to collect search list entries. Call
586 domain_from_hostname to obtain the fallback domain name.
587 (__res_vinit): Create and destroy parser object. Pass search list
588 to __resolv_conf_allocate.
589 * resolv/res_query.c (__res_context_search): Use
590 __resolv_context_search_list to obtain search list entries.
591 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
592 from extended resolver context.
593 (test_cases): Update.
594
595 2017-06-30 Florian Weimer <fweimer@redhat.com>
596
597 Add extended resolver state/configuration (struct resolv_conf).
598 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
599 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
600 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
601 (__res_vinit): Call __resolv_conf_allocate and
602 __resolv_conf_attach.
603 * resolv/resolv_context.h (struct resolv_context): Add conf member
604 of type struct resolv_conf.
605 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
606 resolv_conf. Update conf member after initialization.
607 * resolv/Makefile (routines): Add resolv_conf.
608 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
609 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
610 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
611 _u._ext.__glibc_reserved.
612
613 2017-06-30 Florian Weimer <fweimer@redhat.com>
614
615 [BZ #21668]
616 Introduce temporary resolver contexts (struct resolv_conf).
617 * resolv/resolv-internal.h (__res_context_mkquery)
618 (__res_context_searchl __res_context_query, __res_context_send)
619 (__res_context_hostalias): Declare.
620 (__res_nopt): Switch to struct resolv_context.
621 * resolv/res_use_inet6.h: New file.
622 * resolv/resolv_context.h: Likewise.
623 * resolv/resolv_context.c: Likewise.
624 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
625 Renamed from res_gethostbyname2. Use struct resolv_context.
626 (res_gethostbyname2): New function. Implement using
627 res_gethostbyname2_context.
628 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
629 struct resolv_context.
630 (res_gethostbyaddr): New function. Implement using
631 res_gethostbyaddr_context.
632 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
633 resolv_context.
634 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
635 _nss_dns_gethostbyname3_r. Use struct resolv_context.
636 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
637 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
638 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
639 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
640 (_nss_dns_getnetbyaddr_r): Likewise.
641 * resolv/res-close.c (res_thread_freeres): Call
642 __resolv_context_freeres.
643 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
644 maybe_init in resolv/resolv_context.c.
645 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
646 res_nmkquery. Use struct resolv_context.
647 (context_mkquery_common): New function.
648 (res_nmkquery, res_mkquery): Use it.
649 (res_nopt): Switch to struct resolv_context.
650 * resolv/res_query.c (__res_context_querydomain): Renamed from
651 __libc_res_nquerydomain. Use struct resolv_context.
652 (__res_context_query): Renamed from __libc_res_nquery. Use struct
653 resolv_context.
654 (context_query_common): New function.
655 (res_nquery, res_query): Use it.
656 (__res_context_search): Renamed from __libc_res_nsearch. Use
657 struct resolv_context.
658 (context_search_common): New function.
659 (res_nsearch, res_search): Use it.
660 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
661 Use struct resolv_context.
662 (context_querydomain_common): New function.
663 (res_nquerydomain, res_querydomain): Use it.
664 (__res_context_hostalias): Rename from res_hostalias. Use struct
665 resolv_context.
666 (context_hostalias_common): New function.
667 (res_hostalias, hostalias): Use it.
668 * resolv/res_send.c (__res_context_send): Renamed from
669 __libc_res_nsend. Use struct resolv_context.
670 (context_send_common): New function.
671 (res_nsend, res_send): Use it.
672 * resolv/Makefile (routines): Add resolv_context.
673 * resolv/Versions (libc): Export __resolv_context_get,
674 __resolv_context_get_preinit, __resolv_context_get_override,
675 __resolv_context_put. Remove __res_maybe_init.
676 (libresolv): Export __res_context_query, __res_context_search,
677 __res_context_hostalias. Remove __libc_res_nquery,
678 __libc_res_nsearch.
679 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
680 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
681 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
682 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
683 prototypes.
684 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
685 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
686 from __nss_hostname_digits_dots. Use struct resolv_context.
687 (__nss_hostname_digits_dots): New function.
688 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
689 struct resolv_context object. Call new function
690 __nss_hostname_digits_dots_context.
691 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
692 * nss/getnssent_r.c (__nss_setent): Likewise.
693 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
694 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
695 instead of direct _res manipulation.
696 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
697
698 2017-07-03 Florian Weimer <fweimer@redhat.com>
699
700 * resolv/tst-resolv-res_init-skeleton.c
701 (special_tests_count, special_test_call_res_init)
702 (special_test_callback, special_test_thread_func)
703 (run_special_test_on_thread, special_test): Define.
704 (do_test): call special_test.
705 (test_init_names): Fix typo.
706
707 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
708
709 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
710 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
711
712 2017-07-01 Florian Weimer <fweimer@redhat.com>
713 H.J. Lu <hongjiu.lu@intel.com>
714
715 [BZ #21696]
716 * posix/sched_cpucount.c: Don't include <limits.h>.
717 (__sched_cpucount): Use __builtin_popcount.
718
719 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
720
721 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
722 Fix typo.
723
724 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
725
726 * include/math.h (__signbitf128): Define as hidden.
727 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
728 Reimplement without builtins.
729 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
730 (__builtin_signbitf128): Define to __signbitf128.
731 * sysdeps/powerpc/bits/floatn.h: Likewise.
732 * sysdeps/x86/bits/floatn.h: Likewise.
733
734 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
735
736 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
737 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
738 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
739 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
740 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
741 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
742 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
743 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
745 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
746 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
747 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
748 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
749 fcntl_common and add check for F_GETOWN.
750 (__libc_fcntl): Use SYSCALL_CANCEL macro.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
752 use default implementation.
753
754 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
755
756 * elf/dl-tunables.h (tunable_is_name): Move from...
757 * elf/dl-tunables.c (is_name): ... here.
758 (parse_tunables, __tunables_init): Adjust.
759 * manual/tunables.texi: Document glibc.tune.cpu.
760 * sysdeps/aarch64/dl-tunables.list: New file.
761 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
762 cpu_list): New type.
763 (cpu_list): New list of CPU names and their MIDR.
764 (get_midr_from_mcpu): New function.
765 (init_cpu_features): Override MIDR if necessary.
766
767 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
768 (__libc_ifunc_impl_list): Unconditionally select thunderx
769 routine for testing.
770
771 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
772
773 [BZ #21120]
774 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
775 * sysdeps/generic/malloc-alignment.h: Here. New file.
776 * sysdeps/i386/malloc-alignment.h: Likewise.
777 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
778
779 2017-06-30 Florian Weimer <fweimer@redhat.com>
780
781 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
782 variable.
783 (test_file_contents): Use it.
784
785 2017-06-30 Florian Weimer <fweimer@redhat.com>
786
787 * resolv/res_init.c (res_setoptions): Remove source argument.
788 (res_vinit_1): Adjust.
789
790 2017-06-30 Florian Weimer <fweimer@redhat.com>
791
792 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
793
794 2017-06-30 Florian Weimer <fweimer@redhat.com>
795
796 * resolv/res_data.c: Reformat to GNU style.
797 (res_close): Update comments.
798
799 2017-06-30 Florian Weimer <fweimer@redhat.com>
800
801 * resolv/res_data.c (res_query, res_search, res_querydomain)
802 (hostalias): Move to ...
803 * resolv/res_Send.c (res_query, res_search, res_querydomain)
804 (hostalias): here.
805
806 2017-06-30 Florian Weimer <fweimer@redhat.com>
807
808 * resolv/res_data.c (res_isourserver, res_send): Move to ...
809 * resolv/res_send.c (res_isourserver, res_send): here.
810
811 2017-06-30 Florian Weimer <fweimer@redhat.com>
812
813 * resolv/res_debug.c (_res_opcodes): Rename ...
814 (res_opcodes): ... as compatibility symbol.
815 (fp_nquery): Use res_opcodes.
816 * include/resolv.h (_res_opcodes): Remove declaration.
817
818 2017-06-30 Florian Weimer <fweimer@redhat.com>
819
820 * include/resolv.h (res_pquery): Remove declaration.
821 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
822 functions.
823 (_res_opcodes): Remove variable.
824 * resolv/res_debug.c (do_section): Receive pfcode instead of
825 statp.
826 (res_pquery): Rename ...
827 (fp_nquery): to this function. Skip unnecessary _res
828 initialization.
829 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
830
831 2017-06-30 Florian Weimer <fweimer@redhat.com>
832
833 * resolv/res_debug.h: Remove file.
834 * resolv/README: Adjust.
835
836 2017-06-30 Florian Weimer <fweimer@redhat.com>
837
838 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
839 conditionals.
840 (Aerror, Perror): Remove function definitions.
841
842 2017-06-30 Florian Weimer <fweimer@redhat.com>
843
844 * resolv/res_data.c (res_mkquery): Move ...
845 * resolv/res_mkquery.c (res_mkquery): to here.
846
847 2017-06-30 Florian Weimer <fweimer@redhat.com>
848
849 * resolv/res_mkquery.c: Reformat to GNU style.
850 (T_OPT): Remove definition. It is present in the header file.
851
852 2017-06-30 Florian Weimer <fweimer@redhat.com>
853
854 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
855 conditionals.
856
857 2017-06-30 Florian Weimer <fweimer@redhat.com>
858
859 * support/support_capture_subprocess_check.c
860 (support_capture_subprocess_check): Report actual exit status.
861
862 2017-06-30 Florian Weimer <fweimer@redhat.com>
863
864 [BZ #19570]
865 * resolv/res_send.c (nameserver_offset): New function.
866 (__libc_res_nsend): Use it to implement RES_ROTATE.
867 (get_nsaddr): Add assert with name server
868 range check.
869 * resolv/Makefile (xtests): Add tst-resolv-rotate.
870 (tst-resolv-rotate): Link against libpthread.
871 * resolv/tst-resolv-rotate.c: New file.
872
873 2017-06-29 Joseph Myers <joseph@codesourcery.com>
874
875 [BZ #21457]
876 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
877 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
878 [__WORDSIZE == 64] (MC_PC): Likewise.
879 [__WORDSIZE == 64] (MC_NPC): Likewise.
880 [__WORDSIZE == 64] (MC_Y): Likewise.
881 [__WORDSIZE == 64] (MC_G1): Likewise.
882 [__WORDSIZE == 64] (MC_G2): Likewise.
883 [__WORDSIZE == 64] (MC_G3): Likewise.
884 [__WORDSIZE == 64] (MC_G4): Likewise.
885 [__WORDSIZE == 64] (MC_G5): Likewise.
886 [__WORDSIZE == 64] (MC_G6): Likewise.
887 [__WORDSIZE == 64] (MC_G7): Likewise.
888 [__WORDSIZE == 64] (MC_O0): Likewise.
889 [__WORDSIZE == 64] (MC_O1): Likewise.
890 [__WORDSIZE == 64] (MC_O2): Likewise.
891 [__WORDSIZE == 64] (MC_O3): Likewise.
892 [__WORDSIZE == 64] (MC_O4): Likewise.
893 [__WORDSIZE == 64] (MC_O5): Likewise.
894 [__WORDSIZE == 64] (MC_O6): Likewise.
895 [__WORDSIZE == 64] (MC_O7): Likewise.
896 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
897 __MC_NGREG if [__USE_MISC].
898 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
899 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
900 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
901 Define fields using __ctx.
902 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
903 using __ctx.
904 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
905 (REG_PSR): Define only for [__USE_MISC].
906 (REG_PC): Likewise.
907 (REG_nPC): Likewise.
908 (REG_Y): Likewise.
909 (REG_G1): Likewise.
910 (REG_G2): Likewise.
911 (REG_G3): Likewise.
912 (REG_G4): Likewise.
913 (REG_G5): Likewise.
914 (REG_G6): Likewise.
915 (REG_G7): Likewise.
916 (REG_O0): Likewise.
917 (REG_O1): Likewise.
918 (REG_O2): Likewise.
919 (REG_O3): Likewise.
920 (REG_O4): Likewise.
921 (REG_O5): Likewise.
922 (REG_O6): Likewise.
923 (REG_O7): Likewise.
924 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
925 [__WORDSIZE == 64] (REG_FPRS): Likewise.
926 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
927 (gregset_t): Define using __NGREG.
928 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
929 __SPARC_MAXREGWINDOW if [__USE_MISC].
930 (struct rwindow): Rename to struct __rwindow. Define fields using
931 __ctx.
932 (rw_fp): Define only for [__USE_MISC].
933 (rw_rtn): Likewise.
934 (gwindows_t): Remove struct tag. Define fields using __ctx and
935 __SPARC_MAXREGWINDOW.
936 (MAXFPQ): Define only for [__USE_MISC].
937 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
938 (struct fq): Rename to struct __fq. Define fields using __ctx.
939 (FPU_REGS_TYPE): Define only for [__USE_MISC].
940 (FPU_DREGS_TYPE): Likewise.
941 (V7_FPU_FSR_TYPE): Likewise.
942 (V9_FPU_FSR_TYPE): Likewise.
943 (V9_FPU_FPRS_TYPE): Likewise.
944 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
945 using __ctx.
946 [__WORDSIZE != 64] (fpregset_t): Likewise.
947 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
948 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
949 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
950 Rename field filler to __glibc_reserved1.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
952 (MC_FILLER): Remove.
953
954 2017-06-29 Florian Weimer <fweimer@redhat.com>
955
956 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
957 Adjust format string.
958 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
959 dependency.
960
961 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
962
963 * sysdeps/posix/spawni.c (__spawni_child): New function.
964 (__spawni): Rename to __spawnix.
965
966 2017-06-29 Florian Weimer <fweimer@redhat.com>
967
968 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
969 Use it to make the temporary copy at the start of the work buffer.
970 (process_arg): Adjust call to group_number.
971
972 2017-06-29 Florian Weimer <fweimer@redhat.com>
973
974 * stdio-common/vfprintf.c (printf_positional): Use struct
975 scratch_buffer to allocate backing storage for the args_value,
976 args_size, args_type arrays.
977
978 2017-06-29 Florian Weimer <fweimer@redhat.com>
979
980 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
981 scratch_buffer.
982
983 2017-06-29 Florian Weimer <fweimer@redhat.com>
984
985 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
986 wchar_t builds.
987
988 2017-06-29 Florian Weimer <fweimer@redhat.com>
989
990 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
991 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
992
993 2017-06-29 Florian Weimer <fweimer@redhat.com>
994
995 * stdio-common/tst-vfprintf-user-type.c: New file.
996 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
997
998 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
999
1000 * posix/tst-spawn2.c (do_test): Use libsupport.
1001 * posix/tst-spawn3.c (do_test): Likewise.
1002
1003 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1004
1005 * math/gen-tgmath-tests.py (Tests.__init__): Define
1006 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1007
1008 * math/tgmath.h: Include <bits/libc-header-start.h> and
1009 <bits/floatn.h>.
1010 (__TGMATH_F128): New macro.
1011 (__TGMATH_CF128): Likewise.
1012 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1013 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1014 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1015 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1016 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1017 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1018 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1019 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1020 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1021 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1022 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1023 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1024 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1025 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1026 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1027 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1028 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1029 _FloatNx types if the corresponding HUGE_VAL macros are defined.
1030
1031 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1032 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1033 complex arguments.
1034
1035 [BZ #21687]
1036 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1037 (totalorder): Use it.
1038 (totalordermag): Likewise.
1039 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1040 totalorder and totalordermag.
1041 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1042 totalordermag in arguments of calls to those functions.
1043 (NCALLS): Change to 134.
1044
1045 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1046 cast to return type argument.
1047 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1048 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1049 (llrint): Likewise.
1050 (lround): Likewise.
1051 (llround): Likewise.
1052 (ilogb): Likewise.
1053 (llogb): Likewise.
1054 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1055 (ufromfp): Likewise.
1056 (fromfpx): Likewise.
1057 (ufromfpx): Likewise.
1058
1059 [BZ #21607]
1060 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1061 [LDBL_MANT_DIG > DBL_MANT_DIG].
1062 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1063 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1064 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1065 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1066 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1067 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1068 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1069 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1070 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1071 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1072 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1073 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1074 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1075 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1076 * math/test-tgmath.c: Include <float.h>.
1077 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1078 DBL_MANT_DIG].
1079 * math/test-tgmath2.c: Include <float.h>.
1080 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1081 DBL_MANT_DIG].
1082
1083 * math/gen-tgmath-tests.py: New file.
1084 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1085 [PYTHON] (generated): Add test-tgmath3.c.
1086 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1087 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1088
1089 * configure.ac (AS): Require binutils 2.25 or later.
1090 (LD): Likewise.
1091 * configure: Regenerated.
1092 * sysdeps/s390/configure.ac (AS): Remove version check.
1093 * sysdeps/s390/configure: Regenerated.
1094 * sysdeps/x86_64/configure.ac (AS): Remove version check.
1095 * sysdeps/x86_64/configure: Regenerated.
1096 * manual/install.texi (Tools for Compilation): Document
1097 requirement for binutils 2.25 or later.
1098 * INSTALL: Regenerated.
1099
1100 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 [BZ #14995]
1103 * configure.ac: Allow gold 1.14 or above to configire glibc
1104 * configure: Regenerated.
1105
1106 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1107
1108 [BZ #21457]
1109 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1110 struct tag.
1111 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1112 Likewise.
1113 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1114 Likewise.
1115 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1116 Declare struct type with __ctx.
1117 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1118 tag.
1119 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1120 and regs field name.
1121
1122 2017-06-27 Joseph Myers <joseph@codesourcery.com>
1123
1124 * elf/loadtest.c (OUT): Define using do { } while (0).
1125
1126 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1127 (DO_NUMBER_SPACEPAD): Likewise.
1128
1129 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
1130
1131 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1132 sysdep_routines.
1133 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1134 __memchr_neon.
1135 Add ifunc definitions for __memchr_neon and __memchr_noneon.
1136 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1137 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1138 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1139
1140 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1141
1142 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1143 Use vector and cu21 instruction.
1144 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1145 Add __to_utf8_loop_vx_cu in ifunc resolver.
1146
1147 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1148
1149 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1150 Use vector and cu24 instruction.
1151
1152 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1153
1154 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1155 Use vector and cu42 instruction.
1156 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1157 Add __to_utf16_loop_vx_cu in ifunc resolver.
1158
1159 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1160
1161 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1162 Use vector and cu41 instruction.
1163 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1164 in ifunc resolver.
1165
1166 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1167
1168 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1169 Add vxd, vxe, gs flag.
1170 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1171 HWCAP_S390_GS capability.
1172 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1173 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1174
1175 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1178 the first 32 bytes before checking size when size >= 32 bytes.
1179 Replace vpmovmskb/subl/jnz with vptest/jnc.
1180
1181 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1182
1183 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1184 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1185
1186 2017-06-27 Florian Weimer <fweimer@redhat.com>
1187
1188 Work around test timeouts with ICMP rate limiting on localhost.
1189 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1190 function.
1191 (do_test): Call it.
1192
1193 2017-06-27 Florian Weimer <fweimer@redhat.com>
1194
1195 Call _res_hconf_init from __res_vinit.
1196 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1197 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1198 (NEED__RES): Define.
1199 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1200 (NEED__RES): Define.
1201 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1202 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1203 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1204 (NEED__RES): Define.
1205 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1206 _res_hconf_init.
1207 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1208 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1210 _res_hconf_init.
1211
1212 2017-06-26 Joseph Myers <joseph@codesourcery.com>
1213
1214 * sysdeps/ia64/Implies: Add ieee754/float128.
1215 * sysdeps/ia64/bits/floatn.h: New file.
1216 * sysdeps/ia64/float128-abi.h: Likewise.
1217 * manual/math.texi (Mathematics): Document support for _Float128
1218 on ia64.
1219 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1220 Makefile variable.
1221 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1222 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1223 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1224 * sysdeps/ia64/math-tests.h: New file.
1225 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1226 based on TEST_COND_binary128 for [__ia64__].
1227 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1228 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1229
1230 [BZ #21457]
1231 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1232 ucontext_t.
1233 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1234 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1235 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1236 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1237 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1238 ucontext): Likewise.
1239 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1248 Likewise.
1249 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1250 Likewise.
1251 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1252 Likewise.
1253 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1254 ucontext): Likewise.
1255 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1256 Likewise.
1257 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1258 Likewise.
1259 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1260 Likewise.
1261 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1262 Likewise.
1263 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1264 Likewise.
1265 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1266 rt_signal_frame_32): Likewise.
1267 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1268 Likewise.
1269 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1270 kernel_rt_sigframe): Likewise.
1271 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1272 Likewise.
1273 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1276 Likewise.
1277 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1278 (__profil_counter): Likewise.
1279 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1280 (SIGCONTEXT): Likewise.
1281 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1282 kernel_rt_sigframe): Likewise.
1283 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1284 kernel_rt_sigframe): Likewise.
1285 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1286 Likewise.
1287 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1288 Likewise.
1289 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1290 (__start_context): Likewise.
1291 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1292 Likewise.
1293 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1294 Likewise.
1295 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1296 Likewise.
1297
1298 * sysdeps/i386/Implies: Add ieee754/float128.
1299 * sysdeps/x86_64/Implies: Likewise.
1300 * sysdeps/x86/bits/floatn.h: New file.
1301 * sysdeps/x86/float128-abi.h: Likewise.
1302 * manual/math.texi (Mathematics): Document support for _Float128
1303 on x86_64 and x86.
1304 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1305 (math_opt_barrier): Do not put _Float128 values in floating-point
1306 registers.
1307 (math_force_eval): Likewise.
1308 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1309 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1310 to Makefile variable.
1311 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1312 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1313 * sysdeps/x86/math-tests.h: New file.
1314 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1315 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1316 XFAIL_FLOAT128_PAYLOAD.
1317 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1318 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1319 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1320 Likewise.
1321 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1322 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1323 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1326 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1327 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1328 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1330
1331 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1332
1333 [BZ #21512]
1334 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1335 syscall instead of jump to _exit.
1336 (CLONE_VM_BIT): Remove unused define.
1337 (CLONE_VM): Likewise.
1338 (CLONE_THREAD_BIT): Likewise.
1339 (CLONE_THREAD): Likewise.
1340 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1341 (CLONE_VM): Remove unused define.
1342 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1343 (CLONE_VM): Remove unused define.
1344 (CLONE_THREAD): Likewise.
1345 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1346 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1347 syscall instead of jump to _exit.
1348 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1349 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1350 (CLONE_VM): Remove unused define.
1351 (CLONE_THREAD): Likewise.
1352 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1353 (CLONE_VM): Remove unused define.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1355 Likewise.
1356 (CLONE_VM): Remove unused define.
1357 (CLONE_THREAD): Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1359 Likewise.
1360 (CLONE_VM): Remove unused define.
1361 (CLONE_THREAD): Likewise.
1362 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1363 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1364 (CLONE_VM): Remove unused define.
1365 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1366 (CLONE_VM): Remove unused define.
1367 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1369 (CLONE_VM): Remove unused define.
1370 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1371 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1372
1373 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1374 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1375
1376 * manual/math.texi (Mathematics): Mention the enabling of float128
1377 for powerpc64le.
1378 * sysdeps/powerpc/bits/floatn.h: New file.
1379 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1380 * sysdeps/powerpc/fpu/math_private.h:
1381 (__ieee754_sqrtf128): New inline override.
1382 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1383 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1384 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1385 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1386 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1388 Updated.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1390 Likewise.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1392 New file.
1393
1394 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1395
1396 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1397 * sysdeps/powerpc/powerpc64le/configure: Update.
1398
1399 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1400 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1401
1402 * INSTALL: Regenerate.
1403 * manual/install.texi (Recommended Tools for Compilation): Mention
1404 the powerpc64le-specific requirement in the manual.
1405 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1406 for the compiler features required for building float128.
1407 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1408
1409 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1410
1411 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1412 before comparing with another char.
1413
1414 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1415
1416 * manual/math.texi: Fix a grammatical error.
1417
1418 2017-06-24 Florian Weimer <fweimer@redhat.com>
1419
1420 [BZ #21295]
1421 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1422
1423 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1424
1425 [BZ #21295]
1426 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1427 Append addresses at the end of the list.
1428
1429 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 [BZ #21666]
1432 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1433 (loc2): Likewise.
1434 (locs): Likewise.
1435
1436 2017-06-23 Florian Weimer <fweimer@redhat.com>
1437
1438 [BZ #16637]
1439 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1440 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1441 digits between colons.
1442 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1443
1444 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1445 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1446
1447 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1448 (__sched_get_prioriry_min): Likewise.
1449 * include/sys/mman.h (__mmap): Likewise.
1450 (__mmap64): Likewise.
1451 (__munmap): Likewise.
1452 (__mprotect): Likewise.
1453 * include/termios.h (__tcsetattr): Likewise.
1454 * include/time.h (__nanosleep): Use hidden_proto instead of
1455 libc_hidden_proto.
1456 * posix/nanosleep.c (__nanosleep): Likewise.
1457 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1458 __sched_get_priority_min, and __sched_get_priority_max under
1459 GLIBC_PRIVATE.
1460 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1461 libc symbols.
1462 (change_stack_perm): Likewise.
1463 (change_stack_perm): Likewise.
1464 (allocate_stack): Likewise.
1465 * sysdeps/posix/gethostname.c: Likewise.
1466 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1467 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1469 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1470 (__pthread_key_delete): Likewise.
1471 (__pthread_detach): Likewise.
1472 (__pthread_cancel): Likewise.
1473 (__pthread_mutex_trylock): Likewise.
1474 (__pthread_mutexattr_init): Likewise.
1475 (__pthread_mutexattr_settype): Likewise.
1476 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1477 create alias for exported one.
1478 * nptl/pthread_join.c (pthread_join): Likewise.
1479 * nptl/pthread_detach.c (pthread_detach): Likewise.
1480 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1481 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1482 * nptl/pthread_create.c: Change static requirements for pthread
1483 symbols.
1484 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1485 for internal definition.
1486 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1487 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1488 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1489 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1490 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1491 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1492 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1493 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1494 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1495 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1496 Likewise.
1497 * nptl/pthread_self.c (__pthread_self): Likewise.
1498 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1499 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1500 * misc/mmap.c (__mmap): Add internal symbol definition.
1501 * misc/mmap.c (__mmap64): Likewise.
1502 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1504 (__mmap64): Likewise.
1505 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1506 Add __uname.
1507
1508 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1509
1510 * sysdeps/i386/fpu/libm-test-ulps: Update.
1511 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1512
1513 * libm-test-support.c (check_float_internal): Clear exceptions at
1514 end of function.
1515 (check_int): Likewise.
1516 (check_long): Likewise.
1517 (check_bool): Likewise.
1518 (check_longlong): Likewise.
1519 (check_intmax_t): Likewise.
1520 (check_uintmax_t): Likewise.
1521
1522 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1523 Do not declare.
1524 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1525 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1526 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1527
1528 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1529
1530 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1531 Replace movzbl and orl with movb.
1532
1533 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1534
1535 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1536 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1537 and HUGE_VAL_FNx.
1538 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1539 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1540 are in math.h, to avoid having to list the _FloatN and _FloatNx
1541 variants as well. Likewise for the cabs functions.
1542 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1543 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1544 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1545 come from TS 18661-3, since this section explicitly states that
1546 these functions come from BSD.
1547 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1548 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1549 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1550 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1551 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1552 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1553 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1554 remainderfNx.
1555 (Setting and modifying single bits of FP values): Document
1556 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1557 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1558 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1559 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1560 (Floating-Point Comparison Functions): Document totalorderfN,
1561 totalorderfNx, totalordermagfN, totalordermagfNx.
1562 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1563 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1564 fdimfN, fdimfNx, fmafN, fmafNx.
1565 (Complex Numbers): Document the complex types: _FloatN complex and
1566 _FloatNx complex.
1567 (rojections, Conjugates, and Decomposing of Complex Numbers):
1568 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1569 cargfN, cargfNx, cprojfN, cprojfNx.
1570 * manual/math.texi (Mathematics): Mention that the _FloatN and
1571 _FloatNx variants of the math functions come from TS 18661-3,
1572 unless otherwise stated.
1573 (Predefined Mathematical Constants): Document the _FloatN and
1574 _FloatNx variants of the macros prefixed with M_.
1575 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1576 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1577 ccosfNx, ctanfN, ctanfNx.
1578 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1579 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1580 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1581 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1582 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1583 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1584 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1585 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1586 cpowfNx.
1587 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1588 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1589 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1590 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1591 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1592 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1593 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1594 ynfN, ynfNx.
1595
1596 2017-06-23 Florian Weimer <fweimer@redhat.com>
1597
1598 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1599
1600 2017-06-23 Florian Weimer <fweimer@redhat.com>
1601
1602 * resolv/res_libc.c: Reformat to GNU style.
1603
1604 2017-06-23 Florian Weimer <fweimer@redhat.com>
1605
1606 * resolv/resolv-internal.h (__res_initstamp): Declare.
1607 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1608 It is implied by the declaration.
1609 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1610
1611 2017-06-23 Florian Weimer <fweimer@redhat.com>
1612
1613 [BZ #21662]
1614 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1615 Use only 24 bits of the register before the subtraction.
1616 * string/test-memcmp.c (check1): Check with different lengths.
1617
1618 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1619
1620 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1621 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1622
1623 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1624
1625 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1626 Enable generation of float128 entries on the error table.
1627
1628 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1629
1630 * include/float.h: Include libc-header-start.h to get the
1631 definition of __GLIBC_USE.
1632
1633 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1634
1635 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1636 rearranged code and doubles float types.
1637
1638 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1639
1640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1641 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1642
1643 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1644
1645 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1646 to errno, and simplify remaining related code.
1647
1648 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1649
1650 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1651 PPC_FEATURE2_SCV.
1652 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1653 and darn.
1654
1655 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1658 the implementation-specific function name and remove unneeded macros
1659 definition.
1660 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1661 function name if not defined and pass as parameter to macros
1662 accordingly.
1663
1664 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1665
1666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1667 (libm-sysdep_routines): Add s_llroundf-ppc64.
1668 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1669 (__llroundf): Define as strong alias of __llround.
1670 (llroundf): Define as weak alias of __llround.
1671 (__lroundf): Define as strong alias of __llround.
1672 (lroundf): Define as weak alias of __llround.
1673 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1674 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1677 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1679 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1680
1681 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1682
1683 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1684 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1685
1686 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1687 (MATH_TESTS_TG): New macro.
1688 (SNAN_TESTS_float128): Likewise.
1689 (ROUNDING_TESTS_float128): Likewise.
1690 (EXCEPTION_TESTS_float128): Likewise.
1691 (SNAN_TESTS): Define using MATH_TESTS_TG.
1692 (ROUNDING_TESTS): Likewise.
1693 (EXCEPTION_TESTS): Likewise.
1694
1695 * sysdeps/ieee754/float128/float128_private.h
1696 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1697 pass it to SET_RESTORE_ROUNDF128.
1698
1699 * sysdeps/ieee754/float128/float128_private.h: Include
1700 <ieee754.h>.
1701
1702 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1703 typeof to argument passed to __builtin_types_compatible_p.
1704 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1705
1706 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1707 <errno.h>.
1708 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1709 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1710 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1711 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1712 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1713 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1714 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1715 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1716 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1717 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1718 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1719 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1720 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1721 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1722 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1723 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1724 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1725 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1726 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1727 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1728 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1729 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1730
1731 * sysdeps/ieee754/float128/strtof128_l.c: Include
1732 <bits/types/locale_t.h> instead of <xlocale.h>.
1733 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1734 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1735
1736 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1737
1738 * benchtests/scripts/benchout_strings.schema.json: New file.
1739 * benchtests/scripts/compare_strings.py: New file.
1740
1741 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1742 (do_one_test): Print json.
1743 (do_test): Likewise.
1744 (test_main): Likewise.
1745 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1746 (do_one_test): Print json.
1747 (do_test): Likewise.
1748 (test_main): Likewise.
1749 * benchtests/bench-memcpy.c: Include json-lib.h.
1750 (do_one_test): Print json.
1751 (do_test): Likewise.
1752 (test_main): Likewise.
1753
1754 * benchtests/json-lib.h: Include inttypes.h.
1755 (json_attr_int, json_attr_int, json_element_string,
1756 json_element_int, json_element_uint): New functions.
1757 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1758 json_element_string, json_element_int, json_element_uint): New
1759 functions.
1760
1761 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1762
1763 * manual/arith.texi (Remainder Functions): Describe remainder as
1764 primary and drem as an alternative name. Change the comment on
1765 remainder to ISO, since it is defined in ISO C99.
1766
1767 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1768
1769 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1770 macro expansion.
1771 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1772
1773 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1774
1775 [BZ #21533]
1776 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1777 201706L for Unicode 10.0.
1778
1779 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1780
1781 [BZ #21657]
1782 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1783 on node-local addresses.
1784 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1785
1786 2017-06-21 Florian Weimer <fweimer@redhat.com>
1787
1788 * intl/loadmsgcat.c: Remove alloca support.
1789 (_nl_load_domain): Use calloc instead of alloca.
1790
1791 2017-04-21 Florian Weimer <fweimer@redhat.com>
1792
1793 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1794 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1795 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1796 alloc_buffer_create_failure.
1797 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1798 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1799 (__libc_alloc_buffer_copy_string)
1800 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1801 * malloc/alloc_buffer_alloc_array.c: New file.
1802 * malloc/alloc_buffer_allocate.c: Likewise.
1803 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1804 * malloc/alloc_buffer_copy_string.c: Likewise.
1805 * malloc/alloc_buffer_create_failure.c: Likewise.
1806 * malloc/tst-alloc_buffer.c: Likewise.
1807
1808 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1809
1810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1811 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1812 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1813 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1814 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1815 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1816 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1817 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1818 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1819 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1820 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1821 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1822 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1823 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1824 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1825 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1826 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1827 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1828 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1829 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1830 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1831 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1832 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1833 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1834 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1835 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1836 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1837 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1838 "locale-defines.h".
1839 (UPDATE_STRNCMP_COUNTER): New.
1840 (SECTION): Likewise.
1841 (GLABEL): Likewise.
1842 (LABEL): Likewise.
1843 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1844 for libc.a.
1845
1846 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1847
1848 [BZ #21622]
1849 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1850 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1851 __USE_MISC].
1852 (SA_NODEFER): Likewise.
1853 (SA_RESETHAND): Likewise.
1854
1855 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1856
1857 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1858 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1859 Remove security_level on all fields.
1860 * manual/tunables.texi: Replace ifunc with hwcaps.
1861 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1862 Renamed to ..
1863 (TUNABLE_CALLBACK (set_hwcaps)): This.
1864 (init_cpu_features): Updated.
1865 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1866 data_cache_size, data_cache_size and non_temporal_threshold to
1867 unsigned long int.
1868 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1869 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1870 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1871 use DEFAULT_STRLEN.
1872
1873 2017-06-21 Florian Weimer <fweimer@redhat.com>
1874
1875 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1876 asprintf to construct an absolute pathname.
1877
1878 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1879
1880 * misc/tst-preadvwritev2-common.c: New file.
1881 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1882 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1883
1884 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1885
1886 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1887 annotation.
1888 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1889
1890 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1891
1892 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1893 hidden __GI__dl_argv symbol.
1894
1895 2017-06-21 Florian Weimer <fweimer@redhat.com>
1896
1897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1898 to parse addresses with IPv6 scope IDs.
1899
1900 2017-06-21 Florian Weimer <fweimer@redhat.com>
1901
1902 Add the __inet_pton_length helper function.
1903 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1904 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1905 Add length argument.
1906 (__inet_pton): New function.
1907 (inet_pton4): Add length argument.
1908 (hex_digit_value): New function.
1909 (inet_pton6): Add length argument. Call hex_digit_value. Use
1910 memmove and memset to fill :: gap.
1911 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1912 tst-inet_pton.
1913 * resolv/tst-inet_pton.c: New file.
1914 * support/Makefile (libsupport-routines): Add xmprotect.
1915 * support/xunistd.h (xmprotect): Declare.
1916 * support/xmprotect.c: New file.
1917
1918 2017-06-21 Florian Weimer <fweimer@redhat.com>
1919
1920 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1921 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1922 (call_gai, check_ai): New functions.
1923 (expect_failure, expect_success): Use them. Add logging.
1924
1925 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1926
1927 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1928 (sysdep_routines): Add memchr_power8.
1929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1930 (memchr): Add __memchr_power8 to list of memchr functions.
1931 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1932 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1933 (memchr): Add __memchr_power8 to ifunc list.
1934 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1935
1936 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1937
1938 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1939 (__llrintf): Define as strong alias of __llrint.
1940 (llrintf): Define as weak alias of __llrint.
1941 (__lrintf): Define as strong alias of __llrint.
1942 (lrintf): Define as weak alias of __llrint.
1943 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1944 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1945 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1947
1948 2017-06-20 Zack Weinberg <zackw@panix.com>
1949
1950 * bits/signum-generic.h: Renamed from bits/signum.h.
1951 Add proper multiple include guard and misuse check.
1952 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1953 Move definition of SIGIO to "archaic names for compatibility" section.
1954 * bits/signum.h: New file which just includes bits/signum-generic.h.
1955 * sysdeps/unix/bsd/bits/signum.h
1956 * sysdeps/unix/sysv/linux/bits/signum.h
1957 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1958 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1959 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1960 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1961 Just include <bits/signum-generic.h> and then add or adjust
1962 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1963
1964 * signal/Makefile: Install bits/signum-generic.h.
1965 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1966
1967 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1968 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1969
1970 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1971 * sysdeps/unix/sysv/linux/Makefile: Run it.
1972
1973 2017-06-20 Zack Weinberg <zackw@panix.com>
1974
1975 * locale/xlocale.h: Rename to...
1976 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1977 Only define struct __locale_struct and __locale_t, not locale_t.
1978 * locale/bits/types/locale_t.h: New file; define locale_t here.
1979 * locale/Makefile (headers): Update to match.
1980
1981 * include/xlocale.h: Delete wrapper.
1982 * include/bits/types/__locale_t.h: New wrapper.
1983 * include/bits/types/locale_t.h: New wrapper.
1984
1985 * ctype/ctype.h, include/printf.h, include/time.h
1986 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1987 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1988 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1989 Correct outdated comments regarding the standardization status of
1990 the functions that take locale_t arguments.
1991
1992 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1993 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1994 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1995 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1996 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1997 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1998 Don't include xlocale.h. If necessary, include locale.h instead.
1999
2000 * stdlib/strtold_l.c: Unconditionally include wchar.h.
2001
2002 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2003 * include/monetary.h, include/stdlib.h, include/time.h
2004 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2005 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2006 * locale/localeinfo.h, locale/newlocale.c
2007 * locale/nl_langinfo_l.c, locale/uselocale.c
2008 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2009 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2010 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2011 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2012 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2013 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2014 * string/strings.h, string/strncase.c, string/strxfrm_l.c
2015 * sysdeps/ieee754/float128/strtof128_l.c
2016 * sysdeps/ieee754/float128/wcstof128.c
2017 * sysdeps/ieee754/float128/wcstof128_l.c
2018 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2019 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2020 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2021 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2022 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2023 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2024 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2025 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2026 * sysdeps/x86_64/strcasecmp_l-nonascii.c
2027 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2028 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2029 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2030 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2031 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2032 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2033 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2034 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2035 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2036 Change all uses of __locale_t to locale_t.
2037
2038 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2039
2040 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2041 for !__OFF_T_MATCHES_OFF64_T.
2042 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2043 implementation based on open64.
2044 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2045 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2046
2047 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2048
2049 * elf/dl-tunables.list: Move x86 specific tunables to ...
2050 * sysdeps/x86/dl-tunables.list: Here. New file.
2051
2052 2017-06-20 Joseph Myers <joseph@codesourcery.com>
2053
2054 [BZ #21635]
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2056 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2057 * conform/data/signal.h-data (uc_mcontext): XFAIL for
2058 powerpc32-linux.
2059 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2060
2061 [BZ #21634]
2062 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2063 (conformtest-xfail-conds): New variable.
2064 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2065 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2066
2067 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2068
2069 * benchtests/powf-inputs: Add reduced trace from wrf.
2070
2071 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2072 Erich Elsen <eriche@google.com>
2073
2074 * elf/dl-tunables.list (tune): Add ifunc,
2075 x86_non_temporal_threshold,
2076 x86_data_cache_size and x86_shared_cache_size.
2077 * manual/tunables.texi: Document glibc.tune.ifunc,
2078 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2079 and glibc.tune.x86_non_temporal_threshold.
2080 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2081 * sysdeps/x86/cpu-tunables.c: Likewise.
2082 * sysdeps/x86/cacheinfo.c
2083 (init_cacheinfo): Check and get data cache size, shared cache
2084 size and non temporal threshold from cpu_features.
2085 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2086 New.
2087 [HAVE_TUNABLES] Include <unistd.h>.
2088 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2089 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2090 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2091 IFUNC selection, data cache size, shared cache size and non
2092 temporal threshold.
2093 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2094 shared_cache_size and non_temporal_threshold.
2095
2096 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2097
2098 * benchtests/README: Describe workload feature.
2099 * benchtests/bench-skeleton.c (main): Add support for
2100 benchmarking traces from workloads.
2101
2102 2017-06-20 Zack Weinberg <zackw@panix.com>
2103
2104 * string/string.h (__mempcpy_inline): Delete.
2105 * sysdeps/x86_64/multiarch/mempcpy.c
2106 * sysdeps/x86_64/multiarch/stpcpy.c:
2107 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2108 before including string.h.
2109
2110 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
2111
2112 * benchtests/Makefile (bench-math): Add powf.
2113 * benchtests/powf-inputs: New file.
2114
2115 2017-06-20 Zack Weinberg <zackw@panix.com>
2116
2117 * bits/string.h, string/bits/string.h
2118 * sysdeps/aarch64/bits/string.h
2119 * sysdeps/m68k/m680x0/m68020/bits/string.h
2120 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2121 * sysdeps/x86/bits/string.h: Delete file.
2122
2123 * string/string.h: Don't include bits/string.h.
2124 * string/bits/string3.h: Rename to bits/string_fortified.h.
2125 No need to undef various symbols that the removed headers
2126 might have defined as macros.
2127 * string/Makefile (headers): Remove bits/string.h, change
2128 bits/string3.h to bits/string_fortified.h.
2129 * string/string-inlines.c: Update commentary. Remove definitions
2130 of various macros that nothing looks at anymore. Don't directly
2131 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2132 compiler-predefined macros.
2133 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2134 _is_ defined, provide internal hidden alias __strncat.
2135 * include/string.h: Declare internal hidden alias __strncat.
2136 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2137 not defined.
2138 * include/bits/string3.h: Rename to bits/string_fortified.h,
2139 update to match above.
2140
2141 * sysdeps/i386/string-inlines.c: Define compat symbols for
2142 everything formerly defined by sysdeps/x86/bits/string.h.
2143 Make existing definitions into compat symbols as well.
2144 Remove some no-longer-necessary messing around with macros.
2145
2146 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2147 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2148 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2149 * sysdeps/s390/multiarch/mempcpy.c
2150 No need to define _HAVE_STRING_ARCH_mempcpy.
2151 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2152
2153 * sysdeps/i386/i686/multiarch/strncat-c.c
2154 * sysdeps/s390/multiarch/strncat-c.c
2155 * sysdeps/x86_64/multiarch/strncat-c.c
2156 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
2157
2158 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
2159
2160 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2161 (LDBL_DIG): Likewise.
2162 (LDBL_MIN_EXP): Likewise.
2163 (LDBL_MIN_10_EXP): Likewise.
2164 (LDBL_MAX_EXP): Likewise.
2165 (LDBL_MAX_10_EXP): Likewise.
2166 (LDBL_MAX): Likewise.
2167 (LDBL_MIN): Likewise.
2168 (LDBL_EPSILON): Likewise.
2169 (FLT_ROUNDS): Change standard from ISO to C90.
2170 (FLT_RADIX): Likewise.
2171 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2172 (FLT_DIG, DBL_DIG): Likewise.
2173 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2174 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2175 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2176 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2177 (FLT_MAX, DBL_MAX): Likewise.
2178 (FLT_MIN, DBL_MIN): Likewise.
2179 (FLT_EPSILON, DBL_EPSILON): Likewise.
2180
2181 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2182
2183 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2184 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2185 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2186 * sysdeps/mips/math-tests.h
2187 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2188 conditional code.
2189
2190 2017-06-19 Florian Weimer <fweimer@redhat.com>
2191
2192 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2193 It cannot change while __libc_setlocale_lock is acquired.
2194
2195 2017-06-19 Florian Weimer <fweimer@redhat.com>
2196
2197 * elf/rtld.c (audit_list_string): New variable.
2198 (audit_list): Update comment.
2199 (struct audit_list_iter): Define.
2200 (audit_list_iter_init, audit_list_iter_next): New function.
2201 (dl_main): Use struct audit_list_iter to process audit modules.
2202 (process_dl_audit): Call dso_name_valid_for_suid.
2203 (process_envvars): Set audit_list_string instead of calling
2204 process_dl_audit.
2205
2206 2017-06-19 Florian Weimer <fweimer@redhat.com>
2207
2208 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2209 (dso_name_valid_for_suid): New function.
2210 (handle_ld_preload): Likewise.
2211 (dl_main): Call it. Remove alloca.
2212
2213 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2214
2215 [BZ #21625]
2216 * posix/sys/wait.h (strust rusage forward declaration): Change
2217 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2218 !__USE_XOPEN2K].
2219 (wait3): Likewise.
2220
2221 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2222 * configure: Regenerated.
2223 * manual/install.texi (Tools for Compilation): Document
2224 requirement for GCC 4.9 or later.
2225 * INSTALL: Regenerated.
2226
2227 2017-06-19 Florian Weimer <fweimer@redhat.com>
2228
2229 [BZ #21624]
2230 CVE-2017-1000366
2231 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2232 __libc_enable_secure.
2233
2234 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2235
2236 [BZ #21539]
2237 * NEWS: Mention s390 ptrace request changes.
2238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2239 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2240 PTRACE_SETFPREGS): Remove enum constant.
2241 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2242 Remove defines.
2243 (PTRACE_SINGLEBLOCK): New enum constant.
2244 (PT_STEPBLOCK): New define.
2245 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2246 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2247 PTRACE_TE_ABORT_RAND): New enum constant and define.
2248 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2249 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2250 New file.
2251 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2252
2253 2017-06-16 Florian Weimer <fweimer@redhat.com>
2254
2255 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2256 configuration file.
2257 (__res_vinit): Adjust.
2258
2259 2017-06-19 Florian Weimer <fweimer@redhat.com>
2260
2261 * resolv/res_init.c (res_vinit_1): New function.
2262 (__res_vinit): Call it. Handle file open and memory allocation
2263 failures.
2264 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2265 erno from __res_maybe_init failure.
2266 (_nss_dns_gethostbyname4_r): Likewise.
2267 (_nss_dns_gethostbyaddr2_r): Likewise.
2268 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2269 (_nss_dns_getnetbyaddr_r): Likewise.
2270
2271 2017-06-19 Florian Weimer <fweimer@redhat.com>
2272
2273 * resolv/res_init.c: Reformat to GNU style.
2274
2275 2017-06-19 Florian Weimer <fweimer@redhat.com>
2276
2277 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2278 (is_sort_mask): New function.
2279 (__res_vinit): Use it.
2280
2281 2017-06-19 Florian Weimer <fweimer@redhat.com>
2282
2283 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2284 conditionals.
2285
2286 2017-06-19 Florian Weimer <fweimer@redhat.com>
2287
2288 * resolv/res-close.c: New file.
2289 * resolv/res_init.c (__res_iclose, res_nclose)
2290 (res_thread_freeres): Remove definitions.
2291 * resolv/Makefile (routines): Add res-close.
2292
2293 2017-06-19 Florian Weimer <fweimer@redhat.com>
2294
2295 * resolv/res_randomid.c: New file.
2296 * resolv/res_init.c (res_randomid): Remove definition.
2297 * resolv/Makefile (routines): Add res_randomid.
2298
2299 2017-06-19 Florian Weimer <fweimer@redhat.com>
2300
2301 * include/resolv.h (__res_vinit): Declare as hidden.
2302 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2303 * resolv/res_libc.c (res_init): Likewise.
2304
2305 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2306
2307 [BZ #21457]
2308 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2309 _libc_xmmreg): Use __ctx in defining field.
2310
2311 [BZ #21597]
2312 * signal/signal.h (siginterrupt): Make declaration conditional on
2313 [__USE_XOPEN_EXTENDED || __USE_MISC].
2314
2315 [BZ #21584]
2316 * signal/signal.h: Make includes of <bits/sigstack.h> and
2317 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2318 __USE_MISC].
2319 (sigaltstack): Make declaration conditional on
2320 [__USE_XOPEN_EXTENDED || __USE_MISC].
2321
2322 [BZ #21575]
2323 * resource/bits/types/struct_rusage.h: New file.
2324 * include/bits/types/struct_rusage.h: Likewise.
2325 * bits/resource.h (struct rusage): Include
2326 <bits/types/struct_rusage.h> instead of defining here.
2327 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2328 Likewise.
2329 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2330 Likewise.
2331 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2332 Likewise.
2333 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2334 Likewise.
2335 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2336 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2337 Include <bits/types/struct_rusage.h>
2338
2339 2017-06-19 Florian Weimer <fweimer@redhat.com>
2340
2341 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2342
2343 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2344
2345 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2346
2347 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2348
2349 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2350
2351 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2352
2353 [BZ #21537]
2354 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2355 Check SHARED instead of PIC.
2356 (SYSCALL_PIC_SETUP): Add missing semicolons.
2357 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2358 Check SHARED instead of PIC.
2359 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2360 (__makecontext_ret): Adjust code to jump to exit.
2361
2362 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2363
2364 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2365 Simplify code by always using SVC 0 instead of EX.
2366 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2367
2368 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * elf/Versions (ld): Remove _dl_out_of_memory.
2371
2372 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2373
2374 * timezone/private.h: Update from tzcode 2017b.
2375 * timezone/tzfile.h: Likewise.
2376 * timezone/tzselect.ksh: Likewise.
2377 * timezone/zdump.c: Likewise.
2378 * timezone/zic.c: Likewise.
2379 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2380 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2381 * time/tzset.c (SECSPERDAY): New macro.
2382
2383 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2384
2385 * manual/string.texi (strdup): Complete header and standards
2386 annotation.
2387 (strncpy): Likewise.
2388
2389 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2390
2391 * manual/arith.texi (FP_NAN): Add or complete header and standard
2392 annotations.
2393 (FP_INFINITE): Likewise.
2394 (FP_ZERO): Likewise.
2395 (FP_SUBNORMAL): Likewise.
2396 (FP_NORMAL): Likewise.
2397 (SNAN): Likewise.
2398 (SNANL): Likewise.
2399 (totalorderf): Likewise.
2400 (totalorderl): Likewise.
2401 (totalordermagf): Likewise.
2402 (totalordermagl): Likewise.
2403 (_Complex_I): Likewise.
2404 (I): Likewise.
2405
2406 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2407
2408 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2409 standard annotation.
2410 (ARGP_HELP_SHORT_USAGE): Likewise.
2411 (ARGP_HELP_SEE): Likewise.
2412 (ARGP_HELP_LONG): Likewise.
2413 (ARGP_HELP_PRE_DOC): Likewise.
2414 (ARGP_HELP_POST_DOC): Likewise.
2415 (ARGP_HELP_DOC): Likewise.
2416 (ARGP_HELP_BUG_ADDR): Likewise.
2417 (ARGP_HELP_LONG_ONLY): Likewise.
2418 (ARGP_HELP_EXIT_ERR): Likewise.
2419 (ARGP_HELP_EXIT_OK): Likewise.
2420 (ARGP_HELP_STD_ERR): Likewise.
2421 (ARGP_HELP_STD_USAGE): Likewise.
2422 (ARGP_HELP_STD_HELP): Likewise.
2423
2424 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2425
2426 * manual/Makefile: Generate summary.texi with summary.pl. Force
2427 use of the C locale. Update Perl dependency comment.
2428 * manual/header.texi: Update reference to summary.awk.
2429 * manual/macros.texi: Refer authors to `summary.pl --help'.
2430 * manual/summary.awk: Remove file.
2431 * manual/summary.pl: New file. Generate summary.texi, and check
2432 for @standards-related syntax errors.
2433 * manual/argp.texi: Convert header and standards @comments to
2434 @standards.
2435 * manual/arith.texi: Likewise.
2436 * manual/charset.texi: Likewise.
2437 * manual/conf.texi: Likewise.
2438 * manual/creature.texi: Likewise.
2439 * manual/crypt.texi: Likewise.
2440 * manual/ctype.texi: Likewise.
2441 * manual/debug.texi: Likewise.
2442 * manual/errno.texi: Likewise.
2443 * manual/filesys.texi: Likewise.
2444 * manual/getopt.texi: Likewise.
2445 * manual/job.texi: Likewise.
2446 * manual/lang.texi: Likewise.
2447 * manual/llio.texi: Likewise.
2448 * manual/locale.texi: Likewise.
2449 * manual/math.texi: Likewise.
2450 * manual/memory.texi: Likewise.
2451 * manual/message.texi: Likewise.
2452 * manual/pattern.texi: Likewise.
2453 * manual/pipe.texi: Likewise.
2454 * manual/process.texi: Likewise.
2455 * manual/resource.texi: Likewise.
2456 * manual/search.texi: Likewise.
2457 * manual/setjmp.texi: Likewise.
2458 * manual/signal.texi: Likewise.
2459 * manual/socket.texi: Likewise.
2460 * manual/startup.texi: Likewise.
2461 * manual/stdio.texi: Likewise.
2462 * manual/string.texi: Likewise.
2463 * manual/sysinfo.texi: Likewise.
2464 * manual/syslog.texi: Likewise.
2465 * manual/terminal.texi: Likewise.
2466 * manual/threads.texi: Likewise.
2467 * manual/time.texi: Likewise.
2468 * manual/users.texi: Likewise.
2469
2470 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2471
2472 * manual/macros.texi (@standards): New macro. Provide placeholder
2473 for header and standards annotations.
2474 (@standardsx): New macro. Likewise, for lists of @*x elements.
2475
2476 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2477
2478 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2479 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2480 rule.
2481 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2482 sync_file_range.
2483
2484 * support/support_test_main.c (support_test_main): Use optstring
2485 member for option string in getopt_long.
2486 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2487 (CMDLINE_OPTSTRING): New define.
2488 * support/test-driver.h (test_config): Add optstring member.
2489
2490 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2493 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2494 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2495 Check USE_AS_STRPBRK instead of STRPBRK_P.
2496 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2497 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2498 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2499 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2500 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2501 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2502 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2503 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2504 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2505 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2506 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2507 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2508 and "#endif".
2509
2510 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2511
2512 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2513 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2514
2515 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2516
2517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2518 strcat-sse2.
2519 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2520 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2521 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2522 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2523 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2524
2525 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2526 Erich Elsen <eriche@google.com>
2527
2528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2529 memcmp-sse2.
2530 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2531 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2532 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2533 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2534 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2535 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2536
2537 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2538 Erich Elsen <eriche@google.com>
2539
2540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2541 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2543 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2544 Update comments.
2545 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2546 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2547 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2548 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2549 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2550 * sysdeps/x86_64/multiarch/memset.S: Removed.
2551 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2552 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2553 (__memset_chk_erms): New function.
2554
2555 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2556
2557 * configure.ac(--enable-tunables): Enable by default.
2558 * configure: Regenerate.
2559 * NEWS: Mention change.
2560 * manual/install.texi (enable-tunables): Adjust documentation.
2561 * INSTALL: Regenerate.
2562
2563 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2564
2565 [BZ #18988]
2566 * benchtests/thread_create-inputs: New file.
2567 * benchtests/thread_create-source.c: Likewise.
2568 * support/xpthread_attr_setguardsize.c: Likewise.
2569 * support/Makefile (libsupport-routines): Add
2570 xpthread_attr_setguardsize object.
2571 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2572 * benchtests/Makefile (bench-pthread): Add thread_create.
2573 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2574 then mprotect the required area.
2575 (guard_position): New function.
2576 (setup_stack_prot): Likewise.
2577
2578 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2579 Erich Elsen <eriche@google.com>
2580 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2581
2582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2583 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2584 mempcpy_chk-nonshared and memmove_chk-nonshared.
2585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2586 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2587 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2588 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2589 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2590 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2591 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2592 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2593 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2594 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2595 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2596 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2597 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2598 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2599 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2600 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2601 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2602 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2603 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2604 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2605 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2606 (__mempcpy_chk_erms): New function.
2607 (__memmove_chk_erms): Likewise.
2608 (__memcpy_chk_erms): New alias.
2609
2610 2017-06-14 Florian Weimer <fweimer@redhat.com>
2611
2612 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2613 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2614
2615 2017-06-14 Zack Weinberg <zackw@panix.com>
2616
2617 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2618 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2619 defined, don't declare anything other than the E-constants.
2620
2621 * include/errno.h: Change conditional for exposing internal
2622 declarations to (not _ISOMAC and not __ASSEMBLER__).
2623 * bits/errno.h: Remove logic for __need_Emath. Document
2624 requirements for a port-specific bits/errno.h.
2625
2626 * sysdeps/unix/sysv/linux/bits/errno.h
2627 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2628 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2629 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2630 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2631 Add multiple-include guard and check against improper inclusion.
2632 Remove __need_Emath logic. Don't declare errno here. Ensure all
2633 constants are defined as simple integer literals. Consistent
2634 formatting.
2635 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2636 enum __error_t_codes if __ASSEMBLER__ is not defined.
2637 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2638
2639 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2640 including errno.h.
2641 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2642 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2643 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2644 * sysdeps/x86_64/fpu/s_cosf.S
2645 * sysdeps/x86_64/fpu/s_sincosf.S
2646 * sysdeps/x86_64/fpu/s_sinf.S:
2647 Just include errno.h; don't define __need_Emath or include
2648 bits/errno.h directly.
2649
2650 2017-06-14 Zack Weinberg <zackw@panix.com>
2651
2652 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2653 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2654 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2655
2656 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2657 for IOV_MAX.
2658 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2659 Don't install bits/uio.h.
2660 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2661 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2662 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2663
2664 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2665 and __need_IOV_MAX. Don't define IOV_MAX at all.
2666 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2667
2668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2669 Include bits/types/struct_iovec.h, not bits/uio.h.
2670 Use __ssize_t, not ssize_t, in function prototypes.
2671 Don't use hard TAB for double space after period in comments.
2672
2673 2017-06-14 Alan Modra <amodra@gmail.com>
2674
2675 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2676 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2677 refsym and sym parameters. Adjust callers.
2678 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2679 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2680 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2681 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2682 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2683 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2684 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2685 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2686 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2687 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2688 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2689 Likewise.
2690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2691 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2692 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2695 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2696 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2697 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2698 (_dl_reloc_overflow): Increase buffser size. Formatting.
2699 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2700 Delete reloc param, add refsym and sym. Check optimized plt
2701 call stubs for localentry:0 functions. Adjust callers.
2702 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2703 and sym parameters. Adjust callers.
2704 (_dl_reloc_overflow): Move attribute.
2705 (_dl_error_localentry): Declare.
2706 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2707 refsym and sym to elf_machine_fixup_plt.
2708 * elf/testobj6.c (preload): Call printf.
2709
2710 2017-06-14 Alan Modra <amodra@gmail.com>
2711
2712 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2713 (NOPS, ENTRY_3): New macros.
2714 (ENTRY): Rewrite.
2715 (ENTRY_TOCLESS): Define.
2716 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2717 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2718 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2719 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2726 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2728 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2731 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2732 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2735 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2736 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2737 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2738 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2742 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2744 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2746 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2752 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2755 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2758 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2759 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2761 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2769 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2770 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2771 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2772 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2773 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2774 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2776 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2780 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2781 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2783 Likewise.
2784 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2785 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2786 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2787 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2789 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2790 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2791 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2795 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2796 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2797 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2798 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2799 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2802 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2804 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2805 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2806 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2807 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2809 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2810 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2811 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2812 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2814 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2815 add nop when SHARED.
2816 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2817 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2818 define.
2819 (ENTRY_TOCLESS): Define.
2820 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2821 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2822 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2823
2824 2017-06-14 Alan Modra <amodra@gmail.com>
2825
2826 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2827 MEMSET_is_local.
2828 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2829 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2830 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2831 Define MEMSET.
2832 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2833 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2834 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2835 nop after local calls.
2836 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2837 Don't add nop after local call.
2838 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2839 CALL_MCOUNT.
2840
2841 2017-06-14 Alan Modra <amodra@gmail.com>
2842
2843 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2844 (FUNC_LABEL): Rename from DOT_LABEL.
2845 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2846 Use .p2align rather than .align.
2847 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2848 (ABORT_TRANSACTION): Likewise.
2849 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2850 particularly at end. Add semicolon at invocation as necessary.
2851 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2852 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2853 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2854 END): Adjust to suit.
2855
2856 2017-06-14 Alan Modra <amodra@gmail.com>
2857
2858 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2859 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2860 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2861 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2862 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2864 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2865
2866 2017-06-14 Alan Modra <amodra@gmail.com>
2867
2868 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2869 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2870
2871 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2872
2873 [BZ #21548]
2874 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2875 8 and use it when copying general purpose registers.
2876 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2877 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2878 mips o32.
2879 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2880 new test for mips o32.
2881 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2882 8 and use it when copying general purpose registers.
2883 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2884
2885 2017-06-13 Florian Weimer <fweimer@redhat.com>
2886
2887 * configure.ac (find_cxx_header): Suppress compiler error message.
2888
2889 2017-06-13 Florian Weimer <fweimer@redhat.com>
2890
2891 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2892 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2893 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2894 begin/end.
2895 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2896 dynarray_int_end.
2897 (test_str): Test dynarray_str_begin, dynarray_str_end.
2898
2899 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2900
2901 [BZ #21573]
2902 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2903 $(common-objpfx)bits/std_abs.h.
2904 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2905 New target.
2906 * config.make.in (c++-bits-std_abs-h): New.
2907 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2908 (CXX_BITS_STD_ABS_H): New.
2909 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2910 * configure: Regenerated.
2911
2912 2017-06-13 Zack Weinberg <zackw@panix.com>
2913
2914 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2915 directives.
2916
2917 2017-06-12 Zack Weinberg <zackw@panix.com>
2918
2919 * bits/sched.h: Remove __need_schedparam logic and replace with a
2920 normal multiple-include guard. Change field name in struct
2921 sched_param from __sched_priority to sched_priority. Delete
2922 everything under #ifndef __cpu_set_t_defined.
2923 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2924 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2925
2926 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2927 For compatibility, #define sched_priority to itself, and #define
2928 __sched_priority as sched_priority.
2929 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2930 that was under #ifndef __cpu_set_t_defined in
2931 sysdeps/unix/sysv/linux/bits/sched.h.
2932 * include/bits/cpu-set.h: New wrapper.
2933 * posix/Makefile: Install bits/cpu-set.h.
2934
2935 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2936 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2937 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2938
2939 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2940 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2941 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2942 * math/libm-test-isfinite.inc (finite_test): Likewise.
2943 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2944 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2945 (nexttoward_test_data}: Likewise.
2946 * math/libm-test-remainder.inc (drem_test): Likewise.
2947 * math/libm-test-scalb.inc (scalb_test): Likewise.
2948 (scalb_test_data): Likewise.
2949 * math/libm-test-significand.inc (significand_test): Likewise.
2950 (significand_test_data): Likewise.
2951 * math/libm-test-support.c (check_complex): Replace __complex__
2952 FLOAT with CFLOAT to get the support for old compiler.
2953 * math/libm-test-support.h (check_complex): Likewise.
2954 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2955 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2956 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2957 * math/test-float128.h: New file.
2958 * math/test-math-floatn.h: New file.
2959
2960 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2961
2962 * include/float.h: Allow the definition of macros prefixed with
2963 FLT128 even if _ISOMAC is defined, but provided that
2964 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2965
2966 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2967
2968 * manual/math.texi (Mathematics): Add description for _FloatN and
2969 _FloatNx types and mentions that they are not support in glibc for
2970 any architecture, so far.
2971 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2972 stdlib.h with wchar.h.
2973 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2974 (Printing of Floats): Add description for strfromfN.
2975
2976 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2977 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2978 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2979
2980 * include/gmp.h (__mpn_construct_float128): New declaration.
2981 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2982 (__strtof128_l): New declaration.
2983 (__strtof128_nan): Likewise.
2984 (__wcstof128_nan): Likewise.
2985 (__strtof128_internal): Likewise.
2986 (____strtof128_l_internal): Likewise.
2987 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2988 (__wcstof128_l): New declaration.
2989 (__wcstof128_internal): Likewise.
2990
2991 * stdlib/Makefile (bug-strtod2): Link libm too.
2992
2993 * stdlib/stdlib.h (strtof128): New declaration.
2994 (strtof128_l): Likewise.
2995
2996 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2997 tst-strtod.h macros to ensure float128 gets tested too.
2998
2999 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3000
3001 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3002 tests.
3003 (IF_FLOAT128): New macro.
3004 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3005 the tests.
3006 (STRTOD_TEST_FOREACH): Likewise.
3007
3008 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3009 wcstof128 functions into libc.
3010
3011 * sysdeps/ieee754/float128/Versions: Add exports for the above
3012 new functions.
3013
3014 * sysdeps/ieee754/float128/mpn2float128.c: New file.
3015 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3016 * sysdeps/ieee754/float128/strtof128.c: New file.
3017 * sysdeps/ieee754/float128/strtof128_l.c: New file.
3018 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3019 * sysdeps/ieee754/float128/wcstof128.c: New file.
3020 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3021 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3022 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3023 (CFLAGS-wcstof128_l): Likewise.
3024
3025 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3026 (wcstof128): New declaration.
3027 (wcstof128_l): Likewise.
3028
3029 2017-06-12 Joseph Myers <joseph@codesourcery.com>
3030
3031 [BZ #21552]
3032 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3033 not [__USE_XOPEN].
3034 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3035
3036 [BZ #21550]
3037 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3038
3039 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
3040
3041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3042 strcpy-sse2 and stpcpy-sse2.
3043 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3044 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3045 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3046 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3047 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3048 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3049 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3050 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3051 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3052 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3053 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3054 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3055 (libc_hidden_def): Always defined as empty.
3056 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3057 Always Defined as empty.
3058
3059 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3060
3061 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3062
3063 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3064
3065 [BZ #15105]
3066 [BZ #19463]
3067 * include/string.h: Add internal redirect for __stpcpy.
3068 * string/Makefile: Remove bits/string2.h.
3069 * string/string.h: Update comment.
3070 * string/string-inlines.c: Remove bits/string2.h include and comment.
3071 * string/bits/string2.h: Remove file.
3072
3073 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3074
3075 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3076 * sunrpc/clnt_gen.c (clnt_create): Likewise.
3077 * sunrpc/des_impl.c (_des_crypt): Likewise.
3078 * sunrpc/key_call.c (key_gendes): Likewise.
3079 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3080 * sunrpc/svc_simple.c (universal): Likewise.
3081 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3082 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3083 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3084
3085 2017-06-10 Zack Weinberg <zackw@panix.com>
3086
3087 * stdlib/errno.h: Correct an outdated comment.
3088
3089 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
3090
3091 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3092 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3093 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3094 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3095 New file. Invoke newly supported sysconf values for powerpc,
3096 and report results. If none are supported, report so.
3097 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
3098 tst-sysconf.
3099
3100 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3101
3102 * include/sys/auxv.h (__getauxval): Add a prototype and its
3103 libc_hidden_proto.
3104 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3105
3106 2017-06-09 Joseph Myers <joseph@codesourcery.com>
3107
3108 [BZ #21561]
3109 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3110 [__USE_XOPEN_EXTENDED].
3111 (id_t): Likewise.
3112 (include of <bits/types/siginfo_t.h): Likewise.
3113 (waitid): Likewise.
3114 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3115 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3116 (WEXITED): Likewise.
3117 (WCONTINUED): Likewise.
3118 (WNOWAIT): Likewise.
3119 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3120 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3121 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3122
3123 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3124 libc.so PLT entry optional.
3125 (__gtsf2): Likewise.
3126 (__unorddf2): Likewise.
3127 (__unordsf2): Likewise.
3128 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3129 New optional libc.so PLT entry.
3130
3131 [BZ #21554]
3132 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3133 not [__USE_XOPEN].
3134
3135 [BZ #21560]
3136 * posix/sys/wait.h: Condition include of <signal.h> on
3137 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
3138 unconditionally.
3139 [!__pid_t_defined] (pid_t): Define typedef.
3140
3141 2017-06-09 Zack Weinberg <zackw@panix.com>
3142
3143 * include/errno.h (__errno_location): Use __attribute_const__
3144 instead of bare __attribute__.
3145
3146 2017-06-09 Zack Weinberg <zackw@panix.com>
3147
3148 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3149 (common-generated): Add libc-modules.h and libc-modules.stmp in a
3150 more appropriate location. Also add dl-tunable-list.h and
3151 dl-tunable-list.stmp.
3152
3153 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3156
3157 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3160 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3162 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3163 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3164 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3165 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3166 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3167 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3168 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3169 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3170
3171 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3174 memrchr-sse2 and memrchr-avx2.
3175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3176 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3177 __memrchr_sse2.
3178 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3179 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3180 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3181
3182 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3183
3184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3185 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3186 wcschr-sse2 and wcschr-avx2.
3187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3188 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3189 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3190 __wcschr_sse2.
3191 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3192 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3193 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3194 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3195 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3196 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3197 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3198 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3199 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3200 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3201
3202 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3203
3204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3205 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3206 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3208 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3209 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3210 __wcslen_sse2 and __wcsnlen_avx2.
3211 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3212 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3213 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3214 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3215 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3216 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3217 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3218 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3219 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3220 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3221 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3222 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3223 vzeroupper is preferred and AVX unaligned load is fast.
3224
3225 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3226
3227 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3228 USE_AS_WMEMCHR is defined.
3229 (PCMPEQ): Likewise.
3230 (memchr): Renamed to ...
3231 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3232 Replace pcmpeqb with PCMPEQ.
3233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3234 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3235 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3236 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3237 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3238 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3239 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3240 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3241 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3242 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3243 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3244 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3245 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3247 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3248 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3249 __wmemchr_sse2.
3250
3251 2017-06-09 Florian Weimer <fweimer@redhat.com>
3252
3253 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3254 tst-dynarray-fail.
3255
3256 2017-06-09 Florian Weimer <fweimer@redhat.com>
3257
3258 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3259 * support/support_test_verify_impl.c
3260 (support_test_verify_exit_impl): Split from
3261 support_test_verify_impl.
3262 * support/check.h (TEST_VERIFY): Drop status argument from
3263 support_test_verify_impl call.
3264 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3265 (support_test_verify_impl): Remove status argument.
3266 (support_test_verify_exit_impl): Declare.
3267
3268 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3269
3270 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3271 mention of magic numbers in comments.
3272 (_dl_procinfo): Fix undefined behavior
3273
3274 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3275
3276 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3277 [XPG4].
3278 (WEXITED): Likewise.
3279 (WSTOPPED): Likewise.
3280 (WCONTINUED): Likewise.
3281 (WNOHANG): Likewise.
3282 (WNOWAIT): Likewise.
3283 (idtype_t): Likewise.
3284 (P_ALL): Likewise.
3285 (P_PID): Likewise.
3286 (P_PGID): Likewise.
3287 (id_t): Likewise.
3288 (siginfo_t): Likewise.
3289 (wait3): Likewise.
3290 (waitid): Likewise.
3291 (signal.h): Do not allow header for [XPG4].
3292 (sys/resource.h): Likewise.
3293 (si_*): Do not allow for [XPG4].
3294 (W*): Likewise.
3295 (P_*): Likewise.
3296 (BUS_): Likewise.
3297 (CLD_): Likewise.
3298 (FPE_): Likewise.
3299 (ILL_): Likewise.
3300 (POLL_): Likewise.
3301 (SEGV_): Likewise.
3302 (SI_): Likewise.
3303 (TRAP_): Likewise.
3304 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3305 variable.
3306
3307 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 [BZ #21528]
3310 * elf/dl-minimal.c (__strtoul_internal): Removed.
3311 (strtoul): Likewise.
3312 * elf/dl-misc.c (_dl_strtoul): New function.
3313 * elf/dl-tunables.c (tunables_strtoul): Removed.
3314 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3315 * elf/rtld.c (process_envvars): Likewise.
3316 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3317 Likewise.
3318 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3319
3320 2017-06-08 Zack Weinberg <zackw@panix.com>
3321
3322 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3323 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3324 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3325 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3326 between wctype.h and wchar.h.
3327
3328 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3329 Install them.
3330
3331 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3332 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3333 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3334 New wrappers.
3335 * include/stdio.h, include/wchar.h, include/wctype.h:
3336 No need to handle __need macros.
3337
3338 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3339 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3340 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3341 * wcsmbs/wchar.h, wctype/wctype.h
3342 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3343 Use the new files instead of __need macros.
3344
3345 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3346
3347 * string/test-memrchr.c (test_main): Add tests for len == 0
3348 and tests for positions close to the beginning, which are
3349 equivalent to positions close to the end for memchr.
3350
3351 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3352
3353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3354 comments.
3355 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3356 instead of wmemset.h.
3357 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3358 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3359 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3360
3361 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3362
3363 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3364 spec->info.is_binary128 to zero.
3365 * stdio-common/printf.h (printf_info): Add new member is_binary128
3366 to indicate that the number being converted to string is compatible
3367 with the IEC 60559 binary128 format.
3368 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3369 _Float128 numbers.
3370 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3371 ldbl-128/printf_fphex_macros.h
3372 (__printf_fphex): Add code to deal with _Float128 numbers.
3373 * stdio-common/printf_size.c (__printf_size): Likewise.
3374 * stdio-common/vfprintf.c (process_arg): Initialize member
3375 info.is_binary128 to zero.
3376 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3377 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3378 (strfromf128): New declaration.
3379 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3380 to one.
3381 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3382 * sysdeps/ieee754/float128/Versions: Likewise.
3383 * sysdeps/ieee754/float128/strfromf128.c: New file.
3384
3385 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3386
3387 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3388 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3389 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3390 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3391 (PRINT_FPHEX): New function-like macro that can be used for long
3392 double, as well as for _Float128
3393
3394 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3395
3396 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3397 (__printf_fp_l): Use the new macro to avoid duplicating code.
3398 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3399 (__printf_fphex): Use the new macro to avoid duplicating code.
3400 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3401 (__printf_size): Use the new macro to avoid duplicating code.
3402
3403 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3404
3405 * include/gmp.h: Include bits/floatn.h
3406 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3407 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3408 including stack-alloc.h. It could have been defined by other header
3409 which not necessarily defines HAVE_ALLOCA.
3410 * sysdeps/ieee754/float128/Makefile: New file.
3411 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3412 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3413 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3414 redefine __mpn_extract_long_double to __mpn_extract_float128.
3415 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3416 _Float128 to allow float128_private.h overrides.
3417
3418 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3419
3420 * stdlib/fpioconst.h: Include bits/floatn.h.
3421 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3422 power of ten table should be.
3423 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3424 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3425 to include larger tables when _Float128 support is enabled.
3426 (_fpioconst_pow10): Likewise.
3427
3428 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3429
3430 * include/bits/types/clock_t.h: Use #include <path> instead of
3431 #include "../../path".
3432 * include/bits/types/clockid_t.h: Likewise.
3433 * include/bits/types/struct_iovec.h: Likewise.
3434 * include/bits/types/struct_itimerspec.h: Likewise.
3435 * include/bits/types/struct_osockaddr.h: Likewise.
3436 * include/bits/types/struct_sigstack.h: Likewise.
3437 * include/bits/types/struct_timespec.h: Likewise.
3438 * include/bits/types/struct_timeval.h: Likewise.
3439 * include/bits/types/struct_tm.h: Likewise.
3440 * include/bits/types/time_t.h: Likewise.
3441 * include/bits/types/timer_t.h: Likewise.
3442
3443 [BZ #14096]
3444 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3445 America/New_York.
3446
3447 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3448
3449 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3450 into ...
3451 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3452 ifunc-sse4_1.h.
3453
3454 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3455
3456 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3457 Remove check for NULL 'buf'.
3458 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3459
3460 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3461
3462 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3463 include test-skeleton.c.
3464 Include support/check.h and support/test-driver.c.
3465
3466 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3467
3468 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3469 (_dl_aarch64_cap_flags): New array.
3470 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3471 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3472 functions.
3473
3474 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3475 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3476 Likewise.
3477 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3478 up hwcap and hwcap_mask.
3479
3480 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3481 (init_cpu_features): Use glibc.tune.hwcap_mask.
3482 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3483
3484 * elf/dl-hwcaps.h: New file.
3485 * elf/dl-hwcaps.c: Include it.
3486 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3487 glibc.tune.hwcap_mask.
3488 * elf/dl-cache.c: Include dl-hwcaps.h.
3489 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3490 glibc.tune.hwcap_mask.
3491 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3492 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3493 _dl_hwcap_mask.
3494 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3495 _dl_hwcap_mask.
3496 (process_envvars)[HAVE_TUNABLES]: Likewise.
3497 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3498 Likewise.
3499 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3500 initialize dl_hwcap_mask when tunables are enabled.
3501
3502 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3503 guard.
3504 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3505
3506 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3507 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3508 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3509
3510 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3511 * elf/dl-tunables.c: Likewise.
3512 (do_tunable_update_val): New function.
3513 (__tunable_set_val): New function.
3514 (__tunable_get_val): Call CB only if the tunable was externally
3515 initialized.
3516 (tunables_strtoul): Replace strval with initialized.
3517 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3518 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3519 prevent collision.
3520 (__tunable_set_val): New function.
3521 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3522 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3523 (TUNABLE_SET_VAL): Remove.
3524 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3525 * README.tunables: Document the new macros.
3526 * malloc/arena.c (ptmalloc_init): Adjust.
3527
3528 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3531 wcsnlen-sse4_1 and wcsnlen-c.
3532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3533 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3534 __wcsnlen_sse2.
3535 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3536 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3537 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3538 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3539 * sysdeps/x86_64/wcsnlen.S: Removed.
3540
3541 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3542
3543 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3544 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3545 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3546 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3547
3548 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3549
3550 * NEWS: Mention new spinlock implementation.
3551 * include/atomic.h:
3552 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3553 (atomic_exchange_acq): Likewise.
3554 (atomic_load_relaxed): Likewise.
3555 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3556 * nptl/pthread_spin_init.c (pthread_spin_init):
3557 Use atomic_store_relaxed.
3558 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3559 Use C11-like atomic macros.
3560 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3561 Likewise.
3562 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3563 Use atomic_store_release.
3564 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3565 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3566 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3567 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3568 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3569 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3570 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3571 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3572 * sysdeps/alpha/atomic-machine.h: Likewise.
3573 * sysdeps/arm/atomic-machine.h: Likewise.
3574 * sysdeps/i386/atomic-machine.h: Likewise.
3575 * sysdeps/ia64/atomic-machine.h: Likewise.
3576 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3577 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3578 * sysdeps/microblaze/atomic-machine.h: Likewise.
3579 * sysdeps/mips/atomic-machine.h: Likewise.
3580 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3581 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3582 * sysdeps/s390/atomic-machine.h: Likewise.
3583 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3584 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3585 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3586 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3587 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3588 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3589 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3590 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3591 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3592 * sysdeps/x86_64/atomic-machine.h: Likewise.
3593
3594 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3595
3596 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3597 and use it instead of dl_x86_cpu_features.
3598 (handle_intel): Replace maxidx with cpu_features. Pass
3599 cpu_features to intel_check_word.
3600 (__cache_sysconf): Pass cpu_features to handle_intel.
3601 (init_cacheinfo): Likewise. Use cpu_features instead of
3602 dl_x86_cpu_features.
3603
3604 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3608 memcmp-avx2 and wmemcmp-avx2.
3609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3610 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3611 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3612 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3613 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3614 2 machines if AVX unaligned load is fast and vzeroupper is
3615 preferred.
3616 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3617 2 machines if AVX unaligned load is fast and vzeroupper is
3618 preferred.
3619
3620 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * include/wchar.h (__wmemset_chk): New.
3623 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3624 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3625 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3626 (WMEMSET_CHK_SYMBOL): Likewise.
3627 (WMEMSET_SYMBOL): Likewise.
3628 (__wmemset): Add hidden definition.
3629 (wmemset): Add weak hidden definition.
3630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3631 wmemset_chk-nonshared.
3632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3633 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3634 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3635 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3636 and __wmemset_chk_avx512_unaligned.
3637 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3638 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3639 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3640 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3641 (WMEMSET_SYMBOL): Likewise.
3642 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3643 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3644 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3645 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3646 (WMEMSET_SYMBOL): Likewise.
3647 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3648 (WMEMSET_CHK_SYMBOL): New.
3649 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3650 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3651 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3652 (libc_hidden_builtin_def): Also define __GI_wmemset and
3653 __GI___wmemset.
3654 (weak_alias): New.
3655 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3656 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3657 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3658 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3659 * sysdeps/x86_64/wmemset.c: Likewise.
3660 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3661
3662 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3663 H.J. Lu <hongjiu.lu@intel.com>
3664
3665 * sysdeps/x86/init-arch.h (PASTER1): New.
3666 (EVALUATOR1): Likewise.
3667 (PASTER2): Likewise.
3668 (EVALUATOR2): Likewise.
3669 (REDIRECT_NAME): Likewise.
3670 (OPTIMIZE): Likewise.
3671 (IFUNC_SELECTOR): Likewise.
3672
3673 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3674
3675 * sysdeps/x86_64/strlen.S (PMINU): New.
3676 (PCMPEQ): Likewise.
3677 (SHIFT_RETURN): Likewise.
3678 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3679 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3680 pminub with PCMPEQ and PMINU.
3681 * sysdeps/x86_64/wcsnlen.S: New file.
3682
3683 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3686 the lower 32 bits. Remove redundant instructions.
3687
3688 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3691 0 as the high part of offset.
3692 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3693
3694 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #21538]
3697 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3698 [__USE_UNIX98].
3699 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3700 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3701 Likewise.
3702 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3703 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3704 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3705 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3706 Likewise.
3707
3708 [BZ #21517]
3709 * bits/types/stack_t.h (stack_t): Remove struct tag.
3710 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3711 Likewise.
3712 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3713 Likewise.
3714 * debug/segfault.c (install_handler): Use stack_t instead of
3715 struct sigaltstack.
3716 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3717 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3718 * include/signal.h (__sigaltstack): Likwise.
3719 * signal/sigaltstack.c (__sigaltstack): Likewise.
3720 * signal/signal.h (sigaltstack): Likewise.
3721 * sysdeps/mach/hurd/i386/signal-defines.sym
3722 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3723 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3724 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3725 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3726 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3727 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3728 elf_prstatus): Likewise.
3729 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3730 Likewise.
3731 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3734 Likewise.
3735 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3736 elf_prstatus): Likewise.
3737 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3740 Likewise.
3741
3742 2017-06-04 Zack Weinberg <zackw@panix.com>
3743
3744 * sysdeps/gnu/errlist.c: Regenerate.
3745
3746 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * benchtests/bench-memchr.c (do_test): Print out both length
3749 and position.
3750 (test_main): Also test the position close to the beginning for
3751 memrchr.
3752
3753 2017-06-04 Zack Weinberg <zackw@panix.com>
3754
3755 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3756 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3757 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3758 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3759 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3760 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3761 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3762 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3763 * nis/nis_print_group_entry.c, nis/nis_remove.c
3764 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3765 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3766 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3767 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3768 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3769 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3770 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3771 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3772 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3773 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3774 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3775 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3776 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3777 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3778 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3779 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3780 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3781 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3782 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3783 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3784
3785 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3786 abi-versions.h as well as shlib-compat.h.
3787 * sunrpc/get_myaddr.c: Remove obsolete comment.
3788 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3789 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3790 * resolv/res_libc.c: Include shlib-compat.h only once.
3791
3792 2017-06-03 Florian Weimer <fweimer@redhat.com>
3793
3794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3795 of strdup.
3796
3797 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3800 Set to the 3/4 of the total shared cache size.
3801
3802 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3803
3804 * manual/errno.texi: Remove redundant error strings.
3805 * manual/macros.texi (@errno): Render the error string in every
3806 description.
3807
3808 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3809
3810 [BZ #21543]
3811 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3812 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3813 [__USE_XOPEN_EXTENDED].
3814
3815 2017-06-02 Florian Weimer <fweimer@redhat.com>
3816
3817 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3818 strdupa.
3819 (getcanonname): Use __strdup instead of strdup.
3820
3821 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3822
3823 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3824 (CFLAGS-preadv64v2.c): Likewise.
3825 (CFLAGS-pwritev2.c): Likewise.
3826 (CFLAGS-pwritev64v2.c): Likewise.
3827
3828 2017-06-02 Florian Weimer <fweimer@redhat.com>
3829
3830 Test res_init with several configuration files.
3831 * resolv/Makefile [build-shared] (tests-internal): Add
3832 tst-resolv-res_init, tst-resolv-res_init-thread.
3833 (tst-resolv-res_init): Link against libdl, libresolv.
3834 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3835 libpthread.
3836 * resolv/tst-resolv-res_init.c: New file.
3837 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3838 * resolv/tst-resolv-res_init-thread.c: Likewise.
3839 * support/Makefile (libsupport-routines): Add support-xstat,
3840 support_can_chroot, support_capture_subprocess_check,
3841 support_isolate_in_subprocess, support_shared_allocate,
3842 support_write_file_string, xchroot, xmkdir, xopen.
3843 * support/capture_subprocess.h (enum support_capture_allow): Define.
3844 (support_capture_subprocess_check): Declare.
3845 * support/namespace.h (support_can_chroot)
3846 (support_isolate_in_subprocess): Declare.
3847 * support/support-xstat.c: New file.
3848 * support/support.h (support_shared_allocate, support_shared_free)
3849 (support_write_file_string): Declare.
3850 * support/support_can_chroot.c: New file.
3851 * support/support_capture_subprocess_check.c: Likewise.
3852 * support/support_isolate_in_subprocess.c: Likewise.
3853 * support/support_shared_allocate.c: Likewise.
3854 * support/support_write_file_string.c: Likewise.
3855 * support/xchroot.c: Likwise.
3856 * support/xmkdir.c: Likwise.
3857 * support/xopen.c: Likwise.
3858 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3859
3860 2017-06-02 Florian Weimer <fweimer@redhat.com>
3861
3862 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3863 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3864
3865 2017-06-02 Florian Weimer <fweimer@redhat.com>
3866
3867 * malloc/Makefile (routines): Add dynarray_at_failure,
3868 dynarray_emplace_enlarge, dynarray_finalize.
3869 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3870 tst-dynarray-at-fail.
3871 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3872 (tests-special): Add tst-dynarray-mem.out,
3873 tst-dynarray-mem-fail.out.
3874 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3875 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3876 mtrace.
3877 * malloc/Versions (__libc_dynarray_at_failure)
3878 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3879 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3880 GLIBC_PRIVATE.
3881 * malloc/dynarray.h: New file.
3882 * malloc/dynarray-skeleton.c: Likewise.
3883 * malloc/dynarray_at_failure.c: Likewise.
3884 * malloc/dynarray_emplace_enlarge.c: Likewise.
3885 * malloc/dynarray_finalize.c: Likewise.
3886 * malloc/dynarray_resize.c: Likewise.
3887 * malloc/dynarray_resize_clear.c: Likewise.
3888 * malloc/tst-dynarray.c: Likewise.
3889 * malloc/tst-dynarray-fail.c: Likewise.
3890 * malloc/tst-dynarray-at-fail.c: Likewise.
3891 * malloc/tst-dynarray-shared.h: Likewise.
3892 * support/Makefile (libsupport-routines): Add
3893 support_capture_subprocess, xdup2, xpipe.
3894 (tests): Add tst-support_capture_subprocess.
3895 * support/capture_subprocess.h: New file.
3896 * support/support_capture_subprocess.c: Likewise.
3897 * support/tst-support_capture_subprocess.c: Likewise.
3898 * support/xdup2.c: Likewise.
3899 * support/xpipe.c: Likewise.
3900 * support/xunistd.h (xdup2, xpipe): Declare.
3901
3902 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3903
3904 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3905 macros MAX and MIN.
3906
3907 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3908
3909 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3910 [XPG4].
3911 (SA_SIGINFO): Likewise.
3912 (SA_ONSTACK): Likewise.
3913 (SA_RESETHAND): Likewise.
3914 (SA_RESTART): Likewise.
3915 (SA_NOCLDWAIT): Likewise.
3916 (SA_NODEFER): Likewise.
3917 (SS_ONSTACK): Likewise.
3918 (SS_DISABLE): Likewise.
3919 (MINSIGSTKSZ): Likewise.
3920 (SIGSTKSZ): Likewise.
3921 (ucontext_t): Likewise.
3922 (stack_t): Likewise.
3923 (struct sigstack): Likewise.
3924 (SI_USER): Do not expect for [XPG4 || XPG42].
3925 (SI_QUEUE): Likewise.
3926 (SI_TIMER): Likewise.
3927 (SI_ASYNCIO): Likewise.
3928 (SI_MESGQ): Likewise.
3929 (bsd_signal): Do not expect for [XPG4].
3930 (killpg): Likewise.
3931 (sigaltstack): Likewise.
3932 (sighold): Likewise.
3933 (sigignore): Likewise.
3934 (siginterrupt): Likewise.
3935 (sigpause): Likewise.
3936 (sigrelse): Likewise.
3937 (sigset): Likewise.
3938 (sigwait): Do not expect for [XPG4 || XPG42].
3939
3940 2017-06-01 Zack Weinberg <zackw@panix.com>
3941
3942 [BZ #21514]
3943 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3944 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3945
3946 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3947
3948 [BZ #21457]
3949 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3950 NGREG to __NGREG if [__USE_MISC].
3951 (gregset_t): Define using __NGREG.
3952 (__ctx): New macro.
3953 (mcontext_t): Use __ctx in defining fields.
3954 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3955 define NGREG to __NGREG if [__USE_MISC].
3956 (gregset_t): Define using __NGREG.
3957 (__ctx): New macro.
3958 (__ctxt): Likewise.
3959 (fpregset_t): Use __ctx and __ctxt in defining fields.
3960 (mcontext_t): Likewise.
3961 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3962 define NGREG to __NGREG if [__USE_MISC].
3963 (gregset_t): Define using __NGREG.
3964 (__ctx): New macro.
3965 (mcontext_t): Use __ctx in defining fields.
3966 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3967 define NGREG to __NGREG if [__USE_MISC].
3968 (gregset_t): Define using __NGREG.
3969 (__ctx): New macro.
3970 (fpregset_t): Use __ctx in defining fields.
3971 (mcontext_t): Likewise.
3972 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3973 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3974 (gregset_t): Define using __NGREG.
3975 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3976 [__USE_MISC].
3977 (fpregset_t): Define using __NFPREG.
3978 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3979 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3980 (gregset_t): Define using __NGREG.
3981 (__ctx): New macro.
3982 (fpregset_t): Use __ctx in defining fields.
3983 (mcontext_t): Likewise.
3984 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3985 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3986 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3987 [__USE_MISC].
3988 (gregset_t): Define using __NGREG.
3989 (__ctx): New macro.
3990 (fpregset_t): Use __ctx in defining fields.
3991 (mcontext_t): Likewise.
3992 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3993 (mcontext_t): Use __ctx in defining fields.
3994 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3995 macro.
3996 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3997 __NGREG if [__USE_MISC].
3998 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3999 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4000 (mcontext_t): Likewise.
4001 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4002 __NGREG if [__USE_MISC].
4003 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4004 to __NFPREG if [__USE_MISC].
4005 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4006 to __NVRREG if [__USE_MISC].
4007 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4008 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4009 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4010 [__WORDSIZE != 32] (vrregset_t): Likewise.
4011 [__WORDSIZE != 32] (mcontext_t): Likewise.
4012 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4013 (__psw_t): Use __ctx in defining fields.
4014 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4015 [__USE_MISC].
4016 (gregset_t): Define using __NGREG.
4017 (fpreg_t): Use __ctx in defining fields.
4018 (fpregset_t): Likewise.
4019 (mcontext_t): Likewise.
4020 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4021 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4022 (gregset_t): Define using __NGREG.
4023 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4024 [__USE_MISC].
4025 (fpregset_t): Define using __NFPREG.
4026 (__ctx): New macro.
4027 (mcontext_t): Use __ctx in defining fields.
4028 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4029 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4030 __NGREG if [__USE_MISC].
4031 [__x86_64__] (gregset_t): Define using __NGREG.
4032 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4033 [__x86_64__] (struct _libc_fpstate): Likewise.
4034 [__x86_64__] (mcontext_t): Likewise.
4035 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4036 __NGREG if [__USE_MISC].
4037 [!__x86_64__] (gregset_t): Define using __NGREG.
4038 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4039 [!__x86_64__] (struct _libc_fpstate): Likewise.
4040 [!__x86_64__] (mcontext_t): Likewise.
4041
4042 2017-06-01 Zack Weinberg <zackw@panix.com>
4043
4044 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4045 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
4046 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4047 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4048 libpthread.so no longer references __errno_location.
4049
4050 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4051
4052 * NEWS: Add note about pwritev2 and preadv2 inclusion.
4053 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4054 pwritev64v2.
4055 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4056 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4057 pwritev64v2.
4058 * misc/preadv2.c: New file.
4059 * misc/preadv64v2.c: Likewise.
4060 * misc/pwritev2.c: Likewise.
4061 * misc/pwritev64v2.c: Likewise.
4062 * misc/tst-preadvwritev2.c: Likewise.
4063 * misc/tst-preadvwritev64v2.c: Likewise.
4064 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4065 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4066 prototype.
4067 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4068 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4069 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4070 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4071 (PWRITEV): Likewise.
4072 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4073 ENOSYS.
4074 * nptl/tst-cancel4.c (tf_pwritev2): New test.
4075 (tf_preadv2): Likewise.
4076 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4077 * sysdeps/posix/preadv2.c: Likewise.
4078 * sysdeps/posix/preadv64v2.c: Likewise.
4079 * sysdeps/posix/pwritev2.c: Likewise.
4080 * sysdeps/posix/pwritev64v2.c: Likewise.
4081 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4082 support in kernel.
4083 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4084 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4085 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4086 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4087 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4088 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4089 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4090 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4091 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4092 support flags on Linux.
4093 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4094 preadv2, preadv64v2, pwritev2, pwritev64v2.
4095 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4096 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4097 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4098 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4099 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4100 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4101 Likewise.
4102 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4103 Likewise.
4104 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4105 Likewise.
4106 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4109 Likewise.
4110 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4111 Likewise.
4112 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4113 Likewise.
4114 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4116 (GLIBC_2.26): Likewise.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4118 (GLIBC_2.26): Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4120 Likewise.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4122 (GLIBC_2.26): Likewise.
4123 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4124 Likewise.
4125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4126 Likewise.
4127 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4128 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4129 Likewise.
4130 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4131 Likewise.
4132 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4133 Likewise.
4134 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4135 Likewise.
4136 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4137 Likewise.
4138 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4139 Likewise.
4140 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4141 Likewise.
4142
4143 2017-05-31 Andreas Schwab <schwab@suse.de>
4144
4145 * nptl/tst-fork3.c: Include <support/test-driver.c>.
4146 (main): Rename to do_test and make static.
4147
4148 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4149
4150 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4151 ARCH_INIT_CPU_FEATURES.
4152 (LIBC_START_MAIN): Call it.
4153 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4154 (__libc_start_main): Remove.
4155 (ARCH_INIT_CPU_FEATURES): New macro.
4156 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4157 (ARCH_INIT_CPU_FEATURES): New macro.
4158
4159 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
4160 RĂŒdiger Sonderfeld <ruediger@c-plusplus.de>
4161
4162 * include/stdlib.h (__libc_reallocarray): New declaration.
4163 * malloc/Makefile (routines): Add reallocarray.
4164 (tests): Add tst-reallocarray.c.
4165 * malloc/Versions: Add reallocarray and __libc_reallocarray.
4166 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4167 function.
4168 * malloc/malloc.h (reallocarray): New declaration.
4169 * stdlib/stdlib.h (reallocarray): Likewise.
4170 * malloc/reallocarray.c: New file.
4171 * malloc/tst-reallocarray.c: New test file.
4172 * manual/memory.texi: Document reallocarray.
4173 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4174 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4178 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4179 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4180 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4181 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4182 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4183 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4184 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4185 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4186 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4188 Likewise.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4190 Likewise.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4193 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4194 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4195 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4197 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4200 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4201 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4202 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4203
4204 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4205
4206 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4207 the lower 32 bits.
4208
4209 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4210
4211 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4212 $(build-pie-default) = yes]: Define.
4213
4214 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 * string/test-memchr.c (test_main): Add tests for n == 0.
4217
4218 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4219
4220 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4221 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4222 (tests-internal): ... here.
4223
4224 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4225 H.J. Lu <hongjiu.lu@intel.com>
4226
4227 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4228 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4229 (__tunable_set_val): Likewise.
4230
4231 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4234 dl-tunables.list in subdirectories.
4235
4236 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4237 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4238 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4239
4240 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4241 (SNANF128): New macro.
4242 * math/e_sqrtf128.c: New file.
4243 * math/s_fmaxmag_template.c: Include math_private.h in order to
4244 make inline expansion of fabs128().
4245 * math/s_fminmag_template.c: Likewise.
4246
4247 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4248 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4249 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4250 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4251 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4252 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4253 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4254 * sysdeps/ieee754/float128/e_expf128.c: New file.
4255 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4256 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4257 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4258 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4259 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4260 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4261 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4262 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4263 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4264 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4265 * sysdeps/ieee754/float128/e_logf128.c: New file.
4266 * sysdeps/ieee754/float128/e_powf128.c: New file.
4267 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4268 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4269 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4270 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4271 * sysdeps/ieee754/float128/float128_private.h: New file.
4272 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4273 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4274 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4275 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4276 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4277 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4278 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4279 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4280 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4281 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4282 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4283 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4284 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4285 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4286 * sysdeps/ieee754/float128/s_erff128.c: New file.
4287 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4288 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4289 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4290 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4291 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4292 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4293 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4294 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4295 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4296 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4297 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4298 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4299 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4300 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4301 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4302 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4303 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4304 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4305 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4306 * sysdeps/ieee754/float128/s_modff128.c: New file.
4307 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4308 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4309 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4310 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4311 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4312 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4313 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4314 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4315 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4316 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4317 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4318 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4319 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4320 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4321 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4322 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4323 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4324 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4325 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4326 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4327 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4328 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4329 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4330 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4331 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4332
4333 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4334 (__iscanonicalf128): Define as a macro.
4335
4336 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4337
4338 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4339 (memmove): Use MEMMOVE for name.
4340 (memcpy): Use MEMCPY for name. Change internal labels
4341 to external labels.
4342 * sysdeps/aarch64/multiarch/Makefile: New file.
4343 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4344 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4345 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4346 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4347 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4348 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4349
4350 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4351
4352 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4353 (_dl_arm_cap_flags): Fix array subscript.
4354 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4355 Fix count.
4356
4357 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4358
4359 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4360
4361 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4362
4363 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4364 (is_amd): Likewise.
4365 (max_cpuid): Likewise.
4366 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4367 (init_cacheinfo): Likewise.
4368
4369 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4370
4371 [BZ #21511]
4372 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4373 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4374 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4375 !__USE_XOPEN2K) || __USE_MISC].
4376 * conform/data/signal.h-data (struct sigstack): Expect type only
4377 if [!XOPEN2K8 && !POSIX2008].
4378 (sigstack): Expect function only if [XPG42 || UNIX98].
4379
4380 [BZ #21457]
4381 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4382 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4383 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4384 <bits/types/__sigset_t.h>.
4385 (ucontext_t): Use sigset_t instead of __sigset_t.
4386 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4387 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4388 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4389 <bits/types/__sigset_t.h>.
4390 (ucontext_t): Use sigset_t instead of __sigset_t.
4391 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4392 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4393 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4394 <bits/types/__sigset_t.h>.
4395 (ucontext_t): Use sigset_t instead of __sigset_t.
4396 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4397 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4398 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4399 <bits/types/__sigset_t.h>.
4400 (ucontext_t): Use sigset_t instead of __sigset_t.
4401 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4402 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4403 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4404 <bits/types/__sigset_t.h>.
4405 (ucontext_t): Use sigset_t instead of __sigset_t.
4406 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4407 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4408 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4409 <bits/types/__sigset_t.h>.
4410 (ucontext_t): Use sigset_t instead of __sigset_t.
4411 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4412 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4413 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4414 <bits/types/__sigset_t.h>.
4415 (ucontext_t): Use sigset_t instead of __sigset_t.
4416 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4417 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4418 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4419 <bits/types/__sigset_t.h>.
4420 (ucontext_t): Use sigset_t instead of __sigset_t.
4421 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4422 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4423 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4424 <bits/types/__sigset_t.h>.
4425 (ucontext_t): Use sigset_t instead of __sigset_t.
4426 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4427 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4428 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4429 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4430 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4431 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4432 <bits/types/__sigset_t.h>.
4433 (ucontext_t): Use sigset_t instead of __sigset_t.
4434 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4435 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4436 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4437 <bits/types/__sigset_t.h>.
4438 (ucontext_t): Use sigset_t instead of __sigset_t.
4439 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4440 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4441 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4442 <bits/types/__sigset_t.h>.
4443 (ucontext_t): Use sigset_t instead of __sigset_t.
4444 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4445 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4446 <bits/ss_flags.h>.
4447 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4448 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4449 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4450 <bits/types/__sigset_t.h>.
4451 (ucontext_t): Use sigset_t instead of __sigset_t.
4452 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4453 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4454 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4455 <bits/types/__sigset_t.h>.
4456 (ucontext_t): Use sigset_t instead of __sigset_t.
4457 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4458 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4459 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4460 <bits/types/__sigset_t.h>.
4461 (ucontext_t): Use sigset_t instead of __sigset_t.
4462 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4463 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4464 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4465 <bits/types/__sigset_t.h>.
4466 (ucontext_t): Use sigset_t instead of __sigset_t.
4467 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4468 <bits/types.h>.
4469 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4470 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4471 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4472 <bits/types/__sigset_t.h>.
4473 (ucontext_t): Use sigset_t instead of __sigset_t.
4474
4475 2017-05-22 Zack Weinberg <zackw@panix.com>
4476
4477 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4478 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4479 bits/siginfo-arch.h, only if not already defined.
4480 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4481 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4482 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4483 Likewise.
4484
4485 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4486 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4488 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4489 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4490 Unconditionally define __SI_* macros.
4491
4492 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4493
4494 [BZ #21393]
4495 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4496 and add a check for dup3 failure.
4497 * libio/freopen64.c (freopen64): Likewise.
4498 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4499 libsupport.
4500 (do_test_bz21398): New test.
4501 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4502
4503 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4504
4505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4506 Remove invalid comment.
4507
4508 2017-05-21 Zack Weinberg <zackw@panix.com>
4509
4510 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4511
4512 2017-05-20 Zack Weinberg <zackw@panix.com>
4513
4514 * bits/sigevent-consts.h
4515 * bits/siginfo-consts.h
4516 * bits/types/__sigset_t.h
4517 * bits/types/sigevent_t.h
4518 * bits/types/siginfo_t.h
4519 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4520 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4521 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4522 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4523 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4524 New system-dependent bits headers.
4525
4526 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4527 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4528 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4529 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4530 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4532 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4533 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4534 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4535 New Linux-only system-dependent bits headers.
4536
4537 * signal/bits/types/sig_atomic_t.h
4538 * signal/bits/types/sigset_t.h
4539 * signal/bits/types/sigval_t.h:
4540 New non-system-dependent bits headers.
4541
4542 * sysdeps/generic/sigsetops.h
4543 * sysdeps/unix/sysv/linux/sigsetops.h:
4544 New internal headers.
4545
4546 * include/bits/types/sig_atomic_t.h
4547 * include/bits/types/sigset_t.h
4548 * include/bits/types/sigval_t.h:
4549 New wrappers.
4550
4551 * signal/sigsetops.h
4552 * bits/siginfo.h
4553 * bits/sigset.h
4554 * sysdeps/unix/sysv/linux/bits/siginfo.h
4555 * sysdeps/unix/sysv/linux/bits/sigset.h
4556 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4557 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4560 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4561 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4562 Deleted.
4563
4564 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4565 Update lists of installed headers.
4566
4567 * posix/bits/types.h: Define __sig_atomic_t here.
4568 * signal/signal.h: Use the new bits headers; no need to handle
4569 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4570 to define sigmask.
4571 * include/signal.h: No need to handle __need_sig_atomic_t
4572 nor __need_sigset_t. Don't define __sigemptyset.
4573
4574 * io/sys/poll.h, setjmp/setjmp.h
4575 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4576 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4577 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4578 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4579 * sysdeps/pthread/bits/sigthread.h
4580 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4581 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4582 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4583 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4584 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4585 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4586 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4587 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4588 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4589 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4590 Use bits/types/__sigset_t.h.
4591
4592 * misc/sys/select.h, posix/spawn.h
4593 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4594 * sysdeps/unix/sysv/linux/sys/epoll.h
4595 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4596 Use bits/types/sigset_t.h.
4597
4598 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4599 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4600 * socket/sys/socket.h: Don't include bits/sigset.h.
4601
4602 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4603 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4604 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4605 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4606 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4607 * sysdeps/unix/sysv/linux/nptl-signals.h:
4608 Include sigsetops.h.
4609
4610 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4611 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4612 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4613 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4614 now return no value.
4615
4616 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4617 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4618 "sigsetops.h".
4619
4620 * signal/sigsetops.c: Explicitly define __sigismember,
4621 __sigaddset, and __sigdelset as compatibility symbols.
4622
4623 * signal/Versions: Correct commentary on __sigpause,
4624 __sigaddset, __sigdelset, __sigismember.
4625
4626 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4627 __sigblock/__sigsetmask to use __sigprocmask and friends.
4628
4629 * resolv/resolv.h: Remove __need_res_state logic.
4630 Move definition of res_state and related constants to ...
4631 * resolv/bits/types/res_state.h: ...this new file.
4632 * resolv/Makefile: Install bits/types/res_state.h.
4633 * include/bits/types/res_state.h: New wrapper.
4634 * include/list.h: Remove __need_list_t logic.
4635 Move definition of list_t to ...
4636 * include/list_t.h: ...this new file.
4637
4638 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4639 instead of list.h and resolv.h.
4640
4641 * resolv/resolv.h: Remove __need_res_state logic.
4642 Move definition of res_state and related constants to ...
4643 * resolv/bits/types/res_state.h: ...this new file.
4644 * resolv/Makefile: Install bits/types/res_state.h.
4645 * include/bits/types/res_state.h: New wrapper.
4646 * include/list.h: Remove __need_list_t logic.
4647 Move definition of list_t to ...
4648 * include/list_t.h: ...this new file.
4649
4650 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4651 instead of list.h and resolv.h.
4652
4653 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4654
4655 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4656
4657 2017-05-20 Zack Weinberg <zackw@panix.com>
4658
4659 * sysdeps/arm/sysdep.h
4660 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4661
4662 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4663 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4664 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4665 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4666 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4667 * sysdeps/arm/armv6t2/strlen.S
4668 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4669 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4670 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4671 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4672 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4673 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4674
4675 2017-05-20 Zack Weinberg <zackw@panix.com>
4676
4677 Remove the NaCl port.
4678 * sysdeps/arm/nacl: Remove directory and contents.
4679 * sysdeps/nacl: Remove directory and contents.
4680 * abi-tags: Remove .*-.*-nacl.* entry.
4681
4682 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4683
4684 * manual/errno.texi: Convert @comment-based errno documentation to
4685 @errno.
4686 * manual/macros.texi (@errno): New macro. Consolidate errors,
4687 their values, and messages, adding the error string to the Concept
4688 Index. Provide a warning in the comment about external (to the
4689 manual) dependencies.
4690 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4691 * sysdeps/mach/hurd/errnos.awk: Likewise.
4692
4693 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4694
4695 * bits/ss_flags.h: New file.
4696 * bits/types/stack_t.h: Likewise.
4697 * include/bits/types/struct_sigstack.h: Likewise.
4698 * signal/bits/types/struct_sigstack.h: Likewise.
4699 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4700 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4701 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4702 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4703 bits/types/stack_t.h and bits/ss_flags.h.
4704 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4705 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4706 <bits/ss_flags.h>.
4707 * bits/sigstack.h (struct sigstack): Remove.
4708 (stack_t): Likewise.
4709 (SS_ONSTACK): Likewise.
4710 (SS_DISABLE): Likewise.
4711 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4712 (struct sigstack): Likewise.
4713 (stack_t): Likewise.
4714 (SS_ONSTACK): Likewise.
4715 (SS_DISABLE): Likewise.
4716 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4717 Likewise.
4718 (stack_t): Likewise.
4719 (SS_ONSTACK): Likewise.
4720 (SS_DISABLE): Likewise.
4721 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4722 Likewise.
4723 (stack_t): Likewise.
4724 (SS_ONSTACK): Likewise.
4725 (SS_DISABLE): Likewise.
4726 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4727 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4728 Likewise.
4729 (stack_t): Likewise.
4730 (SS_ONSTACK): Likewise.
4731 (SS_DISABLE): Likewise.
4732 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4733 (struct sigstack): Likewise.
4734 (stack_t): Likewise.
4735 (SS_ONSTACK): Likewise.
4736 (SS_DISABLE): Likewise.
4737 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4738 Likewise.
4739 (stack_t): Likewise.
4740 (SS_ONSTACK): Likewise.
4741 (SS_DISABLE): Likewise.
4742 * sysdeps/arm/sys/ucontext.h: Include
4743 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4744 <bits/ss_flags.h>.
4745 * sysdeps/generic/sys/ucontext.h: Likewise.
4746 * sysdeps/i386/sys/ucontext.h: Likewise.
4747 * sysdeps/m68k/sys/ucontext.h: Likewise.
4748 * sysdeps/mips/sys/ucontext.h: Likewise.
4749 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4750 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4751 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4752 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4753 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4754 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4755 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4756 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4757 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4758 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4759 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4760 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4761 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4762 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4763 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4764
4765 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4766
4767 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4768 "edx + ecx - 16" to avoid possible addition overflow.
4769 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4770
4771 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4772
4773 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4774 (CFLAGS-splice.c): Likewise.
4775 (CFLAGS-open_by_handle_at.c): Likewise.
4776 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4777 (CFLAGS-splice.c): Likewise.
4778 (CFLAGS-open_by_handle_at.c): Likewise.
4779
4780 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4781
4782 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4783 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4784 <ldbl-compat-choose.h>.
4785 (maybe_long_double_symbol): New macro.
4786 [!declare_mgen_alias] (declare_mgen_alias): Use
4787 maybe_long_double_symbol.
4788 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4789 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4793 * Makerules [$(build-shared) = yes && !avoid-generated]
4794 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4795 [$(build-shared) = yes && !avoid-generated]
4796 ($(common-objpfx)ldbl-compat-choose.h): New target.
4797
4798 * scripts/versions.awk: Generate first-versions.h.
4799 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4800 <first-versions.h>.
4801 (LDOUBLE_cabsl_libm_version): Remove macro.
4802 (LDOUBLE_cargl_libm_version): Likewise.
4803 (LDOUBLE_cimagl_libm_version): Likewise.
4804 (LDOUBLE_conjl_libm_version): Likewise.
4805 (LDOUBLE_creall_libm_version): Likewise.
4806 (LDOUBLE_cacosl_libm_version): Likewise.
4807 (LDOUBLE_cacoshl_libm_version): Likewise.
4808 (LDOUBLE_ccosl_libm_version): Likewise.
4809 (LDOUBLE_ccoshl_libm_version): Likewise.
4810 (LDOUBLE_casinl_libm_version): Likewise.
4811 (LDOUBLE_csinl_libm_version): Likewise.
4812 (LDOUBLE_casinhl_libm_version): Likewise.
4813 (LDOUBLE_csinhl_libm_version): Likewise.
4814 (LDOUBLE_catanl_libm_version): Likewise.
4815 (LDOUBLE_catanhl_libm_version): Likewise.
4816 (LDOUBLE_ctanl_libm_version): Likewise.
4817 (LDOUBLE_ctanhl_libm_version): Likewise.
4818 (LDOUBLE_cexpl_libm_version): Likewise.
4819 (LDOUBLE_clogl_libm_version): Likewise.
4820 (LDOUBLE_cprojl_libm_version): Likewise.
4821 (LDOUBLE_csqrtl_libm_version): Likewise.
4822 (LDOUBLE_cpowl_libm_version): Likewise.
4823 (LDOUBLE_clog10l_libm_version): Likewise.
4824 (LDOUBLE___clog10l_libm_version): Likewise.
4825 (LDOUBLE_fdiml_libm_version): Likewise.
4826 (LDOUBLE_fmaxl_libm_version): Likewise.
4827 (LDOUBLE_fminl_libm_version): Likewise.
4828 (LDOUBLE_ilogbl_libm_version): Likewise.
4829 (LDOUBLE_nanl_libm_version): Likewise.
4830 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4831 FIRST_VERSION_libm_* macros.
4832 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4833 * Makerules [$(build-shared) = yes && !avoid-generated]
4834 (before-compile): Add $(common-objpfx)first-versions.h.
4835 [$(build-shared) = yes && !avoid-generated]
4836 ($(common-objpfx)first-versions.h): New target.
4837 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4838 building $(common-objpfx)versions.stmp.
4839
4840 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4841
4842 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4843 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4844 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4845 auto-generation list.
4846
4847 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4848 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4849 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4850 from auto-generation list.
4851
4852 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4853 open_by_handle_at.
4854 (CFLAGS-open_by_handle_at.c): New flag.
4855 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4856 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4857 file.
4858 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4859
4860 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4861 (CFLAGS-splice.c): New flag.
4862 * sysdeps/unix/sysv/linux/splice.c: New file.
4863 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4864 auto-generation syscall list.
4865 * misc/Makefile (CFLAGS-splice.c): New rule.
4866
4867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4868 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4869 auto-generation syscall list.
4870 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4871 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4872
4873 * misc/Makefile (CFLAGS-fsync.c): New flag.
4874 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4875 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4876 syscall list.
4877 * sysdeps/unix/sysv/linux/fsync.c: New file.
4878 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4879 (__errno_location): Remove.
4880
4881 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4882 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4883 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4884 list.
4885 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4886
4887 * misc/Makefile (CFLAGS-msync.c): New rule.
4888 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4889 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4890 * sysdeps/unix/sysv/linux/msync.c: New file.
4891
4892 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4893 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4894 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4895 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4896 (CFLAGS-sigsuspend.c): Remove rule.
4897
4898 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4899 (CFLAGS-tee.c): New rule.
4900 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4901 auto-generated list.
4902 * sysdeps/unix/sysv/linux/tee.c: New file.
4903
4904 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4905 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4906 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4907 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4908 auto-generated list.
4909
4910 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4911 auto-generated list.
4912 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4914 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4915 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4916 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4917
4918 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4919 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4920 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4921 (__NR_pause): Undefine.
4922 * sysdeps/unix/sysv/linux/pause.c: New file.
4923 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4924 auto-generation list.
4925 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4926 Remove rule.
4927 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4928
4929 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4930
4931 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4932 comments.
4933
4934 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4935
4936 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4937 LD_HWCAP_MASK.
4938
4939 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4940
4941 * manual/conf.texi: Convert @tables of annotated @items to
4942 @vtables.
4943 * manual/lang.texi: Likewise.
4944 * manual/pattern.texi: Likewise.
4945 * manual/resource.texi: Likewise.
4946 * manual/socket.texi: Likewise.
4947
4948 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4949
4950 * manual/crypt.texi: Move a comment out of an @*x list.
4951 * manual/filesys.texi: Refactor some comments, one of which looks
4952 like a standard. Fix incorrectly separated standards.
4953 * manual/locale.texi: Invert an annotation.
4954 * manual/resource.texi: Fix incorrectly separated standards.
4955 * manual/time.texi: Refactor a @vtable that obscures an
4956 annotation.
4957 * manual/users.texi: Refactor multiple headers to occupy a single
4958 @comment.
4959
4960 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4961
4962 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4963 (sysdep_routines): Add memcmp-power8.
4964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4965 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4966 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4967 (memcmp): Add __memcmp_power8 to ifunc list.
4968 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4969 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4970
4971 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4972 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4973
4974 * math/math.h (__MATH_TG): Extend the conditions to add
4975 _Float128 support.
4976 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4977
4978 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4979
4980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4981 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4982 s_cosf-ppc64.
4983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4986 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4987
4988 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4989
4990 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4991 (gen-libm-calls): Add e_exp2F to use the template.
4992 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4993 * math/e_exp2_template.c: New file, renamed from
4994 math/e_exp2l.c, and made into a template.
4995 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4996
4997 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4998
4999 * elf/dl-tunable-types.h (tunable_type_code_t): New type
5000 TUNABLE_TYPE_UINT_64.
5001 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5002 Simplify computation of overflow.
5003 (tunable_set_val_if_valid_range_signed,
5004 tunable_set_val_if_valid_range_unsigned): Remove and replace
5005 with this...
5006 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5007 (tunable_initialize): Adjust. Add uint64_t support.
5008 (__tunable_set_val): Add uint64_t support.
5009 * README.tunables: Document it.
5010
5011 * scripts/gen-tunables.awk: Recognize 'default' keyword in
5012 dl-tunables.list.
5013 * README.tunables: Document it.
5014
5015 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5016
5017 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5018 * sysdeps/posix/preadv64.c: Likewise.
5019 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5020 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5021 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5022 * sysdeps/posix/pwritev64.c: Likewise.
5023 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5024 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5025 * sysdeps/posix/preadv_common.c: New file.
5026 * sysdeps/posix/pwritev_common.c: Likewise.
5027
5028 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5029
5030 * sysdeps/generic/math-type-macros-float128.h
5031 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5032 wrapper templates.
5033
5034 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5035 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5036
5037 * include/complex.h (__kernel_casinhf128): New declaration.
5038 * include/float.h: New file.
5039 * include/math.h (__finitef128): Add a hidden def.
5040 (__isinff128): Likewise.
5041 (__isnanf128): Likewise.
5042 (__fpclassify): Likewise.
5043 (__issignalling): Likewise.
5044 (__expf128): Likewise.
5045 (__expm1f128): Likewise.
5046
5047 * sysdeps/generic/fix-fp-int-convert-overflow.h:
5048 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5049 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5050
5051 * sysdeps/generic/math-type-macros-float128.h: New file.
5052
5053 * sysdeps/generic/math_private.h: Include bits/floatn.h and
5054 math_private_calls.h for _Float128.
5055 (__isinff128): New inline implementation used when GCC < 7.0,
5056 since in this case __builtin_isinf_sign is broken.
5057 (fabsf128): New inline implementation that calls the builtin.
5058 (__EXPR_FLT128): New macro.
5059 (min_of_type): Optionally include _Float128 types too.
5060
5061 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5062 Declare for _Float128.
5063 (__kernel_rem_pio2): Likewise.
5064
5065 * sysdeps/ieee754/ldbl-opt/s_sin.c:
5066 (__DECL_SIMD_sincos_disablef128): New macro.
5067
5068 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5069
5070 * math/math.h: Include bits/math-finite.h for float128.
5071 (__MATH_DECLARING_FLOATN): Define to control declaration of
5072 float128 functions.
5073 * math/bits/math-finite.h (pow10): Do not declare for float128.
5074 (gamma): Likewise.
5075 (scalb): Likewise.
5076
5077 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5078 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5079
5080 * bits/floatn.h: New file.
5081 * bits/huge_val_flt128.h: Likewise.
5082
5083 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5084 (__DECL_SIMD_sinf128): Likewise.
5085 (__DECL_SIMD_sincosf128): Likewise.
5086 (__DECL_SIMD_logf128): Likewise.
5087 (__DECL_SIMD_expf128): Likewise.
5088 (__DECL_SIMD_powf128): Likewise.
5089
5090 * math/Makefile (headers): Install bits/floatn.h and
5091 bits/huge_val_flt128.h.
5092
5093 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5094 defined.
5095
5096 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5097 (isnan, gamma, nexttoward, scalb): Only define if not
5098 __MATH_DECLARING_FLOATN.
5099 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5100 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5101 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5102 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5103
5104 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5105 Include bits/cmathcalls.h to get the declarations of _Float128
5106 versions of complex functions.
5107 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5108 Define macro.
5109
5110 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5111 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5112 get the declarations of _Float128 versions of math functions.
5113 (__MATH_DECLARING_FLOATN): New macro to control declaration of
5114 _FloatN types.
5115 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5116 is type-generic, so use it without __MATH_TG.
5117 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5118 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
5119 _Float128 type and GCC < 7.0, otherwise use the builtin.
5120 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5121 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5122 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5123 New _GNU_SOURCE enabled macros.
5124
5125 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5126
5127 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5128 (signbitf): Likewise.
5129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5130 Likewise.
5131 (signbitl): Likewise.
5132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5133 Likewise.
5134 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5135 (signbitl): Likewise.
5136 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5137
5138 2017-05-12 Florian Weimer <fweimer@redhat.com>
5139
5140 [BZ #21386]
5141 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5142 parent PID. The assertion in the child is incorrect with PID
5143 namespaces.
5144
5145 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5146
5147 * sysdeps/unix/sysv/linux/kernel-features.h
5148 (__ASSUME_STATFS_F_FLAGS): Remove macro.
5149 * sysdeps/unix/sysv/linux/internal_statvfs.c
5150 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5151
5152 2017-05-11 Zack Weinberg <zackw@panix.com>
5153
5154 * Makerules: New subdir configuration variables 'tests-internal'
5155 and 'test-internal-extras'. Test files in these categories will
5156 still be compiled with MODULE_NAME=nonlib. Test files in the
5157 existing categories (tests, xtests, test-srcs, test-extras) are
5158 now compiled with MODULE_NAME=testsuite.
5159 New subdir configuration variable 'modules-names-tests'. Files
5160 which are in both 'modules-names' and 'modules-names-tests' will
5161 be compiled with MODULE_NAME=testsuite instead of
5162 MODULE_NAME=extramodules.
5163 (gen-as-const-headers): Move to tests-internal.
5164 (do-tests-clean, common-mostlyclean): Support tests-internal.
5165 * Makeconfig (built-modules): Add testsuite.
5166 * Makefile: Change libof-check-installed-headers-c and
5167 libof-check-installed-headers-cxx to 'testsuite'.
5168 * Rules: Likewise. Support tests-internal.
5169 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5170 Remove extra-modules.mk.
5171
5172 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5173 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5174 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5175 very top of the file and rationalize their order.
5176 If MODULE_NAME is not defined at all, define IS_IN to always be
5177 false, and don't define _ISOMAC.
5178 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5179 true, define _ISOMAC and suppress everything else in this file,
5180 starting with the inclusion of config.h.
5181 Do check for inappropriate definitions of __OPTIMIZE__ and
5182 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5183 Correct some out-of-date commentary.
5184
5185 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5186 and _Mlong_double_ before including math.h.
5187 * include/string.h: If _ISOMAC is defined, don't expose
5188 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5189 location.
5190
5191 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5192 * include/time.h, include/unistd.h, include/wchar.h: No need to
5193 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5194
5195 * misc/sys/cdefs.h (__NTHNL): New macro.
5196 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5197 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5198
5199 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5200 defined, for HAVE_TUNABLES.
5201 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5202 * intl/tst-gettext2.c: Provide own definition of N_.
5203 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5204 * math/test-signgam-main.c: No need to define _ISOMAC.
5205 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5206 * stdlib/tst-strtod1i.c: ...this new file.
5207 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5208 Split tests of __strtod_internal to...
5209 * stdlib/tst-strtod5i.c: ...this new file.
5210 * string/test-string.h: Include stdint.h. Duplicate definition of
5211 inhibit_loop_to_libcall here (from libc-symbols.h).
5212 * string/test-strstr.c: Provide dummy definition of
5213 libc_hidden_builtin_def when including strstr.c.
5214 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5215 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5216 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5217 Don't include init-arch.h.
5218 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5219 Don't include init-arch.h.
5220
5221 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5222 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5223 unload, unload2, circleload1, neededtest, neededtest2,
5224 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5225 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5226 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5227 ifunc tests to tests-internal.
5228 Don't add $(modules-names) to test-extras.
5229 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5230 Add tst-deadline to tests-static-internal.
5231 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5232 tests-internal.
5233 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5234 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5235 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5236 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5237 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5238 Link tests-internal with libpthread also.
5239 Don't add $(modules-names) to test-extras.
5240 * nss/Makefile: Move tst-field to tests-internal.
5241 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5242 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5243 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5244 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5245 tests-internal.
5246 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5247 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5248 test-get_hwcap-static to tests-internal.
5249 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5250 tests-internal.
5251 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5252 modules-names-tests.
5253
5254 2017-05-11 Zack Weinberg <zackw@panix.com>
5255
5256 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5257 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5258 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5259 _IO_funlockfile, and _IO_ftrylockfile. Only define
5260 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5261 already defined.
5262 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5263 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5264 appropriately.
5265 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5266 Define _IO_lock_t_defined after defining _IO_lock_t.
5267
5268 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5269
5270 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5271 void* for argument type and use VDSO_SYMBOL macro.
5272 (is_sigtramp_address_rt): Likewise.
5273 (__backtrace): Setup expected frame pointer address for signal
5274 handling.
5275 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5276 void* for argumetn type and use VSDO_SYMBOL macro.
5277 (__backtrace): Setup expected frame pointer address for signal
5278 handling.
5279
5280 * sysdeps/unix/sysv/linux/writev.c: New file.
5281
5282 * sysdeps/unix/sysv/linux/readv.c: New file.
5283
5284 * include/unistd.h (write): Add hidden proto.
5285 * io/Makefile (CFLAGS-write.c): New define.
5286 * nptl/Makefile (CFLAGS-write.c): Likewise.
5287 * sysdeps/unix/sysv/linux/write.c: New file.
5288
5289 [BZ #21428]
5290 * include/unistd.h (read): Add hidden proto.
5291 * io/Makefile (CFLAGS-read.c): New define.
5292 * nptl/Makefile (CFLAGS-read.c): Likewise.
5293 * sysdeps/unix/sysv/linux/read.c: New file.
5294
5295 * io/Makefile (CFLAGS-creat.c): New rule.
5296 (CFLAGS-creat64.c): Likewise.
5297 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5298 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5299 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5300 * sysdeps/unix/sysv/linux/creat.c: New file.
5301 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5302 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5303 auto-generated list.
5304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5305
5306 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5307 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5308 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5309 * sysdeps/unix/sysv/linux/open.c: New file.
5310 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5311 iff __WORDSIZE != 64 and use __NR_openat when available.
5312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5313 from auto-generated list.
5314
5315 * nptl/Makefile (CFLAGS-close.c): New flag.
5316 * sysdeps/unix/sysv/linux/close.c: New file.
5317
5318 2017-05-11 DJ Delorie <dj@redhat.com>
5319
5320 * MAINTAINERS: New. Points to wiki.
5321
5322 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5323
5324 * scripts/gen-tunables.awk: Add attribute_relro to
5325 tunable_list.
5326
5327 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5328
5329 [BZ #21457]
5330 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5331 (R1): Likewise.
5332 (R2): Likewise.
5333 (R3): Likewise.
5334 (R4): Likewise.
5335 (R5): Likewise.
5336 (R6): Likewise.
5337 (R7): Likewise.
5338 (R8): Likewise.
5339 (R9): Likewise.
5340 (R10): Likewise.
5341 (R11): Likewise.
5342 (R12): Likewise.
5343 (R13): Likewise.
5344 (R14): Likewise.
5345 (R15): Likewise.
5346 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5347 (REG_FS): Likewise.
5348 (REG_ES): Likewise.
5349 (REG_DS): Likewise.
5350 (REG_EDI): Likewise.
5351 (REG_ESI): Likewise.
5352 (REG_EBP): Likewise.
5353 (REG_ESP): Likewise.
5354 (REG_EBX): Likewise.
5355 (REG_EDX): Likewise.
5356 (REG_ECX): Likewise.
5357 (REG_EAX): Likewise.
5358 (REG_TRAPNO): Likewise.
5359 (REG_ERR): Likewise.
5360 (REG_EIP): Likewise.
5361 (REG_CS): Likewise.
5362 (REG_EFL): Likewise.
5363 (REG_UESP): Likewise.
5364 (REG_SS): Likewise.
5365 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5366 (R_D1): Likewise.
5367 (R_D2): Likewise.
5368 (R_D3): Likewise.
5369 (R_D4): Likewise.
5370 (R_D5): Likewise.
5371 (R_D6): Likewise.
5372 (R_D7): Likewise.
5373 (R_A0): Likewise.
5374 (R_A1): Likewise.
5375 (R_A2): Likewise.
5376 (R_A3): Likewise.
5377 (R_A4): Likewise.
5378 (R_A5): Likewise.
5379 (R_A6): Likewise.
5380 (R_A7): Likewise.
5381 (R_SP): Likewise.
5382 (R_PC): Likewise.
5383 (R_PS): Likewise.
5384 (fpregset_t): Likewise.
5385 (MCONTEXT_VERSION): Likewise.
5386 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5387 (CTX_AT): Likewise.
5388 (CTX_V0): Likewise.
5389 (CTX_V1): Likewise.
5390 (CTX_A0): Likewise.
5391 (CTX_A1): Likewise.
5392 (CTX_A2): Likewise.
5393 (CTX_A3): Likewise.
5394 (CTX_T0): Likewise.
5395 (CTX_T1): Likewise.
5396 (CTX_T2): Likewise.
5397 (CTX_T3): Likewise.
5398 (CTX_T4): Likewise.
5399 (CTX_T5): Likewise.
5400 (CTX_T6): Likewise.
5401 (CTX_T7): Likewise.
5402 (CTX_S0): Likewise.
5403 (CTX_S1): Likewise.
5404 (CTX_S2): Likewise.
5405 (CTX_S3): Likewise.
5406 (CTX_S4): Likewise.
5407 (CTX_S5): Likewise.
5408 (CTX_S6): Likewise.
5409 (CTX_S7): Likewise.
5410 (CTX_T8): Likewise.
5411 (CTX_T9): Likewise.
5412 (CTX_K0): Likewise.
5413 (CTX_K1): Likewise.
5414 (CTX_GP): Likewise.
5415 (CTX_SP): Likewise.
5416 (CTX_S8): Likewise.
5417 (CTX_RA): Likewise.
5418 (CTX_MDLO): Likewise.
5419 (CTX_MDHI): Likewise.
5420 (CTX_CAUSE): Likewise.
5421 (CTX_EPC): Likewise.
5422 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5423 inclusion of <sys/procfs.h> on [__USE_MISC].
5424 (greg_t): Condition on [__USE_MISC].
5425 (gregset_t): Likewise.
5426 (fpregset_t): Likewise.
5427 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5428 (NGREG): Likewise.
5429 (gregset_t): Likewise.
5430 (REG_R0): Likewise.
5431 (REG_R1): Likewise.
5432 (REG_R2): Likewise.
5433 (REG_R3): Likewise.
5434 (REG_R4): Likewise.
5435 (REG_R5): Likewise.
5436 (REG_R6): Likewise.
5437 (REG_R7): Likewise.
5438 (REG_R8): Likewise.
5439 (REG_R9): Likewise.
5440 (REG_R10): Likewise.
5441 (REG_R11): Likewise.
5442 (REG_R12): Likewise.
5443 (REG_R13): Likewise.
5444 (REG_R14): Likewise.
5445 (REG_R15): Likewise.
5446 (struct _libc_fpstate): Likewise.
5447 (fpregset_t): Likewise.
5448 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5449 (NFPREG): Likewise.
5450 (gregset_t): Likewise.
5451 (fpregset_t): Likewise.
5452 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5453 (R_D1): Likewise.
5454 (R_D2): Likewise.
5455 (R_D3): Likewise.
5456 (R_D4): Likewise.
5457 (R_D5): Likewise.
5458 (R_D6): Likewise.
5459 (R_D7): Likewise.
5460 (R_A0): Likewise.
5461 (R_A1): Likewise.
5462 (R_A2): Likewise.
5463 (R_A3): Likewise.
5464 (R_A4): Likewise.
5465 (R_A5): Likewise.
5466 (R_A6): Likewise.
5467 (R_A7): Likewise.
5468 (R_SP): Likewise.
5469 (R_PC): Likewise.
5470 (R_PS): Likewise.
5471 (fpregset_t): Likewise.
5472 (MCONTEXT_VERSION): Likewise.
5473 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5474 Likewise.
5475 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5476 (REG_R1): Likewise.
5477 (REG_R2): Likewise.
5478 (REG_R3): Likewise.
5479 (REG_R4): Likewise.
5480 (REG_R5): Likewise.
5481 (REG_R6): Likewise.
5482 (REG_R7): Likewise.
5483 (REG_R8): Likewise.
5484 (REG_R9): Likewise.
5485 (REG_R10): Likewise.
5486 (REG_R11): Likewise.
5487 (REG_R12): Likewise.
5488 (REG_R13): Likewise.
5489 (REG_R14): Likewise.
5490 (REG_R15): Likewise.
5491 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5492 of <arch/abi.h> on [__USE_MISC].
5493 (greg_t): Condition on [__USE_MISC].
5494 (NGREG): Likewise.
5495 (gregset_t): Likewise.
5496
5497 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5498
5499 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5500 (__pthread_rwlock_arch_t): Remove __data definition.
5501 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5502 (__pthread_rwlock_arch_t): Likewise.
5503
5504 2017-05-11 Florian Weimer <fweimer@redhat.com>
5505
5506 * resolv/inet_pton.c: Reformat in GNU style. Remove
5507 internal_function on static functions.
5508
5509 2017-05-11 Florian Weimer <fweimer@redhat.com>
5510
5511 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5512 from format_ai_flags.
5513 (format_ai_flags): New function. Incorporate flag formatting code
5514 from format_ai_one.
5515 (format_ai_canonname): New function.
5516 (format_ai_one): Remove flags parameter.
5517 (format_ai_family): Likewise.
5518 (support_format_addrinfo): Call format_ai_flags,
5519 format_ai_canonname.
5520 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5521 check_ai.
5522 (check_ai): Call check_ai_hints.
5523 (do_test): Add AI_CANONNAME tests.
5524
5525 2017-05-11 Florian Weimer <fweimer@redhat.com>
5526
5527 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5528 (gaih_inet): Likewise.
5529
5530 2017-05-10 Andreas Schwab <schwab@suse.de>
5531
5532 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5533 (main): Rename to do_test and make static.
5534
5535 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5536
5537 * string/rawmemchr.c: Include <libc-diag.h>.
5538 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5539 with size (size_t)-1.
5540
5541 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5542
5543 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5544 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5545 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5546
5547 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5548 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5549 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5550 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5551 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5552 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5553 * sysdeps/unix/sysv/linux/kernel-features.h
5554 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5555 socket syscalls.
5556 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5557 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5558 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5559 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5560 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5562 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5563 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5564 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5565 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5566 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5567 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5568 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5569 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5570 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5571
5572 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5573
5574 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5575 thread-shared-types.h.
5576 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5577 specific thread definition.
5578 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5579 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5580 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5581 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5582 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5583 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5584 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5585 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5586 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5587 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5588 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5589 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5590 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5591 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5592 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5593 thread definition between POSIX and C11.
5594 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5595 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5596 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5597 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5598 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5599 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5600 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5601 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5602 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5603 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5604 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5605 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5606 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5607 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5608 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5609 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5610 definitions shared across all architectures.
5611
5612 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5613
5614 * sysdeps/unix/sysv/linux/kernel-features.h
5615 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5616 (__ASSUME_SENDMMSG): Likewise.
5617 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5618 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5619 sendmmsg syscall if that can be assumed to be present, socketcall
5620 otherwise, with no fallback for runtime failure.
5621
5622 * sysdeps/unix/sysv/linux/kernel-features.h
5623 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5624 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5625 (__ASSUME_RECVMMSG): Likewise.
5626 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5627 recvmmsg syscall if it can be assumed to be present, socketcall
5628 otherwise, with no fallback for runtime failure.
5629
5630 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5631 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5632
5633 * bits/libc-header-start.h:
5634 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5635 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5636 * manual/creature.texi: Likewise.
5637
5638 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5639 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5640
5641 * math/Makefile:
5642 (type-float128-suffix): New variable
5643 (type-float128-routines): Likewise
5644 (type-float128-yes): Likewise
5645 (types): Append float128 if supported
5646 (types-basic): New variable to control the use of templates for
5647 float, double, and long double, but not for float128 or newer types.
5648 (type-basic-foreach): Likewise.
5649
5650 * sysdeps/ieee754/float128/Makeconfig: New file.
5651 * sysdeps/ieee754/float128/Versions: New file.
5652
5653 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5654
5655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5656 Remove macro.
5657 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5658 prlimit64 is always available and does not give an ENOSYS error.
5659 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5660 unconditional.
5661 [!__NR_prlimit64]: Remove conditional code.
5662 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5663 prlimit64 is always available and does not give an ENOSYS error.
5664 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5665
5666 2017-05-09 Zack Weinberg <zackw@panix.com>
5667
5668 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5669
5670 2017-05-09 Florian Weimer <fweimer@redhat.com>
5671
5672 [BZ #21474]
5673 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5674 (__res_maybe_init): Likewise.
5675
5676 2017-05-09 Zack Weinberg <zackw@panix.com>
5677
5678 * extra-modules.mk: Delete file.
5679 * cppflags-iterator.mk: Rename to ...
5680 * libof-iterator.mk: ...this. Adjust comments.
5681
5682 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5683 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5684 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5685 Use libof-iterator.mk instead of cppflags-iterator.mk or
5686 extra-modules.mk.
5687
5688 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5689 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5690
5691 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5692
5693 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5694
5695 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5696
5697 * stdio-common/vfprintf.c (EXTSIZ): Define.
5698 (vfprintf): Use EXTSIZ.
5699 (printf_positional): Likewise.
5700
5701 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5702
5703 * sysdeps/unix/sysv/linux/kernel-features.h
5704 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5705 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5706 <kernel-features.h>.
5707 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5708
5709 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5710 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5711
5712 2017-05-08 Florian Weimer <fweimer@redhat.com>
5713
5714 Prevent multiple deletion of temporary files.
5715 * support/temp_file.c (struct temp_name_list): Add owner member.
5716 (add_temp_file): Record owner.
5717 (support_delete_temp_files): Delete file only if owner matches.
5718 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5719 (do_prepare): Use create_temp_file instead of add_temp_file.
5720 Initialize temp_fd1, temp_fd2.
5721 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5722 framework remove the temporary files.
5723 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5724 (do_prepare): Use create_temp_file instead of add_temp_file.
5725 Initialize temp_fd1, temp_fd2, temp_fd3.
5726 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5727 the test framework remove the temporary files.
5728 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5729 deletion.
5730 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5731 temporary directory. It is removed by the test framework.
5732 * dirent/tst-scandir.c (do_test): Likewise.
5733
5734 2017-05-08 Florian Weimer <fweimer@redhat.com>
5735
5736 Delete temporary files in LIFO order.
5737 * support/temp_file.c (struct temp_name_list): Replace q member
5738 with next.
5739 (add_temp_file): Add new file to front of linked list.
5740 (support_delete_temp_files): Use next member.
5741 (support_print_temp_files): Likewise.
5742
5743 2017-05-08 Florian Weimer <fweimer@redhat.com>
5744
5745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5746 sys/ultrasound.h.
5747 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5748
5749 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5750
5751 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5752 Remove.
5753 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5754 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5755 (arch_minimum_kernel): Remove.
5756 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5757 * README: Update statement about Linux kernel requirements.
5758
5759 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5760
5761 * manual/llio.texi: Add preadv and pwritev documentation.
5762
5763 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5764
5765 [BZ #21455]
5766 * bits/stdint-intn.h: New file.
5767 * bits/stdint-uintn.h: Likewise.
5768 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5769 bits/stdint-uintn.h.
5770 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5771 <stdint.h>.
5772 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5773 (__int8_t_defined): Do not define here.
5774 (int8_t): Likewise.
5775 (int16_t): Likewise.
5776 (int32_t): Likewise.
5777 (int64_t): Likewise.
5778 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5779 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5780 <stdint.h>.
5781 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5782 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5783 <bits/stdint-uintn.h>.
5784 (int8_t): Do not define here.
5785 (int16_t): Likewise.
5786 (int32_t): Likewise.
5787 (int64_t): Likewise.
5788 (uint8_t): Likewise.
5789 (uint16_t): Likewise.
5790 (uint32_t): Likewise.
5791 (uint64_t): Likewise.
5792 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5793 variable.
5794 (test-xfail-XPG42/netdb.h/conform): Likewise.
5795 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5796 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5797 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5798 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5799
5800 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5801
5802 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5803 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5804 the above.
5805 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5807
5808 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5809
5810 [BZ #21445]
5811 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5812
5813 [BZ #21457]
5814 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5815 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5816 __glibc_reserved1.
5817 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5818 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5819 (struct _fpxreg): Likewise.
5820 [!__x86_64__] (struct _fpstate): Rename field reserved to
5821 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5822 [__x86_64__] (struct _fpstate): Rename field padding to
5823 __glibc_reserved1.
5824 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5825 Rename field reserved2 to __glibc_reserved2.
5826 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5827 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5828 __glibc_reserved1.
5829 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5830 __glibc_reserved1.
5831
5832 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5833
5834 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5835 variable name.
5836
5837 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 [BZ #21391]
5840 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5841 Only call init_cpu_features.
5842 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5843 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5844 * sysdeps/i386/dl-procinfo.h: Removed.
5845 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5846 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5847 <sysdeps/x86/dl-procinfo.h>.
5848 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5849 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5850 Include <sysdeps/x86/dl-procinfo.h> instead of
5851 <sysdeps/generic/dl-procinfo.h>.
5852 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5853 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5854 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5855 (bit_cpu_MOVBE): Likewise.
5856 (bit_cpu_BMI1): Likewise.
5857 (bit_cpu_BMI2): Likewise.
5858 (index_cpu_BMI1): Likewise.
5859 (index_cpu_BMI2): Likewise.
5860 (index_cpu_LZCNT): Likewise.
5861 (index_cpu_MOVBE): Likewise.
5862 (index_cpu_POPCNT): Likewise.
5863 (reg_BMI1): Likewise.
5864 (reg_BMI2): Likewise.
5865 (reg_LZCNT): Likewise.
5866 (reg_MOVBE): Likewise.
5867 (reg_POPCNT): Likewise.
5868 * sysdeps/x86/dl-hwcap.h: New file.
5869 * sysdeps/x86/dl-procinfo.h: Likewise.
5870 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5871 (_dl_x86_platforms): Likewise.
5872
5873 2017-05-03 DJ Delorie <dj@redhat.com>
5874
5875 [BZ #21411]
5876 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5877
5878 2017-05-03 Phil Blundell <pb@pbcl.net>
5879
5880 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5881 comments.
5882
5883 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5884
5885 [BZ #20116]
5886 * nptl/pthread_create.c: Expand comments to describe
5887 semaphore-like and mutex-like uses of PD->lock.
5888
5889 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5890
5891 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5892 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5893 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5894 auto-generation list.
5895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5896 epoll_wait.
5897 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5898 Remove epoll_wait.
5899
5900 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5901 osf_select.
5902 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5903 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5904 osf_select from auto-generation list.
5905 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5906 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5907 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5908 * sysdeps/unix/sysv/linux/select.c: New file.
5909
5910 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5911 * sysdeps/unix/sysv/linux/poll.c: New file.
5912 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5913 auto-generation list.
5914
5915 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5916
5917 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5918 New macro.
5919
5920 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5921
5922 [BZ #21179]
5923 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5924 R_SPARC_REGISTER relocations.
5925
5926 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5927
5928 * include/unistd.h (__pread): Add libc_hidden_proto.
5929 (__pread64): Likewise.
5930 (__pwrite): Likewise.
5931 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5932 (__pread64): Remove.
5933 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5934 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5935 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5936
5937 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5938
5939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5940
5941 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5942
5943 * nptl/tst-cancel4-common.c: Use libsupport.
5944 * nptl/tst-cancel4-common.h: Likewise.
5945 * nptl/tst-cancel4.c (tf_read): Likewise.
5946 (tf_readv): Likewise.
5947 (tf_write): Likewise.
5948 (tf_writev): Likewise.
5949 (tf_sleep): Likewise.
5950 (tf_usleep): Likewise.
5951 (tf_nanosleep): Likewise.
5952 (tf_select): Likewise.
5953 (tf_pselect): Likewise.
5954 (tf_poll): Likewise.
5955 (tf_ppoll): Likewise.
5956 (tf_wait): Likewise.
5957 (tf_waitpid): Likewise.
5958 (tf_waitid): Likewise.
5959 (tf_sigpause): Likewise.
5960 (tf_sigsuspend): Likewise.
5961 (tf_sigwait): Likewise.
5962 (tf_sigwaitinfo): Likewise.
5963 (tf_sigtimedwait): Likewise.
5964 (tf_pause): Likewise.
5965 (tf_accept): Likewise.
5966 (tf_send): Likewise.
5967 (tf_recv): Likewise.
5968 (tf_recvfrom): Likewise.
5969 (tf_recvmsg): Likewise.
5970 (tf_open): Likewise.
5971 (tf_close): Likewise.
5972 (tf_pread): Likewise.
5973 (tf_pwrite): Likewise.
5974 (tf_preadv): Likewise.
5975 (tf_pwritev): Likewise.
5976 (tf_fsync): Likewise.
5977 (tf_fdatasync): Likewise.
5978 (tf_msync): Likewise.
5979 (tf_sendto): Likewise.
5980 (tf_sendmsg): Likewise.
5981 (tf_creat): Likewise.
5982 (tf_connect): Likewise.
5983 (tf_tcdrain): Likewise.
5984 (tf_msgrcv): Likewise.
5985 (tf_msgsnd): Likewise.
5986 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5987 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5988
5989 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5990 expected arguments.
5991 (do_test): Adapt to use libsupport.
5992
5993 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5994
5995 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5996
5997 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5998 (PF_MAX): Set to 44.
5999 (AF_SMC): New macro.
6000
6001 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6002 kernel version to 4.11.
6003
6004 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6005
6006 [BZ #21280]
6007 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6008 signal of subnormals and adjust the exponent of power of 2 down
6009 when low part has opposite sign.
6010
6011 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6012
6013 * sysdeps/powerpc/powerpc64le/Implies: New file.
6014 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6015 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6016 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6017 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6018 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6019 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6020 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6021 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6022 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6023 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6024 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6025 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6026 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6027 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6028 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6029 * sysdeps/powerpc/preconfigure: New file.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6032
6033 2017-04-28 Joseph Myers <joseph@codesourcery.com>
6034
6035 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6036 inclusion.
6037 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6038 Remove.
6039
6040 2017-04-27 Joseph Myers <joseph@codesourcery.com>
6041
6042 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6043 (XPG3): Rename standard to XPG4.
6044 * conform/Makefile: Likewise.
6045 * conform/list-header-symbols.pl: Likewise.
6046 * conform/data/aio.h-data: Likewise.
6047 * conform/data/arpa/inet.h-data: Likewise.
6048 * conform/data/complex.h-data: Likewise.
6049 * conform/data/ctype.h-data: Likewise.
6050 * conform/data/dlfcn.h-data: Likewise.
6051 * conform/data/fcntl.h-data: Likewise.
6052 * conform/data/fenv.h-data: Likewise.
6053 * conform/data/float.h-data: Likewise.
6054 * conform/data/fmtmsg.h-data: Likewise.
6055 * conform/data/ftw.h-data: Likewise.
6056 * conform/data/grp.h-data: Likewise.
6057 * conform/data/inttypes.h-data: Likewise.
6058 * conform/data/iso646.h-data: Likewise.
6059 * conform/data/langinfo.h-data: Likewise.
6060 * conform/data/libgen.h-data: Likewise.
6061 * conform/data/limits.h-data: Likewise.
6062 * conform/data/locale.h-data: Likewise.
6063 * conform/data/math.h-data: Likewise.
6064 * conform/data/mqueue.h-data: Likewise.
6065 * conform/data/ndbm.h-data: Likewise.
6066 * conform/data/net/if.h-data: Likewise.
6067 * conform/data/netdb.h-data: Likewise.
6068 * conform/data/netinet/in.h-data: Likewise.
6069 * conform/data/poll.h-data: Likewise.
6070 * conform/data/pthread.h-data: Likewise.
6071 * conform/data/pwd.h-data: Likewise.
6072 * conform/data/sched.h-data: Likewise.
6073 * conform/data/search.h-data: Likewise.
6074 * conform/data/semaphore.h-data: Likewise.
6075 * conform/data/signal.h-data: Likewise.
6076 * conform/data/spawn.h-data: Likewise.
6077 * conform/data/stdbool.h-data: Likewise.
6078 * conform/data/stdint.h-data: Likewise.
6079 * conform/data/stdio.h-data: Likewise.
6080 * conform/data/stdlib.h-data: Likewise.
6081 * conform/data/string.h-data: Likewise.
6082 * conform/data/strings.h-data: Likewise.
6083 * conform/data/stropts.h-data: Likewise.
6084 * conform/data/sys/mman.h-data: Likewise.
6085 * conform/data/sys/resource.h-data: Likewise.
6086 * conform/data/sys/select.h-data: Likewise.
6087 * conform/data/sys/socket.h-data: Likewise.
6088 * conform/data/sys/stat.h-data: Likewise.
6089 * conform/data/sys/statvfs.h-data: Likewise.
6090 * conform/data/sys/time.h-data: Likewise.
6091 * conform/data/sys/timeb.h-data: Likewise.
6092 * conform/data/sys/types.h-data: Likewise.
6093 * conform/data/sys/uio.h-data: Likewise.
6094 * conform/data/sys/un.h-data: Likewise.
6095 * conform/data/sys/wait.h-data: Likewise.
6096 * conform/data/syslog.h-data: Likewise.
6097 * conform/data/termios.h-data: Likewise.
6098 * conform/data/tgmath.h-data: Likewise.
6099 * conform/data/time.h-data: Likewise.
6100 * conform/data/ucontext.h-data: Likewise.
6101 * conform/data/unistd.h-data: Likewise.
6102 * conform/data/utmpx.h-data: Likewise.
6103 * conform/data/varargs.h-data: Likewise.
6104 * conform/data/wchar.h-data: Likewise.
6105 * conform/data/wctype.h-data: Likewise.
6106
6107 2017-04-26 Joseph Myers <joseph@codesourcery.com>
6108
6109 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6110 version to 7 branch.
6111
6112 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
6113
6114 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6115 earlyclobber to output operand of sqrt insn.
6116 (__ieee754_sqrtf): Ditto.
6117
6118 2017-04-25 Joseph Myers <joseph@codesourcery.com>
6119
6120 [BZ #21426]
6121 * misc/bits/types/struct_iovec.h: New file.
6122 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6123 * include/bits/types/struct_iovec.h: New file.
6124 * bits/uio.h (struct iovec): Replace by inclusion of
6125 <bits/types/struct_iovec.h>.
6126 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6127 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6128 of <sys/uio.h>.
6129 * nptl/tst-cancel4.c: Include <sys/uio.h>
6130 * posix/test-errno.c: Likewise.
6131 * support/resolv_test.c: Likewise.
6132 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6133 Remove.
6134 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6135 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6136 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6137
6138 * conform/data/sys/socket.h-data (*_t): Allow.
6139
6140 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6141
6142 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6143 assignment.
6144
6145 2017-04-24 Daurnimator <quae@daurnimator.com>
6146 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6147
6148 [BZ #21340]
6149 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6150 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6151 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6152 valid flags.
6153 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6154 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6155 POSIX_SPAWN_SETSID.
6156 * sysdeps/posix/spawni.c (__spawni): Likewise.
6157 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6158 * NEWS: Add note about POSIX_SPAWN_SETSID support.
6159
6160 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6161
6162 * sysdeps/generic/math_private.h: Move the declaration of many
6163 functions to sysdeps/generic/math_private_calls.h.
6164 * sysdeps/generic/math_private_calls.h: New file with the
6165 declarations of the functions removed from math_private.h
6166 macroized by floating-point type.
6167
6168 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6169
6170 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6171 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6172 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6173 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6174 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6175 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6176
6177 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6178
6179 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6180 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6181 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6182 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6183 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6184 New Define.
6185
6186 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6187
6188 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6189 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6190 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6191 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6192 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6193 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6194
6195 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6196
6197 * sysdeps/s390/multiarch/ifunc-resolve.h
6198 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6199 * sysdeps/s390/multiarch/8bit-generic.c
6200 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6201 define ifunc resolvers.
6202
6203 2017-04-21 Florian Weimer <fweimer@redhat.com>
6204
6205 [BZ #20424]
6206 * manual/memory.texi (Replacing malloc): New section.
6207 (Allocating Storage For Program Data): Reference it.
6208 (The GNU Allocator): Likewise.
6209
6210 2017-04-20 Joseph Myers <joseph@codesourcery.com>
6211
6212 * stdlib/Versions (__strtod_internal): List explicitly, not as
6213 wildcard.
6214 (__strtof_internal): Likewise.
6215 (__strtold_internal): Likewise.
6216 (__strtol_internal): Likewise.
6217 (__strtoll_internal): Likewise.
6218 (__strtoul_internal): Likewise.
6219 (__strtoull_internal): Likewise.
6220 (__strtoq_internal): Likewise.
6221 (__strtouq_internal): Likewise.
6222 * wcsmbs/Versions (__wcstod_internal): Likewise.
6223 (__wcstof_internal): Likewise.
6224 (__wcstold_internal): Likewise.
6225 (__wcstol_internal): Likewise.
6226 (__wcstoll_internal): Likewise.
6227 (__wcstoul_internal): Likewise.
6228 (__wcstoull_internal): Likewise.
6229
6230 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6231
6232 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6233 struct timespec definition.
6234
6235 2017-04-19 Florian Weimer <fweimer@redhat.com>
6236
6237 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6238
6239 2017-04-19 Florian Weimer <fweimer@redhat.com>
6240
6241 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6242 * inet/rexec.c (rexec_af): Likewise.
6243
6244 2017-04-19 Zack Weinberg <zackw@panix.com>
6245
6246 * posix/tst-mmap-offset.c: Include stdint.h.
6247 * resolv/tst-ns_name_compress.c: Include string.h.
6248 * resolv/tst-resolv-edns.c: Include resolv.h.
6249
6250 2017-04-19 Florian Weimer <fweimer@redhat.com>
6251
6252 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6253 with __glibc_likely.
6254 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6255 Replace __builtin_expect with __glibc_unlikely.
6256 * resolv/res_init.c (__res_vinit): Likewise.
6257 * resolv/res_query.c (__libc_res_nquery): Likewise.
6258 * resolv/res_send.c (__libc_res_nsend): Likewise.
6259
6260 2017-04-19 Florian Weimer <fweimer@redhat.com>
6261
6262 [BZ #15722]
6263 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6264 with SOCK_CLOEXEC.
6265 * resolv/res_send.c (send_vc, reopen): Likewise.
6266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6267 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6268 Likewise.
6269 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6270 * inet/rexec.c (rexec_af): Add comment.
6271 * inet/rcmd.c (rresvport_af): Likewise.
6272
6273 2017-04-19 Florian Weimer <fweimer@redhat.com>
6274
6275 * nscd/connections.c (have_accept4): Removed definition.
6276 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6277 accept4 works.
6278 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6279 ia64 because that was the first version with accept4 support.
6280 * support/Makefile (libsupport-routines): Add xaccept4.
6281 * support/xsocket.h (xaccept4): Declare.
6282 * support/xaccept4.c: New file.
6283 * socket/tst-accept4.c: New file.
6284 * socket/Makefile (tests): Add tst-accept4.
6285 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6286 definition.
6287 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6288 comment.
6289 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6290 implementation is available.
6291 (accept4): Use the system call if available, otherwise use the
6292 socket call.
6293 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6294 Set to 3.2.18.
6295 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6296 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6297 accept4 is unconditionally available in later 3.2 stable kernels.
6298 (__ASSUME_ACCEPT4_SYSCALL): Define.
6299 * sysdeps/unix/sysv/linux/kernel-features.h
6300 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6301 definitions.
6302 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6303 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6304
6305 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6306
6307 * conform/Makefile (tests-special): Do not make addition of
6308 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6309 (generated): Do not make addition of $(conformtest-header-base)
6310 conditional on [$(cross-compiling) = no].
6311
6312 [BZ #21267]
6313 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6314 if defined by <asm/socket.h> and not previously defined.
6315 (IOCSIZE_SHIFT): Likewise.
6316 (IOC_IN): Likewise.
6317 (IOC_INOUT): Likewise.
6318 (IOC_OUT): Likewise.
6319
6320 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6321
6322 [BZ #21396]
6323 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6324 Prefer_No_AVX512 if AVX512ER isn't available.
6325 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6326 (index_arch_Prefer_No_AVX512): Likewise.
6327 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6328 AVX512 version if Prefer_No_AVX512 is set.
6329 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6330 Likewise.
6331 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6332 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6333 Likewise.
6334 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6335 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6336 Likewise.
6337 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6338 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6339 Likewise.
6340
6341 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6342
6343 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6344 Prefer_No_VZEROUPPER if AVX512ER is available.
6345 * sysdeps/x86/cpu-features.h
6346 (bit_cpu_AVX512PF): New.
6347 (bit_cpu_AVX512ER): Likewise.
6348 (bit_cpu_AVX512CD): Likewise.
6349 (bit_cpu_AVX512BW): Likewise.
6350 (bit_cpu_AVX512VL): Likewise.
6351 (index_cpu_AVX512PF): Likewise.
6352 (index_cpu_AVX512ER): Likewise.
6353 (index_cpu_AVX512CD): Likewise.
6354 (index_cpu_AVX512BW): Likewise.
6355 (index_cpu_AVX512VL): Likewise.
6356 (reg_AVX512PF): Likewise.
6357 (reg_AVX512ER): Likewise.
6358 (reg_AVX512CD): Likewise.
6359 (reg_AVX512BW): Likewise.
6360 (reg_AVX512VL): Likewise.
6361
6362 2017-04-18 Florian Weimer <fweimer@redhat.com>
6363
6364 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6365 O_CLOEXEC is defined.
6366 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6367 * io/Makefile (aux): Remove.
6368 * io/have_o_cloexec.c: Remove file.
6369 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6370 defined and works.
6371 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6372 defined.
6373 * login/utmp_file.c (O_flags): Remove definition.
6374 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6375 O_CLOEXEC works.
6376 (pututline_file): Likewise.
6377 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6378 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6379 definition.
6380 (internal_setgrent): Assume that O_CLOEXEC works.
6381 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6382 Remove definition.
6383 (internal_setgrent): Assume that O_CLOEXEC works.
6384 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6385 definition.
6386 (internal_setpwent): Assume that O_CLOEXEC works.
6387 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6388 definition.
6389 (internal_setspent): Assume that O_CLOEXEC works.
6390 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6391 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6392 O_CLOEXEC is defined and works.
6393 * nss/Makefile (libnss_files-routines): Remove
6394 files-have_o_cloexec.
6395 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6396 defined.
6397 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6398 O_CLOEXEC is defined and works.
6399 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6400 * nss/nss_files/files-have_o_cloexec.c: Remove.
6401 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6402 defined.
6403 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6404 and works.
6405 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6406 definition.
6407 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6408 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6409 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6410 (__opendirat, __opendir): Adjust opendir_oflags call.
6411 (check_have_o_cloexec): Remove.
6412 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6413 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6414 defined.
6415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6416 Remove definition.
6417
6418 2017-04-18 Florian Weimer <fweimer@redhat.com>
6419
6420 * include/unistd.h (__have_dup3): Remove declaration.
6421 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6422 dup3 is available.
6423 * libio/freopen64.c (freopen64): Likewise.
6424 * socket/Makefile (aux): Remove have_sock_cloexec.
6425 * socket/have_sock_cloexec.c: Remove file.
6426 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6427 definition.
6428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6429 Likewise.
6430 * sysdeps/nacl/kernel-features.h: Update comment.
6431
6432 2017-04-18 Florian Weimer <fweimer@redhat.com>
6433
6434 * include/unistd.h (__have_pipe2): Remove declaration.
6435 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6436 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6437 available.
6438 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6440 Remove definition.
6441
6442 2017-04-18 Florian Weimer <fweimer@redhat.com>
6443
6444 * malloc/malloc.c (cfree): Turn into compat symbol.
6445 (__cfree): Remove alias.
6446 * stdlib/stdlib.h (cfree): Remove declaration.
6447 * malloc/malloc.h (cfree): Likewise.
6448 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6449 * malloc/Versions (GLIBC_2.26): Add.
6450
6451 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6452
6453 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6454 (sysdep_routines): Add strrchr-power8.
6455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6456 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6457 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6458 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6459 (strrchr): Add __strrchr_power8 to ifunc list.
6460 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6461
6462 2017-04-17 Rabin Vincent <rabinv@axis.com>
6463
6464 [BZ #21357]
6465 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6466 Call free() outside of mutex.
6467
6468 2017-04-13 Florian Weimer <fweimer@redhat.com>
6469
6470 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6471 is defined.
6472 * elf/rtld.c (process_envvars): Likewise.
6473 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6474 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6475 O_NOFOLLOW directly.
6476 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6477
6478 2017-04-13 Florian Weimer <fweimer@redhat.com>
6479
6480 [BZ #21369]
6481 Remove EDNS fallback.
6482 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6483 handling.
6484 * resolv/res_send.c (send_dg): Likewise.
6485 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6486 "tcp." prefixes.
6487 (do_test): Send a "formerr."-prefixed query in an attempt to
6488 trigger EDNS fallback.
6489
6490 2017-04-13 Florian Weimer <fweimer@redhat.com>
6491
6492 [BZ #21361]
6493 Limit EDNS buffer size to 1200 bytes.
6494 * include/resolv.h (__res_nopt): Remove declaration.
6495 * resolv/Makefile (tests): tst-resolv-edns.
6496 (tst-resolv-edns): Link with -lresolv, -lpthread.
6497 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6498 interval [512, 1200].
6499 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6500 we can resize the buffer.
6501 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6502 (__res_nopt): Declare.
6503 * resolv/tst-resolv-edns.c: New file.
6504 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6505 (struct resolv_response_context): Add edns member.
6506 * resolv/resolv_test.c (struct query_info): Add edns member.
6507 (parse_query): Extract EDNS information from the query.
6508 (server_thread_udp_process_one): Propagate EDNS data.
6509 (server_thread_tcp_client): Likewise.
6510
6511 2017-04-13 Florian Weimer <fweimer@redhat.com>
6512
6513 [BZ #21359]
6514 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6515 byte in the destination buffer. Avoid out-of-bounds pointer
6516 arithmetic.
6517 * resolv/Makefile (tests): Add tst-ns_name_compress.
6518 (tst-ns_name_compress): Link with -lresolv.
6519 * resolv/tst-ns_name_compress.c: New file.
6520 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6521 (response): Recognize LONG_NAME.
6522 (do_test): Add LONG_NAME tests.
6523 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6524 for ns_name_unpack. Add tests for ns_name_pton and
6525 ns_name_compress.
6526
6527 2017-04-13 Florian Weimer <fweimer@redhat.com>
6528
6529 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6530 (res_nisourserver): Remove definition.
6531 (p_section, res_npquery, res_nisourserver): Remove declaration.
6532 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6533 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6534 ... here.
6535 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6536 <resolv.h>.
6537 * resolv/res_query.c: Likewise.
6538 * resolv/res_debug.c (p_section): Define as static.
6539
6540 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6541
6542 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6543 strncat-power8.
6544 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6545 __strncat_power8 to ifunc list.
6546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6547 (strncat): Add __strncat_power8 to list of strncat functions.
6548 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6549
6550 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6551
6552 [BZ #21270]
6553 * posix/tst-mmap-offset.c (do_prepare): New function.
6554 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6555 (do_test_bz21270): New function.
6556 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6557 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6558 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6559 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6560 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6561 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6562 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6563 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6564 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6565 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6566 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6568 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6569 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6570 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6571 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6572 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6573 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6574 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6575 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6576 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6577 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6578 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6579 from auto-generation list.
6580 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6582 * sysdeps/unix/sysv/linux/mmap.c: New file.
6583 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6584 offsets and support for mmap2 syscall.
6585
6586 * posix/globtest.sh: Add cleanup routine on trap 0.
6587
6588 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6589
6590 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6591 implementation-specific function name and remove unneeded
6592 macros definition.
6593 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6594 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6595 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6596 name if not defined and pass as parameter to macros accordingly.
6597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6598 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6599
6600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6601 implementation-specific function name and remove unneeded
6602 macros definition.
6603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6604 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6605 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6606 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6607 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6608 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6609 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6610 name if not defined and pass as parameter to macros accordingly.
6611 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6612 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6613 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6614 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6615 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6616 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6617
6618 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6619 implementation-specific function name and remove unneeded macros
6620 definition.
6621 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6622 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6623 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6624 function name if not defined and pass as parameter to macros
6625 accordingly.
6626 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6627 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6628
6629 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6630 implementation-specific function name and remove unneeded macros
6631 definition.
6632 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6633 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6634 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6635 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6636 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6637 not defined and pass as parameter to macros accordingly.
6638 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6639 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6640 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6641 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6642
6643 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6644 strcasestr implementation name and remove unneeded macros definition.
6645 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6646 strstr implementation name and remove unneeded macros definition.
6647 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6648 name if not defined and pass as parameter to macros accordingly.
6649 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6650
6651 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6652 implementation-specific function name and remove unneeded macros
6653 definition.
6654 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6655 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6656 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6657 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6658 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6659 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6660 function name if not defined and pass as parameter to macros
6661 accordingly.
6662 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6663 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6664 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6665 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6666
6667 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6668 the strlen implementation name and remove unneeded macros definition.
6669 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6670 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6671 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6672 the strnlen implementation name and remove unneeded macros definition.
6673 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6674 name if not defined and pass as parameter to macros accordingly.
6675 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6676 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6677 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6678
6679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6680 the implementation-specific function name and remove unneeded
6681 macros definition.
6682 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6683 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6684 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6692 name if not defined and pass as parameter to macros accordingly.
6693 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6694 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6695 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6696 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6697 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6698 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6699 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6700 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6701
6702 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6703 implementation-specific function name and remove unneeded macros
6704 definition.
6705 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6707 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6708 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6709 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6710 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6711 function name if not defined.
6712 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6713 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6714
6715 2017-04-11 Paul Clarke <pc@us.ibm.com>
6716
6717 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6718 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6719 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6720 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6721
6722 2017-04-11 Florian Weimer <fweimer@redhat.com>
6723 Zack Weinberg <zackw@panix.com>
6724
6725 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6726 readdir64 as thread-safe. Update warning about readdir_r.
6727
6728 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6729
6730 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6731 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6732 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6733 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6734 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6735 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6736 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6737
6738 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6739
6740 * sysdeps/i386/dl-procinfo.c: Include
6741 <sysdeps/x86/dl-procinfo.c>.
6742 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6743 * sysdeps/x86/dl-procinfo.c: New file.
6744
6745 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6746
6747 * sysdeps/generic/math_private.h: Remove declarations of
6748 many functions that are already declared in math.h.
6749 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6750 declaration for __frexpl.
6751 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6752 the declarations for __scalbnl and fabsl.
6753
6754 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6755
6756 [BZ #20831]
6757 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6758 of __mprotect to change protection on the excess portion
6759 to disallow all access.
6760
6761 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6764 HAS_CPU_FEATURE to check for SSE.
6765 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6766 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6767 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6768 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6769 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6770 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6771 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6772 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6774 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6775 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6776 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6777 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6778 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6779 (index_cpu_SSE): Likewise.
6780 (reg_SSE): Likewise.
6781
6782 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6783
6784 * posix/getopt1.c: Include <config.h>, not "config.h".
6785
6786 2017-04-07 Zack Weinberg <zackw@panix.com>
6787
6788 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6789 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6790 Mention in top-of-file boilerplate that these files are shared
6791 with gnulib.
6792 * posix/getopt.h, posix/bits/getopt_posix.h:
6793 Mention in top-of-file boilerplate that these files are NOT shared
6794 with gnulib, unlike the rest of the getopt implementation.
6795
6796 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6797 New files, intended to be shared with gnulib.
6798 * posix/bits/getopt_posix.h:
6799 New file, not intended to be shared with gnulib.
6800 * posix/getopt.h: Now just includes features.h,
6801 bits/getopt_core.h, and bits/getopt_ext.h. Will
6802 no longer be shared with gnulib.
6803 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6804 * include/bits/getopt_posix.h: New wrappers.
6805 * posix/Makefile: Install new headers.
6806 * posix/unistd.h, libio/stdio.h:
6807 Include bits/getopt_posix.h instead of getopt.h.
6808
6809 * include/libc-symbols.h: For gnulib compatibility, define
6810 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6811 _GL_ATTRIBUTE_CONST.
6812 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6813 parameters with _GL_UNUSED.
6814
6815 * posix/getopt.c: When used standalone, define __libc_use_alloca
6816 as always false and alloca to abort if called.
6817 (process_long_option): Rewrite handling of ambiguous long options
6818 to use a single boolean vector, not a linked list; use
6819 __libc_use_alloca to decide whether to allocate this using alloca.
6820 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6821
6822 * posix/getopt.c (process_long_option): New function split out
6823 from _getopt_internal_r.
6824 (_getopt_internal_r): Replace both copies of the long-option
6825 processing code with calls to process_long_option.
6826 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6827 (do_test): Differentiate argv[0] in the two subtests.
6828
6829 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6830 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6831 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6832
6833 * posix/getopt.h: Add backup definition of __nonnull for
6834 consistency with gnulib. Define __getopt_argv_const to const
6835 if not already defined.
6836 (getopt): Update doc comment from gnulib. Prototype
6837 unconditionally. Add __nonnull annotation.
6838 (__posix_getopt): Add __nonnull annotation.
6839 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6840 prototypes for consistency with gnulib. Add __nonnull
6841 annotations.
6842 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6843 (getopt_internal): Change 'argv' argument to type 'char **'.
6844 Remove now-unnecessary casts.
6845 (getopt, __posix_getopt): Eliminate repetition with a macro.
6846 Cast 'argv' to 'char **' when calling _getopt_internal.
6847 * posix/getopt1.c (getopt_long, getopt_long_only):
6848 Use __getopt_argv_const for consistency with gnulib.
6849 Cast 'argv' to 'char **' when calling _getopt_internal.
6850 (_getopt_long_r, _getopt_long_only_r):
6851 Change 'argv' argument to type 'char **'.
6852 (main): Constify 'long_options'.
6853 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6854 (_getopt_long_r, _getopt_long_only_r):
6855 Change 'argv' argument to type 'char **'.
6856
6857 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6858 (locked_vfxprintf): New helper function. Handle arbitrary
6859 multibyte strings, not just ASCII.
6860 * include/stdio.h: Declare __fxprintf_nocancel.
6861 * posix/getopt.c: When _LIBC is defined, define fprintf to
6862 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6863 to _IO_funlockfile. When neither _LIBC nor
6864 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6865 funlockfile as no-ops.
6866 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6867 the standalone error-printing code can now be used for libc as
6868 well. Add an flockfile/funlockfile pair around one case where
6869 the error message is printed in several chunks. Don't use fputc.
6870 * posix/tst-getopt-cancel.c: New test.
6871 * posix/Makefile: Run it.
6872
6873 * posix/getopt.c (_getopt_internal_r): Don't increment
6874 d->optind a second time when reporting ambiguous -W options.
6875
6876 * posix/getopt_int.h: Include getopt.h.
6877 Use impl-namespace names for all arguments to _getopt_internal and
6878 _getopt_internal_r.
6879 Declare __ordering enum outside the struct.
6880 Harmonize comments with gnulib.
6881 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6882 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6883 #ifdef TEST block and make unconditional. Do not define NULL.
6884 * posix/getopt.c: Partial merge from gnulib, covering the
6885 initial includes and global declarations, commentary, and
6886 a couple of semantically-neutral code changes.
6887
6888 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6889 Use '...' instead of `...' for quotation marks inside
6890 comments and strings.
6891
6892 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6893 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6894 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6895 * posix/getopt_int.h: Likewise.
6896 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6897 __libc_argc and __libc_argv externs, which were only used by
6898 #ifdef USE_NONOPTION_FLAGS blocks.
6899 * posix/getopt_init.c: Remove file.
6900 * posix/Makefile (routines): Remove getopt_init.
6901 * include/getopt.h: Don't declare __getopt_initialize_environment.
6902 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6903 a comment.
6904
6905 2017-04-07 Florian Weimer <fweimer@redhat.com>
6906
6907 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6908
6909 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6910
6911 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6912 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6913 to __wrap_.udiv.
6914 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6915 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6916
6917 * sysdeps/i386/symbol-hacks.h: New file.
6918 * sysdeps/m68k/symbol-hacks.h: New file.
6919 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6920 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6921 * sysdeps/unix/sysv/linux/i386/Makefile
6922 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6923 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6924 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6925 * sysdeps/unix/sysv/linux/m68k/Makefile
6926 [$(subdir) = csu] (sysdep_routines): Likewise.
6927 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6928 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6930 [$(subdir) = csu] (sysdep_routines): Likewise.
6931 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6932 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6934 [$(subdir) = csu] (sysdep_routines): Likewise.
6935 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6936 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6937 * sysdeps/wordsize-32/Makefile: Remove file.
6938 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6939 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6940
6941 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6942
6943 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6944 (TEST_FUNCTION_ARGV): New.
6945
6946 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6947
6948 * elf/next.c: Import support/test-driver.c instead of
6949 test-skeleton.c and delete TEST_FUNCTION macro definition.
6950 * elf/nodelete.c: Likewise.
6951 * elf/order2.c: Likewise.
6952 * elf/tst-_dl_addr_inside_object.c: Likewise.
6953 * elf/tst-addr1.c: Likewise.
6954 * elf/tst-align.c: Likewise.
6955 * elf/tst-align2.c: Likewise.
6956 * elf/tst-audit11.c: Likewise.
6957 * elf/tst-audit12.c: Likewise.
6958 * elf/tst-audit2.c: Likewise.
6959 * elf/tst-audit9.c: Likewise.
6960 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6961 * elf/tst-deep1.c: Likewise.
6962 * elf/tst-dl-iter-static.c: Likewise.
6963 * elf/tst-dlmodcount.c: Likewise.
6964 * elf/tst-dlmopen1.c: Likewise.
6965 * elf/tst-dlmopen2.c: Likewise.
6966 * elf/tst-dlmopen3.c: Likewise.
6967 * elf/tst-dlopen-aout.c: Likewise.
6968 * elf/tst-dlopenrpath.c: Likewise.
6969 * elf/tst-dlsym-error.c: Likewise.
6970 * elf/tst-execstack-needed.c: Likewise.
6971 * elf/tst-execstack-prog.c: Likewise.
6972 * elf/tst-execstack.c: Likewise.
6973 * elf/tst-global1.c: Likewise.
6974 * elf/tst-gnu2-tls1.c: Likewise.
6975 * elf/tst-latepthread.c: Likewise.
6976 * elf/tst-leaks1.c: Likewise.
6977 * elf/tst-linkall-static.c: Likewise.
6978 (do_test): New function.
6979 * elf/tst-nodelete-opened.c: Likewise.
6980 * elf/tst-nodelete.cc: Likewise.
6981 * elf/tst-nodelete2.c: Likewise.
6982 * elf/tst-noload.c: Likewise.
6983 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6984 * elf/tst-order-main.c: Likewise.
6985 * elf/tst-pathopt.c: Likewise.
6986 * elf/tst-pie2.c: Likewise.
6987 * elf/tst-piemod1.c: Likewise.
6988 * elf/tst-prelink.c: Likewise.
6989 * elf/tst-protected1a.c: Likewise.
6990 * elf/tst-protected1b.c: Likewise.
6991 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6992 and define _GNU_SOURCE macro.
6993 (cmdline_process_function): New function.
6994 * elf/tst-relsort1.c: Likewise.
6995 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6996 and define _GNU_SOURCE macro.
6997 (cmdline_process_function): New function.
6998 * elf/tst-thrlock.c: Likewise.
6999 * elf/tst-tls-dlinfo.c: Likewise.
7000 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7001 * elf/tst-tls1.c: Likewise.
7002 * elf/tst-tls10.c: Likewise.
7003 * elf/tst-tls11.c: Likewise.
7004 * elf/tst-tls12.c: Likewise.
7005 * elf/tst-tls13.c: Likewise.
7006 * elf/tst-tls14.c: Likewise.
7007 * elf/tst-tls15.c: Likewise.
7008 * elf/tst-tls16.c: Likewise.
7009 * elf/tst-tls17.c: Likewise.
7010 * elf/tst-tls18.c: Likewise.
7011 * elf/tst-tls19.c: Likewise.
7012 * elf/tst-tls2.c: Likewise.
7013 * elf/tst-tls3.c: Likewise.
7014 * elf/tst-tls4.c: Likewise.
7015 * elf/tst-tls5.c: Likewise.
7016 * elf/tst-tls6.c: Likewise.
7017 * elf/tst-tls7.c: Likewise.
7018 * elf/tst-tls8.c: Likewise.
7019 * elf/tst-tls9.c: Likewise.
7020 * elf/tst-tlsalign-extern.c: Likewise.
7021 * elf/tst-tlsalign.c: Likewise.
7022 * elf/tst-unique1.c: Likewise.
7023 * elf/tst-unique2.c: Likewise.
7024 * elf/vismain.c: Likewise.
7025
7026 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7027
7028 * string/test-strnlen.c (do_page_tests): New function
7029 to check length of strings ending at the page boundary.
7030 (test_main): Added call to the do_page_tests function.
7031
7032 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7033 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7034
7035 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7036 (sysdep_routines): Add strnlen-power8.
7037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7038 (strnlen): Add __strnlen_power8 to list of strnlen functions.
7039 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7040 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7041 (__strnlen): Add __strnlen_power8 to ifunc list.
7042 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7043
7044 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7045
7046 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7047 the TEST_FUNCTION macro definition.
7048 * wcsmbs/tst-mbrtowc2.c: Likewise.
7049 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7050 * wcsmbs/tst-wchar-h.c: Likewise.
7051 * wcsmbs/tst-wcpncpy.c: Likewise.
7052 * wcsmbs/tst-wcrtomb.c: Likewise.
7053 * wcsmbs/tst-wcsnlen.c: Likewise.
7054 * wcsmbs/tst-wcstof.c: Likewise.
7055
7056 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7057
7058 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7059 CALL_THREAD_FCT macro usage.
7060 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7061 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7062 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7063
7064 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7066 (__ASSUME_REQUEUE_PI): Likewise.
7067 * sysdeps/unix/sysv/linux/kernel-features.h
7068 (__ASSUME_REQUEUE_PI): Likewise.
7069 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7070 (__ASSUME_REQUEUE_PI): Likewise.
7071 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7072 (__ASSUME_REQUEUE_PI): Likewise.
7073 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7074 (__ASSUME_REQUEUE_PI): Likewise.
7075
7076 2017-04-04 Florian Weimer <fweimer@redhat.com>
7077
7078 * resolv/tst-resolv-canonname.c: New file.
7079 * resolv/Makefile (tests): Add tst-resolv-canonname.
7080 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7081
7082 2017-04-04 Florian Weimer <fweimer@redhat.com>
7083
7084 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7085 Declare.
7086 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7087 (NS_MAXCDNAME): Remove definition.
7088 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7089 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7090 (NS_MAXCDNAME): Remove definition.
7091 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7092
7093 2017-04-04 Florian Weimer <fweimer@redhat.com>
7094
7095 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7096 call whose result is not used.
7097
7098 2017-04-04 Florian Weimer <fweimer@redhat.com>
7099
7100 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7101 * resolv/Makefile (tests): Add tst-ns_name.
7102 (tst-ns_name): Link with -lresolv.
7103 (tst-ns_name.out): Depend on the input data file.
7104
7105 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7106
7107 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7108 Clobber also r14.
7109
7110 2017-04-03 Mike Frysinger <vapier@gentoo.org>
7111
7112 [BZ #21253]
7113 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7114 slack space by 32KiB.
7115
7116 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
7117
7118 [BZ #21338]
7119 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7120 instead of incorrect do_set_arena_test
7121
7122 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7123
7124 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7125 * math/bits/math-finite.h: Likewise.
7126
7127 2017-03-31 Slava Barinov <v.barinov@samsung.com>
7128
7129 [BZ #21289]
7130 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7131
7132 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7133
7134 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7135 non expected inotify_add_watch and quotactl return.
7136
7137 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7138
7139 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7140 to int32_t.
7141 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7142 as returning int32_t.
7143
7144 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7145
7146 * math/math.h: Include bits/math-finite.h once per
7147 floating-point type.
7148 * math/bits/math-finite.h: Macroize all declarations by
7149 floating-point type.
7150
7151 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7152
7153 [BZ #21182]
7154 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7155 near end of a page.
7156 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7157 overflow calculation.
7158
7159 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
7160
7161 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7162 (IMPL) Call with 1 instead of 0 as argument.
7163
7164 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7165
7166 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7167 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7168 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7169 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7170 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7171 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7172 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7173 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7174 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7175 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7176 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7177 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7179 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7180 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7181 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7182 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7183 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7184 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7185 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7186 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7187 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7188 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7189 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7190 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7191 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7192 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7193 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7194 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7197 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7198 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7199 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7200 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7201 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7202 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7203 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7204 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7205 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7206 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7207 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7208 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7209 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7210 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7211 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7213 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7214 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7215 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7216 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7217 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7218 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7219 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7220 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7221 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7222 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7223 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7224 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7225 defined.
7226 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7227 __NR_setgroups32 if defined.
7228 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7229 if defined.
7230 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7231 __NR_setresgid32 is defined.
7232 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7233 __NR_setresuid32 if defined.
7234 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7235 __NR_setreuid32 if defined.
7236 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7237 defined.
7238 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7239 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7240 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7241 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7242 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7243 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7244 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7245 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7246 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7247 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7248 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7249 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7250 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7251 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7252 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7253 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7254 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7255 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7256 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7257 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7258 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7259 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7260 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7261 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7262 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7263 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7264 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7265 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7266 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7268 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7269 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7270 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7271 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7272 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7273 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7274 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7275 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7276 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7277 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7278 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7279 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7280 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7281 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7282 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7283 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7285 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7286 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7288 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7293 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7294 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7295 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7296 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7297 defined.
7298 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7299 __NR_setgroups32 if defined.
7300 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7301 if defined.
7302 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7303 __NR_setresgid32 is defined.
7304 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7305 __NR_setresuid32 if defined.
7306 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7307 __NR_setreuid32 if defined.
7308 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7309 defined.
7310
7311 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7312
7313 [BZ #21277]
7314 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7315 unconditionally.
7316 (IMAXBEL): Likewise.
7317 (IUTF8): Likewise.
7318
7319 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7320
7321 * sysdeps/aarch64/libm-test-ulps: Update.
7322
7323 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7324
7325 * README.tunables: Updated descriptions.
7326 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7327 * scripts/gen-tunables.awk: Updated the code related to the
7328 commit.
7329
7330 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7331
7332 * benchtests/Makefile (string-benchset): Add memcpy-random.
7333 * benchtests/bench-memcpy-random.c: New file.
7334
7335 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7336
7337 * stdio-common/printf.h (register_printf_modifier): Change the
7338 order of __wur and __THROW.
7339 (register_printf_type): Likewise.
7340
7341 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7342
7343 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7344 test_main ().
7345 (CMDLINE_PROCESS): Use function instead of defined macro.
7346 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7347 <suppport/support.h> to use set_fortify_handler().
7348 * string/bug-envz1.c: Import support/test-driver.c instead of
7349 test-skeleton.c.
7350 * string/bug-strcoll2.c: Likewise.
7351 * string/bug-strtok1.c: Likewise.
7352 * string/stratcliff.c: Likewise.
7353 * string/test-ffs.c: Likewise.
7354 * string/test-memccpy.c: Likewise.
7355 * string/test-memchr.c: Likewise.
7356 * string/test-memcmp.c: Likewise.
7357 * string/test-memcpy.c: Likewise.
7358 * string/test-memmem.c: Likewise.
7359 * string/test-memmove.c: Likewise.
7360 * string/test-memrchr.c: Likewise.
7361 * string/test-memset.c: Likewise.
7362 * string/test-rawmemchr.c: Likewise.
7363 * string/test-strcasecmp.c: Likewise.
7364 * string/test-strcasestr.c: Likewise.
7365 * string/test-strcat.c: Likewise.
7366 * string/test-strchr.c: Likewise.
7367 * string/test-strcmp.c: Likewise.
7368 * string/test-strcpy.c: Likewise.
7369 * string/test-string.h: Likewise.
7370 * string/test-strlen.c: Likewise.
7371 * string/test-strncasecmp.c: Likewise.
7372 * string/test-strncat.c: Likewise.
7373 * string/test-strncmp.c: Likewise.
7374 * string/test-strncpy.c: Likewise.
7375 * string/test-strnlen.c: Likewise.
7376 * string/test-strpbrk.c: Likewise.
7377 * string/test-strrchr.c: Likewise.
7378 * string/test-strspn.c: Likewise.
7379 * string/test-strstr.c: Likewise.
7380 * string/tst-bswap.c: Likewise.
7381 * string/tst-cmp.c: Likewise.
7382 * string/tst-endian.c: Likewise.
7383 * string/tst-inlcall.c: Likewise.
7384 * string/tst-strcoll-overflow.c: Likewise.
7385 * string/tst-strfry.c: Likewise.
7386 * string/tst-strlen.c: Likewise.
7387 * string/tst-strtok.c: Likewise.
7388 * string/tst-strtok_r.c: Likewise.
7389 * string/tst-strxfrm.c: Likewise.
7390 * string/tst-strxfrm2.c: Likewise.
7391 * string/tst-svc.c: Likewise.
7392 * string/tst-svc2.c: Likewise.
7393
7394 2017-03-22 Zack Weinberg <zackw@panix.com>
7395
7396 * stdio-common/bug25.c: Include stdlib.h.
7397 * support/tst-support_format_dns_packet.c: Include stdio.h,
7398 stdlib.h, and string.h.
7399 * support/tst-support_record_failure.c: Include string.h.
7400 * support/tst-support_record_failure-2.sh: Adjust line number
7401 expectations and correct a typo in an error message.
7402
7403 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7404
7405 [BZ #21258]
7406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7407 Define only if _dl_runtime_resolve is defined to
7408 _dl_runtime_resolve_sse_vex.
7409 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7410 Fallthrough to _dl_runtime_resolve_sse_vex.
7411
7412 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7413
7414 * INSTALL: Regenerated.
7415
7416 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7417
7418 * config.h.in: Add LINK_OBSOLETE_NSL.
7419 * config.make.in: Add build-obsolete-nsl.
7420 * configure.ac: Add obsolete-nsl option.
7421 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7422 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7423 * include/rpcsvc/nislib.h: Likewise.
7424 * include/rpcsvc/ypclnt.h: Likewise.
7425 * manual/install.texi: Document --enable-obsolete-nsl.
7426 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7427 * nis/nis_add.c: Replace libnsl_hidden_def with
7428 libnsl_hidden_nolink_def.
7429 * nis/nis_addmember.c: Likewise.
7430 * nis/nis_call.c: Likewise.
7431 * nis/nis_clone_obj.c: Likewise.
7432 * nis/nis_defaults.c: Likeise.
7433 * nis/nis_domain_of_r.c: Likewise.
7434 * nis/nis_error.c: Likewise.
7435 * nis/nis_file.c: Likewise.
7436 * nis/nis_free.c: Likewise.
7437 * nis_local_names.c: Likewise.
7438 * nis/nis_lookup.c: Likewise.
7439 * nis/nis_modify.c: Likewise.
7440 * nis/nis_print.c: Likewise.
7441 * nis/nis_remove.c: Likewise.
7442 * nis/nis_table.c: Likewise.
7443 * nis/nis_util.c: Likewise.
7444 * nis/nis_xdr.c: Likewise.
7445 * nis/yp_xdr.c: Likewise.
7446 * nis/ypclnt.c: Likewise.
7447 * nis/ypupdate_xdr.c: Likewise.
7448 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7449 * nis/nis_clone_dir.c: Likewise.
7450 * nis/nis_clone_res.c: Likewise.
7451 * nis/nis_creategroup.c: Likewise.
7452 * nis/nis_destroygroup.c: Likewise.
7453 * nis/nis_domain_of.c: Likewise.
7454 * nis/nis_getservlist.c: Likewise.
7455 * nis/nis_ismember.c: Likewise.
7456 * nis/nis_mkdir.c: Likewise.
7457 * nis/nis_ping.c: Likewise.
7458 * nis/nis_print_group_entry.c: Likewise.
7459 * nis/nis_removemember.c: Likewise.
7460 * nis/nis_rmdir.c: Likewise.
7461 * nis/nis_server.c: Likewise.
7462 * nis/nis_subr.c: Likewise.
7463 * nis/nis_verifygroup.c: Likewise.
7464
7465 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7466
7467 * malloc/tst-interpose-aux.c (check_for_allocations):
7468 Move compiler barrier before free.
7469
7470 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7471
7472 [BZ #21279]
7473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7474 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7475 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7476 x86_64-x32-linux.
7477 (mq_attr.mq_maxmsg): Likewise.
7478 (mq_attr.mq_msgsize): Likewise.
7479 (mq_attr.mq_curmsgs): Likewise.
7480
7481 [BZ #21278]
7482 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7483 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7484 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7485 mips-o32-linux.
7486
7487 [BZ #21268]
7488 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7489 if [__USE_MISC]
7490 (NL3): Likewise.
7491
7492 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7493
7494 [BZ #21275]
7495 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7496 __stack to __stackbase.
7497 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7498 checks so we can include defined(__ia64__) first.
7499
7500 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7501
7502 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7503 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7504 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7505 Call is_pty when the link does not exist or does not match, fail
7506 with ENODEV when it returns true.
7507 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7508 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7509 Call is_pty when the link does not exist or does not match, fail
7510 with ENODEV when it returns true.
7511
7512 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7513
7514 [BZ #16437]
7515 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7516 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7517 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7518 x86_64-x32-linux.
7519 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7520 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7521 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7522
7523 [BZ #21261]
7524 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7525 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7526 names for all fields.
7527 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7528 for jmp_buf field renaming.
7529 (_JMPBUF_UNWINDS_ADJ): Likewise.
7530
7531 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7532 with allow-header.
7533
7534 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7535
7536 * malloc/malloc.c (unlink): Add consistency check between size and
7537 next->prev->size, to further harden against 1-byte overflows.
7538
7539 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7542 CPU_FEATURES_CPU_P.
7543
7544 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7545
7546 [BZ #21259]
7547 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7548 unconditionally, not just for [__USE_MISC].
7549
7550 [BZ #17786]
7551 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7552 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7553 mips-o32-linux.
7554
7555 [BZ #21260]
7556 * sysdeps/unix/sysv/linux/alpha/Makefile
7557 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7558 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7559
7560 * conform/conformtest.pl ($cross): New variable.
7561 (--cross): New command-line option.
7562 (runtest): Skip test execution when cross-compiling.
7563 * conform/Makefile (conformtest-cross): New variable.
7564 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7565 conformtest.pl.
7566
7567 * conform/conformtest.pl ($xfail_str): New variable.
7568 (--xfail=): New command-line option.
7569 (top level): Handle expectations starting xfail[cond]-.
7570 * conform/Makefile (conformtest-xfail): New variable.
7571 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7572 conformtest.pl.
7573
7574 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7575
7576 * conform/conformtest.pl: Use compilation instead of execution
7577 tests for testing values of constants and usability in #if.
7578
7579 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7580
7581 * math/auto-libm-test-in: Mark some catan and catanh as
7582 xfail-rounding:ibm128-libgcc.
7583 * math/auto-libm-test-out-catan: Regenerate.
7584 * math/auto-libm-test-out-catanh: Likewise.
7585
7586 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7587
7588 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7589 (__END_NAMESPACE_STD): Likewise.
7590 (__USING_NAMESPACE_STD): Likewise.
7591 (__BEGIN_NAMESPACE_C99): Likewise.
7592 (__END_NAMESPACE_C99): Likewise.
7593 (__USING_NAMESPACE_C99): Likewise.
7594 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7595 undefine macro.
7596 (_Mdouble_END_NAMESPACE): Likewise.
7597 * ctype/ctype.h: Do not handle C++ namespaces.
7598 * libio/bits/stdio-ldbl.h: Likewise.
7599 * libio/stdio.h: Likewise.
7600 * locale/locale.h: Likewise.
7601 * math/bits/mathcalls.h: Likewise.
7602 * setjmp/setjmp.h: Likewise.
7603 * signal/signal.h: Likewise.
7604 * stdlib/bits/stdlib-float.h: Likewise.
7605 * stdlib/bits/stdlib-ldbl.h: Likewise.
7606 * stdlib/stdlib.h: Likewise.
7607 * string/string.h: Likewise.
7608 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7609 * time/bits/types/clock_t.h: Likewise.
7610 * time/bits/types/struct_tm.h: Likewise.
7611 * time/bits/types/time_t.h: Likewise.
7612 * time/time.h: Likewise.
7613 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7614 * wcsmbs/uchar.h: Likewise.
7615 * wcsmbs/wchar.h: Likewise.
7616 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7617 * wctype/wctype.h: Do not handle C++ namespaces.
7618 * scripts/begin-end-check.pl: Remove.
7619 * Makefile (installed-headers): Likewise.
7620 (tests-special): Do not add $(objpfx)begin-end-check.out.
7621 ($(objpfx)begin-end-check.out): Remove.
7622
7623 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7624 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7625
7626 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7627 (DL_PLATFORM_INIT): New define.
7628 (dl_platform_init): New function.
7629 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7630 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7631 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7632 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7633 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7634
7635 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7636
7637 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7638 instead of PIC.
7639
7640 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7641
7642 [BZ #21094]
7643 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7644 24+24+24-bit pi for wider range of values around pi/2.
7645 * math/auto-libm-test-in: Add more tests of cos and tan.
7646 * math/auto-libm-test-out-cos: Regenerated.
7647 * math/auto-libm-test-out-tan: Likewise.
7648
7649 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7650
7651 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7652 (RTLD_START): Don't record stack end address in _dl_start_user.
7653
7654 2017-03-15 Alexey Neyman <stilor@att.net>
7655
7656 [BZ #21088]
7657 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7658 around definitions match those around use.
7659
7660 2017-03-15 Alexey Neyman <stilor@att.net>
7661
7662 * configure.ac: Avoid empty subexpression in grep.
7663 * configure: Regenerate.
7664
7665 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7666
7667 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7668 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7669 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7670 (test_wrp_rv): Fix format.
7671 (test_wrp_rv2): New macro.
7672 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7673 binaries.
7674
7675 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7676
7677 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7678 Use a union when storing pointers.
7679 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7680 cast result when passing to INIT_VEC_PTRS_LOOP.
7681 (VECTOR_WRAPPER_fFF_3): Likewise.
7682 (VECTOR_WRAPPER_fFF_4): Likewise.
7683
7684 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7685
7686 * include/bits/mathcalls-helper-functions.h: New file.
7687 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7688 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7689 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7690 math/bits/mathcalls-helper-functions.h.
7691 * math/bits/mathcalls-helper-functions.h: New file.
7692 * math/math.h: Include bits/mathcalls-helper-functions.h for
7693 float, double, and long double.
7694
7695 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7696
7697 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7698 instead of feraiseexcept.
7699
7700 2017-03-15 Florian Weimer <fweimer@redhat.com>
7701
7702 [BZ #21243]
7703 * support/temp_file.c (support_delete_temp_files): Add comment
7704 about ignored errors.
7705
7706 2017-03-15 Florian Weimer <fweimer@redhat.com>
7707
7708 [BZ #21244]
7709 * support/xclose.c: New file.
7710 * support/Makefile (libsupport-routines): Add xclose.
7711 * support/xunistd.h (xclose): Declare.
7712 * support/resolv_test.c (server_thread_tcp_client)
7713 (server_thread_tcp, make_server_sockets, resolv_test_start)
7714 (resolv_test_end): Call xclose instead of close.
7715 * support/support_enter_network_namespace.c
7716 (support_enter_network_namespace): Likewise.
7717 * support/support_run_diff.c (write_to_temp_file): Likewise.
7718
7719 2017-03-15 Florian Weimer <fweimer@redhat.com>
7720
7721 * support/support_format_dns_packet.c (support_format_dns_packet):
7722 Handle CNAME records in the response. Extract RDATA names from
7723 rdata, not the whole packet. Check AAAA record length.
7724 * support/tst-support_format_dns_packet.c: New file.
7725 * support/Makefile (tests): Add tst-support_format_dns_packet.
7726 (tst-support_format_dns_packet): Link against libresolv.
7727
7728 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7729
7730 [BZ #21232]
7731 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7732 posix_fadvise64 weak_alias for static build.
7733
7734 2017-03-14 Andreas Schwab <schwab@suse.de>
7735
7736 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7737 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7738 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7739 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7740 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7741 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7742 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7743 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7744
7745 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7746
7747 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7748 posix error code.
7749 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7750
7751 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7752
7753 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7754 no_isolate usage for SH.
7755
7756 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7757
7758 [BZ #15105]
7759 [BZ #19463]
7760 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7761 * inet/rcmd.c (rcmd_af): Likewise.
7762 * inet/rexec.c (rexec_af): Likewise.
7763 * intl/dcigettext.c (_LIBC): Likewise.
7764 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7765 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7766 * locale/setlocale.c (setlocale): Likewise.
7767 * posix/spawn_faction_addopen.c
7768 (posix_spawn_file_actions_addopen): Likewise.
7769 * stdlib/putenv.c (putenv): Use __strndup.
7770 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7772 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7773 (__Need_M_And_C) Remove define/undef.
7774 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7775 (__malloc_and_calloc_defined): Remove define.
7776 * string/bits/string2.h (__strdup): Remove define.
7777 (strdup): Likewise.
7778 (__strndup): Likewise.
7779 (strndup): Likewise.
7780
7781 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7782
7783 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7784 macro.
7785 (IPV6_ADDR_PREFERENCES): Likewise.
7786 (IPV6_MINHOPCOUNT): Likewise.
7787 (IPV6_ORIGDSTADDR): Likewise.
7788 (IPV6_RECVORIGDSTADDR): Likewise.
7789 (IPV6_TRANSPARENT): Likewise.
7790 (IPV6_UNICAST_IF): Likewise.
7791 (IPV6_RECVFRAGSIZE): Likewise.
7792
7793 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7794
7795 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7796
7797 2017-03-12 Alexey Neyman <stilor@att.net>
7798
7799 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7800 in R_SH_DIR32 case is always false when inlined from
7801 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7802
7803 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7804
7805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7806 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7807 __ASSUME_SEND_SYSCALL.
7808
7809 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7810
7811 * sunrpc/Makefile: don't build and install rpcsvc header
7812 files, rpcgen and librpcsvc.a by default.
7813
7814 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7815
7816 * math/auto-libm-test-out-catan: Regenerated.
7817 * math/auto-libm-test-out-catanh: Likewise.
7818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7819
7820 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7821
7822 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7823 for long double with corrected test expectations.
7824
7825 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7826
7827 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7828 Define.
7829 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7830 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7831 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7832 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7833 * sysdeps/unix/sysv/linux/tile/sysdep.h
7834 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7836 (__ASSUME_RECV_SYSCALL): Define.
7837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7838 (__ASSUME_RECV_SYSCALL): Likewise.
7839 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7840 (__ASSUME_RECV_SYSCALL): Likewise.
7841 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7842 (__ASSUME_RECV_SYSCALL): Likewise.
7843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7844 (__ASSUME_RECV_SYSCALL): Likewise.
7845 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7846 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7847 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7848 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7849 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7850 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7851 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7852 auto-generation list.
7853 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7854 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7855 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7856 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7857 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7858 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7859 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7860 __ASSUME_SENDTO_SYSCALL.
7861 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7862 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7863 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7864
7865 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7866 auto-generation list.
7867 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7868 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7869 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7870 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7871 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7874 * sysdeps/unix/sysv/linux/kernel-features.h
7875 (__ASSUME_SENDTO_SYSCALL): Define by default.
7876 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7877 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7878 __NR_sendto.
7879 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7880 (__ASSUME_SENDTO_SYSCALL): Likewise.
7881 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7882 (__ASSUME_SENDTO_SYSCALL): Likewise.
7883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7884 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7885 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7886 (__ASSUME_SENDTO_SYSCALL): Likewise.
7887 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7888 (__ASSUME_SENDTO_SYSCALL): Likewise.
7889 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7890
7891 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7892 auto-generation list.
7893 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7894 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7895 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7896 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7898 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7899 (__ASSUME_RECV_SYSCALL): New define.
7900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7901 (__ASSUME_RECV_SYSCALL): Likewise.
7902 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7903 (__ASSUME_RECV_SYSCALL): Likewise.
7904 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7905 (__ASSUME_RECV_SYSCALL): Likewise.
7906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7907 (__ASSUME_RECV_SYSCALL): Likewise.
7908 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7909 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7910 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7911 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7912 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7913 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7914 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7915 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7916 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7917 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7918 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7919 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7920
7921 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7922 auto-generation list.
7923 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7924 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7925 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7926 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7928 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7929 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7930 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7931 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7932 * sysdeps/unix/sysv/linux/kernel-features.h
7933 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7934 __NR_recvfrom.
7935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7936 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7937 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7938 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7940 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7941 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7942 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7943 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7944 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7945 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7946 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7947 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7948
7949 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7950 auto-generation list.
7951 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7952 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7953 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7954 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7955 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7956 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7957 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7958 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7959 * sysdeps/unix/sysv/linux/kernel-features.h
7960 (__ASSUME_CONNECT_SYSCALL): Define.
7961 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7962 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7963 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7964 (__ASSUME_CONNECT_SYSCALL): Likewise.
7965 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7966 (__ASSUME_CONNECT_SYSCALL): Likewise.
7967 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7968 (__ASSUME_CONNECT_SYSCALL): Likewise.
7969
7970 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7971 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7972 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7973 auto-generation list.
7974 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7975 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7976 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7977 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7978 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7980 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7981 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7982 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7983 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7984 * sysdeps/unix/sysv/linux/kernel-features.h
7985 (__ASSUME_ACCEPT_SYSCALL): New define.
7986 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7987 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7988 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7989 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7990 (__ASSUME_ACCEPT_SYSCALL): Define.
7991 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7992 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7993 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7994 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7995 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7996 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7997 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7998 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7999 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8000
8001 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
8002 Zack Weinberg <zackw@panix.com>
8003
8004 * posix/test-errno.c: New file.
8005 * posix/Makefile (tests): Add test-errno.
8006 * sysdeps/unix/sysv/linux/test-errno.c: New file.
8007 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8008
8009 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
8010
8011 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8012
8013 2017-03-07 Florian Weimer <fweimer@redhat.com>
8014
8015 * time/tzset.c (compute_offset): Open-code min macro.
8016 (min, max, sign): Remove.
8017
8018 2017-03-07 Florian Weimer <fweimer@redhat.com>
8019
8020 [BZ #15576]
8021 Remove TZNAME_MAX limit from sysconf.
8022 * include/time.h (__tzname_cur_max, __tzname_max): Remove
8023 declaration.
8024 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8025 compute_tzname_max.
8026 (compute_tzname_max): Remove.
8027 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8028 (update_vars): Do not update __tzname_cur_max.
8029 (tzset_internal): Remove argument.
8030 (__tzset): Adjust call to tzset_internal.
8031 (__tz_convert): Likewise.
8032
8033 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8034 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8035 * manual/conf.texi (Sysconf Definition): Update comment.
8036
8037 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8038
8039 [BZ #21209]
8040 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8041 AT_SECURE processes.
8042 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8043 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8044 (test_child): Likewise.
8045 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8046
8047 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8048
8049 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8050
8051 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8052
8053 * sysdeps/s390/atomic-machine.h
8054 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8055 (__arch_compare_and_exchange_val_8_acq,
8056 __arch_compare_and_exchange_val_16_acq,
8057 __arch_compare_and_exchange_val_32_acq,
8058 __arch_compare_and_exchange_val_64_acq):
8059 Delete macro.
8060 (atomic_compare_and_exchange_val_acq,
8061 atomic_compare_and_exchange_val_rel,
8062 atomic_compare_and_exchange_bool_acq,
8063 catomic_compare_and_exchange_bool_acq,
8064 atomic_exchange_acq, atomic_exchange_rel,
8065 atomic_exchange_and_add_acq,
8066 atomic_exchange_and_add_rel,
8067 catomic_exchange_and_add, atomic_or_val,
8068 atomic_or, catomic_or, atomic_bit_test_set,
8069 atomic_and_val, atomic_and, catomic_and):
8070 Define macros with help of C11 atomic builtins.
8071
8072 2017-03-03 Justus Winter <justus@gnupg.org>
8073
8074 * sysdeps/mach/hurd/ftruncate64.c: New file.
8075 * sysdeps/mach/hurd/truncate64.c: Likewise.
8076
8077 2017-03-03 Florian Weimer <fweimer@redhat.com>
8078
8079 * time/tzfile.c (NOID): Do not define.
8080 * time/tzset.c (NOID): Likewise.
8081
8082 2017-03-03 Florian Weimer <fweimer@redhat.com>
8083
8084 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8085
8086 2017-03-02 Florian Weimer <fweimer@redhat.com>
8087
8088 * elf/get-dynamic-info.h: Remove header file inclusion guard.
8089
8090 2017-03-02 Florian Weimer <fweimer@redhat.com>
8091
8092 [BZ #21015]
8093 * manual/install.texi (Configuring and compiling): Document
8094 --enable-bind-now.
8095 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8096 (build-shlib-helper): Use $(LDFLAGS-lib.so).
8097 (format.lds): Likewise.
8098 [bind-now] (LDFLAGS-c.so): Remove.
8099 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8100 be R_X86_64_GLOB_DAT.
8101 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8102 relocation can be R_386_GLOB_DAT.
8103 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8104 relocaiton can be R_ALPHA_GLOB_DAT.
8105 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8106
8107 2017-03-01 Zack Weinberg <zackw@panix.com>
8108
8109 * include/libc-pointer-arith.h: New file. Define
8110 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8111 PTR_ALIGN_DOWN here.
8112 * include/libc-internal.h: Definitions of above macros
8113 moved from here. Don't include libc-diag.h anymore either.
8114 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8115 Don't include libc-internal.h.
8116
8117 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8118 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8119 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8120 * string/strcoll_l.c, sysdeps/nacl/brk.c
8121 * sysdeps/unix/clock_settime.c
8122 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8123 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8124 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8126 Don't include libc-internal.h.
8127
8128 * elf/get-dynamic-info.h, iconv/loop.c
8129 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8130 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8131 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8132 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8133 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8137 * sysdeps/ieee754/ldbl-128/k_tanl.c
8138 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8139 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8140 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8141 Include libc-diag.h instead of libc-internal.h.
8142
8143 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8144 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8145 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8146 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8147 * sysdeps/unix/sysv/linux/spawni.c
8148 * sysdeps/x86_64/nptl/tls.h:
8149 Include libc-pointer-arith.h instead of libc-internal.h.
8150
8151 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8152 * sysdeps/x86_64/atomic-machine.h:
8153 Add multiple include guard.
8154
8155 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8156 * string/strcasestr.c: No need to include config.h.
8157 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8158 sys/auxv.h. Don't include sysdep.h.
8159 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8160
8161 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
8162 DL_LOOKUP_ADDRESS.
8163 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8164 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8165 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8166 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8167 of ARTIFICIAL_LIMIT.
8168 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8169 declaration of __clone2.
8170
8171 2017-02-28 Florian Weimer <fweimer@redhat.com>
8172
8173 * scripts/backport-support.sh (latest_commit): New file.
8174
8175 2017-02-28 Florian Weimer <fweimer@redhat.com>
8176
8177 [BZ #20257]
8178 * inet/Makefile (routines): Add deadline.
8179 (tests-static): Add tst-deadline.
8180 * inet/net-internal.h (struct deadline_current_time)
8181 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8182 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8183 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8184 * inet/deadline.c: New file.
8185 * inet/tst-deadline.c: Likewise.
8186 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8187 tst-udp-timeout, tst-udp-garbage.
8188 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8189 explicitly.
8190 (tst-udp-garbage): Likewise. Also link against thread library.
8191 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8192 struct layout is part of the ABI.
8193 (clntudp_call): Rework timeout handling.
8194 * sunrpc/tst-udp-garbage.c: New file.
8195 * sunrpc/tst-udp-nonblocking.c: Likewise.
8196 * sunrpc/tst-udp-timeout.c: Likewise.
8197
8198 2017-02-28 Florian Weimer <fweimer@redhat.com>
8199
8200 [BZ #5010]
8201 * sunrpc/svc.c (svc_is_mapped): Remove.
8202 (svc_unregister): Obtain mapped status while the service is still
8203 registered.
8204 * sunrpc/Makefile [have-thread-library] (tests): Add
8205 tst-svc_register.
8206 (tst-svc_register): Link against libc.so explicitly and the thread
8207 library.
8208 * sunrpc/tst-svc_register.c: New file.
8209
8210 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8213 * sysdeps/pthread/bits/sigthread.h: Likewise.
8214
8215 2017-02-27 Florian Weimer <fweimer@redhat.com>
8216
8217 [BZ #21115]
8218 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8219 * sunrpc/Makefile (tests): Add tst-udp-error.
8220 (tst-udp-error): Link against libc.so explicitly.
8221 * sunrpc/tst-udp-error: New file.
8222
8223 2017-02-25 Zack Weinberg <zackw@panix.com>
8224
8225 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8226 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8227
8228 * sysdeps/generic/math_ldbl.h
8229 * sysdeps/ia64/fpu/math_ldbl.h
8230 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8232 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8233 * sysdeps/powerpc/fpu/math_ldbl.h
8234 * sysdeps/x86_64/fpu/math_ldbl.h:
8235 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8236 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8237 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8238 Add copyright notices.
8239
8240 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8241 Don't use EXTRACT_WORDS64.
8242
8243 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8244 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8245 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8246 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8247 Include math_ldbl.h, not math_private.h.
8248
8249 2017-02-25 Zack Weinberg <zackw@panix.com>
8250
8251 * include/libc-diag.h: New file. Define ignore_value,
8252 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8253 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8254
8255 * include/libc-internal.h: Definitions of above macros moved from
8256 here. Include libc-diag.h. Add copyright notice.
8257
8258 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8259 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8260 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8261 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8262 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8263 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8264 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8265 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8266 Include libc-diag.h instead of libc-internal.h.
8267
8268 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8269 call to unsetenv (NULL).
8270 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8271 call to pthread_mutexattr_destroy (NULL).
8272
8273 2017-02-25 Zack Weinberg <zackw@panix.com>
8274
8275 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8276 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8277 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8278 gets was removed from C++ in C++14.
8279 * include/stdio.h: Remove redundant declaration of gets.
8280 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8281 be declared, since we are testing it.
8282 * stdio-common/Makefile (tst-gets.c): Compile with
8283 -Wno-deprecated-declarations.
8284 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8285 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8286 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8287 Compile with -Wno-deprecated-declarations.
8288
8289 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8290
8291 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8292 numbers.
8293
8294 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8295
8296 * resolv/tst-resolv-qtypes.c (domain):
8297 Change type to const pointer to const char.
8298
8299 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8300
8301 * math/Makefile (libm-tests-generated): Remove variable.
8302 (libm-tests-base-normal): New variable.
8303 (libm-tests-base-finite): Likewise.
8304 (libm-tests-base-inline): Likewise.
8305 (libm-tests-base): Likewise.
8306 (libm-tests-normal): Likewise.
8307 (libm-tests-finite): Likewise.
8308 (libm-tests-inline): Likewise.
8309 (libm-tests-vector): Likewise.
8310 (libm-tests): Define in terms of these new variables.
8311 (libm-tests-for-type): New variable.
8312 (libm-tests.o): Move definition.
8313 (tests): Move addition of $(libm-tests).
8314 (generated): Update for new and removed libm test files.
8315 ($(objpfx)libm-test.c): Remove target.
8316 ($(objpfx)libm-have-vector-test.h): Likewise.
8317 (CFLAGS-test-double-vlen2.c): Remove variable.
8318 (CFLAGS-test-double-vlen4.c): Likewise.
8319 (CFLAGS-test-double-vlen8.c): Likewise.
8320 (CFLAGS-test-float-vlen4.c): Likewise.
8321 (CFLAGS-test-float-vlen8.c): Likewise.
8322 (CFLAGS-test-float-vlen16.c): Likewise.
8323 (CFLAGS-test-float.c): Likewise.
8324 (CFLAGS-test-float-finite.c): Likewise.
8325 (CFLAGS-libm-test-support-float.c): Likewise.
8326 (CFLAGS-test-double.c): Likewise.
8327 (CFLAGS-test-double-finite.c): Likewise.
8328 (CFLAGS-libm-test-support-double.c): Likewise.
8329 (CFLAGS-test-ldouble.c): Likewise.
8330 (CFLAGS-test-ldouble-finite.c): Likewise.
8331 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8332 (libm-test-inline-cflags): New variable.
8333 (CFLAGS-test-ifloat.c): Remove variable.
8334 (CFLAGS-test-idouble.c): Likewise.
8335 (CFLAGS-test-ildouble.c): Likewise.
8336 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8337 dependencies.
8338 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8339 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8340 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8341 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8342 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8343 Likewise.
8344 (dependencies on libm-test-support-*.o): Remove.
8345 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8346 rules using iterators.
8347 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8348 Likewise.
8349 ($(objpfx)libm-test-support-$(o).o): Likewise.
8350 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8351 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8352 instead.
8353 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8354 define rule instead.
8355 * math/README.libm-test: Update.
8356 * math/libm-test-acos.inc: Include libm-test-driver.c.
8357 (do_test): New function.
8358 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8359 (do_test): New function.
8360 * math/libm-test-asin.inc: Include libm-test-driver.c.
8361 (do_test): New function.
8362 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8363 (do_test): New function.
8364 * math/libm-test-atan.inc: Include libm-test-driver.c.
8365 (do_test): New function.
8366 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8367 (do_test): New function.
8368 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8369 (do_test): New function.
8370 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8371 (do_test): New function.
8372 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8373 (do_test): New function.
8374 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8375 (do_test): New function.
8376 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8377 (do_test): New function.
8378 * math/libm-test-carg.inc: Include libm-test-driver.c.
8379 (do_test): New function.
8380 * math/libm-test-casin.inc: Include libm-test-driver.c.
8381 (do_test): New function.
8382 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8383 (do_test): New function.
8384 * math/libm-test-catan.inc: Include libm-test-driver.c.
8385 (do_test): New function.
8386 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8387 (do_test): New function.
8388 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8389 (do_test): New function.
8390 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8391 (do_test): New function.
8392 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8393 (do_test): New function.
8394 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8395 (do_test): New function.
8396 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8397 (do_test): New function.
8398 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8399 (do_test): New function.
8400 * math/libm-test-clog.inc: Include libm-test-driver.c.
8401 (do_test): New function.
8402 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8403 (do_test): New function.
8404 * math/libm-test-conj.inc: Include libm-test-driver.c.
8405 (do_test): New function.
8406 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8407 (do_test): New function.
8408 * math/libm-test-cos.inc: Include libm-test-driver.c.
8409 (do_test): New function.
8410 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8411 (do_test): New function.
8412 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8413 (do_test): New function.
8414 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8415 (do_test): New function.
8416 * math/libm-test-creal.inc: Include libm-test-driver.c.
8417 (do_test): New function.
8418 * math/libm-test-csin.inc: Include libm-test-driver.c.
8419 (do_test): New function.
8420 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8421 (do_test): New function.
8422 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8423 (do_test): New function.
8424 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8425 (do_test): New function.
8426 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8427 (do_test): New function.
8428 * math/libm-test-erf.inc: Include libm-test-driver.c.
8429 (do_test): New function.
8430 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8431 (do_test): New function.
8432 * math/libm-test-exp.inc: Include libm-test-driver.c.
8433 (do_test): New function.
8434 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8435 (do_test): New function.
8436 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8437 (do_test): New function.
8438 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8439 (do_test): New function.
8440 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8441 (do_test): New function.
8442 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8443 (do_test): New function.
8444 * math/libm-test-floor.inc: Include libm-test-driver.c.
8445 (do_test): New function.
8446 * math/libm-test-fma.inc: Include libm-test-driver.c.
8447 (do_test): New function.
8448 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8449 (do_test): New function.
8450 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8451 (do_test): New function.
8452 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8453 (do_test): New function.
8454 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8455 (do_test): New function.
8456 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8457 (do_test): New function.
8458 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8459 (do_test): New function.
8460 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8461 (do_test): New function.
8462 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8463 (do_test): New function.
8464 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8465 (do_test): New function.
8466 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8467 (do_test): New function.
8468 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8469 (do_test): New function.
8470 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8471 (do_test): New function.
8472 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8473 (do_test): New function.
8474 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8475 (do_test): New function.
8476 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8477 (do_test): New function.
8478 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8479 (do_test): New function.
8480 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8481 (do_test): New function.
8482 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8483 (do_test): New function.
8484 * math/libm-test-isless.inc: Include libm-test-driver.c.
8485 (do_test): New function.
8486 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8487 (do_test): New function.
8488 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8489 (do_test): New function.
8490 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8491 (do_test): New function.
8492 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8493 (do_test): New function.
8494 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8495 (do_test): New function.
8496 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8497 (do_test): New function.
8498 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8499 (do_test): New function.
8500 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8501 (do_test): New function.
8502 * math/libm-test-j0.inc: Include libm-test-driver.c.
8503 (do_test): New function.
8504 * math/libm-test-j1.inc: Include libm-test-driver.c.
8505 (do_test): New function.
8506 * math/libm-test-jn.inc: Include libm-test-driver.c.
8507 (do_test): New function.
8508 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8509 (do_test): New function.
8510 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8511 (do_test): New function.
8512 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8513 (do_test): New function.
8514 * math/libm-test-llround.inc: Include libm-test-driver.c.
8515 (do_test): New function.
8516 * math/libm-test-log.inc: Include libm-test-driver.c.
8517 (do_test): New function.
8518 * math/libm-test-log10.inc: Include libm-test-driver.c.
8519 (do_test): New function.
8520 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8521 (do_test): New function.
8522 * math/libm-test-log2.inc: Include libm-test-driver.c.
8523 (do_test): New function.
8524 * math/libm-test-logb.inc: Include libm-test-driver.c.
8525 (do_test): New function.
8526 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8527 (do_test): New function.
8528 * math/libm-test-lround.inc: Include libm-test-driver.c.
8529 (do_test): New function.
8530 * math/libm-test-modf.inc: Include libm-test-driver.c.
8531 (do_test): New function.
8532 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8533 (do_test): New function.
8534 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8535 (do_test): New function.
8536 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8537 (do_test): New function.
8538 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8539 (do_test): New function.
8540 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8541 (do_test): New function.
8542 * math/libm-test-pow.inc: Include libm-test-driver.c.
8543 (do_test): New function.
8544 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8545 (do_test): New function.
8546 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8547 (do_test): New function.
8548 * math/libm-test-rint.inc: Include libm-test-driver.c.
8549 (do_test): New function.
8550 * math/libm-test-round.inc: Include libm-test-driver.c.
8551 (do_test): New function.
8552 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8553 (do_test): New function.
8554 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8555 (do_test): New function.
8556 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8557 (do_test): New function.
8558 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8559 (do_test): New function.
8560 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8561 (do_test): New function.
8562 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8563 (do_test): New function.
8564 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8565 (do_test): New function.
8566 * math/libm-test-significand.inc: Include libm-test-driver.c.
8567 (do_test): New function.
8568 * math/libm-test-sin.inc: Include libm-test-driver.c.
8569 (do_test): New function.
8570 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8571 (do_test): New function.
8572 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8573 (do_test): New function.
8574 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8575 (do_test): New function.
8576 * math/libm-test-tan.inc: Include libm-test-driver.c.
8577 (do_test): New function.
8578 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8579 (do_test): New function.
8580 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8581 (do_test): New function.
8582 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8583 (do_test): New function.
8584 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8585 (do_test): New function.
8586 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8587 (do_test): New function.
8588 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8589 (do_test): New function.
8590 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8591 (do_test): New function.
8592 * math/libm-test-y0.inc: Include libm-test-driver.c.
8593 (do_test): New function.
8594 * math/libm-test-y1.inc: Include libm-test-driver.c.
8595 (do_test): New function.
8596 * math/libm-test-yn.inc: Include libm-test-driver.c.
8597 (do_test): New function.
8598 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8599 (HAVE_VECTOR): Remove macro.
8600 (START): Do not call HAVE_VECTOR.
8601 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8602 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8603 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8604 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8605 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8606 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8607 * math/test-math-vector.h (FUNC_TEST): New macro.
8608 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8609 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8610 (double-vlen4-funcs): Likewise.
8611 (double-vlen4-avx2-funcs): Likewise.
8612 (double-vlen8-funcs): Likewise.
8613 (float-vlen4-funcs): Likewise.
8614 (float-vlen8-funcs): Likewise.
8615 (float-vlen8-avx2-funcs): Likewise.
8616 (float-vlen16-funcs): Likewise.
8617 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8618 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8619 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8620 macro.
8621 (TEST_VECTOR_sin): Likewise.
8622 (TEST_VECTOR_sincos): Likewise.
8623 (TEST_VECTOR_log): Likewise.
8624 (TEST_VECTOR_exp): Likewise.
8625 (TEST_VECTOR_pow): Likewise.
8626 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8627 Likewise.
8628 (TEST_VECTOR_sin): Likewise.
8629 (TEST_VECTOR_sincos): Likewise.
8630 (TEST_VECTOR_log): Likewise.
8631 (TEST_VECTOR_exp): Likewise.
8632 (TEST_VECTOR_pow): Likewise.
8633 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8634 Likewise.
8635 (TEST_VECTOR_sinf): Likewise.
8636 (TEST_VECTOR_sincosf): Likewise.
8637 (TEST_VECTOR_logf): Likewise.
8638 (TEST_VECTOR_expf): Likewise.
8639 (TEST_VECTOR_powf): Likewise.
8640 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8641 Likewise.
8642 (TEST_VECTOR_sinf): Likewise.
8643 (TEST_VECTOR_sincosf): Likewise.
8644 (TEST_VECTOR_logf): Likewise.
8645 (TEST_VECTOR_expf): Likewise.
8646 (TEST_VECTOR_powf): Likewise.
8647 * math/gen-libm-have-vector-test.sh: Remove file.
8648 * math/libm-test.inc: Likewise.
8649 * math/libm-test-support-double.c: Likewise.
8650 * math/libm-test-support-float.c: Likewise.
8651 * math/libm-test-support-ldouble.c: Likewise.
8652 * math/test-double-finite.c: Likewise.: Likewise.
8653 * math/test-double.c: Likewise.
8654 * math/test-float-finite.c: Likewise.
8655 * math/test-float.c: Likewise.
8656 * math/test-idouble.c: Likewise.
8657 * math/test-ifloat.c: Likewise.
8658 * math/test-ildouble.c: Likewise.
8659 * math/test-ldouble-finite.c: Likewise.
8660 * math/test-ldouble.c: Likewise.
8661 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8662 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8663 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8664 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8665 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8666 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8667 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8668 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8669 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8670 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8671
8672 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8673 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8674
8675 * math/Makefile: Add wrappers to gen-libm-calls.
8676 * math/w_acos_template.c: New file.
8677 * math/w_acosh_template.c: Likewise.
8678 * math/w_asin_template.c: Likewise.
8679 * math/w_atan2_template.c: Likewise.
8680 * math/w_atanh_template.c: Likewise.
8681 * math/w_cosh_template.c: Likewise.
8682 * math/w_exp10_template.c: Likewise.
8683 * math/w_exp2_template.c: Likewise.
8684 * math/w_exp_template.c: Likewise.
8685 * math/w_fmod_template.c: Likewise.
8686 * math/w_hypot_template.c: Likewise.
8687 * math/w_j0_template.c: Likewise.
8688 * math/w_j1_template.c: Likewise.
8689 * math/w_jn_template.c: Likewise.
8690 * math/w_lgamma_r_template.c: Likewise.
8691 * math/w_lgamma_template.c: Likewise.
8692 * math/w_log10_template.c: Likewise.
8693 * math/w_log2_template.c: Likewise.
8694 * math/w_log_template.c: Likewise.
8695 * math/w_pow_template.c: Likewise.
8696 * math/w_remainder_template.c: Likewise.
8697 * math/w_sinh_template.c: Likewise.
8698 * math/w_sqrt_template.c: Likewise.
8699 * math/w_tgamma_template.c: Likewise.: Likewise.
8700 * sysdeps/generic/math-type-macros-double.h
8701 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8702 the new wrappers.
8703 * sysdeps/generic/math-type-macros-float.h: Likewise.
8704 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8705
8706 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8707
8708 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8709 New enum constant and macro.
8710
8711 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8712 kernel version to 4.10.
8713
8714 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8715
8716 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8717
8718 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8719
8720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8721
8722 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8723
8724 * sysdeps/powerpc/tst-set_ppr.c: New file.
8725 Implement test cases for __ppc_set_ppr_* functions.
8726 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8727 in the list of tests.
8728
8729 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8730
8731 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8732 instead of test-skeleton.c.
8733 (do_test): Replaced pthread_create and pthread_join with
8734 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8735 Removed unneeded status variable.
8736 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8737 instead of test-skeleton.c.
8738 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8739
8740 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8741
8742 [BZ #20313]
8743 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8744 201605L, for Unicode 9.
8745
8746 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8747
8748 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8749 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8750 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8751 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8752 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8753 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8754
8755 2017-02-19 Zack Weinberg <zackw@panix.com>
8756
8757 * rt/tst-mqueue4.c: Include stdint.h.
8758
8759 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8760
8761 * sysdeps/arm/libm-test-ulps: Update.
8762 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8763 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8764 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8765
8766 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8767
8768 [BZ #21029]
8769 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8770 * sysdeps/unix/sysv/linux/i386/Makefile
8771 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8772 (uses-6-syscall-arguments): Remove.
8773 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8774 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8775 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8776 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8777 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8778 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8779 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8780 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8781 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8782 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8783 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8784 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8785 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8786 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8787 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8788 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8789 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8790 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8791 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8792 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8793 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8794 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8795 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8796 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8797 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8798 Likewise.
8799 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8800 Likewise.
8801 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8802 Likewise.
8803 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8804 Likewise.
8805 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8806 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8807 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8808 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8809 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8810 ebp on inline assembly.
8811 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8812 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8813 Set if CAN_USE_REGISTER_ASM_EBP is set.
8814
8815 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8816
8817 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8818 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8819
8820 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8821
8822 * math/auto-libm-test-in: Add tests of catan and catanh.
8823 * math/auto-libm-test-out-catan: New generated file.
8824 * math/auto-libm-test-out-catanh: Likewise.
8825 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8826 Move tests with finite inputs, except divide-by-zero cases, to
8827 auto-libm-test-in.
8828 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8829 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8830 (libm-test-funcs-noauto): Remove catan and catanh.
8831 * sysdeps/i386/fpu/libm-test-ulps: Update.
8832 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8834
8835 * math/auto-libm-test-in: Add tests of casin and casinh.
8836 * math/auto-libm-test-out-casin: New generated file.
8837 * math/auto-libm-test-out-casinh: Likewise.
8838 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8839 Move tests with finite inputs to auto-libm-test-in.
8840 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8841 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8842 (libm-test-funcs-noauto): Remove casin and casinh.
8843 * sysdeps/i386/fpu/libm-test-ulps: Update.
8844 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8846
8847 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8848 * math/auto-libm-test-out-cacos: New generated file.
8849 * math/auto-libm-test-out-cacosh: Likewise.
8850 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8851 Move tests with finite inputs to auto-libm-test-in.
8852 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8853 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8854 (libm-test-funcs-noauto): Remove cacos and cacosh.
8855 * sysdeps/i386/fpu/libm-test-ulps: Update.
8856 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8858
8859 Revert:
8860 2017-02-16 Zack Weinberg <zackw@panix.com>
8861
8862 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8863 Don't include init-arch.h.
8864 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8865 Don't include init-arch.h.
8866
8867 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8868
8869 [BZ #21171]
8870 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8871 +Inf and raise divide-by-zero when x is negative.
8872 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8873 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8874 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8875 -Inf and raise divide-by-zero when x = +-0.
8876 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8877 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8878 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8879 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8880 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8881 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8883
8884 2017-02-16 Zack Weinberg <zackw@panix.com>
8885
8886 * scripts/build-many-glibcs.py (bot_build_mail): If the
8887 bot_config does not contain all of the necessary email-
8888 related settings, just print a warning and continue.
8889
8890 2017-02-16 Zack Weinberg <zackw@panix.com>
8891
8892 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8893 * dirent/opendir-tst1.c: Include sys/stat.h.
8894 * dirent/tst-fdopendir.c: Include sys/stat.h.
8895 * dirent/tst-fdopendir2.c: Include stdlib.h.
8896 * dirent/tst-scandir.c: Include stdbool.h.
8897 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8898 * elf/tst-tls15.c: Include stdlib.h.
8899 * elf/tst-tls16.c: Include stdlib.h.
8900 * elf/tst-tls17.c: Include stdlib.h.
8901 * elf/tst-tls18.c: Include stdlib.h.
8902 * iconv/tst-iconv6.c: Include endian.h.
8903 * iconvdata/bug-iconv11.c: Include limits.h.
8904 * io/test-utime.c: Include stdint.h.
8905 * io/tst-faccessat.c: Include sys/stat.h.
8906 * io/tst-fchmodat.c: Include sys/stat.h.
8907 * io/tst-fchownat.c: Include sys/stat.h.
8908 * io/tst-fstatat.c: Include sys/stat.h.
8909 * io/tst-futimesat.c: Include sys/stat.h.
8910 * io/tst-linkat.c: Include sys/stat.h.
8911 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8912 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8913 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8914 * io/tst-openat.c: Include stdbool.h.
8915 * io/tst-readlinkat.c: Include sys/stat.h.
8916 * io/tst-renameat.c: Include sys/stat.h.
8917 * io/tst-symlinkat.c: Include sys/stat.h.
8918 * io/tst-unlinkat.c: Include stdbool.h.
8919 * libio/bug-memstream1.c: Include stdlib.h.
8920 * libio/bug-wmemstream1.c: Include stdlib.h.
8921 * libio/tst-fwrite-error.c: Include stdlib.h.
8922 * libio/tst-memstream1.c: Include stdlib.h.
8923 * libio/tst-memstream2.c: Include stdlib.h.
8924 * libio/tst-memstream3.c: Include stdlib.h.
8925 * malloc/tst-interpose-aux.c: Include stdint.h.
8926 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8927 * nptl/tst-basic7.c: Include limits.h.
8928 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8929 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8930 * nptl/tst-cancel4_1.c: Include stddef.h.
8931 * nptl/tst-cancel4_2.c: Include stddef.h.
8932 * nptl/tst-cond16.c: Include limits.h.
8933 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8934 * nptl/tst-cond18.c: Include limits.h.
8935 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8936 * nptl/tst-cond4.c: Include stdint.h.
8937 * nptl/tst-cond6.c: Include stdint.h.
8938 * nptl/tst-stack2.c: Include limits.h.
8939 * nptl/tst-stackguard1.c: Include stddef.h.
8940 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8941 * nptl/tst-tls4moda.c: Include stddef.h.
8942 Don't include stdio.h, unistd.h, or tls.h.
8943 * nptl/tst-tls4modb.c: Include stddef.h.
8944 Don't include stdio.h, unistd.h, or tls.h.
8945 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8946 * posix/tst-getaddrinfo2.c: Include stdio.h.
8947 * posix/tst-getaddrinfo5.c: Include stdio.h.
8948 * posix/tst-pathconf.c: Include sys/stat.h.
8949 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8950 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8951 * posix/tst-regex.c: Include stdint.h.
8952 Don't include spawn.h or spawn_int.h.
8953 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8954 * posix/tst-vfork3.c: Include sys/stat.h.
8955 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8956 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8957 * resolv/tst-resolv-search.c: Include stdlib.h.
8958 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8959 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8960 * stdlib/test-canon.c: Include sys/stat.h.
8961 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8962 * string/test-memchr.c: Include stdint.h.
8963 * string/tst-cmp.c: Include stdint.h.
8964 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8965 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8966 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8967 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8968 Don't include init-arch.h.
8969 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8970 Don't include init-arch.h.
8971 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8972 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8973 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8974 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8975 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8976 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8977 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8978 * time/clocktest.c: Include stdint.h.
8979 * time/tst-posixtz.c: Include stdint.h.
8980 * timezone/tst-timezone.c: Include stdint.h.
8981
8982 2017-02-16 Zack Weinberg <zackw@panix.com>
8983
8984 * string/string.h [__USE_MISC]: Include strings.h.
8985 (__bzero, bcmp, bcopy, bzero, index, rindex)
8986 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8987 (ffs, ffsl, ffsll): Don't declare.
8988 * string/strings.h: Do not suppress the file if string.h has
8989 already been included.
8990 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8991 annotations.
8992 (index, rindex): Define inline forwarders even if
8993 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8994 (ffs): Use __attribute_const__.
8995 (ffsl, ffsll): Declare here.
8996 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8997 have now been standardized.
8998 * include/string.h (__bzero): Declare here.
8999
9000 * bits/types.h: Move to posix/bits.
9001 * include/bits/types.h: New wrapper.
9002
9003 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9004
9005 * string/bits/string2.h (strcmp): Remove define.
9006 (__strcmp_cg): Likewise.
9007 (strncmp): Likewise.
9008
9009 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9010
9011 * include/string.h: Add __cplusplus check.
9012
9013 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9014
9015 [BZ #21134]
9016 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9017 "divide by zero" exception when the input is zero.
9018 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9019 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9020 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9021 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9022 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9023
9024 2017-02-15 Joseph Myers <joseph@codesourcery.com>
9025
9026 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9027 and include ...
9028 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
9029 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9030 to, and include ...
9031 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
9032 file.
9033 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9034 and include ...
9035 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
9036 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9037 and include ...
9038 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
9039 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9040 and include ...
9041 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
9042 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9043 and include ...
9044 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
9045 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9046 to, and include ...
9047 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
9048 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9049 and include ...
9050 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
9051
9052 2017-02-14 Joseph Myers <joseph@codesourcery.com>
9053
9054 * math/libm-test-support.h: Do not include <math-tests-arch.h>
9055 here.
9056 * math/libm-test-support.c (libm_test_init): Do not call
9057 INIT_ARCH_EXT here.
9058 * math/libm-test-driver.c: Include <math-tests-arch.h>.
9059 (main): Call INIT_ARCH_EXT.
9060
9061 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9062
9063 [BZ #21130]
9064 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9065 with the "invalid" exception raised when x is -Inf.
9066 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9067
9068 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
9069
9070 * string/bits/string2.h (strchr): Remove define.
9071
9072 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9075 tst-avx512.
9076 (test-extras): Add tst-avx-aux and tst-avx512-aux.
9077 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9078 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9079 ($(objpfx)tst-sse): New rule.
9080 ($(objpfx)tst-avx): Likewise.
9081 ($(objpfx)tst-avx512): Likewise.
9082 (CFLAGS-tst-avx-aux.c): New.
9083 (CFLAGS-tst-avxmod.c): Likewise.
9084 (CFLAGS-tst-avx512-aux.c): Likewise.
9085 (CFLAGS-tst-avx512mod.c): Likewise.
9086 * sysdeps/x86_64/tst-avx-aux.c: New file.
9087 * sysdeps/x86_64/tst-avx.c: Likewise.
9088 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9089 * sysdeps/x86_64/tst-avx512.c: Likewise.
9090 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9091 * sysdeps/x86_64/tst-avxmod.c: Likewise.
9092 * sysdeps/x86_64/tst-sse.c: Likewise.
9093 * sysdeps/x86_64/tst-ssemod.c: Likewise.
9094
9095 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9096
9097 * math/auto-libm-test-in: Add more tests of csin and csinh.
9098 * math/auto-libm-test-out-csin: Regenerated.
9099 * math/auto-libm-test-out-csinh: Likewise.
9100 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9101 auto-libm-test-in.
9102 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9103
9104 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9105
9106 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9107 libm-compat-calls-auto.
9108 (libm-compat-calls): Likewise.
9109 (libm-compat-calls-auto): Rename to libm-compat-calls and add
9110 w_lgamma_compatF and k_standardF (merged from the items above).
9111 (libm-routines): Use libm-compat-calls, instead of
9112 libm-compat-calls-auto, with type-foreach.
9113
9114 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9115
9116 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9117 macro.
9118 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9119 (CFLAGS-test-ifloat.c): ... this. Remove
9120 -U__LIBC_INTERNAL_MATH_INLINES.
9121 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9122 (CFLAGS-test-idouble.c): ... this. Remove
9123 -U__LIBC_INTERNAL_MATH_INLINES.
9124 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9125 (CFLAGS-test-ildouble.c): ... this. Remove
9126 -U__LIBC_INTERNAL_MATH_INLINES.
9127
9128 2017-02-08 Joseph Myers <joseph@codesourcery.com>
9129
9130 * math/libm-test-support.c: New file. Content from
9131 math/libm-test-driver.c.
9132 * math/libm-test-support.h: Likewise.
9133 * math/libm-test-support-double.c: New file.
9134 * math/libm-test-support-float.c: Likewise.
9135 * math/libm-test-support-ldouble.c: Likewise.
9136 * math/libm-test-driver.c: Remove main comment and header
9137 includes. Include libm-test-support.h.
9138 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9139 (flag_test_errno): Remove static.
9140 (flag_test_exceptions): Likewise.
9141 (flag_test_finite): Likewise.
9142 (flag_test_inline): Likewise.
9143 (flag_test_mathvec): Likewise.
9144 (test_msg): Likewise.
9145 (NO_EXCEPTION): Remove.
9146 (INVALID_EXCEPTION): Likewise.
9147 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9148 (OVERFLOW_EXCEPTION): Likewise.
9149 (UNDERFLOW_EXCEPTION): Likewise.
9150 (INEXACT_EXCEPTION): Likewise.
9151 (INVALID_EXCEPTION_OK): Likewise.
9152 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9153 (OVERFLOW_EXCEPTION_OK): Likewise.
9154 (UNDERFLOW_EXCEPTION_OK): Likewise.
9155 (NO_INEXACT_EXCEPTION): Likewise.
9156 (EXCEPTIONS_OK): Likewise.
9157 (IGNORE_ZERO_INF_SIGN): Likewise.
9158 (TEST_NAN_SIGN): Likewise.
9159 (TEST_NAN_PAYLOAD): Likewise.
9160 (NO_TEST_INLINE): Likewise.
9161 (XFAIL_TEST): Likewise.
9162 (ERRNO_UNCHANGED): Likewise.
9163 (ERRNO_EDOM): Likewise.
9164 (ERRNO_ERANGE): Likewise.
9165 (IGNORE_RESULT): Likewise.
9166 (NON_FINITE): Likewise.
9167 (TEST_SNAN): Likewise.
9168 (NO_TEST_MATHVEC): Likewise.
9169 (__CONCATX): Likewise.
9170 (TYPE_MIN): Likewise.
9171 (TYPE_TRUE_MIN): Likewise.
9172 (TYPE_MAX): Likewise.
9173 (MIN_EXP): Likewise.
9174 (MAX_EXP): Likewise.
9175 (MANT_DIG): Likewise.
9176 (FSTR_MAX): Likewise.
9177 (ulp_idx): Likewise.
9178 (qtype_str): Remove static.
9179 (TEST_COND_binary32): Remove.
9180 (TEST_COND_binary64): Likewise.
9181 (TEST_COND_binary128): Likewise.
9182 (TEST_COND_ibm128): Likewise.
9183 (TEST_COND_intel96): Likewise.
9184 (TEST_COND_m68k96): Likewise.
9185 (TEST_COND_ibm128_libgcc): Likewise.
9186 (XFAIL_IBM128_LIBGCC): Likewise.
9187 (PAYLOAD_DIG): Likewise.
9188 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9189 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9190 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9191 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9192 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9193 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9194 (TEST_COND_long32): Likewise.
9195 (TEST_COND_long64): Likewise.
9196 (TEST_COND_before_rounding): Likewise.
9197 (TEST_COND_after_rounding): Likewise.
9198 (ulps_file_name): Likewise.
9199 (ulps_file): Likewise.
9200 (output_ulps): Likewise.
9201 (output_dir): Likewise.
9202 (noErrors): Likewise.
9203 (noTests): Likewise.
9204 (noExcTests): Likewise.
9205 (noErrnoTests): Likewise.
9206 (verbose): Likewise.
9207 (output_max_error): Likewise.
9208 (output_points): Likewise.
9209 (ignore_max_ulp): Likewise.
9210 (max_error): Likewise.
9211 (real_max_error): Likewise.
9212 (imag_max_error): Likewise.
9213 (prev_max_error): Likewise.
9214 (prev_real_max_error): Likewise.
9215 (prev_imag_max_error): Likewise.
9216 (max_valid_error): Likewise.
9217 (TYPE_DECIMAL_DIG): Likewise.
9218 (TYPE_HEX_DIG): Likewise.
9219 (fmt_ftostr): Likewise.
9220 (compare_ulp_data): Likewise.
9221 (find_ulps): Likewise.
9222 (init_max_error): Likewise.
9223 (set_max_error): Likewise.
9224 (print_float): Likewise.
9225 (print_screen): Likewise.
9226 (print_screen_max_error): Likewise.
9227 (update_stats): Likewise.
9228 (print_function_ulps): Likewise.
9229 (print_complex_function_ulps): Likewise.
9230 (fpstack_test): Likewise.
9231 (print_max_error): Likewise.
9232 (print_complex_max_error): Likewise.
9233 (test_single_exception): Likewise.
9234 (test_exceptions): Likewise.
9235 (test_single_errno): Likewise.
9236 (test_errno): Likewise.
9237 (ULPDIFF): Likewise.
9238 (ulp): Likewise.
9239 (check_float_internal): Likewise.
9240 (check_float): Likewise.
9241 (check_complex): Likewise.
9242 (check_int): Likewise.
9243 (check_long): Likewise.
9244 (check_bool): Likewise.
9245 (check_longlong): Likewise.
9246 (check_intmax_t): Likewise.
9247 (check_uintmax_t): Likewise.
9248 (enable_test): Likewise.
9249 (matherr): Likewise.
9250 (initialize): Likewise.
9251 (options): Likewise.
9252 (doc): Remove static.
9253 (argp): Likewise.
9254 (parse_opt): Remove.
9255 (check_ulp): Likewise.
9256 (libm_test_init): Likewise.
9257 (libm_test_finish): Likewise.
9258 * math/Makefile (libm-test-support): New variable.
9259 (test-extras): Add libm-test-support files.
9260 (extra-test-objs): Likewise.
9261 (CFLAGS-libm-test-support-float.c): New variable.
9262 (CFLAGS-libm-test-support-double.c): Likewise.
9263 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9264 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9265 libm-test-support objects.
9266
9267 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9268
9269 * math/Makefile (libm-calls): Move w_exp...
9270 (libm-compat-calls-auto): Here.
9271
9272 * math/w_expl.c: Add suffix "_compat" to filename.
9273 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9274 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9275 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9277 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9281
9282 * math/w_expl_compat.c: New file, copied from above.
9283 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9284 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9285 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9287 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9291
9292 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9293 to filename.
9294 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9295
9296 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9297 copied from above and adjusted for the new filenames.
9298 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9299
9300 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9301
9302 * math/Makefile (libm-calls): Move w_lgammaF...
9303 (libm-compat-calls-auto): Here.
9304
9305 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9306 * math/w_lgammaf.c: Likewise.
9307 * math/w_lgammal.c: Likewise.
9308
9309 * math/w_lgamma_compat2.c: New file, copied from above.
9310 * math/w_lgammaf_compat2.c: Likewise.
9311 * math/w_lgammal_compat2.c: Likewise.
9312
9313 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9314
9315 * math/Makefile (libm-calls): Move w_lgammaF_r...
9316 (libm-compat-calls-auto): Here.
9317
9318 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9319 * math/w_lgammaf_r.c: Likewise.
9320 * math/w_lgammal_r.c: Likewise.
9321 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9322 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9323 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9324
9325 * math/w_lgamma_r_compat.c: New file, copied from above.
9326 * math/w_lgammaf_r_compat.c: Likewise.
9327 * math/w_lgammal_r_compat.c: Likewise.
9328 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9329 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9330 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9331
9332 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9333 to filename.
9334 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9335
9336 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9337 copied from above and adjusted for the new filenames.
9338 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9339
9340 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9341
9342 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9343 calculation in SYSCALL_ERROR_HANDLER().
9344
9345 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9346
9347 * manual/contrib.texi: Fix typo.
9348
9349 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9350
9351 [BZ #21109]
9352 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9353 tunable_val_t as argument.
9354 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9355 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9356 argument.
9357 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9358
9359 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9360
9361 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9362 Add PTRACE_EVENT_STOP.
9363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9367 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9368 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9369
9370 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9371
9372 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9373 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9374 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9375 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9376 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9377 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9378 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9379 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9380 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9381 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9382
9383 [BZ #21112]
9384 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9385 12 bits zero.
9386 (cp_l): Update for new value of cp_h.
9387 * math/auto-libm-test-in: Add another test of pow.
9388 * math/auto-libm-test-out-pow: Regenerated.
9389
9390 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9391
9392 * manual/contrib.texi: Fix typo.
9393
9394 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9395
9396 [BZ #15998]
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9398 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9400
9401 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9402
9403 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9404 STRCHR as __strchr_power8.
9405 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9406 strlen as __strlen_power8.
9407
9408 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9409
9410 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9411 unaligned load for shorter strings.
9412 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9413
9414 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9415
9416 * math/libm-test-driver.c (flag_test_errno): New variable.
9417 (flag_test_exceptions): Likewise.
9418 (flag_test_finite): Likewise.
9419 (flag_test_inline): Likewise.
9420 (flag_test_mathvec): Likewise.
9421 (test_msg): Likewise.
9422 (ulp_idx): Likewise.
9423 (qtype_str): Likewise.
9424 (ULP_IDX): Remove macro.
9425 (QTYPE_STR): Likewise.
9426 (find_ulps): Use ulp_idx not ULP_IDX.
9427 (print_function_ulps): Use qtype_str, printed with %s, not
9428 QTYPE_STR, printed with concatentation to format string.
9429 (print_complex_function_ulps): Likewise.
9430 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9431 (test_errno): Use flag_test_errno not TEST_ERRNO.
9432 (enable_test): Use flag_test_inline, flag_test_finite and
9433 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9434 TEST_MATHVEC.
9435 (libm_test_init): New function. Factored out of main.
9436 (libm_test_finish): Likewise.
9437 (main): Call libm_test_init and libm_test_finish and move most
9438 code to those functions.
9439
9440 * math/libm-test-driver.c (STRX): New macro.
9441 (STR): Likewise.
9442 (STR_FLOAT): Likewise.
9443 (STR_VEC_LEN): Likewise.
9444 (TEST_MSG): Likewise. Define here instead of expecting to be
9445 defined by including file.
9446 * math/test-double-finite.c (TEST_MSG): Remove macro.
9447 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9448 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9449 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9450 * math/test-double.c (TEST_MSG): Likewise.
9451 * math/test-float-finite.c (TEST_MSG): Likewise.
9452 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9453 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9454 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9455 * math/test-float.c (TEST_MSG): Likewise.
9456 * math/test-idouble.c (TEST_MSG): Likewise.
9457 * math/test-ifloat.c (TEST_MSG): Likewise.
9458 * math/test-ildouble.c (TEST_MSG): Likewise.
9459 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9460 * math/test-ldouble.c (TEST_MSG): Likewise.
9461
9462 * math/libm-test.inc: Move all tests of individual functions to
9463 libm-test-*.inc and #include libm-test-*.c files.
9464 (acos_test_data): Remove.
9465 (acos_test): Likewise.
9466 (acosh_test_data): Likewise.
9467 (acosh_test): Likewise.
9468 (asin_test_data): Likewise.
9469 (asin_test): Likewise.
9470 (asinh_test_data): Likewise.
9471 (asinh_test): Likewise.
9472 (atan_test_data): Likewise.
9473 (atan_test): Likewise.
9474 (atanh_test_data): Likewise.
9475 (atanh_test): Likewise.
9476 (atan2_test_data): Likewise.
9477 (atan2_test): Likewise.
9478 (cabs_test_data): Likewise.
9479 (cabs_test): Likewise.
9480 (cacos_test_data): Likewise.
9481 (cacos_test): Likewise.
9482 (cacosh_test_data): Likewise.
9483 (cacosh_test): Likewise.
9484 (canonicalize_test_data): Likewise.
9485 (canonicalize_test): Likewise.
9486 (carg_test_data): Likewise.
9487 (carg_test): Likewise.
9488 (casin_test_data): Likewise.
9489 (casin_test): Likewise.
9490 (casinh_test_data): Likewise.
9491 (casinh_test): Likewise.
9492 (catan_test_data): Likewise.
9493 (catan_test): Likewise.
9494 (catanh_test_data): Likewise.
9495 (catanh_test): Likewise.
9496 (cbrt_test_data): Likewise.
9497 (cbrt_test): Likewise.
9498 (ccos_test_data): Likewise.
9499 (ccos_test): Likewise.
9500 (ccosh_test_data): Likewise.
9501 (ccosh_test): Likewise.
9502 (ceil_test_data): Likewise.
9503 (ceil_test): Likewise.
9504 (cexp_test_data): Likewise.
9505 (cexp_test): Likewise.
9506 (cimag_test_data): Likewise.
9507 (cimag_test): Likewise.
9508 (clog_test_data): Likewise.
9509 (clog_test): Likewise.
9510 (clog10_test_data): Likewise.
9511 (clog10_test): Likewise.
9512 (conj_test_data): Likewise.
9513 (conj_test): Likewise.
9514 (copysign_test_data): Likewise.
9515 (copysign_test): Likewise.
9516 (cos_test_data): Likewise.
9517 (cos_test): Likewise.
9518 (cosh_test_data): Likewise.
9519 (cosh_test): Likewise.
9520 (cpow_test_data): Likewise.
9521 (cpow_test): Likewise.
9522 (cproj_test_data): Likewise.
9523 (cproj_test): Likewise.
9524 (creal_test_data): Likewise.
9525 (creal_test): Likewise.
9526 (csin_test_data): Likewise.
9527 (csin_test): Likewise.
9528 (csinh_test_data): Likewise.
9529 (csinh_test): Likewise.
9530 (csqrt_test_data): Likewise.
9531 (csqrt_test): Likewise.
9532 (ctan_test_data): Likewise.
9533 (ctan_test): Likewise.
9534 (ctanh_test_data): Likewise.
9535 (ctanh_test): Likewise.
9536 (erf_test_data): Likewise.
9537 (erf_test): Likewise.
9538 (erfc_test_data): Likewise.
9539 (erfc_test): Likewise.
9540 (exp_test_data): Likewise.
9541 (exp_test): Likewise.
9542 (exp10_test_data): Likewise.
9543 (exp10_test): Likewise.
9544 (pow10_test): Likewise.
9545 (exp2_test_data): Likewise.
9546 (exp2_test): Likewise.
9547 (expm1_test_data): Likewise.
9548 (expm1_test): Likewise.
9549 (fabs_test_data): Likewise.
9550 (fabs_test): Likewise.
9551 (fdim_test_data): Likewise.
9552 (fdim_test): Likewise.
9553 (floor_test_data): Likewise.
9554 (floor_test): Likewise.
9555 (fma_test_data): Likewise.
9556 (fma_test): Likewise.
9557 (fmax_test_data): Likewise.
9558 (fmax_test): Likewise.
9559 (fmaxmag_test_data): Likewise.
9560 (fmaxmag_test): Likewise.
9561 (fmin_test_data): Likewise.
9562 (fmin_test): Likewise.
9563 (fminmag_test_data): Likewise.
9564 (fminmag_test): Likewise.
9565 (fmod_test_data): Likewise.
9566 (fmod_test): Likewise.
9567 (fpclassify_test_data): Likewise.
9568 (fpclassify_test): Likewise.
9569 (frexp_test_data): Likewise.
9570 (frexp_test): Likewise.
9571 (fromfp_test_data): Likewise.
9572 (fromfp_test): Likewise.
9573 (fromfpx_test_data): Likewise.
9574 (fromfpx_test): Likewise.
9575 (getpayload_test_data): Likewise.
9576 (getpayload_test): Likewise.
9577 (hypot_test_data): Likewise.
9578 (hypot_test): Likewise.
9579 (ilogb_test_data): Likewise.
9580 (ilogb_test): Likewise.
9581 (iscanonical_test_data): Likewise.
9582 (iscanonical_test): Likewise.
9583 (iseqsig_test_data): Likewise.
9584 (iseqsig_test): Likewise.
9585 (isfinite_test_data): Likewise.
9586 (isfinite_test): Likewise.
9587 (finite_test): Likewise.
9588 (isgreater_test_data): Likewise.
9589 (isgreater_test): Likewise.
9590 (isgreaterequal_test_data): Likewise.
9591 (isgreaterequal_test): Likewise.
9592 (isinf_test_data): Likewise.
9593 (isinf_test): Likewise.
9594 (isless_test_data): Likewise.
9595 (isless_test): Likewise.
9596 (islessequal_test_data): Likewise.
9597 (islessequal_test): Likewise.
9598 (islessgreater_test_data): Likewise.
9599 (islessgreater_test): Likewise.
9600 (isnan_test_data): Likewise.
9601 (isnan_test): Likewise.
9602 (isnormal_test_data): Likewise.
9603 (isnormal_test): Likewise.
9604 (issignaling_test_data): Likewise.
9605 (issignaling_test): Likewise.
9606 (issubnormal_test_data): Likewise.
9607 (issubnormal_test): Likewise.
9608 (isunordered_test_data): Likewise.
9609 (isunordered_test): Likewise.
9610 (iszero_test_data): Likewise.
9611 (iszero_test): Likewise.
9612 (j0_test_data): Likewise.
9613 (j0_test): Likewise.
9614 (j1_test_data): Likewise.
9615 (j1_test): Likewise.
9616 (jn_test_data): Likewise.
9617 (jn_test): Likewise.
9618 (lgamma_test_data): Likewise.
9619 (lgamma_test): Likewise.
9620 (gamma_test): Likewise.
9621 (llogb_test_data): Likewise.
9622 (llogb_test): Likewise.
9623 (lrint_test_data): Likewise.
9624 (lrint_test): Likewise.
9625 (llrint_test_data): Likewise.
9626 (llrint_test): Likewise.
9627 (log_test_data): Likewise.
9628 (log_test): Likewise.
9629 (log10_test_data): Likewise.
9630 (log10_test): Likewise.
9631 (log1p_test_data): Likewise.
9632 (log1p_test): Likewise.
9633 (log2_test_data): Likewise.
9634 (log2_test): Likewise.
9635 (logb_test_data): Likewise.
9636 (logb_test): Likewise.
9637 (lround_test_data): Likewise.
9638 (lround_test): Likewise.
9639 (llround_test_data): Likewise.
9640 (llround_test): Likewise.
9641 (modf_test_data): Likewise.
9642 (modf_test): Likewise.
9643 (nearbyint_test_data): Likewise.
9644 (nearbyint_test): Likewise.
9645 (nextafter_test_data): Likewise.
9646 (nextafter_test): Likewise.
9647 (nextup_test_data): Likewise.
9648 (nextup_test): Likewise.
9649 (nextdown_test_data): Likewise.
9650 (nextdown_test): Likewise.
9651 (nexttoward_test_data): Likewise.
9652 (nexttoward_test): Likewise.
9653 (pow_test_data): Likewise.
9654 (pow_test): Likewise.
9655 (remainder_test_data): Likewise.
9656 (remainder_test): Likewise.
9657 (drem_test): Likewise.
9658 (remquo_test_data): Likewise.
9659 (remquo_test): Likewise.
9660 (rint_test_data): Likewise.
9661 (rint_test): Likewise.
9662 (round_test_data): Likewise.
9663 (round_test): Likewise.
9664 (roundeven_test_data): Likewise.
9665 (roundeven_test): Likewise.
9666 (scalb_test_data): Likewise.
9667 (scalb_test): Likewise.
9668 (scalbn_test_data): Likewise.
9669 (scalbn_test): Likewise.
9670 (ldexp_test): Likewise.
9671 (scalbln_test_data): Likewise.
9672 (scalbln_test): Likewise.
9673 (setpayload_test_data): Likewise.
9674 (setpayload_test): Likewise.
9675 (setpayloadsig_test_data): Likewise.
9676 (setpayloadsig_test): Likewise.
9677 (signbit_test_data): Likewise.
9678 (signbit_test): Likewise.
9679 (sin_test_data): Likewise.
9680 (sin_test): Likewise.
9681 (sincos_test_data): Likewise.
9682 (sincos_test): Likewise.
9683 (sinh_test_data): Likewise.
9684 (sinh_test): Likewise.
9685 (sqrt_test_data): Likewise.
9686 (sqrt_test): Likewise.
9687 (tan_test_data): Likewise.
9688 (tan_test): Likewise.
9689 (tanh_test_data): Likewise.
9690 (tanh_test): Likewise.
9691 (tgamma_test_data): Likewise.
9692 (tgamma_test): Likewise.
9693 (totalorder_test_data): Likewise.
9694 (totalorder_test): Likewise.
9695 (totalordermag_test_data): Likewise.
9696 (totalordermag_test): Likewise.
9697 (trunc_test_data): Likewise.
9698 (trunc_test): Likewise.
9699 (ufromfp_test_data): Likewise.
9700 (ufromfp_test): Likewise.
9701 (ufromfpx_test_data): Likewise.
9702 (ufromfpx_test): Likewise.
9703 (y0_test_data): Likewise.
9704 (y0_test): Likewise.
9705 (y1_test_data): Likewise.
9706 (y1_test): Likewise.
9707 (yn_test_data): Likewise.
9708 (yn_test): Likewise.
9709 (significand_test_data): Likewise.
9710 (significand_test): Likewise.
9711 * math/Makefile (auto-libm-test-out-files): Remove variable.
9712 (libm-test-funcs-noauto): New variable.
9713 (libm-test-funcs-all): Likewise.
9714 (libm-test-c-auto): Likewise.
9715 (libm-test-c-noauto): Likewise.
9716 (libm-tests-generated): Add $(libm-test-c-auto) and
9717 $(libm-test-c-noauto).
9718 (generated): Do not add auto-libm-test-out.
9719 (libm-test-c-auto-obj): New variable.
9720 (libm-test-c-noauto-obj): Likewise.
9721 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9722 ($(libm-test-c-noauto-obj)): New static pattern rule.
9723 ($(libm-test-c-auto-obj)): Likewise.
9724 (libm-test-incs): New variable.
9725 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9726 and pass it to gen-libm-have-vector-test.sh.
9727 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9728 be passed on command line.
9729 * math/libm-test-acos.inc: New file. Content from
9730 math/libm-test.inc.
9731 * math/libm-test-acosh.inc: Likewise.
9732 * math/libm-test-asin.inc: Likewise.
9733 * math/libm-test-asinh.inc: Likewise.
9734 * math/libm-test-atan.inc: Likewise.
9735 * math/libm-test-atan2.inc: Likewise.
9736 * math/libm-test-atanh.inc: Likewise.
9737 * math/libm-test-cabs.inc: Likewise.
9738 * math/libm-test-cacos.inc: Likewise.
9739 * math/libm-test-cacosh.inc: Likewise.
9740 * math/libm-test-canonicalize.inc: Likewise.
9741 * math/libm-test-carg.inc: Likewise.
9742 * math/libm-test-casin.inc: Likewise.
9743 * math/libm-test-casinh.inc: Likewise.
9744 * math/libm-test-catan.inc: Likewise.
9745 * math/libm-test-catanh.inc: Likewise.
9746 * math/libm-test-cbrt.inc: Likewise.
9747 * math/libm-test-ccos.inc: Likewise.
9748 * math/libm-test-ccosh.inc: Likewise.
9749 * math/libm-test-ceil.inc: Likewise.
9750 * math/libm-test-cexp.inc: Likewise.
9751 * math/libm-test-cimag.inc: Likewise.
9752 * math/libm-test-clog.inc: Likewise.
9753 * math/libm-test-clog10.inc: Likewise.
9754 * math/libm-test-conj.inc: Likewise.
9755 * math/libm-test-copysign.inc: Likewise.
9756 * math/libm-test-cos.inc: Likewise.
9757 * math/libm-test-cosh.inc: Likewise.
9758 * math/libm-test-cpow.inc: Likewise.
9759 * math/libm-test-cproj.inc: Likewise.
9760 * math/libm-test-creal.inc: Likewise.
9761 * math/libm-test-csin.inc: Likewise.
9762 * math/libm-test-csinh.inc: Likewise.
9763 * math/libm-test-csqrt.inc: Likewise.
9764 * math/libm-test-ctan.inc: Likewise.
9765 * math/libm-test-ctanh.inc: Likewise.
9766 * math/libm-test-erf.inc: Likewise.
9767 * math/libm-test-erfc.inc: Likewise.
9768 * math/libm-test-exp.inc: Likewise.
9769 * math/libm-test-exp10.inc: Likewise.
9770 * math/libm-test-exp2.inc: Likewise.
9771 * math/libm-test-expm1.inc: Likewise.
9772 * math/libm-test-fabs.inc: Likewise.
9773 * math/libm-test-fdim.inc: Likewise.
9774 * math/libm-test-floor.inc: Likewise.
9775 * math/libm-test-fma.inc: Likewise.
9776 * math/libm-test-fmax.inc: Likewise.
9777 * math/libm-test-fmaxmag.inc: Likewise.
9778 * math/libm-test-fmin.inc: Likewise.
9779 * math/libm-test-fminmag.inc: Likewise.
9780 * math/libm-test-fmod.inc: Likewise.
9781 * math/libm-test-fpclassify.inc: Likewise.
9782 * math/libm-test-frexp.inc: Likewise.
9783 * math/libm-test-fromfp.inc: Likewise.
9784 * math/libm-test-fromfpx.inc: Likewise.
9785 * math/libm-test-getpayload.inc: Likewise.
9786 * math/libm-test-hypot.inc: Likewise.
9787 * math/libm-test-ilogb.inc: Likewise.
9788 * math/libm-test-iscanonical.inc: Likewise.
9789 * math/libm-test-iseqsig.inc: Likewise.
9790 * math/libm-test-isfinite.inc: Likewise.
9791 * math/libm-test-isgreater.inc: Likewise.
9792 * math/libm-test-isgreaterequal.inc: Likewise.
9793 * math/libm-test-isinf.inc: Likewise.
9794 * math/libm-test-isless.inc: Likewise.
9795 * math/libm-test-islessequal.inc: Likewise.
9796 * math/libm-test-islessgreater.inc: Likewise.
9797 * math/libm-test-isnan.inc: Likewise.
9798 * math/libm-test-isnormal.inc: Likewise.
9799 * math/libm-test-issignaling.inc: Likewise.
9800 * math/libm-test-issubnormal.inc: Likewise.
9801 * math/libm-test-isunordered.inc: Likewise.
9802 * math/libm-test-iszero.inc: Likewise.
9803 * math/libm-test-j0.inc: Likewise.
9804 * math/libm-test-j1.inc: Likewise.
9805 * math/libm-test-jn.inc: Likewise.
9806 * math/libm-test-lgamma.inc: Likewise.
9807 * math/libm-test-llogb.inc: Likewise.
9808 * math/libm-test-llrint.inc: Likewise.
9809 * math/libm-test-llround.inc: Likewise.
9810 * math/libm-test-log.inc: Likewise.
9811 * math/libm-test-log10.inc: Likewise.
9812 * math/libm-test-log1p.inc: Likewise.
9813 * math/libm-test-log2.inc: Likewise.
9814 * math/libm-test-logb.inc: Likewise.
9815 * math/libm-test-lrint.inc: Likewise.
9816 * math/libm-test-lround.inc: Likewise.
9817 * math/libm-test-modf.inc: Likewise.
9818 * math/libm-test-nearbyint.inc: Likewise.
9819 * math/libm-test-nextafter.inc: Likewise.
9820 * math/libm-test-nextdown.inc: Likewise.
9821 * math/libm-test-nexttoward.inc: Likewise.
9822 * math/libm-test-nextup.inc: Likewise.
9823 * math/libm-test-pow.inc: Likewise.
9824 * math/libm-test-remainder.inc: Likewise.
9825 * math/libm-test-remquo.inc: Likewise.
9826 * math/libm-test-rint.inc: Likewise.
9827 * math/libm-test-round.inc: Likewise.
9828 * math/libm-test-roundeven.inc: Likewise.
9829 * math/libm-test-scalb.inc: Likewise.
9830 * math/libm-test-scalbln.inc: Likewise.
9831 * math/libm-test-scalbn.inc: Likewise.
9832 * math/libm-test-setpayload.inc: Likewise.
9833 * math/libm-test-setpayloadsig.inc: Likewise.
9834 * math/libm-test-signbit.inc: Likewise.
9835 * math/libm-test-significand.inc: Likewise.
9836 * math/libm-test-sin.inc: Likewise.
9837 * math/libm-test-sincos.inc: Likewise.
9838 * math/libm-test-sinh.inc: Likewise.
9839 * math/libm-test-sqrt.inc: Likewise.
9840 * math/libm-test-tan.inc: Likewise.
9841 * math/libm-test-tanh.inc: Likewise.
9842 * math/libm-test-tgamma.inc: Likewise.
9843 * math/libm-test-totalorder.inc: Likewise.
9844 * math/libm-test-totalordermag.inc: Likewise.
9845 * math/libm-test-trunc.inc: Likewise.
9846 * math/libm-test-ufromfp.inc: Likewise.
9847 * math/libm-test-ufromfpx.inc: Likewise.
9848 * math/libm-test-y0.inc: Likewise.
9849 * math/libm-test-y1.inc: Likewise.
9850 * math/libm-test-yn.inc: Likewise.
9851 * math/README.libm-test: Update.
9852
9853 * math/gen-auto-libm-tests.c: Update comment about use of program.
9854 (generate_output): Add argument FUNCTION.
9855 (main): Require extra argument. Pass function name to
9856 generate_output.
9857 * math/Makefile (generated): Add auto-libm-test-out.
9858 (libm-test-funcs-auto): New variable.
9859 (auto-libm-test-out-files): New variable.
9860 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9861 Concatenate those files to form $(objpfx)auto-libm-test-out and
9862 use it as input to gen-libm-test.pl.
9863 * math/README.libm-test: Update.
9864 * math/auto-libm-test-out: Remove.
9865 * math/auto-libm-test-out-acos: New generated file.
9866 * math/auto-libm-test-out-acosh: Likewise.
9867 * math/auto-libm-test-out-asin: Likewise.
9868 * math/auto-libm-test-out-asinh: Likewise.
9869 * math/auto-libm-test-out-atan: Likewise.
9870 * math/auto-libm-test-out-atan2: Likewise.
9871 * math/auto-libm-test-out-atanh: Likewise.
9872 * math/auto-libm-test-out-cabs: Likewise.
9873 * math/auto-libm-test-out-carg: Likewise.
9874 * math/auto-libm-test-out-cbrt: Likewise.
9875 * math/auto-libm-test-out-ccos: Likewise.
9876 * math/auto-libm-test-out-ccosh: Likewise.
9877 * math/auto-libm-test-out-cexp: Likewise.
9878 * math/auto-libm-test-out-clog: Likewise.
9879 * math/auto-libm-test-out-clog10: Likewise.
9880 * math/auto-libm-test-out-cos: Likewise.
9881 * math/auto-libm-test-out-cosh: Likewise.
9882 * math/auto-libm-test-out-cpow: Likewise.
9883 * math/auto-libm-test-out-csin: Likewise.
9884 * math/auto-libm-test-out-csinh: Likewise.
9885 * math/auto-libm-test-out-csqrt: Likewise.
9886 * math/auto-libm-test-out-ctan: Likewise.
9887 * math/auto-libm-test-out-ctanh: Likewise.
9888 * math/auto-libm-test-out-erf: Likewise.
9889 * math/auto-libm-test-out-erfc: Likewise.
9890 * math/auto-libm-test-out-exp: Likewise.
9891 * math/auto-libm-test-out-exp10: Likewise.
9892 * math/auto-libm-test-out-exp2: Likewise.
9893 * math/auto-libm-test-out-expm1: Likewise.
9894 * math/auto-libm-test-out-fma: Likewise.
9895 * math/auto-libm-test-out-hypot: Likewise.
9896 * math/auto-libm-test-out-j0: Likewise.
9897 * math/auto-libm-test-out-j1: Likewise.
9898 * math/auto-libm-test-out-jn: Likewise.
9899 * math/auto-libm-test-out-lgamma: Likewise.
9900 * math/auto-libm-test-out-log: Likewise.
9901 * math/auto-libm-test-out-log10: Likewise.
9902 * math/auto-libm-test-out-log1p: Likewise.
9903 * math/auto-libm-test-out-log2: Likewise.
9904 * math/auto-libm-test-out-pow: Likewise.
9905 * math/auto-libm-test-out-sin: Likewise.
9906 * math/auto-libm-test-out-sincos: Likewise.
9907 * math/auto-libm-test-out-sinh: Likewise.
9908 * math/auto-libm-test-out-sqrt: Likewise.
9909 * math/auto-libm-test-out-tan: Likewise.
9910 * math/auto-libm-test-out-tanh: Likewise.
9911 * math/auto-libm-test-out-tgamma: Likewise.
9912 * math/auto-libm-test-out-y0: Likewise.
9913 * math/auto-libm-test-out-y1: Likewise.
9914 * math/auto-libm-test-out-yn: Likewise.
9915
9916 * math/Makefile (generated): Do not include libm-test.stmp.
9917 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9918 on $(objpfx)libm-test.stmp.
9919 ($(objpfx)libm-test.stmp): Remove rule.
9920 ($(objpfx)libm-test-ulps.h): New rule.
9921 ($(objpfx)libm-test.c): Likewise.
9922 ($(objpfx)libm-have-vector-test.h): Likewise.
9923 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9924 individual generated files, not libm-test.stmp.
9925
9926 * math/gen-libm-test.pl ($output_dir): Remove variable.
9927 ($srcdir): Likewise.
9928 ($opt_a): New variable.
9929 ($opt_c): Likewise.
9930 ($opt_C): Likewise.
9931 ($opt_H): Likewise.
9932 (-n): Make option take argument and use it as NewUlps output.
9933 (-a): New option. Use its argument for auto-libm-test-out input.
9934 (-c): New option. Use its argument for libm-test.inc input.
9935 (-C): New option. Use its argument for libm-test.c output.
9936 (-H): New option. Use its argument for libm-test-ulps.h output.
9937 (top level): Only process inputs needed to generate outputs
9938 specified by command-line options. Only generate outputs
9939 specified by command-line options.
9940 * math/README.libm-test: Update example gen-libm-test.pl command.
9941 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9942 commands.
9943 (regen-ulps): Likewise.
9944
9945 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9946
9947 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9948 * include/string.h (index): Remove define.
9949 (rindex): Likewise.
9950 * misc/getttyent.c (__getttyent): Rename index to strchr.
9951 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9952 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9953
9954 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9955
9956 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9957 * math/libm-test.inc: Move all contents, other than tests of
9958 individual functions, to libm-test-driver.c.
9959 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9960 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9961 [!FE_UPWARD] (FE_UPWARD): Likewise.
9962 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9963 (NO_EXCEPTION): Likewise.
9964 (INVALID_EXCEPTION): Likewise.
9965 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9966 (OVERFLOW_EXCEPTION): Likewise.
9967 (UNDERFLOW_EXCEPTION): Likewise.
9968 (INEXACT_EXCEPTION): Likewise.
9969 (INVALID_EXCEPTION_OK): Likewise.
9970 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9971 (OVERFLOW_EXCEPTION_OK): Likewise.
9972 (UNDERFLOW_EXCEPTION_OK): Likewise.
9973 (NO_INEXACT_EXCEPTION): Likewise.
9974 (EXCEPTIONS_OK): Likewise.
9975 (IGNORE_ZERO_INF_SIGN): Likewise.
9976 (TEST_NAN_SIGN): Likewise.
9977 (TEST_NAN_PAYLOAD): Likewise.
9978 (NO_TEST_INLINE): Likewise.
9979 (XFAIL_TEST): Likewise.
9980 (ERRNO_UNCHANGED): Likewise.
9981 (ERRNO_EDOM): Likewise.
9982 (ERRNO_ERANGE): Likewise.
9983 (IGNORE_RESULT): Likewise.
9984 (NON_FINITE): Likewise.
9985 (TEST_SNAN): Likewise.
9986 (NO_TEST_MATHVEC): Likewise.
9987 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9988 (__CONCATX): Likewise.
9989 (TYPE_MIN): Likewise.
9990 (TYPE_TRUE_MIN): Likewise.
9991 (TYPE_MAX): Likewise.
9992 (MIN_EXP): Likewise.
9993 (MAX_EXP): Likewise.
9994 (MANT_DIG): Likewise.
9995 (FSTR_MAX): Likewise.
9996 (ULP_IDX): Likewise.
9997 (QTYPE_STR): Likewise.
9998 (TEST_COND_binary32): Likewise.
9999 (TEST_COND_binary64): Likewise.
10000 (TEST_COND_binary128): Likewise.
10001 (TEST_COND_ibm128): Likewise.
10002 (TEST_COND_intel96): Likewise.
10003 (TEST_COND_m68k96): Likewise.
10004 (TEST_COND_ibm128_libgcc): Likewise.
10005 (XFAIL_IBM128_LIBGCC): Likewise.
10006 (PAYLOAD_DIG): Likewise.
10007 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10008 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10009 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10010 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10011 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10012 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10013 (TEST_COND_long32): Likewise.
10014 (TEST_COND_long64): Likewise.
10015 (TEST_COND_before_rounding): Likewise.
10016 (TEST_COND_after_rounding): Likewise.
10017 (lit_pi_3_m_4_d): Likewise.
10018 (lit_pi_3_m_4_ln10_m_d): Likewise.
10019 (lit_pi_2_ln10_m_d): Likewise.
10020 (lit_pi_4_ln10_m_d): Likewise.
10021 (lit_pi_ln10_d): Likewise.
10022 (lit_pi_2_d): Likewise.
10023 (lit_pi_4_d): Likewise.
10024 (lit_pi): Likewise.
10025 (lit_e): Likewise.
10026 (ulps_file_name): Likewise.
10027 (ulps_file): Likewise.
10028 (output_ulps): Likewise.
10029 (output_dir): Likewise.
10030 (noErrors): Likewise.
10031 (noTests): Likewise.
10032 (noExcTests): Likewise.
10033 (noErrnoTests): Likewise.
10034 (verbose): Likewise.
10035 (output_max_error): Likewise.
10036 (output_points): Likewise.
10037 (ignore_max_ulp): Likewise.
10038 (plus_zero): Likewise.
10039 (minus_zero): Likewise.
10040 (plus_infty): Likewise.
10041 (minus_infty): Likewise.
10042 (qnan_value_pl): Likewise.
10043 (qnan_value): Likewise.
10044 (snan_value_pl): Likewise.
10045 (snan_value): Likewise.
10046 (max_value): Likewise.
10047 (min_value): Likewise.
10048 (min_subnorm_value): Likewise.
10049 (snan_value_ld): Likewise.
10050 (max_error): Likewise.
10051 (real_max_error): Likewise.
10052 (imag_max_error): Likewise.
10053 (prev_max_error): Likewise.
10054 (prev_real_max_error): Likewise.
10055 (prev_imag_max_error): Likewise.
10056 (max_valid_error): Likewise.
10057 (TYPE_DECIMAL_DIG): Likewise.
10058 (TYPE_HEX_DIG): Likewise.
10059 (fmt_ftostr): Likewise.
10060 (compare_ulp_data): Likewise.
10061 (find_ulps): Likewise.
10062 (init_max_error): Likewise.
10063 (set_max_error): Likewise.
10064 (print_float): Likewise.
10065 (print_screen): Likewise.
10066 (print_screen_max_error): Likewise.
10067 (update_stats): Likewise.
10068 (print_function_ulps): Likewise.
10069 (print_complex_function_ulps): Likewise.
10070 (fpstack_test): Likewise.
10071 (print_max_error): Likewise.
10072 (print_complex_max_error): Likewise.
10073 (test_single_exception): Likewise.
10074 (test_exceptions): Likewise.
10075 (test_single_errno): Likewise.
10076 (test_errno): Likewise.
10077 (ULPDIFF): Likewise.
10078 (ulp): Likewise.
10079 (check_float_internal): Likewise.
10080 (check_float): Likewise.
10081 (check_complex): Likewise.
10082 (check_int): Likewise.
10083 (check_long): Likewise.
10084 (check_bool): Likewise.
10085 (check_longlong): Likewise.
10086 (check_intmax_t): Likewise.
10087 (check_uintmax_t): Likewise.
10088 (enable_test): Likewise.
10089 (struct test_f_f_data): Likewise.
10090 (struct test_ff_f_data): Likewise.
10091 (struct test_fj_f_data): Likewise.
10092 (struct test_fi_f_data): Likewise.
10093 (struct test_fl_f_data): Likewise.
10094 (struct test_if_f_data): Likewise.
10095 (struct test_fff_f_data): Likewise.
10096 (struct test_fiu_M_data): Likewise.
10097 (struct test_fiu_U_data): Likewise.
10098 (struct test_c_f_data): Likewise.
10099 (struct test_f_f1_data): Likewise.
10100 (struct test_fF_f1_data): Likewise.
10101 (struct test_ffI_f1_data): Likewise.
10102 (struct test_c_c_data): Likewise.
10103 (struct test_cc_c_data): Likewise.
10104 (struct test_f_i_data): Likewise.
10105 (struct test_ff_i_data): Likewise.
10106 (struct test_f_l_data): Likewise.
10107 (struct test_f_L_data): Likewise.
10108 (struct test_fFF_11_data): Likewise.
10109 (struct test_Ff_b1_data): Likewise.
10110 (IF_ROUND_INIT_): Likewise.
10111 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10115 (ROUND_RESTORE_): Likewise.
10116 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10117 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10118 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10119 (ROUND_RESTORE_FE_UPWARD): Likewise.
10120 (RM_): Likewise.
10121 (RM_FE_DOWNWARD): Likewise.
10122 (RM_FE_TONEAREST): Likewise.
10123 (RM_FE_TOWARDZERO): Likewise.
10124 (RM_FE_UPWARD): Likewise.
10125 (COMMON_TEST_SETUP): Likewise.
10126 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10127 (COMMON_TEST_CLEANUP): Likewise.
10128 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10129 (RUN_TEST_f_f): Likewise.
10130 (RUN_TEST_LOOP_f_f): Likewise.
10131 (RUN_TEST_fp_f): Likewise.
10132 (RUN_TEST_LOOP_fp_f): Likewise.
10133 (RUN_TEST_2_f): Likewise.
10134 (RUN_TEST_LOOP_2_f): Likewise.
10135 (RUN_TEST_ff_f): Likewise.
10136 (RUN_TEST_LOOP_ff_f): Likewise.
10137 (RUN_TEST_LOOP_fj_f): Likewise.
10138 (RUN_TEST_fi_f): Likewise.
10139 (RUN_TEST_LOOP_fi_f): Likewise.
10140 (RUN_TEST_fl_f): Likewise.
10141 (RUN_TEST_LOOP_fl_f): Likewise.
10142 (RUN_TEST_if_f): Likewise.
10143 (RUN_TEST_LOOP_if_f): Likewise.
10144 (RUN_TEST_fff_f): Likewise.
10145 (RUN_TEST_LOOP_fff_f): Likewise.
10146 (RUN_TEST_fiu_M): Likewise.
10147 (RUN_TEST_LOOP_fiu_M): Likewise.
10148 (RUN_TEST_fiu_U): Likewise.
10149 (RUN_TEST_LOOP_fiu_U): Likewise.
10150 (RUN_TEST_c_f): Likewise.
10151 (RUN_TEST_LOOP_c_f): Likewise.
10152 (RUN_TEST_f_f1): Likewise.
10153 (RUN_TEST_LOOP_f_f1): Likewise.
10154 (RUN_TEST_fF_f1): Likewise.
10155 (RUN_TEST_LOOP_fF_f1): Likewise.
10156 (RUN_TEST_fI_f1): Likewise.
10157 (RUN_TEST_LOOP_fI_f1): Likewise.
10158 (RUN_TEST_ffI_f1_mod8): Likewise.
10159 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10160 (RUN_TEST_Ff_b1): Likewise.
10161 (RUN_TEST_LOOP_Ff_b1): Likewise.
10162 (RUN_TEST_Ffp_b1): Likewise.
10163 (RUN_TEST_LOOP_Ffp_b1): Likewise.
10164 (RUN_TEST_c_c): Likewise.
10165 (RUN_TEST_LOOP_c_c): Likewise.
10166 (RUN_TEST_cc_c): Likewise.
10167 (RUN_TEST_LOOP_cc_c): Likewise.
10168 (RUN_TEST_f_i): Likewise.
10169 (RUN_TEST_LOOP_f_i): Likewise.
10170 (RUN_TEST_f_i_tg): Likewise.
10171 (RUN_TEST_LOOP_f_i_tg): Likewise.
10172 (RUN_TEST_ff_b): Likewise.
10173 (RUN_TEST_LOOP_ff_b): Likewise.
10174 (RUN_TEST_ff_i_tg): Likewise.
10175 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10176 (RUN_TEST_f_b): Likewise.
10177 (RUN_TEST_LOOP_f_b): Likewise.
10178 (RUN_TEST_f_b_tg): Likewise.
10179 (RUN_TEST_LOOP_f_b_tg): Likewise.
10180 (RUN_TEST_f_l): Likewise.
10181 (RUN_TEST_LOOP_f_l): Likewise.
10182 (RUN_TEST_f_L): Likewise.
10183 (RUN_TEST_LOOP_f_L): Likewise.
10184 (RUN_TEST_fFF_11): Likewise.
10185 (RUN_TEST_LOOP_fFF_11): Likewise.
10186 (VEC_SUFF): Likewise.
10187 (STR_CONCAT): Likewise.
10188 (STR_CON3): Likewise.
10189 (HAVE_VECTOR): Likewise.
10190 (START): Likewise.
10191 (END): Likewise.
10192 (END_COMPLEX): Likewise.
10193 (ALL_RM_TEST): Likewise.
10194 (matherr): Likewise.
10195 (initialize): Likewise.
10196 (options): Likewise.
10197 (doc): Likewise.
10198 (parse_opt): Likewise.
10199 (argp): Likewise.
10200 (check_ulp): Likewise.
10201 (main): Likewise.
10202 (do_test): New function. Call tests of individual functions
10203 previously called from main.
10204
10205 * math/libm-test.inc: Remove comment listing functions tested and
10206 not tested.
10207
10208 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10209
10210 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10211 (allocate_stack): Remove COLORING_INCREMENT usage.
10212 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10213 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10214
10215 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10216
10217 * manual/libm-err-tab.pl (@all_functions): Change to
10218 %all_functions. Initialize as empty.
10219 (parse_ulps): Add to %all_functions based on functions found in
10220 ulps files. Ignore results for non-default rounding modes and
10221 vector functions.
10222 (print_platforms): Use %all_platforms.
10223 * manual/math.texi (Errors in Math Functions): Document omissions
10224 from the table.
10225
10226 * math/Makefile (before-compile): Remove.
10227
10228 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10229
10230 [BZ #21075]
10231 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10232 unused assignment.
10233 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10234
10235 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10236
10237 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10238 Add __glibc_unlikely hint.
10239
10240 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10241
10242 [BZ #16640]
10243 * sysdeps/i386/i686/strtok.S: Remove file.
10244 * sysdeps/i386/i686/strtok_r.S: Likewise.
10245 * sysdeps/i386/strtok.S: Likewise.
10246 * sysdeps/i386/strtok_r.S: Likewise.
10247 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10248 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10249 * sysdeps/x86_64/strtok.S: Likewise.
10250 * sysdeps/x86_64/strtok_r.S: Likewise.
10251
10252 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10253 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10254 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10255 (__ASSUME_FADVISE64_AS_64_64): Define.
10256 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10257 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10258 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10259 __ALIGNMENT_ARG usage.
10260 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10261 __NR_fadvise64_64 if it is not defined.
10262
10263 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10264
10265 * version.h (RELEASE): Set to "development"
10266 (VERSION): Set to 2.25.90.
10267 * NEWS: Add 2.26 section.
10268
10269 * version.h (RELEASE): Set to "stable"
10270 (VERSION): Set to 2.25.
10271 * include/features.h (__GLIBC_MINOR__): Set to 25.
10272
10273 * manual/contrib.texi: Add more contributors from this release
10274 and past releases.
10275
10276 * NEWS (2.25): Add list of bugs fixed.
10277
10278 * NEWS: Add missing news items.
10279
10280 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10281
10282 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10283 parent if child exited in that manner. Print WEXITSTATUS
10284 instead of the raw status.
10285 (do_test_prep): Rename to do_test.
10286 (do_test): Return the result of run_executable_sgid.
10287 (TEST_FUNCTION_ARGV): Adjust.
10288
10289 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10290 Florian Weimer <fweimer@redhat.com>
10291 Carlos O'Donell <carlos@redhat.com>
10292
10293 [BZ #20915]
10294 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10295 Do not initialize DTV.
10296 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10297
10298 2017-02-03 David S. Miller <davem@davemloft.net>
10299
10300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10309 (libm-sysdep_routines): Update.
10310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10315 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10316 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10317 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10318 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10320 Likewise.
10321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10323 Likewise.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10326 Likewise.
10327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10329 Likewise.
10330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10332 (libm-sysdep_routines): Update.
10333
10334 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10335
10336 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10337 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10338 against unrelocated shared library.
10339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10340
10341 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10342
10343 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10344 * elf/tst-env-setuid-tunables.c
10345 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10346 GLIBC_TUNABLES is removed in a setgid process.
10347
10348 [BZ #21073]
10349 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10350 * elf/dl-tunables.c (tunables_strdup): Remove.
10351 (get_next_env): Also return the previous envp.
10352 (parse_tunables): Erase tunables of category
10353 TUNABLES_SECLEVEL_SXID_ERASE.
10354 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10355 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10356 (__tunables_init)[TUNABLES_FRONTEND ==
10357 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10358 after parsing.
10359 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10360 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10361 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10362 to security_level.
10363 * elf/dl-tunables.list: Add security_level annotations for all
10364 tunables.
10365 * scripts/gen-tunables.awk: Recognize and generate enum values
10366 for security_level.
10367 * elf/tst-env-setuid.c: New test case.
10368 * elf/tst-env-setuid-tunables: new test case.
10369 * elf/Makefile (tests-static): Add them.
10370
10371 2017-02-01 Richard Henderson <rth@twiddle.net>
10372
10373 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10374 adjusting the byte count.
10375
10376 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10377
10378 * conform/Makefile (linknamespace-libs): Define.
10379
10380 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10381 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10382 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10383 operands.
10384
10385 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10386
10387 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10388
10389 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10390
10391 [BZ #21081]
10392 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10393 (L(stosb)): Add VZEROUPPER before ret.
10394
10395 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10396 Alexey Makhalov <amakhalov@vmware.com>
10397 Florian Weimer <fweimer@redhat.com>
10398
10399 [BZ #20116]
10400 * nptl/pthread_create.c: Document concurrency notes.
10401 Enhance thread creation notes.
10402 (create_thread): Use bool *stopped_start.
10403 (START_THREAD_DEFN): Comment ownership of PD.
10404 (__pthread_create_2_1): Add local bool stopped_start and use
10405 that instead of pd->stopped_start where appropriate.
10406 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10407 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10408 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10409 * nptl/tst-create-detached.c: New file.
10410 * nptl/Makefile (tests): Add tst-create-detached.
10411 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10412 Reference the enhanced thread creation notes.
10413 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10414 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10415 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10416 (__pthread_current_priority): Likewise.
10417 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10418 xpthread_attr_init, xpthread_attr_setdetachstate, and
10419 xpthread_attr_setstacksize.
10420 * support/xpthread_attr_destroy.c: New file.
10421 * support/xpthread_attr_init.c: New file.
10422 * support/xpthread_attr_setdetachstate.c: New file.
10423 * support/xpthread_attr_setstacksize.c: New file.
10424 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10425 xpthread_attr_init, xpthread_attr_setdetachstate, and
10426 xpthread_attr_setstacksize.
10427
10428 2017-01-27 Florian Weimer <fweimer@redhat.com>
10429
10430 * nptl/Makefile (tests): Add tst-robust-fork.
10431 * nptl/tst-robust-fork.c: New file.
10432 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10433 xpthread_mutex_consistent, xpthread_mutex_destroy,
10434 xpthread_mutex_init, xpthread_mutexattr_destroy,
10435 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10436 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10437 xpthread_mutexattr_settype.
10438 * support/xmmap.c: New file.
10439 * support/xmunmap.c: Likewise.
10440 * support/xpthread_mutex_consistent.c: Likewise.
10441 * support/xpthread_mutex_destroy.c: Likewise.
10442 * support/xpthread_mutex_init.c: Likewise.
10443 * support/xpthread_mutexattr_destroy.c: Likewise.
10444 * support/xpthread_mutexattr_init.c: Likewise.
10445 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10446 * support/xpthread_mutexattr_setpshared.c: Likewise.
10447 * support/xpthread_mutexattr_setrobust.c: Likewise.
10448 * support/xpthread_mutexattr_settype.c: Likewise.
10449 * support/xthread.h (xpthread_mutexattr_destroy)
10450 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10451 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10452 (xpthread_mutexattr_settype, xpthread_mutex_init)
10453 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10454 * support/xunistd.h (xmmap, xmunmap): Likewise.
10455
10456 2017-01-25 Florian Weimer <fweimer@redhat.com>
10457
10458 * string/Makefile (xtests): Add comment.
10459 (LOCALES): Add en_GB.UTF-8.
10460 (tst-strcoll-overflow.out): Depend on generated locales.
10461 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10462 (SIZE, TIMEOUT): Update comments.
10463 (do_test): Define as static. Fail test if setlocale fails.
10464 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10465 messages.
10466 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10467 TIMEOUT at 300 seconds should be enough to run this test
10468 successfully.
10469
10470 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10471
10472 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10473 /* FALLTHRU */ comments.
10474
10475 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10476
10477 [BZ #21053]
10478 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10479 constants instead of the old R* ones.
10480 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10481 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10482 (NGREG): ... to this, to fit in with other architectures.
10483 (gpregset_t): Use new NGREG macro.
10484 [__USE_GNU]: Remove condition; all architectures other than tile
10485 are unconditional.
10486 (R*): Rename to REG_R*.
10487
10488 2017-01-20 DJ Delorie <dj@redhat.com>
10489
10490 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10491 (tunable_set_val_if_valid_range_signed) ... this, and ...
10492 (tunable_set_val_if_valid_range_unsigned) ... this.
10493 (tunable_initialize): Call the correct one of the above based on type.
10494
10495 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10496
10497 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10498 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10499 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10500 * sysdeps/microblaze/libm-test-ulps: Likewise.
10501 * sysdeps/sh/libm-test-ulps: Likewise.
10502
10503 * math/README.libm-test: Update list of characters for input and
10504 output types.
10505
10506 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10507
10508 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10509 (__lll_unlock_elision): Fix adapt_count decrement.
10510
10511 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10512
10513 * README.pretty-printers (Known issues): Warn about printers not
10514 always covering everything.
10515 * nptl/nptl-printers.py (MutexPrinter): Change output.
10516 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10517
10518 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10519
10520 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10521 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10522 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10523 (__lll_lock_elision): Do not test futex before starting a
10524 transaction. Use __glibc_likely instead of __builtin_expect.
10525 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10526 (__lll_trylock_elision): Do not test futex before starting a
10527 transaction. Use __glibc_likely instead of __builtin_expect.
10528
10529 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10530
10531 * po/Makefile (update-translations): New target.
10532
10533 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10534
10535 [BZ #21061]
10536 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10537
10538 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10539
10540 * elf/dl-tunables (get_next_env): Always advance envp.
10541 * stdlib/tst-empty-env.c: New test case.
10542 * stdlib/Makefile (tests): Use it.
10543
10544 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10545
10546 [BZ #21047]
10547 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10548 name for instruction.
10549 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10550
10551 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10552
10553 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10554 for make install.
10555
10556 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10557
10558 * po/bg.po: Merge from Translation Project.
10559 * po/fr.po: Likewise.
10560 * po/ko.po: Likewise.
10561 * po/nl.po: Likewise.
10562 * po/sv.po: Likewise.
10563
10564 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10565
10566 * manual/install.texi (Tools for Compilation): Update GCC version
10567 known to work to build glibc.
10568 * INSTALL: Regenerated.
10569
10570 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10571
10572 [BZ #21006]
10573 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10574
10575 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10576
10577 [BZ #21045]
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10579 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10580 to __sigprocmask.
10581
10582 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10583
10584 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10585 wrap-around.
10586 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10587
10588 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10589
10590 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10591
10592 * NEWS: Fix typo.
10593
10594 2016-01-13 Torvald Riegel <triegel@redhat.com>
10595
10596 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10597 barriers and comments.
10598 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10599 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10600 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10601
10602 2016-01-13 Torvald Riegel <triegel@redhat.com>
10603
10604 [BZ #19402]
10605 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10606 mutexes.
10607
10608 2016-01-13 Torvald Riegel <triegel@redhat.com>
10609
10610 [BZ #20985]
10611 * nptl/Makefile: Adapt.
10612 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10613 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10614 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10615 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10616 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10617 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10618 lll_robust* functions and adapt.
10619 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10620 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10621 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10622 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10623 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10624 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10625 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10626 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10627 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10628 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10629 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10630 * nptl/lowlevelrobustlock.c: Remove file.
10631 * nptl/lowlevelrobustlock.sym: Likewise.
10632 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10634
10635 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10636
10637 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10638
10639 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10640
10641 * po/cs.po: Merge translations from the Translation Project.
10642 * po/de.po: Likewise.
10643 * po/pl.po: Likewise.
10644 * po/ru.po: Likewise.
10645 * po/tr.po: Likewise.
10646 * po/uk.po: Likewise.
10647 * po/vi.po: Likewise.
10648 * po/zh_CN.po: Likewise.
10649
10650 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10651
10652 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10653
10654 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10655 object.
10656
10657 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10658
10659 [BZ #16458]
10660 * bits/uintn-identity.h: New file.
10661 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10662 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10663 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10664 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10665 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10666 * string/endian.h: Include <bits/uintn-identity.h>.
10667 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10668 __uint16_identity.
10669 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10670 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10671 __uint32_identity.
10672 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10673 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10674 __uint64_identity.
10675 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10676 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10677 __uint16_identity.
10678 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10679 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10680 __uint32_identity.
10681 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10682 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10683 __uint64_identity.
10684 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10685 * string/Makefile (headers): Add bits/uintn-identity.h.
10686 (tests): Add test-endian-types.
10687 * string/test-endian-types.c: New file.
10688 * inet/Makefile (tests): Add test-hnto-types.
10689 * inet/test-hnto-types.c: New file.
10690
10691 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10692
10693 * po/be.po: Update from Translation Project.
10694 * po/bg.po: Likewise.
10695 * po/ca.po: Likewise.
10696 * po/cs.po: Likewise.
10697 * po/da.po: Likewise.
10698 * po/de.po: Likewise.
10699 * po/el.po: Likewise.
10700 * po/eo.po: Likewise.
10701 * po/es.po: Likewise.
10702 * po/fi.po: Likewise.
10703 * po/fr.po: Likewise.
10704 * po/gl.po: Likewise.
10705 * po/hr.po: Likewise.
10706 * po/hu.po: Likewise.
10707 * po/ia.po: Likewise.
10708 * po/id.po: Likewise.
10709 * po/it.po: Likewise.
10710 * po/ja.po: Likewise.
10711 * po/ko.po: Likewise.
10712 * po/lt.po: Likewise.
10713 * po/nb.po: Likewise.
10714 * po/nl.po: Likewise.
10715 * po/pl.po: Likewise.
10716 * po/pt_BR.po: Likewise.
10717 * po/ru.po: Likewise.
10718 * po/rw.po: Likewise.
10719 * po/sk.po: Likewise.
10720 * po/sl.po: Likewise.
10721 * po/sv.po: Likewise.
10722 * po/tr.po: Likewise.
10723 * po/uk.po: Likewise.
10724 * po/vi.po: Likewise.
10725 * po/zh_CN.po: Likewise.
10726 * po/zh_TW.po: Likewise.
10727
10728 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10729
10730 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10731 -Wformat-truncation instead of -Wformat-length.
10732 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10733 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10734 GCC 7.
10735 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10736 (do_test): Ignore -Wformat-truncation for GCC 7.
10737
10738 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10739 buffer used to print long int value.
10740
10741 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10742 one byte. Print it with %ld, cast to long int.
10743
10744 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10745
10746 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10747 (re.fullmatch, subprocess.run): Likewise.
10748
10749 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10750
10751 * po/libc.pot: Regenerate.
10752
10753 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10754
10755 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10756 (min_strlen): Likewise.
10757 (disable_tunable): Likewise.
10758 (maybe_disable_malloc_check): Rename to
10759 maybe_enable_malloc_check.
10760 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10761 if /etc/suid-debug file exists.
10762 (__tunables_init): Update caller.
10763 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10764 secure.
10765
10766 2016-01-10 Torvald Riegel <triegel@redhat.com>
10767
10768 * nptl/DESIGN-rwlock.txt: Remove.
10769 * nptl/lowlevelrwlock.sym: Remove.
10770 * nptl/Makefile: Add new tests.
10771 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10772 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10773 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10774 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10775 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10776 PTHREAD_RWLOCK_FUTEX_USED): New.
10777 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10778 implementation.
10779 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10780 (__pthread_rwlock_rdlock): Adapt.
10781 * nptl/pthread_rwlock_timedrdlock.c
10782 (pthread_rwlock_timedrdlock): Adapt.
10783 * nptl/pthread_rwlock_timedwrlock.c
10784 (pthread_rwlock_timedwrlock): Adapt.
10785 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10786 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10787 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10788 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10789 (__pthread_rwlock_wrlock): Adapt.
10790 * nptl/tst-rwlock10.c: Adapt.
10791 * nptl/tst-rwlock11.c: Adapt.
10792 * nptl/tst-rwlock17.c: New file.
10793 * nptl/tst-rwlock18.c: New file.
10794 * nptl/tst-rwlock19.c: New file.
10795 * nptl/tst-rwlock2b.c: New file.
10796 * nptl/tst-rwlock8.c: Adapt.
10797 * nptl/tst-rwlock9.c: Adapt.
10798 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10799 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10800 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10801 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10802 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10803 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10804 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10805 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10806 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10807 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10808 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10809 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10810 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10811 (pthread_rwlock_t): Adapt.
10812 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10813 (pthread_rwlock_t): Adapt.
10814 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10815 * nptl/nptl-printers.py (): Adapt.
10816 * nptl/nptl_lock_constants.pysym: Adapt.
10817 * nptl/test-rwlock-printers.py: Adapt.
10818 * nptl/test-rwlockattr-printers.c: Adapt.
10819 * nptl/test-rwlockattr-printers.py: Adapt.
10820
10821 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10822
10823 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10824 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10825 (fma_test_data): Likewise.
10826 (hypot_test_data): Likewise.
10827 (log1p_test_data): Likewise.
10828 (modf_test_data): Likewise.
10829 (pow_test_data): Likewise.
10830 (remainder_test_data): Likewise.
10831 (remquo_test_data): Likewise.
10832 (scalb_test_data): Likewise.
10833 (scalbn_test_data): Likewise.
10834 (scalbln_test_data): Likewise.
10835 * math/gen-libm-test.pl (parse_args): Transform
10836 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10837 on the rounding mode.
10838
10839 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10840
10841 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10842 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10843 and those that can underflow to zero.
10844 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10845 add others.
10846 * math/auto-libm-test-out: Regenerated.
10847
10848 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10849 supported.
10850 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10851 modes support if not supported.
10852
10853 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10854 Add libc.so PLT entry.
10855 (__tls_get_addr): Make ld.so PLT entry optional.
10856
10857 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10858
10859 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10860 * string/bits/string3.h: ... here.
10861
10862 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10863
10864 [BZ #21028]
10865 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10866 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10867 if EXCEPTION_TESTS returns false.
10868
10869 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10870
10871 [BZ #20558]
10872 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10873 strings_fortified.h.
10874 [__USE_MISC] (bzero): Likewise.
10875 [__USE_MISC] (explicit_bzero): Likewise.
10876 * string/strings.h: Include strings_fortified.h.
10877 * string/Makefile (headers): Add strings_fortified.h.
10878 * string/bits/strings_fortified.h: New file.
10879 * include/bits/strings_fortified.h: Likewise.
10880
10881 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10882
10883 * elf/tst-tls13.c (TIMEOUT): Remove.
10884 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10885 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10886 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10887 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10888 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10889
10890 [BZ #21026]
10891 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10892 (readahead): New syscall entry.
10893
10894 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10895
10896 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10897 around tests of strncat with large sizes.
10898
10899 * malloc/tst-malloc.c: Include <libc-internal.h>.
10900 (do_test): Disable -Walloc-size-larger-than= around tests of
10901 malloc with negative sizes.
10902 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10903 (do_test): Disable -Walloc-size-larger-than= around tests of
10904 malloc and realloc with negative sizes.
10905 * malloc/tst-realloc.c: Include <libc-internal.h>.
10906 (do_test): Disable -Walloc-size-larger-than= around tests of
10907 realloc with negative sizes.
10908
10909 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10910 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10911 allowed to 16 ulps.
10912 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10913 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10914 * math/auto-libm-test-out: Regenerated.
10915
10916 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10917
10918 * math/Makefile (libm-calls): Move wrappers...
10919 (libm-compat-call-auto): Here.
10920 (libm-routines): Add items in libm-compat-calls-auto.
10921 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10922 the filenames of the wrappers that have been renamed.
10923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10925
10926 * math/w_acos.c: Add _compat suffix to filename.
10927 * math/w_acosf.c: Likewise.
10928 * math/w_acosh.c: Likewise.
10929 * math/w_acoshf.c: Likewise.
10930 * math/w_acoshl.c: Likewise.
10931 * math/w_acosl.c: Likewise.
10932 * math/w_asin.c: Likewise.
10933 * math/w_asinf.c: Likewise.
10934 * math/w_asinl.c: Likewise.
10935 * math/w_atan2.c: Likewise.
10936 * math/w_atan2f.c: Likewise.
10937 * math/w_atan2l.c: Likewise.
10938 * math/w_atanh.c: Likewise.
10939 * math/w_atanhf.c: Likewise.
10940 * math/w_atanhl.c: Likewise.
10941 * math/w_cosh.c: Likewise.
10942 * math/w_coshf.c: Likewise.
10943 * math/w_coshl.c: Likewise.
10944 * math/w_exp10.c: Likewise.
10945 * math/w_exp10f.c: Likewise.
10946 * math/w_exp10l.c: Likewise.
10947 * math/w_exp2.c: Likewise.
10948 * math/w_exp2f.c: Likewise.
10949 * math/w_exp2l.c: Likewise.
10950 * math/w_fmod.c: Likewise.
10951 * math/w_fmodf.c: Likewise.
10952 * math/w_fmodl.c: Likewise.
10953 * math/w_hypot.c: Likewise.
10954 * math/w_hypotf.c: Likewise.
10955 * math/w_hypotl.c: Likewise.
10956 * math/w_j0.c: Likewise.
10957 * math/w_j0f.c: Likewise.
10958 * math/w_j0l.c: Likewise.
10959 * math/w_j1.c: Likewise.
10960 * math/w_j1f.c: Likewise.
10961 * math/w_j1l.c: Likewise.
10962 * math/w_jn.c: Likewise.
10963 * math/w_jnf.c: Likewise.
10964 * math/w_jnl.c: Likewise.
10965 * math/w_log10.c: Likewise.
10966 * math/w_log10f.c: Likewise.
10967 * math/w_log10l.c: Likewise.
10968 * math/w_log2.c: Likewise.
10969 * math/w_log2f.c: Likewise.
10970 * math/w_log2l.c: Likewise.
10971 * math/w_log.c: Likewise.
10972 * math/w_logf.c: Likewise.
10973 * math/w_logl.c: Likewise.
10974 * math/w_pow.c: Likewise.
10975 * math/w_powf.c: Likewise.
10976 * math/w_powl.c: Likewise.
10977 * math/w_remainder.c: Likewise.
10978 * math/w_remainderf.c: Likewise.
10979 * math/w_remainderl.c: Likewise.
10980 * math/w_scalb.c: Likewise.
10981 * math/w_scalbf.c: Likewise.
10982 * math/w_scalbl.c: Likewise.
10983 * math/w_sinh.c: Likewise.
10984 * math/w_sinhf.c: Likewise.
10985 * math/w_sinhl.c: Likewise.
10986 * math/w_sqrt.c: Likewise.
10987 * math/w_sqrtf.c: Likewise.
10988 * math/w_sqrtl.c: Likewise.
10989 * math/w_tgamma.c: Likewise.
10990 * math/w_tgammaf.c: Likewise.
10991 * math/w_tgammal.c: Likewise.
10992
10993 * math/w_acos_compat.c: New file copied from above and
10994 adjusted for new #includes path
10995 * math/w_acosf_compat.c: Likewise.
10996 * math/w_acosh_compat.c: Likewise.
10997 * math/w_acoshf_compat.c: Likewise.
10998 * math/w_acoshl_compat.c: Likewise.
10999 * math/w_acosl_compat.c: Likewise.
11000 * math/w_asin_compat.c: Likewise.
11001 * math/w_asinf_compat.c: Likewise.
11002 * math/w_asinl_compat.c: Likewise.
11003 * math/w_atan2_compat.c: Likewise.
11004 * math/w_atan2f_compat.c: Likewise.
11005 * math/w_atan2l_compat.c: Likewise.
11006 * math/w_atanh_compat.c: Likewise.
11007 * math/w_atanhf_compat.c: Likewise.
11008 * math/w_atanhl_compat.c: Likewise.
11009 * math/w_cosh_compat.c: Likewise.
11010 * math/w_coshf_compat.c: Likewise.
11011 * math/w_coshl_compat.c: Likewise.
11012 * math/w_exp10_compat.c: Likewise.
11013 * math/w_exp10f_compat.c: Likewise.
11014 * math/w_exp10l_compat.c: Likewise.
11015 * math/w_exp2_compat.c: Likewise.
11016 * math/w_exp2f_compat.c: Likewise.
11017 * math/w_exp2l_compat.c: Likewise.
11018 * math/w_fmod_compat.c: Likewise.
11019 * math/w_fmodf_compat.c: Likewise.
11020 * math/w_fmodl_compat.c: Likewise.
11021 * math/w_hypot_compat.c: Likewise.
11022 * math/w_hypotf_compat.c: Likewise.
11023 * math/w_hypotl_compat.c: Likewise.
11024 * math/w_j0_compat.c: Likewise.
11025 * math/w_j0f_compat.c: Likewise.
11026 * math/w_j0l_compat.c: Likewise.
11027 * math/w_j1_compat.c: Likewise.
11028 * math/w_j1f_compat.c: Likewise.
11029 * math/w_j1l_compat.c: Likewise.
11030 * math/w_jn_compat.c: Likewise.
11031 * math/w_jnf_compat.c: Likewise.
11032 * math/w_jnl_compat.c: Likewise.
11033 * math/w_log10_compat.c: Likewise.
11034 * math/w_log10f_compat.c: Likewise.
11035 * math/w_log10l_compat.c: Likewise.
11036 * math/w_log2_compat.c: Likewise.
11037 * math/w_log2f_compat.c: Likewise.
11038 * math/w_log2l_compat.c: Likewise.
11039 * math/w_log_compat.c: Likewise.
11040 * math/w_logf_compat.c: Likewise.
11041 * math/w_logl_compat.c: Likewise.
11042 * math/w_pow_compat.c: Likewise.
11043 * math/w_powf_compat.c: Likewise.
11044 * math/w_powl_compat.c: Likewise.
11045 * math/w_remainder_compat.c: Likewise.
11046 * math/w_remainderf_compat.c: Likewise.
11047 * math/w_remainderl_compat.c: Likewise.
11048 * math/w_scalb_compat.c: Likewise.
11049 * math/w_scalbf_compat.c: Likewise.
11050 * math/w_scalbl_compat.c: Likewise.
11051 * math/w_sinh_compat.c: Likewise.
11052 * math/w_sinhf_compat.c: Likewise.
11053 * math/w_sinhl_compat.c: Likewise.
11054 * math/w_sqrt_compat.c: Likewise.
11055 * math/w_sqrtf_compat.c: Likewise.
11056 * math/w_sqrtl_compat.c: Likewise.
11057 * math/w_tgamma_compat.c: Likewise.
11058 * math/w_tgammaf_compat.c: Likewise.
11059 * math/w_tgammal_compat.c: Likewise.
11060
11061 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11062 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11063 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11064 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11065 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11066 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11067 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11068 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11069 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11070 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11071 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11072 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11073 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11074 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11075 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11076 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11077 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11078 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11079 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11080 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11081 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11082 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11083 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11084 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11085 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11086 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11087 * sysdeps/ia64/fpu/w_log.c: Likewise.
11088 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11089 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11090 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11091 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11092 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11093 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11094 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11095 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11096 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11097 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11098 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11099 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11100 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11101 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11102 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11103 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11104 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11105 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11106 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11107 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11108 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11109 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11110 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11111 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11112 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11113 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11114 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11115 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11116 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11117 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11118 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11119 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11120 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11121 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11124 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11126 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11127 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11128 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11130 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11132 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11133 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11134 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11136 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11138 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11139 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11140 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11141 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11142 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11144 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11145 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11146 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11147 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11148 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11150 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11152 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11154 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11156 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11158 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11160 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11162 Likewise.
11163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11164 Likewise.
11165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11167 Likewise.
11168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11169 Likewise.
11170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11172 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11173 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11174 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11175 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11176 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11185
11186 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11187 and adjusted for new #includes path
11188 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11189 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11190 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11191 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11192 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11193 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11194 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11195 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11196 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11197 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11198 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11199 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11200 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11201 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11202 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11203 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11204 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11205 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11206 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11207 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11208 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11209 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11210 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11211 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11212 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11213 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11214 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11215 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11216 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11217 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11218 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11219 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11220 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11221 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11222 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11223 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11224 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11225 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11226 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11227 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11228 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11229 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11230 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11231 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11232 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11233 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11234 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11235 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11236 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11237 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11238 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11239 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11240 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11241 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11242 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11243 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11244 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11245 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11246 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11247 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11248 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11249 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11250 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11251 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11252 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11253 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11254 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11255 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11256 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11257 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11258 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11259 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11260 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11261 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11262 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11263 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11264 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11265 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11266 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11267 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11268 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11269 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11270 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11271 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11272 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11273 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11274 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11275 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11276 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11277 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11278 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11279 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11280 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11281 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11282 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11283 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11284 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11288 Likewise.
11289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11290 Likewise.
11291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11292 Likewise.
11293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11294 Likewise.
11295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11296 Likewise.
11297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11298 Likewise.
11299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11301 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11302 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11303 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11304 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11306 Likewise.
11307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11308 Likewise.
11309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11310 Likewise.
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11312 Likewise.
11313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11315 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11316 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11317
11318 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11319
11320 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11321 __jmp_buf_internal_tag.
11322
11323 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11324 preserve NaN payload if [__mips_nan2008].
11325 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11326
11327 [BZ #21022]
11328 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11329
11330 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11331
11332 * sysdeps/i386/fpu/libm-test-ulps: Update.
11333
11334 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11335
11336 * sysdeps/ia64/strcat.c: Remove file.
11337 * sysdeps/powerpc/strcat.c: Likewise.
11338 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11339 C implementation.
11340 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11341 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11342
11343 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11344 Steven Munroe <sjmunroe@us.ibm.com>
11345 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11346
11347 [BZ #20822]
11348 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11349 (__lll_lock_elision): Access adapt_count via C11 atomics.
11350 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11351 (__lll_trylock_elision): Likewise.
11352 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11353 (__lll_unlock_elision): Update adapt_count variable inside the
11354 critical section using C11 atomics.
11355
11356 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11357
11358 * math/test-fenvinline.c (do_test): Disable tests of raised
11359 exceptions if !EXCEPTION_TESTS (FLOAT).
11360
11361 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11362
11363 [BZ #19390]
11364 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11365 maximum string size.
11366 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11367 in pointer addition.
11368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11369 Likewise.
11370
11371 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11372
11373 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11374 passed to tst-ldconfig-X.sh.
11375
11376 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11377
11378 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11379
11380 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11381
11382 [BZ #21019]
11383 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11384 New syscall entry.
11385 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11386 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11387 lseek.
11388
11389 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11390 power4 glibc for powerpc-linux-gnu.
11391
11392 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11393
11394 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11395 semctl.
11396
11397 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11398
11399 * math/test-nearbyint-except.c: Include <stdbool.h>.
11400 (any_supported): New variable.
11401 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11402 set any_supported.
11403 (do_test): Return 77 if no floating-point type supported
11404 exceptions.
11405
11406 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11407 condition on [__mips_hard_float].
11408
11409 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11410
11411 [BZ #21014]
11412 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11413 in pointer addition.
11414 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11415
11416 2017-01-02 Torvald Riegel <triegel@redhat.com>
11417
11418 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11419 new condvar.
11420
11421 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11422
11423 * scripts/build-many-glibcs.py (Context.checkout): Default
11424 binutils version to 2.28 branch.
11425
11426 2017-01-01 Florian Weimer <fweimer@redhat.com>
11427
11428 * support/support_format_netent.c (support_format_netent): Work
11429 around alpha struct netent definition difference.
11430
11431 2017-01-01 Florian Weimer <fweimer@redhat.com>
11432
11433 * support/xwrite.c (xwrite): Use %td for pointer difference.
11434
11435 2017-01-01 Florian Weimer <fweimer@redhat.com>
11436
11437 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11438 have-tunables only.
11439 (tests-static): Add tst-malloc-usable-static-tunables for
11440 have-tunables only.
11441
11442 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11443
11444 * scripts/config.guess: Update to version 2017-01-01.
11445 * scripts/config.sub: Update to version 2017-01-01.
11446
11447 * NEWS: Update copyright dates.
11448 * catgets/gencat.c (print_version): Likewise.
11449 * csu/version.c (banner): Likewise.
11450 * debug/catchsegv.sh: Likewise.
11451 * debug/pcprofiledump.c (print_version): Likewise.
11452 * debug/xtrace.sh (do_version): Likewise.
11453 * elf/ldconfig.c (print_version): Likewise.
11454 * elf/ldd.bash.in: Likewise.
11455 * elf/pldd.c (print_version): Likewise.
11456 * elf/sotruss.sh: Likewise.
11457 * elf/sprof.c (print_version): Likewise.
11458 * iconv/iconv_prog.c (print_version): Likewise.
11459 * iconv/iconvconfig.c (print_version): Likewise.
11460 * locale/programs/locale.c (print_version): Likewise.
11461 * locale/programs/localedef.c (print_version): Likewise.
11462 * login/programs/pt_chown.c (print_version): Likewise.
11463 * malloc/memusage.sh (do_version): Likewise.
11464 * malloc/memusagestat.c (print_version): Likewise.
11465 * malloc/mtrace.pl: Likewise.
11466 * manual/libc.texinfo: Likewise.
11467 * nptl/version.c (banner): Likewise.
11468 * nscd/nscd.c (print_version): Likewise.
11469 * nss/getent.c (print_version): Likewise.
11470 * nss/makedb.c (print_version): Likewise.
11471 * posix/getconf.c (main): Likewise.
11472 * scripts/test-installation.pl: Likewise.
11473 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11474
11475 * All files with FSF copyright notices: Update copyright dates
11476 using scripts/update-copyrights.
11477 * intl/plural.c: Regenerated.
11478 * locale/programs/charmap-kw.h: Likewise.
11479 * locale/programs/locfile-kw.h: Likewise.
11480
11481 2016-12-31 Florian Weimer <fweimer@redhat.com>
11482
11483 [BZ #20593]
11484 Update DNS RR type definitions.
11485 * scripts/gen-rrtypes.py: New file.
11486 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11487 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11488 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11489 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11490 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11491 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11492 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11493 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11494 ns_t_ta, ns_t_dlv.
11495 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11496 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11497 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11498 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11499 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11500 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11501 Define.
11502 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11503 entry for ns_t_zxfr.
11504
11505 2016-12-31 Florian Weimer <fweimer@redhat.com>
11506
11507 [BZ #18784]
11508 CVE-2015-5180
11509 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11510 T_UNSPEC. Adjust value.
11511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11512 * resolv/res_query.c (__libc_res_nquery): Likewise.
11513 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11514 QTYPEs.
11515 * resolv/tst-resolv-qtypes.c: New file.
11516 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11517 (tst-resolv-qtypes): Link against libresolv and libpthread.
11518
11519 2016-12-31 Florian Weimer <fweimer@redhat.com>
11520
11521 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11522
11523 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11524
11525 * manual/tunables.texi: New chapter.
11526 * manual/Makefile (chapters): Add it.
11527 * manual/probes.texi (@node): Point to the Tunables chapter.
11528
11529 * Makeconfig (have-tunables): Check for non-negative instead
11530 of positive.
11531 * configure.ac: Add 'valstring' as a valid value for
11532 --enable-tunables.
11533 * configure: Regenerate.
11534 * elf/Makefile (have-tunables): Check for non-negative instead
11535 of positive.
11536 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11537 dl-tunables.c.
11538 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11539 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11540 (tunables_strdup): Likewise.
11541 (disable_tunables): Likewise.
11542 (parse_tunables): Likewise.
11543 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11544 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11545 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11546 (TUNABLES_FRONTEND_yes): New macro, define as
11547 TUNABLES_FRONTEND_valstring by default.
11548 * manual/install.texi: Document new acceptable values for
11549 --enable-tunables.
11550 * INSTALL: Regenerate.
11551
11552 * config.make.in (have-loop-to-function): Define.
11553 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11554 -fno-tree-loop-distribute-patterns.
11555 * elf/dl-tunables.c: Include libc-internals.h.
11556 (GLIBC_TUNABLES): New macro.
11557 (tunables_strdup): New function.
11558 (parse_tunables): New function.
11559 (min_strlen): New function.
11560 (__tunables_init): Use the new functions and macro.
11561 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11562 * malloc/tst-malloc-usable-tunables.c: New test case.
11563 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11564 * malloc/Makefile (tests, tests-static): Add tests.
11565
11566 * manual/install.texi: Add --enable-tunables option.
11567 * INSTALL: Regenerate.
11568 * README.tunables: New file.
11569 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11570 (before-compile): Generate dl-tunable-list.h early.
11571 * config.h.in: Add HAVE_TUNABLES.
11572 * config.make.in: Add have-tunables.
11573 * configure.ac: Add --enable-tunables option.
11574 * configure: Regenerate.
11575 * csu/init-first.c (__libc_init_first): Move
11576 __libc_init_secure earlier...
11577 * csu/init-first.c (LIBC_START_MAIN):... to here.
11578 Include dl-tunables.h, libc-internal.h.
11579 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11580 binaries.
11581 * elf/Makefile (dl-routines): Add dl-tunables.
11582 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11583 namespace.
11584 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11585 only when !HAVE_TUNABLES.
11586 * elf/rtld.c (process_envvars): Likewise.
11587 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11588 (_dl_sysdep_start): Call __tunables_init.
11589 * elf/dl-tunable-types.h: New file.
11590 * elf/dl-tunables.c: New file.
11591 * elf/dl-tunables.h: New file.
11592 * elf/dl-tunables.list: New file.
11593 * malloc/tst-malloc-usable-static.c: New test case.
11594 * malloc/Makefile (tests-static): Add it.
11595 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11596 Define TUNABLE_NAMESPACE.
11597 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11598 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11599 callback functions.
11600 (ptmalloc_init): Set tunable values.
11601 * scripts/gen-tunables.awk: New file.
11602 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11603 (_dl_sysdep_start): Call __tunables_init.
11604
11605 2016-12-31 Florian Weimer <fweimer@redhat.com>
11606
11607 * resolv/resolv.h (RES_BLAST): Deprecate.
11608 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11609 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11610 to RES_BLAST.
11611
11612 2016-12-27 Florian Weimer <fweimer@redhat.com>
11613
11614 [BZ #19582]
11615 Deprecate RES_USE_INET6.
11616 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11617 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11618 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11619 RES_USE_INET6.
11620 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11621 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11622 (_nss_nisplus_gethostbyaddr_r): Likewise.
11623 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11624 of res_use_inet6.
11625 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11626 instead of RES_USE_INET6.
11627 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11628 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11629 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11630 Likewise.
11631 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11632 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11633 Likewise.
11634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11635 (_nss_dns_gethostbyname_r): Likewise.
11636 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11637 alternate RES_USE_INET6 handling.
11638 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11639 instead of RES_USE_INET6.
11640 * resolv/res_init.c (res_setoptions): Likewise.
11641 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11642 * resolv/resolv-internal.h: New file.
11643 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11644 make the deprecation warning non-fatal.
11645 * resolv/README (Using the resolver in multi-threaded code): Drop
11646 reference to RES_USE_INET6.
11647 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11648 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11649
11650 2016-12-31 Florian Weimer <fweimer@redhat.com>
11651
11652 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11653 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11654 tst-resolv-search.
11655 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11656 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11657 with libresolv and libpthread.
11658 * resolv/tst-bug18665.c: New file.
11659 * resolv/tst-bug18665-tcp: Likewise.
11660 * resolv/tst-res_use_inet6: Likewise.
11661 * resolv/tst-resolv-basic: Likewise.
11662 * resolv/tst-resolv-network: Likewise.
11663 * resolv/tst-resolv-search: Likewise.
11664 * support/Makefile (libsupport-routines): Add check_addrinfo,
11665 check_dns_packet, check_hostent, check_netent, resolv_test,
11666 support_format_address_family, support_format_addrinfo,
11667 support_format_dns_packet, support_format_herrno,
11668 support_format_hostent, support_format_netent, support_run_diff,
11669 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11670 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11671 xstrdup, xwrite.
11672 * support/check_addrinfo.c: New file.
11673 * support/check_dns_packet.c: Likewise.
11674 * support/check_hostent.c: Likewise.
11675 * support/check_netent.c: Likewise.
11676 * support/check_nss.h: Likewise.
11677 * support/format_nss.h: Likewise.
11678 * support/resolv_test.c: Likewise.
11679 * support/resolv_test.h: Likewise.
11680 * support/run_diff.h: Likewise.
11681 * support/support_format_address_family.c: Likewise.
11682 * support/support_format_addrinfo.c: Likewise.
11683 * support/support_format_dns_packet.c: Likewise.
11684 * support/support_format_herrno.c: Likewise.
11685 * support/support_format_hostent.c: Likewise.
11686 * support/support_format_netent.c: Likewise.
11687 * support/support_run_diff.c: Likewise.
11688 * support/xaccept.c: Likewise.
11689 * support/xbind.c: Likewise.
11690 * support/xconnect.c: Likewise.
11691 * support/xfclose.c: Likewise.
11692 * support/xfopen.c: Likewise.
11693 * support/xgetsockname.c: Likewise.
11694 * support/xlisten.c: Likewise.
11695 * support/xmemstream.c: Likewise.
11696 * support/xmemstream.h: Likewise.
11697 * support/xpoll.c: Likewise.
11698 * support/xpthread_once.c: Likewise.
11699 * support/xrecvfrom.c: Likewise.
11700 * support/xsendto.c: Likewise.
11701 * support/xsetsockopt.c: Likewise.
11702 * support/xstdio.h: Likewise.
11703 * support/xstrdup.c: Likewise.
11704 * support/support.h (xstrdup): Declare.
11705 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11706 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11707 * support/xthread.h (xpthread_once): Likwise.
11708 * support/xunistd.h (xwrite): Declare.
11709
11710 2016-12-31 Florian Weimer <fweimer@redhat.com>
11711
11712 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11713 (test_verbose): Declare.
11714 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11715 * support/support_test_main.c (default_options): Likewise.
11716 (usage, support_test_main): Handle 'v'.
11717 (test_verbose): Define.
11718 * support/tst-support_record_failure.c (do_test): Use
11719 test_verbose.
11720 * support/tst-support_record_failure-2.sh (different_status): Add
11721 --verbose test.
11722
11723 2016-12-31 Florian Weimer <fweimer@redhat.com>
11724
11725 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11726 test failures are recorded.
11727 * support/check.c (support_print_failure_impl): Call
11728 support_record_failure.
11729 (support_exit_failure_impl): Call support_record_failure if status
11730 indicates failure.
11731 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11732 * support/xasprintf.c (xasprintf): Likewise.
11733 * support/xfork.c (xfork): Likewise.
11734 * support/xpthread_check_return.c (xpthread_check_return):
11735 Likewise.
11736 * support/xsocket.c (xsocket): Likeweise.
11737 * support/xwaitpid.c (xwaitpid): Likewise.
11738 * support/support_record_failure.c (struct test_failures): Adjust
11739 to coding style.
11740 * support/support_test_verify_impl.c (support_test_verify_impl):
11741 Adjust error messages.
11742 * support/tst-support_record_failure-2.sh (different_status):
11743 Adjust error messages.
11744
11745 2016-12-31 Florian Weimer <fweimer@redhat.com>
11746
11747 * support/namespace.h: New file.
11748 * support/support_become_root.c: Likewise.
11749 * support/support_enter_network_namespace.c: Likewise.
11750 * support/tst-support-namespace.c: Likewise.
11751 * support/xsocket.c: Likewise.
11752 * support/xsocket.h: Likewise.
11753 * support/Makefile (libsupport-routines): Add support_become_root,
11754 support_enter_network_namespace, xsocket.
11755 (tests): Add tst-support-namespace.
11756
11757 2016-12-31 Florian Weimer <fweimer@redhat.com>
11758
11759 [BZ #17252]
11760 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11761 __USE_GNU.
11762
11763 2016-12-31 Torvald Riegel <triegel@redhat.com>
11764
11765 [BZ #13165]
11766 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11767 use new algorithm.
11768 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11769 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11770 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11771 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11772 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11773 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11774 __condvar_cleanup_waiting, __condvar_dec_grefs,
11775 __pthread_cond_wait_common): New.
11776 (__condvar_cleanup): Remove.
11777 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11778 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11779 Likewise.
11780 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11781 Likewise.
11782 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11783 * nptl/tst-cond1.c: Add comment.
11784 * nptl/tst-cond20.c (do_test): Adapt.
11785 * nptl/tst-cond22.c (do_test): Likewise.
11786 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11787 structure.
11788 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11789 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11790 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11791 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11792 Likewise.
11793 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11794 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11795 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11796 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11797 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11798 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11799 Likewise.
11800 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11801 Likewise.
11802 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11803 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11804 (COND_CLOCK_BITS): Adapt.
11805 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11806 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11807 __PTHREAD_COND_SHARED_MASK): New.
11808 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11809 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11810 * nptl/nptl_lock_constants.pysym: Adapt.
11811 * nptl/test-cond-printers.py: Adapt.
11812 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11813 cond_compat_check_and_clear): Adapt.
11814 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11815 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11816 (__pthread_cond_timedwait): ... and move here.
11817 * nptl/DESIGN-condvar.txt: Remove file.
11818 * nptl/lowlevelcond.sym: Likewise.
11819 * nptl/pthread_cond_timedwait.c: Likewise.
11820 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11822 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11823 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11824 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11825 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11826 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11827 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11828 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11829 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11830 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11831 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11836
11837 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11838
11839 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11840 (fromfp): New declaration.
11841 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11842 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11843 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11844 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11845 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11846 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11847 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11848 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11849 * math/math.h: Include <bits/types.h>.
11850 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11851 constant and macro.
11852 (FP_INT_DOWNWARD): Likewise.
11853 (FP_INT_TOWARDZERO): Likewise.
11854 (FP_INT_TONEARESTFROMZERO): Likewise.
11855 (FP_INT_TONEAREST): Likewise.
11856 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11857 (fromfpf): Likewise.
11858 (fromfpl): Likewise.
11859 (ufromfp): Likewise.
11860 (ufromfpf): Likewise.
11861 (ufromfpl): Likewise.
11862 (fromfpx): Likewise.
11863 (fromfpxf): Likewise.
11864 (fromfpxl): Likewise.
11865 (ufromfpx): Likewise.
11866 (ufromfpxf): Likewise.
11867 (ufromfpxl): Likewise.
11868 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11869 s_fromfpxF and s_ufromfpxF.
11870 * math/gen-fromfp-tests.py: New file.
11871 * math/gen-fromfp-tests-inputs: Likewise.
11872 * math/libm-test.inc: Include <stdint.h>
11873 (check_intmax_t): New function.
11874 (check_uintmax_t): Likewise.
11875 (struct test_fiu_M_data): New type.
11876 (struct test_fiu_U_data): Likewise.
11877 (RUN_TEST_fiu_M): New macro.
11878 (RUN_TEST_LOOP_fiu_M): Likewise.
11879 (RUN_TEST_fiu_U): Likewise.
11880 (RUN_TEST_LOOP_fiu_U): Likewise.
11881 (fromfp_test_data): New array.
11882 (fromfp_test): New function.
11883 (fromfpx_test_data): New array.
11884 (fromfpx_test): New function.
11885 (ufromfp_test_data): New array.
11886 (ufromfp_test): New function.
11887 (ufromfpx_test_data): New array.
11888 (ufromfpx_test): New function.
11889 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11890 ufromfpx_test.
11891 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11892 characters.
11893 * math/test-tgmath-ret.c: Include <stdint.h>.
11894 (rm): New variable.
11895 (width): Likewise.
11896 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11897 called function.
11898 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11899 CHECK_RET_CONST_TYPE.
11900 (CHECK_RET_CONST_DOUBLE): Likewise.
11901 (CHECK_RET_CONST_LDOUBLE): Likewise.
11902 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11903 macros.
11904 (fromfp): New CHECK_RET_CONST call.
11905 (ufromfp): Likewise.
11906 (fromfpx): Likewise.
11907 (ufromfpx): Likewise.
11908 (do_test): Call check_return_fromfp, check_return_ufromfp,
11909 check_return_fromfpx and check_return_ufromfpx.
11910 * math/test-tgmath.c: Include <stdint.h>
11911 (NCALLS): Increase to 138.
11912 (F(compile_test)): Initialize i. Call fromfp functions.
11913 (F(fromfp)): New function.
11914 (F(fromfpx)): Likewise.
11915 (F(ufromfp)): Likewise.
11916 (F(ufromfpx)): Likewise.
11917 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11918 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11919 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11920 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11921 ufromfpxl.
11922 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11923 ufromfp and ufromfpx.
11924 * math/fromfp.h: New file.
11925 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11926 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11927 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11931 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11932 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11933 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11934 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11947 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11951 ufromfp, fromfpx and ufromfpx.
11952 (CFLAGS-nldbl-fromfp.c): New variable.
11953 (CFLAGS-nldbl-fromfpx.c): Likewise.
11954 (CFLAGS-nldbl-ufromfp.c): Likewise.
11955 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11957 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11958 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11959 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11960 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11961 * sysdeps/nacl/libm.abilist: Update.
11962 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11975 Likewise.
11976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11977 Likewise.
11978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11979 Likewise.
11980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11981 Likewise.
11982 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11988 Likewise.
11989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11990 Likewise.
11991 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11994
11995 2016-12-30 Florian Weimer <fweimer@redhat.com>
11996
11997 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11998 compat-gethnamaddr.
11999 (CPPFLAGS): Remove.
12000 * resolv/gethnamaddr.c: Rename ...
12001 * resolv/compat-gethnamaddr.c: ... to this file.
12002 (_endhtent): Make static.
12003 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
12004 symbol.
12005 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
12006 compat symbol.
12007 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
12008 symbol.
12009 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12010 Turn into compat symbol.
12011 * include/resolv.h (_endhtent): Remove declaration.
12012
12013 2016-12-30 Joseph Myers <joseph@codesourcery.com>
12014
12015 * bits/types.h (__intmax_t): New typedef.
12016 (__uintmax_t): Likewise.
12017 * sysdeps/generic/stdint.h: Include <bits/types.h>.
12018 (intmax_t): Define using __intmax_t.
12019 (uintmax_t): Define using __uintmax_t.
12020
12021 * support/Makefile (tests-special): Make definition conditional on
12022 [$(run-built-tests) = yes].
12023 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12024 on [$(run-built-tests) = yes].
12025
12026 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
12027
12028 * Rules (tests): Add tests-printers-programs to tests to be
12029 built.
12030
12031 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12032
12033 * sysvipc/Makefile (tests): Add test-sysvshm.
12034 * sysvipc/test-sysvshm.c: New file.
12035
12036 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12037 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12038 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12039 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12040 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12041 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12042 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12043 Likewise.
12044 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12045 Likewise.
12046 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12047 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12048 is defined.
12049
12050 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12051 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12052 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12053 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12054 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12055 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12056 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12057 Likewise.
12058 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12059 Likewise.
12060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12061 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12062 defined.
12063
12064 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12065 oldshmctl.
12066 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12067 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12068 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12069 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12070 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12071 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12072 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12073 Likewise.
12074 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12075 Likewise.
12076 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12077 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12078 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12079 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12080 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12081 implementation.
12082 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12083 if it is defined.
12084
12085 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12086 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12087 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12088 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12089 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12090 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12091 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12092 Likewise.
12093 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12094 Likewise.
12095 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12097 Define to __NR_osf_shmat.
12098 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12099 defined.
12100
12101 * sysvipc/Makefile (tests): Add test-sysvsem.
12102 * sysvipc/test-sysvsem.c: New file.
12103
12104 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12105 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12106 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12107 Likewise.
12108 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12109 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12110 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12111 Likewise.
12112 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12113 Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12115 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12116 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12117 add a comment about s390 syscall difference from default one.
12118 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12119 syscall if it is defined.
12120
12121 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12122 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12123 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12124 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12125 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12126 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12127 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12128 Likewise.
12129 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12130 Likewise.
12131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12132 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12133 defined.
12134
12135 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12136 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12137 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12138 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12139 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12140 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12141 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12142 Likewise.
12143 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12144 Likewise.
12145 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12146 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12147 if it is defined.
12148
12149 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12150 oldsemctl.
12151 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12152 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12153 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12154 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12155 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12156 implementation.
12157 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12158 syscall if it is defined.
12159 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12160 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12161 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12162 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12163 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12164 Likewise.
12165 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12166
12167 * sysvipc/Makefile (tests): Add test-sysvmsg.
12168 * sysvipc/test-sysvmsg.c: New file.
12169 * support/check.h (FAIL_UNSUPPORTED): New define.
12170
12171 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12172 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12173 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12174 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12175 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12176 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12177 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12178 Likewise.
12179 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12180 Likewise.
12181 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12182 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12183 define.
12184
12185 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12186 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12187 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12188 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12189 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12190 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12191 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12192 Likewise.
12193 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12194 Likewise.
12195 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12196 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12197 if defined.
12198
12199 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12200 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12201 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12202 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12203 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12204 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12205 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12206 Likewise.
12207 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12208 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12209 Likewise.
12210 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12211 if defined.
12212 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12213
12214 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12215 oldmsgctl.
12216 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12217 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12218 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12219 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12220 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12221 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12222 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12224 Likewise.
12225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12226 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12227 implementation.
12228 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12229 if defined.
12230
12231 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12232 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12233 definition and define its own.
12234 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12235 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12236 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12237 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12238 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12239 definitions to common header.
12240 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12241 operation from ipc_ops.h.
12242
12243 * sysdeps/unix/sysv/linux/kernel-features.h
12244 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12245 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12246 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12247 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12248 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12249 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12250 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12251 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12252 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12253 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12254 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12255 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12256 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12257 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12258 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12259
12260 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12261
12262 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12263 overflow in pointer addition.
12264
12265 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12266
12267 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12268 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12270 (strchr): Add __strchr_power8 to list of strchr functions.
12271 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12272 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12273 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12274 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12275 (strchr): Add __strchr_power8 to ifunc list.
12276 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12277 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12278 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12279 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12280
12281 2016-12-28 Florian Weimer <fweimer@redhat.com>
12282
12283 * support/Makefile (libsupport-routines): Add
12284 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12285 (tests): Add tst-support_record_failure.
12286 (tests-special): tst-support_record_failure-2.
12287 (tst-support_record_failure-2.out): Depend on
12288 tst-support_record_failure-2.sh and tst-support_record_failure.
12289 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12290 (support_test_verify_impl, support_record_failure)
12291 (support_report_failure, support_report_failure_reset): Declare.
12292 * support/support_test_main.c (adjust_exit_status): New function.
12293 (support_test_main): Call it to incorporate record test failures.
12294 * support/support_test_verify_impl.c: New file.
12295 * support/support_record_failure.c: Likewise.
12296 * support/tst-support_record_failure.c: Likewise.
12297 * support/tst-support_record_failure-2.sh: Likewise.
12298 * support/xunistd.h: Likewise.
12299 * support/xfork.c: Likewise.
12300 * support/xwaitpid.c: Likewise.
12301
12302 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12303
12304 * scripts/check-c++-types.sh: Add comments.
12305
12306 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12307
12308 [BZ #19514]
12309 * resolv/res_send.c: Fix typo in comment.
12310 * sysdeps/i386/i386-mcount.S: Likewise.
12311 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12312 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12313 * sysdeps/sparc/sparc-mcount.S: Likewise.
12314
12315 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12316
12317 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12318 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12319 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12320 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12322 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12323 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12324 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12325
12326 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12327
12328 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12329
12330 2016-12-27 Florian Weimer <fweimer@redhat.com>
12331
12332 [BZ #17252]
12333 * posix/unistd.h (getentropy): Declare.
12334
12335 2016-12-27 Florian Weimer <fweimer@redhat.com>
12336
12337 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12338 Remove.
12339 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12340 (cmd): Remove spoof, nospoof, spoofalert.
12341 (parse_line): Ignore spoof-related lines.
12342 (do_init): Do not process RESOLV_SPOOF_CHECK.
12343
12344 2016-12-27 Florian Weimer <fweimer@redhat.com>
12345
12346 [BZ #20964]
12347 sunrpc: Always obtain AF_INET addresses from NSS.
12348 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12349 * sunrpc/rpc_gethostbyname.c: New file.
12350 * sunrpc/Makefile (routines): Add it.
12351 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12352 * sunrpc/clnt_simp.c (callrpc): Likewise.
12353 * sunrpc/getrpcport.c (getrpcport): Likewise.
12354
12355 2016-12-27 Florian Weimer <fweimer@redhat.com>
12356
12357 * sunrpc/rpcinfo.c: Remove.
12358 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12359
12360 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12361
12362 [BZ #19387]
12363 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12364 addition.
12365 * string/test-memchr.c (do_test): Remove alignment limitation.
12366 (test_main): Add test that trigger BZ #19387.
12367
12368 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12369
12370 [BZ #7065]
12371 Enable stack protectore if requested by ./configure.
12372 * Makeconfig (+stack-protector): New variable.
12373 (+cflags): Use it.
12374
12375 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12376
12377 [BZ #7065]
12378 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12380 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12381 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12382 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12383
12384 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12385
12386 [BZ #7065]
12387 * login/Makefile (pt_chown-cflags): Remove.
12388 * nscd/Makefile (CFLAGS-nscd): Likewise.
12389 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12390
12391 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12392
12393 [BZ #7065]
12394 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12395 non-libc-linking testcase.
12396
12397 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12398 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12399 Florian Weimer <fweimer@redhat.com>
12400
12401 [BZ #7065]
12402 PLT avoidance for __stack_chk_fail*.
12403 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12404 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12405 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12406 __stack_chk_fail_local alias.
12407 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12408 (__stack_chk_fail): Turn into hidden reference to
12409 __stack_chk_fail_local.
12410
12411 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12412
12413 [BZ #7065]
12414 * configure.ac: Add check for unsupported stack-protection level.
12415 (libc_cv_predef_stack_protector): Remove.
12416 (no_ssp): New variable.
12417 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12418 (stack_protector): Set to -fno-stack-protector similarly.
12419 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12420 (libc_cv_asm_set_directive): Likewise.
12421 (libc_cv_protected_data): Likewise.
12422 (libc_cv_z_combreloc): Likewise.
12423 (libc_cv_hashstyle): Likewise.
12424 (libc_cv_has_glob_dat): Likewise.
12425 (libc_cv_output_format): Likewise.
12426 (libc_cv_output_format): Likewise.
12427 (libc_cv_ehdr_start): Likewise.
12428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12429 (LIBC_LINKER_FEATURE): Likewise.
12430 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12431
12432 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12433
12434 [BZ #7065]
12435 * elf/Makefile (dummy-stack-chk-fail): New.
12436 (librtld.map): Use it.
12437
12438 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12439
12440 [BZ #7065]
12441 Compile the dynamic linker without stack protection.
12442 * elf/Makefile (elide-stack-protector): New.
12443 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12444 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12445 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12446 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12447
12448 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12449
12450 [BZ #7065]
12451 * config.make.in (have-ssp, no-stack-protector): New.
12452 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12453 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12454 (CFLAGS-sbrk.op): Likewise.
12455 (CFLAGS-brk.o): Likewise.
12456 (CFLAGS-brk.op): Likewise.
12457 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12458 (CFLAGS-wordcopy.c): Likewise.
12459
12460 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12461
12462 [BZ #7065]
12463 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12464 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12465 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12466 (__ifunc_resolver): Use it.
12467 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12468 inhibit_stack_protector.
12469 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12470 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12471 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12472 (foo_protected_ifunc): Likewise.
12473 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12474 (foo_protected_ifunc): Likewise.
12475 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12476 * sysdeps/nacl/nacl_interface_query.c
12477 (nacl_interface_query_ifunc): Likewise.
12478 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12479 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12480 Likewise.
12481 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12482 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12483 the generated vDSO syscall resolver.
12484
12485 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12486 Florian Weimer <fweimer@redhat.com>
12487
12488 [BZ #7065]
12489 Initialize the stack guard earlier when linking statically.
12490 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12491 (__pthread_initialize_minimal): Declare.
12492 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12493 declaration.
12494 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12495 stack canary and apply_irel initialization up. Call
12496 __pthread_initialize_minimal only if linked in.
12497 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12498 constant values.
12499 (__pthread_initialize_minimal): Remove.
12500 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12501 (__pthread_initialize_minimal_internal): Do not call
12502 __libc_setup_tls.
12503
12504 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12505
12506 [BZ #7065]
12507 * configure.ac (libc_cv_ssp): Move up.
12508 (libc_cv_ssp_strong): Likewise.
12509 (libc_cv_ssp_all): New.
12510 (stack_protector): Augment, adding -fstack-protector-all.
12511 (no_stack_protector): New.
12512 (STACK_PROTECTOR_LEVEL): New.
12513 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12514 * manual/install.texi (--enable-stack-protector): Document it.
12515 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12516
12517 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12518
12519 * README.pretty-printers: Must specify CPPFLAGS-* also.
12520 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12521 (CPPFLAGS-test-mutex-printers.c): Define.
12522 (CPPFLAGS-test-condattr-printers.c): Define.
12523 (CPPFLAGS-test-cond-printers.c): Define.
12524 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12525 (CPPFLAGS-test-rwlock-printers.c): Define.
12526
12527 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12528 (tests): Add tst-cancel-getpwuid_r.
12529 * nss/tst-cancel-getpwuid_r.c: New file.
12530
12531 [BZ #11941]
12532 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12533 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12534 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12535 tst-nodelete-dlclose.
12536 (modules-names): Add tst-nodelete-dlclose-dso and
12537 tst-nodelete-dlclose-plugin.
12538 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12539 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12540 ($(objpfx)tst-nodelete-dlclose): Define.
12541 ($(objpfx)tst-nodelete-dlclose.out): Define.
12542
12543 2016-12-23 Florian Weimer <fweimer@redhat.com>
12544
12545 * scripts/test_printers_common.py: Log GDB output in case of
12546 Python detection failure.
12547
12548 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12549
12550 * configure.ac: Check for python3 or python.
12551 * configure: Regenerated.
12552 * config.make.in (PYTHON): New variable.
12553 * benchtests/Makefile: Don't define PYTHON.
12554 (bench): Define target only if PYTHON was defined.
12555 * Rules: Don't define PYTHON.
12556 Define pretty printer targets only if PYTHON was defined.
12557 (tests-printers): Add to tests-unsupported if PYTHON is not
12558 found.
12559 (python-flags, python-invoke): Remove.
12560 (tests-printers-out): Use PYTHON instead of python-invoke.
12561
12562 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12563
12564 [BZ #20978]
12565 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12566 Compare name == NULL, not name != NULL.
12567
12568 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12569 trailing whitespace removed.
12570 * scripts/config.guess: Update to version 2016-10-02.
12571 * scripts/config.sub: Update to version 2016-11-19.
12572 * scripts/install-sh: Update to version 2016-01-11.22.
12573 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12574 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12575
12576 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12577
12578 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12579 (do_one_test) Restore original string so iteration works.
12580 * string/string-inlines.c (do_test): Create better input strings.
12581 (test_main) Reduce number of testruns.
12582 * string/string-inlines.c (__old_strsep_1c): New function.
12583 (__old_strsep_2c): Likewise.
12584 (__old_strsep_3c): Likewise.
12585 * string/strsep.c (__strsep): Remove case of small delim string.
12586 Call strcspn directly rather than strpbrk.
12587 * string/bits/string2.h (__strsep): Remove define.
12588 (__strsep_1c): Remove.
12589 (__strsep_2c): Remove.
12590 (__strsep_3c): Remove.
12591 (strsep): Remove.
12592 * sysdeps/unix/sysv/linux/internal_statvfs.c
12593 (__statvfs_getflags): Rename to __strsep.
12594
12595 2016-12-21 Florian Weimer <fweimer@redhat.com>
12596
12597 * csu/libc-tls.c (_dl_tls_setup): Remove.
12598 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12599 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12600 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12601
12602 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12603
12604 [BZ #7065]
12605 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12606 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12607
12608 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12609 Florian Weimer <fweimer@redhat.com>
12610
12611 [BZ #7065]
12612 * csu/Makefile (tests): Empty assignment and document it.
12613 (tests-static): Remove.
12614 * csu/tst-empty.c: Move to...
12615 * misc/tst-empty.c: ... here. Switch to new test driver.
12616 * csu/tst-atomic.c: Move to...
12617 * misc/tst-atomic.c: ... here. Switch to new test driver.
12618 * csu/tst-atomic-long.c: Move to...
12619 * misc/tst-atomic-long.c: ... here.
12620 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12621 tst-atomic-long.
12622 (tests-static): Add tst-empty.
12623
12624 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12625
12626 * manual/nss.texi: Change incorrect @vtable to @table.
12627 * manual/arith.texi: Convert @tables of variables to @vtables
12628 and remove unnecessary indexing.
12629 * manual/filesys.texi: Likewise.
12630 * manual/llio.texi: Likewise.
12631 * manual/memory.texi: Likewise.
12632 * manual/process.texi: Likewise.
12633 * manual/resource.texi: Likewise.
12634 * manual/search.texi: Likewise.
12635 * manual/signal.texi: Likewise.
12636 * manual/socket.texi: Likewise.
12637 * manual/stdio.texi: Likewise.
12638 * manual/sysinfo.texi: Likewise.
12639 * manual/syslog.texi: Likewise.
12640 * manual/terminal.texi: Likewise.
12641 * manual/time.texi: Likewise.
12642 * manual/users.texi: Likewise.
12643
12644 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12645
12646 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12647 (roundeven): New declaration.
12648 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12649 macro.
12650 * math/Versions (roundeven): New libm symbol at version
12651 GLIBC_2.25.
12652 (roundevenf): Likewise.
12653 (roundevenl): Likewise.
12654 * math/Makefile (libm-calls): Add s_roundevenF.
12655 * math/libm-test.inc (roundeven_test_data): New array.
12656 (roundeven_test): New function.
12657 (main): Call roundeven_test.
12658 * math/test-tgmath.c (NCALLS): Increase to 134.
12659 (F(compile_test)): Call roundeven.
12660 (F(roundeven)): New function.
12661 * manual/arith.texi (Rounding Functions): Document roundeven,
12662 roundevenf and roundevenl.
12663 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12664 * include/math.h (roundeven): Use libm_hidden_proto.
12665 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12666 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12667 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12672 roundeven.
12673 (CFLAGS-nldbl-roundeven.c): New variable.
12674 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12675 * sysdeps/nacl/libm.abilist: Update.
12676 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12689 Likewise.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12691 Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12693 Likewise.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12695 Likewise.
12696 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12702 Likewise.
12703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12704 Likewise.
12705 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12708
12709 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12710
12711 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12712 preprocessor indentation inside #if.
12713
12714 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12715
12716 * math/libm-test.inc (fmt_ftostr): New function.
12717 (print_float, check_float_internal): Replace some uses of
12718 FTOSTR with uses of fmt_ftostr.
12719 (print_max_error, print_complex_max_error, print_function_ulps)
12720 (print_complex_function_ulps): Remove uses of the macros
12721 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12722 * math/test-double.h (FTOSTR): Define to strfromd.
12723 (PRINTF_EXPR): Delete.
12724 (PRINTF_XEXPR): Likewise.
12725 (PRINTF_NEXPR): Likewise.
12726 * math/test-float.h (FTOSTR): Define to strfromf.
12727 (PRINTF_EXPR): Delete.
12728 (PRINTF_XEXPR): Likewise.
12729 (PRINTF_NEXPR): Likewise.
12730 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12731 (PRINTF_EXPR): Delete.
12732 (PRINTF_XEXPR): Likewise.
12733 (PRINTF_NEXPR): Likewise.
12734
12735 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12736
12737 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12738 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12739 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12740 (__lll_lock_elision): Decrement adapt_count while unlocking
12741 instead of before locking.
12742 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12743 (__lll_trylock_elision): Likewise.
12744 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12745 (__lll_unlock_elision): Likewise.
12746
12747 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12748
12749 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12750 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12751 Use __libc_tbegin_retry macro.
12752
12753 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12754
12755 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12756 Add -msoft-float.
12757 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12758 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12759 Use __libc_t* transaction macros instead of __builtin_t*.
12760 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12761 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12762
12763 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12764
12765 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12766 (__lll_lock_elision): Use atomics to load / store adapt_count.
12767 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12768 (__lll_trylock_elision): Likewise.
12769
12770 2016-12-20 Florian Weimer <fweimer@redhat.com>
12771
12772 Do not require memset elimination in explicit_bzero test.
12773 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12774 (enum test_expectation): Add NO_EXPECTATIONS.
12775 (subtests): NO_EXPECTATIONS for ordinary clear.
12776 (check_test_buffer): Handle NO_EXPECTATIONS.
12777 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12778
12779 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12780
12781 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12782 (fmaxmag): New declaration.
12783 (fminmag): Likewise.
12784 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12785 macro.
12786 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12787 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12788 (fmaxmagf): Likewise.
12789 (fmaxmagl): Likewise.
12790 (fminmag): Likewise.
12791 (fminmagf): Likewise.
12792 (fminmagl): Likewise.
12793 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12794 * math/s_fmaxmag_template.c: New file.
12795 * math/s_fminmag_template.c: Likewise.
12796 * math/libm-test.inc (fmaxmag_test_data): New array.
12797 (fmaxmag_test): New function.
12798 (fminmag_test_data): New array.
12799 (fminmag_test): New function.
12800 (main): Call fmaxmag_test and fminmag_test.
12801 * math/test-tgmath.c (NCALLS): Increase to 132.
12802 (F(compile_test)): Call fmaxmag and fminmag.
12803 (F(fminmag)): New function.
12804 (F(fmaxmag)): Likewise.
12805 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12806 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12807 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12808 fminmag.
12809 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12810 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12811 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12814 and fminmag.
12815 (CFLAGS-nldbl-fmaxmag.c): New variable.
12816 (CFLAGS-nldbl-fminmag.c): Likewise.
12817 * sysdeps/nacl/libm.abilist: Update.
12818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12831 Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12833 Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12837 Likewise.
12838 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12844 Likewise.
12845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12846 Likewise.
12847 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12850
12851 2016-12-19 Torvald Riegel <triegel@redhat.com>
12852
12853 [BZ #20973]
12854 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12855 wake-up in robust mutexes.
12856 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12857
12858 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12859
12860 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12861 (CFLAGS-bench-fmaxf.c): New rule.
12862 (CFLAGS-bench-fminf.c): Likewise.
12863 * benchtests/fmaxf-inputs: New file.
12864 * benchtests/fminf-inputs: Likewise.
12865
12866 * benchtests/Makefile (bench-math): Add fmin and fmax.
12867 (CFLAGS-bench-fmax.c): New rule.
12868 (CFLAGS-bench-fmin.c): Likewise.
12869 * benchtests/fmax-inputs: New file.
12870 * benchtests/fmin-inputs: Likewise.
12871
12872 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12873 parenthesis.
12874 (CMDLINE_PROCESS): Define using function instead of macro.
12875 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12876 of test-skeleton.
12877 * benchtests/bench-memchr.c: Likewise.
12878 * benchtests/bench-memcmp.c: Likewise.
12879 * benchtests/bench-memcpy-large.c: Likewise.
12880 * benchtests/bench-memcpy.c: Likewise.
12881 * benchtests/bench-memmem.c: Likewise.
12882 * benchtests/bench-memmove-large.c: Likewise.
12883 * benchtests/bench-memmove.c: Likewise.
12884 * benchtests/bench-memset-large.c: Likewise.
12885 * benchtests/bench-memset.c: Likewise.
12886 * benchtests/bench-rawmemchr.c: Likewise.
12887 * benchtests/bench-strcasecmp.c: Likewise.
12888 * benchtests/bench-strcasestr.c: Likewise.
12889 * benchtests/bench-strcat.c: Likewise.
12890 * benchtests/bench-strchr.c: Likewise.
12891 * benchtests/bench-strcmp.c: Likewise.
12892 * benchtests/bench-strcpy.c: Likewise.
12893 * benchtests/bench-strcpy_chk.c: Likewise.
12894 * benchtests/bench-strlen.c: Likewise.
12895 * benchtests/bench-strncasecmp.c: Likewise.
12896 * benchtests/bench-strncmp.c: Likewise.
12897 * benchtests/bench-strncpy.c: Likewise.
12898 * benchtests/bench-strnlen.c: Likewise.
12899 * benchtests/bench-strpbrk.c: Likewise.
12900 * benchtests/bench-strrchr.c: Likewise.
12901 * benchtests/bench-strsep.c: Likewise.
12902 * benchtests/bench-strspn.c: Likewise.
12903 * benchtests/bench-strstr.c: Likewise.
12904 * benchtests/bench-strtok.c: Likewise.
12905
12906 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12907
12908 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12909 stepping identification.
12910 (init_cpu_features): Add handle of Haswell.
12911
12912 2016-11-25 Jim Meyering <meyering@fb.com>
12913
12914 [BZ #20386]
12915 Let gcc detect assert(a = 1) errors.
12916 * assert/assert.h (assert): Rewrite, retaining the old definintion
12917 when required, but otherwise putting the expression as-is in an "if"
12918 expression (hence, with no added parentheses) within a statement
12919 expression.
12920
12921 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12922
12923 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12924 DSO.
12925
12926 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12927
12928 * Rules (python-flags, python-invoke): New.
12929 ($(test-printers-out)): Use $(python-flags).
12930
12931 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12932
12933 * manual/arith.texi (Math Error Reporting): Document that sNaN
12934 arguments are not considered domain errors.
12935
12936 2016-12-16 Zack Weinberg <zackw@panix.com>
12937 Florian Weimer <fweimer@redhat.com>
12938 Nick Mathewson <nickm@torproject.org>
12939
12940 * string/explicit_bzero.c: New routine.
12941 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12942 * string/Makefile (routines, strop-tests, tests): Add them.
12943 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12944 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12945
12946 * debug/explicit_bzero_chk.c: New routine.
12947 * debug/Makefile (routines): Add it.
12948 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12949 * string/bits/string3.h: Fortify explicit_bzero.
12950
12951 * manual/string.texi: Document explicit_bzero.
12952 * NEWS: Mention addition of explicit_bzero.
12953
12954 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12955 data before returning, using explicit_bzero.
12956 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12957 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12958 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12959
12960 * include/string.h: Redirect internal uses of explicit_bzero
12961 to __explicit_bzero_chk[_internal].
12962 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12963 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12964 * sysdeps/arm/nacl/libc.abilist
12965 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12966 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12967 * sysdeps/unix/sysv/linux/arm/libc.abilist
12968 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12969 * sysdeps/unix/sysv/linux/i386/libc.abilist
12970 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12971 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12972 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12973 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12976 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12977 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12978 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12983 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12984 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12985 * sysdeps/unix/sysv/linux/sh/libc.abilist
12986 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12987 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12990 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12991 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12992 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12993 Add entries for explicit_bzero and __explicit_bzero_chk.
12994
12995 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12996
12997 * math/fenv.h
12998 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12999 (FE_SNANS_ALWAYS_SIGNAL): New macro.
13000 * math/test-fe-snans-always-signal.c: New file.
13001 * math/Makefile (tests): Add test-fe-snans-always-signal.
13002 (CFLAGS-test-fe-snans-always-signal.c): New variable.
13003 * manual/arith.texi (Infinity and NaN): Document
13004 FE_SNANS_ALWAYS_SIGNAL.
13005
13006 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13007
13008 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13009 bracket.
13010
13011 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13012
13013 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13014 before calling execv.
13015
13016 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13017
13018 [BZ #20971]
13019 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13020 overflow in pointer addition.
13021 * string/test-memchr.c (do_test): Add an argument to pass as
13022 the size on memchr.
13023 (test_main): Add check for SIZE_MAX.
13024
13025 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13026
13027 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13028 (libm-calls): Add w_scalblnF.
13029 * math/w_scalbln.c: Remove.
13030 * math/w_scalblnf.c: Likewise.
13031 * math/w_scalblnl.c: Likewise.
13032 * math/w_scalbln_template.c: New file with type-generic
13033 implementation based on math/w_scalbln.c.
13034 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13035 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13036
13037 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13038
13039 [BZ #20947]
13040 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13041 either is a signaling NaN.
13042 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
13043 follow fmaxl more closely.
13044 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13045 when either is a signaling NaN.
13046 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13047 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13048 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13049 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13050 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13051 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13052 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13053 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13054 (fmin_test_data): Likewise.
13055
13056 2016-12-15 Andreas Schwab <schwab@suse.de>
13057
13058 * support/support_test_main.c (support_test_main): Don't shadow
13059 file-local variable test_pid.
13060
13061 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13062
13063 [BZ #20947]
13064 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13065 either is a signaling NaN.
13066 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13067
13068 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13069
13070 [BZ #20947]
13071 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13072 when either is a signaling NaN.
13073 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13074
13075 * bits/long-double.h: New file.
13076 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13077 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13078 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13079 * sysdeps/mips/bits/long-double.h: Likewise.
13080 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13081 * math/Makefile (headers): Add bits/long-double.h.
13082 * misc/sys/cdefs.h: Include <bits/long-double.h>.
13083 * stdlib/strtold.c: Include <bits/long-double.h> instead of
13084 <bits/wordsize.h>.
13085 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13086 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13087 * math/math.h: Do not include <bits/mathdef.h>.
13088 * sysdeps/aarch64/bits/mathdef.h: Remove file.
13089 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13090 inclusion.
13091 * sysdeps/ia64/bits/mathdef.h: Remove file.
13092 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13093 * sysdeps/mips/bits/mathdef.h: Likewise.
13094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13095 * sysdeps/s390/bits/mathdef.h: Likewise.
13096 * sysdeps/sparc/bits/mathdef.h: Likewise.
13097 * sysdeps/x86/bits/mathdef.h: Likewise.
13098 * sysdeps/s390/s390-32/bits/wordsize.h
13099 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13100 conditional code.
13101 * sysdeps/s390/s390-64/bits/wordsize.h
13102 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13103 Likewise.
13104 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13105 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13106 Likewise.
13107 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13108 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13109 Likewise.
13110 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13111 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13112 Likewise.
13113
13114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13115 <linux/falloc.h>.
13116 (FALLOC_FL_KEEP_SIZE): Remove.
13117 (FALLOC_FL_PUNCH_HOLE): Likewise.
13118 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13119 (FALLOC_FL_ZERO_RANGE): Likewise.
13120
13121 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13122
13123 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13124
13125 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13126
13127 * sysdeps/unix/sysv/linux/renameat.c: New file.
13128 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13129
13130 * sysdeps/unix/sysv/linux/rename.c: New file.
13131 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13132
13133 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13134
13135 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13136 * string/strtok.c (strtok): Change to tailcall __strtok_r.
13137 * string/strtok_r.c (__strtok_r): Optimize for performance.
13138 * string/string-inlines.c (__old_strtok_r_1c): New function.
13139 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13140
13141 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13142
13143 * math/Makefile (gen-libm-calls): Add w_log1pF.
13144 (libm-calls): Remove w_log1pF.
13145 * math/w_log1p.c: Remove.
13146 * math/w_log1pf.c: Likewise.
13147 * math/w_log1pl.c: Likewise.
13148 * math/w_log1p_template.c: New file with type-generic
13149 implementation based on math/w_log1p.c.
13150 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13151 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13152
13153 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13154
13155 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13156
13157 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13158
13159 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13160 kernel version to 4.9.
13161
13162 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
13163
13164 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13165 ($(inst_libdir)/libm.a): Fix rule to create the target only.
13166
13167 2016-12-13 Andreas Schwab <schwab@suse.de>
13168
13169 * sysdeps/powerpc/dl-procinfo.c: Don't define
13170 _dl_powerpc_platforms.
13171 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13172 constants instead of referencing _dl_powerpc_platforms.
13173 (_dl_platform_string): Remove.
13174
13175 2016-12-13 Florian Weimer <fweimer@redhat.com>
13176
13177 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13178
13179 2016-12-13 Florian Weimer <fweimer@redhat.com>
13180
13181 * Rules (binaries-shared-tests, binaries-pie-tests)
13182 (binaries-static-tests): Link with $(link-extra-libs-tests).
13183 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13184 Remove $(link-extra-libs-tests).
13185
13186 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13187
13188 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13189 (sysdep_routines): Add strncmp_power9.
13190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13191 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13192 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13193 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13194 (strncmp): Add __strncmp_power9 to ifunc list.
13195 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13196
13197 2016-12-12 Florian Weimer <fweimer@redhat.com>
13198
13199 [BZ #17252]
13200 Add getentropy, getrandom.
13201 * stdlib/sys/random.h: New file.
13202 (headers): Add it.
13203 * stdlib/Makefile (routines): Add getentropy, getrandom.
13204 (tests): Add tst-getrandom.
13205 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13206 * stdlib/getentropy.c: New file.
13207 * stdlib/getrandom.c: Likewise.
13208 * stdlib/tst-getrandom.c: Likewise.
13209 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13210 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13211 * manual/crypt.texi (Unpredictable Bytes): New section.
13212 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13213 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13214 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13229 Likewise.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13231 Likewise.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13236 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13244
13245 2016-12-10 Florian Weimer <fweimer@redhat.com>
13246
13247 [BZ #20956]
13248 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13249 as additional compiler barriers.
13250 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13251 (fn2, do_test): Declare with external linkage.
13252 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13253 (do_test): Declare with external linkage.
13254 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13255 (do_test): Declare with external linkage.
13256 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13257 (do_test): Declare with external linkage.
13258
13259 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13260
13261 * support/support_test_main.c (support_test_main): Use correct
13262 timeout.
13263
13264 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13265 Florian Weimer <fweimer@redhat.com>
13266
13267 [BZ #16421]
13268 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13269 and __u6_addr32 members.
13270 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13271 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13272 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13273 Use __u6_addr32.
13274 * inet/tst-checks.c: Use <support/test-driver.c>
13275 * inet/tst-checks-posix.c: New file.
13276 * inet/Makefile (tests): Add it.
13277 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13278
13279 2016-12-09 Florian Weimer <fweimer@redhat.com>
13280
13281 New subdirectory support for build and test infrastructure.
13282 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13283 setting install-lib.
13284 * Makeconfig (link-extra-libs-tests): Define.
13285 (+link-pie-tests, +link-static-tests, +link-tests): Use
13286 link-extra-libs-tests.
13287 (rpath-dirs, all-subdirs): Add support.
13288 (built-modules): Add libsupport.
13289 (libsupport): Define.
13290 * support: New directory.
13291 * support/Makefile: New file.
13292 * support/check.c: Likewise.
13293 * support/check.h: Likewise.
13294 * support/delayed_exit.c: Likewise.
13295 * support/ignore_stderr.c: Likewise.
13296 * support/oom_error.c: Likewise.
13297 * support/set_fortify_handler.c: Likewise.
13298 * support/support.h: Likewise.
13299 * support/temp_file-internal.h: Likewise.
13300 * support/temp_file.c: Likewise.
13301 * support/test-driver.c: Likewise.
13302 * support/test-driver.h: Likewise.
13303 * support/test_main.c: Likewise.
13304 * support/write_message.c: Likewise.
13305 * support/xasprintf.c: Likewise.
13306 * support/xcalloc.c: Likewise.
13307 * support/xmalloc.c: Likewise.
13308 * support/xpthread_barrier_destroy.c: Likewise.
13309 * support/xpthread_barrier_init.c: Likewise.
13310 * support/xpthread_barrier_wait.c: Likewise.
13311 * support/xpthread_cancel.c: Likewise.
13312 * support/xpthread_check_return.c: Likewise.
13313 * support/xpthread_cond_wait.c: Likewise.
13314 * support/xpthread_create.c: Likewise.
13315 * support/xpthread_detach.c: Likewise.
13316 * support/xpthread_join.c: Likewise.
13317 * support/xpthread_mutex_lock.c: Likewise.
13318 * support/xpthread_mutex_unlock.c: Likewise.
13319 * support/xpthread_sigmask.c: Likewise.
13320 * support/xpthread_spin_lock.c: Likewise.
13321 * support/xpthread_spin_unlock.c: Likewise.
13322 * support/xrealloc.c: Likewise.
13323 * support/xsignal.h: Likewise.
13324 * support/xthread.h: Likewise.
13325 * support_tempfile.h: Likewise.
13326 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13327 (TEST_DATA_LIMIT): Remove unused macro.
13328 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13329 <support/check.h>.
13330 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13331 (ignore_stderr, set_fortify_handler): Remove. Now in
13332 <support/support.h>.
13333 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13334 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13335 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13336 (xpthread_join): Remove. Now in <support/xthread.h>.
13337 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13338 Introduce legacy wrappers.
13339 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13340 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13341 (write_message): Remove.
13342 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13343 test-skeleton.c.
13344 * io/test-open-tmpfile: Likewise.
13345 * io/tst-posix_fallocate-common.c: Likewise.
13346 * libio/tst-fseek.c: Likewise.
13347 * malloc/tst-malloc-backtrace.c: Likewise.
13348 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13349 * malloc/tst-malloc-thread-exit.c: Likewise.
13350 * nptl/tst-cancel7.c: Likewise.
13351 * nptl/tst-cleanup0.c: Likewise.
13352 * posix/tst-posix_fadvise-common.c: Likewise.
13353 * rt/tst-shm.c: Likewise.
13354 * time/bug-getdate1.c: Likewise.
13355 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13356 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13357 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13358
13359 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13360
13361 * Rules [$(run-built-tests) != no] (tests-expected): Add
13362 $(tests-printers).
13363 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13364
13365 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13366
13367 [BZ #20539]
13368 * math/Makefile (install-lib-ldscripts): Add libm.a.
13369 (install_subdir): Remove.
13370 (install-others): Add.
13371 ($(inst_libdir)/libm.a): Add rule for installation as
13372 linker script.
13373 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13374
13375 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13376
13377 * INSTALL: Regenerated.
13378 * Makeconfig: Add comments and whitespace to make the control flow
13379 clearer.
13380 (+link-printers-tests, +link-pie-printers-tests,
13381 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13382 built-rtld-LDFLAGS, link-libc-rpath,
13383 link-libc-tests-after-rpath-link,
13384 link-libc-printers-tests): New.
13385 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13386 link-libc-tests): Use the new variables as required.
13387 * Makerules ($(py-const)): New rule.
13388 generated: Add $(py-const).
13389 * README.pretty-printers: New file.
13390 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13391 (others): Depend on $(py-const).
13392 (tests): Depend on $(tests-printers-programs) or
13393 $(tests-printers-out),
13394 as required. Pass $(tests-printers) to merge-test-results.sh.
13395 * manual/install.texi: Add requirements for testing the pretty
13396 printers.
13397 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13398 tests-printers, CFLAGS-test-mutexattr-printers.c
13399 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13400 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13401 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13402 * nptl/nptl-printers.py: New file.
13403 * nptl/nptl_lock_constants.pysym: Likewise.
13404 * nptl/test-cond-printers.c: Likewise.
13405 * nptl/test-cond-printers.py: Likewise.
13406 * nptl/test-condattr-printers.c: Likewise.
13407 * nptl/test-condattr-printers.py: Likewise.
13408 * nptl/test-mutex-printers.c: Likewise.
13409 * nptl/test-mutex-printers.py: Likewise.
13410 * nptl/test-mutexattr-printers.c: Likewise.
13411 * nptl/test-mutexattr-printers.py: Likewise.
13412 * nptl/test-rwlock-printers.c: Likewise.
13413 * nptl/test-rwlock-printers.py: Likewise.
13414 * nptl/test-rwlockattr-printers.c: Likewise.
13415 * nptl/test-rwlockattr-printers.py: Likewise.
13416 * scripts/gen-py-const.awk: Likewise.
13417 * scripts/test_printers_common.py: Likewise.
13418 * scripts/test_printers_exceptions.py: Likewise.
13419
13420 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13421
13422 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13423 argument.
13424 (Glibc.build_glibc): Strip installed shared libraries if
13425 requested.
13426 (get_parser): Add --strip option.
13427 (main): Update Context call.
13428
13429 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13430 Dominik Vogt <vogt@linux.vnet.ibm.com>
13431
13432 [BZ #20847]
13433 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13434 array bounds for else branch.
13435 (__execvpe): Style fixes.
13436 * posix/tst-vfork3.c (run_script): New function.
13437 (create_script): Likewise.
13438 (do_test): Use run_script internal function.
13439 (do_prepare): Use create_script internal function.
13440
13441 2016-12-07 Andreas Schwab <schwab@suse.de>
13442
13443 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13444 (__elision_available): Don't declare.
13445 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13446 (__elision_available): Don't define.
13447 (elision_init): Don't set __elision_available.
13448
13449 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13450
13451 [BZ #20940]
13452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13453 return Inf for arguments Inf and sNaN.
13454 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13455 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13456 Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13458 Likewise.
13459 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13460 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13461 for arguments Inf and sNaN. When returning a NaN, compute it by
13462 arithmetic on the arguments.
13463 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13464 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13465 arguments.
13466
13467 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13468
13469 [BZ #20916]
13470 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13471 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13472 to compute result.
13473 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13474 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13475
13476 2016-12-05 Torvald Riegel <triegel@redhat.com>
13477
13478 * include/atomic.h (__atomic_check_size_ls): New.
13479 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13480 atomic_store_release): Use it.
13481 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13482 (elision_adapt, ELIDE_LOCK): Use atomics.
13483 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13484 atomics and improve code comments.
13485 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13486 (__lll_trylock_elision): Likewise.
13487
13488 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13489
13490 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13491 programs.
13492
13493 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #20916]
13496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13497 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13498 arguments to compute result.
13499 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13500 1 for arguments (sNaN, 0) or (1, sNaN).
13501 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13503
13504 [BZ #20919]
13505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13506 NaN first argument when raised to power 0.
13507 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13508 raising to power zero.
13509 * math/w_powf.c (__powf): Likewise.
13510 * math/w_powl.c (__powl): Likewise.
13511 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13512 pow (0, 0) or pow (NaN, 0).
13513
13514 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13515
13516 [BZ #20918]
13517 * configure.ac: Test for static NSS cryptographic libraries and set
13518 libc_cv_static_nss_crypt.
13519 * configure: Regenerate.
13520 * config.make.in (static-nss-crypt): Define.
13521 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13522 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13523 (CFLAGS-tst-linkall-static.c): Define.
13524 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13525 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13526 ($(objpfx)tst-linkall-static): Define.
13527 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13528 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13529
13530 2016-12-02 Florian Weimer <fweimer@redhat.com>
13531
13532 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13533 (one-hundred, tst-tls-many-dynamic-modules): Define.
13534 (modules-names): Add $(tst-tls-many-dynamic-modules).
13535 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13536 macros.
13537 (tst-tls-manydynamic): Link against libdl, libpthread.
13538 (tst-tls-manydynamic.out): The test needs the test modules at run
13539 time.
13540 * elf/tst-tls-manydynamic.c: New file.
13541 * elf/tst-tls-manydynamic.h: Likewise.
13542 * elf/tst-tls-manydynamicmod.c: Likewise.
13543
13544 2016-12-02 Florian Weimer <fweimer@redhat.com>
13545
13546 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13547 (TLS_DTV_UNALLOCATED): Add.
13548 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13549 offsets.
13550
13551 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13552
13553 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13554
13555 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13556
13557 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13558 Add -fno-optimize-sibling-calls.
13559
13560 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13561
13562 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13563 New declaration.
13564 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13565 macro.
13566 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13567 New macro.
13568 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13569 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13570 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13571 (llogbf): Likewise.
13572 (llogbl): Likewise.
13573 * math/Makefile (gen-libm-calls): Add w_llogbF.
13574 (tests): Add test-fp-llogb-constants.
13575 * math/w_llogb_template.c: New file. Based on
13576 math/w_ilogb_template.c.
13577 * math/libm-test.inc (llogb_test_data): New array.
13578 (llogb_test): New function.
13579 (main): Call llogb_test.
13580 * math/test-fp-llogb-constants.c: New file. Based on
13581 math/test-fp-ilogb-constants.c.
13582 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13583 (do_test): Call check_return_llogb.
13584 * math/test-tgmath.c (NCALLS): Increase to 126.
13585 (F(compile_test)): Call llogb.
13586 (F(llogb)): New function.
13587 * manual/math.texi (Exponents and Logarithms): Document llogb,
13588 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13589 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13590 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13591 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13593 (CFLAGS-nldbl-llogb.c): New variable.
13594 * sysdeps/nacl/libm.abilist: Update.
13595 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13597 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13598 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13599 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13600 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13601 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13602 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13603 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13604 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13605 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13606 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13608 Likewise.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13610 Likewise.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13612 Likewise.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13614 Likewise.
13615 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13618 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13619 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13621 Likewise.
13622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13623 Likewise.
13624 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13627
13628 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13629
13630 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13631 _Float128 instead of long double.
13632 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13633
13634 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13635 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13636 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13637 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13638 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13639 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13640 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13641 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13642 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13643 Likewise.
13644
13645 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13646
13647 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13648 Remove redirection to __strrchr_ppc.
13649
13650 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13651
13652 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13653 (sysdep_routines): Add strcmp_power9.
13654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13655 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13656 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13657 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13658 (strcmp): Add __strcmp_power9 to ifunc list.
13659 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13660
13661 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13662
13663 * bits/fp-logb.h: New file.
13664 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13665 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13666 * sysdeps/x86/bits/fp-logb.h: Likewise.
13667 * math/Makefile (headers): Add bits/fp-logb.h.
13668 * math/math.h: Include <bits/fp-logb.h>.
13669 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13670 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13671 * bits/mathdef.h (FP_ILOGB0): Remove.
13672 (FP_ILOGBNAN): Likewise.
13673 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13674 (FP_ILOGBNAN): Likewise.
13675 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13676 (FP_ILOGBNAN): Likewise.
13677 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13678 (FP_ILOGBNAN): Likewise.
13679 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13680 (FP_ILOGBNAN): Likewise.
13681 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13682 (FP_ILOGBNAN): Likewise.
13683 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13684 (FP_ILOGBNAN): Likewise.
13685 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13686 (FP_ILOGBNAN): Likewise.
13687 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13688 (FP_ILOGBNAN): Likewise.
13689 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13690 (FP_ILOGBNAN): Likewise.
13691
13692 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13693 time module.
13694 (Context.__init__): Initialize self.logsdir_old.
13695 (Context.run_builds): Handle bot action.
13696 (Context.bot_cycle): Copy logs directory before running builds.
13697 (Context.bot_run_self): Take argument for whether to check
13698 subprocess result. Flush stdout before running subprocess.
13699 (Context.bot): New function.
13700 (get_parser): Allow bot action.
13701
13702 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13703
13704 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13705 Import email.mime.text, email.utils and smtplib modules.
13706 (Context.__init__): Initialize self.bot_config_json.
13707 (Context.run_builds): Handle bot-cycle action.
13708 (Context.load_bot_config_json): New function.
13709 (Context.part_build_old): Likewise.
13710 (Context.bot_cycle): Likewise.
13711 (Context.bot_build_mail): Likewise.
13712 (Context.bot_run_self): Likewise.
13713 (get_parser): Allow bot-cycle action.
13714
13715 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13716
13717 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13718 Remove redirection to __stpcpy_ppc.
13719
13720 2016-11-30 Florian Weimer <fweimer@redhat.com>
13721
13722 Remove __libc_memalign from ld.so because it is unused.
13723 * elf/dl-minimal.c: Update comment on the malloc implementation.
13724 (malloc): Renamed from __libc_memalign, replacing the original
13725 malloc implementation. Replace the align parameter with
13726 MALLOC_ALIGNMENT.
13727 * elf/Versions (ld): Update comment and remove __libc_memalign.
13728 * sysdeps/nacl/ld.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13755 * sysdeps/generic/localplt.data (ld.so): Likewise.
13756 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13757 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13758 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13759 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13760 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13761 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13762 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13763 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13764 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13766 (ld.so): Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13768 (ld.so): Likewise.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13770 Likewise.
13771 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13772 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13773 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13774 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13775 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13776
13777 2016-11-30 Florian Weimer <fweimer@redhat.com>
13778
13779 [BZ #16628]
13780 Implement _dl_catch_error, _dl_signal_error in libc.so.
13781 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13782 (catch_hook): Define as thread-local or regular variable,
13783 depending on DL_ERROR_BOOTSTRAP.
13784 (CATCH_HOOK): Remove.
13785 (dl_signal_error, _dl_catch_error): Use
13786 catch_hook. Add hidden definition for libc.
13787 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13788 for DL_ERROR_BOOTSTRAP only.
13789 * elf/dl-error.c: New file.
13790 * elf/dl-error-minimal.c: Likewise.
13791 * elf/tst-latepthread.c: Likewise.
13792 * elf/tst-latepthreadmod.c: Likewise.
13793 * elf/Makefile (routines): Add dl-error.
13794 (dl-routines): Remove dl-error.
13795 (rtld-routines): Add dl-error-minimal.
13796 [build-shared] (tests): Add tst-latepthread.
13797 (module-names): Add tst-latepthreadmod.
13798 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13799 symbol.
13800 (tst-latepthreadmod.so): Link against libpthread.
13801 (tst-latepthread): Link against libdbl.
13802 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13803 _dl_catch_error.
13804 [ld] (GLIBC_PRIVATE): Likewise.
13805 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13806 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13807 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13808 directly.
13809 * elf/dl-tsd.c: Remove file.
13810 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13811 _dl_catch_error, _dl_signal_error.
13812 (_dl_initial_error_catch_tsd): Remove definition.
13813 (do_preload): Remove initialization of dl_error_catch_tsd.
13814 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13815 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13816 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13817 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13818 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13819 set dl_error_catch_tsd.
13820 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13821 _dl_error_catch_tsd member.
13822 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13823 members.
13824 (_dl_initial_error_catch_tsd): Remove declaration.
13825 (_dl_dprintf): Provide definition for use outside of ld.so.
13826 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13827 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13828 prototype for libc.
13829 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13830 _dl_catch_error.
13831 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13832 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13833 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13834 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13835 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13836 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13837 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13838 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13839 Likewise.
13840 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13842 (ld.so): Likewise.
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13844 (ld.so): Likewise.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13846 Likewise.
13847 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13848 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13849 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13850 Likewise.
13851 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13852 Likewise.
13853 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13854
13855 2016-11-30 Florian Weimer <fweimer@redhat.com>
13856
13857 [BZ #4099]
13858 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13859 _IO_BUFSIZ (8192).
13860
13861 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13862
13863 * PROJECTS: Remove file.
13864
13865 2016-11-29 Florian Weimer <fweimer@redhat.com>
13866
13867 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13868
13869 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13870 Steve Ellcey <sellcey@caviumnetworks.com>
13871
13872 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13873 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13874 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13875 fxstatat.
13876 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13877 lxstat.
13878 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13879 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13880 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13881 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13882 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13883 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13884 __xstat.
13885
13886 2016-11-29 Florian Weimer <fweimer@redhat.com>
13887
13888 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13889 Define.
13890 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13891 definition.
13892
13893 2016-11-29 Florian Weimer <fweimer@redhat.com>
13894
13895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13896 version and turn into strong alias. Remove compat symbol.
13897
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13899 (__longjmp): Remove.
13900
13901 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13902
13903 * bits/fp-fast.h: New file.
13904 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13905 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13906 * math/Makefile (headers): Add bits/fp-fast.h.
13907 * math/math.h: Include <bits/fp-fast.h>.
13908 * bits/mathdef.h (FP_FAST_FMA): Remove.
13909 (FP_FAST_FMAF): Likewise.
13910 (FP_FAST_FMAL): Likewise.
13911 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13912 (FP_FAST_FMAF): Likewise.
13913 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13914 (FP_FAST_FMAF): Likewise.
13915 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13916 (FP_FAST_FMAF): Likewise.
13917 (FP_FAST_FMAL): Likewise.
13918 * sysdeps/arm/bits/mathdef.h: Remove file.
13919 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13920 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13921 * sysdeps/tile/bits/mathdef.h: Likewise.
13922
13923 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13924
13925 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13926 * math/w_ilogb.c: Remove.
13927 * math/w_ilogbf.c: Likewise.
13928 * math/w_ilogbl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13930 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13931 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13932 (libm-calls): Remove w_ilogbF.
13933 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13934 (LDOUBLE_ilogbl_libm_version): New macro.
13935
13936 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13937
13938 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13939 [!__STRICT_ANSI__ && !__cplusplus].
13940
13941 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13942
13943 [BZ #20750]
13944 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13945 of PIC.
13946
13947 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13948 Yury Norov <ynorov@caviumnetworks.com>
13949 Steve Ellcey <sellcey@caviumnetworks.com>
13950
13951 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13952 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13953 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13954 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13955 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13956 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13957 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13958 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13959 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13960 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13961 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13962 to get correct reg name for ILP32.
13963 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13964 (RELA_SIZE): New Macro.
13965 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13966 to support ILP32.
13967 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13968 cast for ILP32 mode.
13969 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13970 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13971 * sysdeps/aarch64/memset.S (__memset): Ditto.
13972 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13973 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13974 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13975 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13976 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13977 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13978 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13979 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13980 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13981 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13982 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13983 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13984 change PTR_MANGLE call to use register numbers instead of names.
13985 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13986 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13987 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13988 * sysdeps/aarch64/start.S (_start): Ditto.
13989 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13990 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13991 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13992 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13993 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13994 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13995 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13996 Make defined values dependent on __ILP32__.
13997 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13998 (sem_t): Change __align type.
13999 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14000 PTR_SIZE): New Macros.
14001 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14002 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14003 Set when in ILP32 mode.
14004 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14005 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14006 Set elf flags for ILP32.
14007 (add_system_dir): Set ILP32 library directories.
14008 * sysdeps/unix/sysv/linux/aarch64/init-first.c
14009 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14010 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14011 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14012 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14013 New Macros.
14014 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14015
14016 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
14017
14018 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14019 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14020 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14021
14022 2016-11-28 Joseph Myers <joseph@codesourcery.com>
14023
14024 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14025 <asm/cachectl.h>.
14026
14027 2016-11-27 Zack Weinberg <zackw@panix.com>
14028
14029 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14030 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14031
14032 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14033
14034 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14035 error_t to fix usage in C++ programs.
14036
14037 2016-11-26 Joseph Myers <joseph@codesourcery.com>
14038
14039 * scripts/build-many-glibcs.py: Import datetime module.
14040 (Context.__init__): Load JSON build state. Initialize list of
14041 status logs.
14042 (Context.run_builds): Update saved build state.
14043 (Context.add_makefile_cmdlist): Update list of status logs.
14044 (Context.load_build_state_json): New function.
14045 (Context.store_build_state_json): Likewise.
14046 (Context.clear_last_build_state): Likewise.
14047 (Context.update_build_state): Likewise.
14048 (CommandList.status_logs): Likewise.
14049
14050 2016-11-25 Joseph Myers <joseph@codesourcery.com>
14051
14052 * scripts/build-many-glibcs.py (Context.__init__): Save text of
14053 script being executed.
14054 (Context.get_script_text): New function.
14055 (Context.exec_self): Likewise.
14056 (Context.checkout): Re-exec script if changed by checkout process.
14057
14058 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14059
14060 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14061 (setpayloadsig): New declaration.
14062 * math/Versions (setpayloadsig): New libm symbol at version
14063 GLIBC_2.25.
14064 (setpayloadsigf): Likewise.
14065 (setpayloadsigl): Likewise.
14066 * math/Makefile (libm-calls): Add s_setpayloadsigF.
14067 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14068 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14069 (setpayloadsig_test_data): New array.
14070 (setpayloadsig_test): New function.
14071 (main): Call setpayloadsig_test.
14072 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14073 setpayloadsigf and setpayloadsigl.
14074 * manual/libm-err-tab.pl: Update comment on interfaces without
14075 ulps tabulated.
14076 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14077 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14082 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14083 setpayloadsig.
14084 (CFLAGS-nldbl-setpayloadsig.c): New variable.
14085 * sysdeps/nacl/libm.abilist: Update.
14086 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14097 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14099 Likewise.
14100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14101 Likewise.
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14103 Likewise.
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14105 Likewise.
14106 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14112 Likewise.
14113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14114 Likewise.
14115 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14118
14119 * scripts/build-many-glibcs.py: Import json module.
14120 (Context.__init__): Take replace_sources argument. Load
14121 versions.json.
14122 (Context.load_versions_json): New function.
14123 (Context.store_json): Likewise.
14124 (Context.store_versions_json): Likewise.
14125 (Context.set_component_version): Likewise.
14126 (Context.checkout): Update versions.json. Check for and handle
14127 changes of version. Prefer previously explicitly specified
14128 version to default version.
14129 (Context.checkout_vcs): Return a revision identifier.
14130 (Context.git_checkout): Likewise.
14131 (Context.gcc_checkout): Likewise.
14132 (get_parser): Add --replace-sources option.
14133 (main): Pass replace_sources argument to Context call.
14134
14135 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14136
14137 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14138 * nptl/allocatestack.c (allocate_stack): Likewise.
14139 (__reclaim_stacks): Likewise.
14140 (setxid_signal_thread): Obtain pid through syscall.
14141 * nptl/nptl-init.c (sigcancel_handler): Likewise.
14142 (sighandle_setxid): Likewise.
14143 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14144 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14145 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14146 Likewise.
14147 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14148 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14149 comment.
14150 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14151 * nptl/descr.h (struct pthread): Change comment about pid value.
14152 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14153 pid assert.
14154 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14155 Do not set pid value.
14156 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14157 pid cache check.
14158 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14159 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14160 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14161 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14162 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14163 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14164 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14165 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14166 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14167 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14168 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14169 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14170 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14171 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14172 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14173 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14174 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14175 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14176 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14177 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14178 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14179 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14180 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14181 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14182 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14185 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14186 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14187 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14190 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14191 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14192 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14193 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14194 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14195 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14196 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14197 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14198 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14199 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14200 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14204 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14205 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14206 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14208 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14209 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14210 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14211 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14212 struct access.
14213 (clone_test): Remove function.
14214 (do_test): Rewrite to take in consideration pid is not cached anymore.
14215
14216 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14217
14218 * bits/flt-eval-method.h: New file.
14219 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14220 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14221 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14222 * math/Makefile (headers): Add bits/flt-eval-method.h.
14223 * math/math.h: Include <bits/flt-eval-method.h>.
14224 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14225 [__USE_ISOC99] (double_t): Likewise.
14226 * bits/mathdef.h (float_t): Remove.
14227 (double_t): Likewise.
14228 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14229 (double_t): Likewise.
14230 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14231 (double_t): Likewise.
14232 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14233 (double_t): Likewise.
14234 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14235 (double_t): Likewise.
14236 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14237 (double_t): Likewise.
14238 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14239 (double_t): Likewise.
14240 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14241 (double_t): Likewise.
14242 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14243 (double_t): Likewise.
14244 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14245 (double_t): Likewise.
14246 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14247 (double_t): Likewise.
14248 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14249 (double_t): Likewise.
14250 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14251 (double_t): Likewise.
14252 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14253 (double_t): Likewise.
14254
14255 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14256
14257 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14258 instead of PIC.
14259
14260 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14261
14262 [BZ #20859]
14263 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14264 (-0x7fffffff) instead of 0x80000001.
14265 * math/test-fp-ilogb-constants.c: New file.
14266 * math/Makefile (tests): Add test-fp-ilogb-constants.
14267
14268 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14269
14270 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14271 (_init): Use it in place of hardcoded R_MIPS_JALR.
14272 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14273 (_init): Use it in place of hardcoded R_MIPS_JALR.
14274 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14275 (_init): Use it in place of hardcoded R_MIPS_JALR.
14276
14277 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14278
14279 [BZ #20787]
14280 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14281 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14282 (double_t): Do not define to double if [__x86_64__] when
14283 __FLT_EVAL_METHOD__ is nonzero.
14284 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14285 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14286 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14287 test-flt-eval-method-387 and test-flt-eval-method-sse.
14288 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14289 variable.
14290 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14291
14292 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14293
14294 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14295 use of -fno-isolate-erroneous-paths options for tilepro.
14296
14297 2016-11-23 Florian Weimer <fweimer@redhat.com>
14298
14299 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14300 structure initialization is no longer needed.
14301
14302 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14303
14304 [BZ #20855]
14305 * bits/mathdef.h (float_t): Define to float.
14306 * math/test-flt-eval-method.c: New file.
14307 * math/Makefile (tests): Add test-flt-eval-method.
14308 (CFLAGS-test-flt-eval-method.c): New variable.
14309
14310 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14311
14312 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14313 and __fstatfs. Make them aliases of __fstatfs64 if
14314 STATFS_IS_STATFS64 is set to non-zero.
14315 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14316 and __statfs64.
14317 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14318 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14319 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14320 for __statfs and statfs.
14321 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14322 to 0.
14323 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14324 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14325 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14326 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14327 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14328 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14331 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14333 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14334 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14335
14336 2016-11-22 Andreas Schwab <schwab@suse.de>
14337
14338 * misc/mkstemp.c: Include <fcntl.h>.
14339 * misc/mkstemps.c: Likewise.
14340 * misc/mkostemp.c: Likewise.
14341 * misc/mkostemps.c: Likewise.
14342
14343 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14344
14345 [BZ #20847]
14346 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14347 array bounds.
14348 (__execvpe): Likewise.
14349
14350 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14351
14352 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14353 -fno-isolate-erroneous-paths options for tilepro.
14354
14355 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14356
14357 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14358 to 0 when in 32 bit mode.
14359 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14360 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14361 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14362 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14364 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14365 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14366 XSTAT_IS_XSTAT64 test.
14367 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14368 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14369 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14370 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14371 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14372 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14373 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14374 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14375 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14376 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14377 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14378
14379 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14380
14381 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14382 (setpayload): New declaration.
14383 * math/Versions (setpayload): New libm symbol at version
14384 GLIBC_2.25.
14385 (setpayloadf): Likewise.
14386 (setpayloadl): Likewise.
14387 * math/Makefile (libm-calls): Add s_setpayloadF.
14388 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14389 test_Ff_b1_data.
14390 (RUN_TEST_Ff_b1): New macro.
14391 (RUN_TEST_LOOP_Ff_b1): Likewise.
14392 (canonicalize_test_data): Update type.
14393 (setpayload_test_data): New array.
14394 (setpayload_test): New function.
14395 (main): Call setpayload_test.
14396 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14397 setpayloadf and setpayloadl.
14398 * manual/libm-err-tab.pl: Update comment on interfaces without
14399 ulps tabulated.
14400 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14401 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14403 Likewise.
14404 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14405 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14406 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14407 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14408 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14410 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14411 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14412 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14413 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14414 setpayload.
14415 (CFLAGS-nldbl-setpayload.c): New variable.
14416 * sysdeps/nacl/libm.abilist: Update.
14417 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14430 Likewise.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14432 Likewise.
14433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14434 Likewise.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14436 Likewise.
14437 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14443 Likewise.
14444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14445 Likewise.
14446 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14449
14450 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14451
14452 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14453 * include/unistd.h: Extend comment about __access_noerrno return
14454 semantics.
14455 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14456 (access_common): Correct typo for EACCES.
14457
14458 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14459
14460 * sysdeps/tile/math-tests.h: New file.
14461
14462 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14463 (__old_set_dataplane): Rename from set_dataplane and make a
14464 compatibility symbol.
14465 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14466 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14467 sys/dataplane.h.
14468
14469 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14470
14471 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14472 script quote words in command output to log suitably for input to
14473 the shell.
14474
14475 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14476 Maciej W. Rozycki <macro@imgtec.com>
14477
14478 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14479 `.Lno_weak_fn' label.
14480 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14481 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14482
14483 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14484 Yury Norov <ynorov@caviumnetworks.com>
14485
14486 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14487 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14488 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14489 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14490 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14492 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14494 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14495 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14496 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14497 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14498 (sysdep_routines): Remove oldgetrlimit64.
14499 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14500 (sysdep_routines): Likewise.
14501 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14502 (sysdep_routines): Likewise.
14503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14504 [$(subdir) = resource] (sysdep_routines): Likewise.
14505 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14506 [$(subdir) = resource] (sysdep_routines): Likewise.
14507 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14508 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14509 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14510 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14511 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14512 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14513 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14514 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14515 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14517 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14518 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14519 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14520 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14521 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14522 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14523 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14524 setrlimit and getrlimit.
14525 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14527 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14531 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14532 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14534 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14535 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14536 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14537 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14538 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14539 (__old_getrlimit64): Add compatibility symbol.
14540 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14541
14542 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14543
14544 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14545 newly built gmp, mpfr and mpc.
14546
14547 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14548
14549 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14550
14551 * conform/Makefile (linknamespace-libs): Rename to
14552 linknamespace-libs-thr.
14553 (linknamespace-libs-posix): New variable.
14554 (linknamespace-libs-xsi): Likewise.
14555 (linknamespace-libs-XPG3): Include libcrypt.a.
14556 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14557 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14558 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14559 (linknamespace-libs-XOPEN2K): Likewise.
14560 (linknamespace-libs-XOPEN2K8): Likewise.
14561 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14562
14563 [BZ #20829]
14564 * stdio-common/Versions (__snprintf): Add to version
14565 GLIBC_PRIVATE.
14566 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14567 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14568 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14569 of snprintf.
14570 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14571
14572 2016-11-16 Zack Weinberg <zackw@panix.com>
14573
14574 * string/string.h: Remove obsolete comment stating that
14575 strcoll_l and strxfrm_l have not yet been standardized.
14576
14577 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14578
14579 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14580 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14581 __access_noerrno.
14582 * io/access.c (__access_noerrno): New function.
14583 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14584 (hurd_fail_seterrno): Likewise.
14585 (access_common): Likewise.
14586 (__access_noerrno): Likewise.
14587 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14588 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14589 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14590 macro.
14591
14592 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14593
14594 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14595 Only declare fpregs if [__SH_FPU_ANY__].
14596
14597 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14598
14599 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14600 Make code unconditional.
14601 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14602
14603 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14604
14605 * manual/sysinfo.texi (S_APPEND): Delete.
14606 (S_IMMUTABLE): Likewise.
14607
14608 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14609 Magnus Granberg <zorry@gentoo.org>
14610 Mike Frysinger <vapier@gentoo.org>
14611
14612 [BZ #20662]
14613 * configure.ac (libc_cv_predef_stack_protector): Also check for
14614 __stack_chk_fail_local symbols.
14615 * configure: Regenerated.
14616
14617 2016-11-15 Florian Weimer <fweimer@redhat.com>
14618
14619 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14620 (libc_hidden_def): Remove redefinition.
14621 (__sigsetjmp): Add hidden definition.
14622 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14623 (libc_hidden_def): Remove redefinition.
14624 (__sigsetjmp): Add hidden definition.
14625
14626 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14627
14628 * scripts/build-many-glibcs.py (os.path): Do not import.
14629 (Context): Inherit explicitly from object. Remove blank line
14630 between class and docstring.
14631 (Config): Likewise.
14632 (Glibc): Likewise.
14633 (Command): Likewise.
14634 (CommandList): Likewise.
14635 (Context.write_files): Store chmod mode in a variable.
14636
14637 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14638 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14639 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14640
14641 2016-11-14 Zack Weinberg <zackw@panix.com>
14642
14643 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14644 creating or re-creating it.
14645
14646 * string/bits/string2.h: Fix typo in comment.
14647
14648 2016-11-14 Zack Weinberg <zackw@panix.com>
14649
14650 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14651 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14652 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14653 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14654 of redirected function names.
14655
14656 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14657 as well. Document that MESSAGE must be a single string literal.
14658
14659 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14660
14661 * scripts/build-many-glibcs.py: New file.
14662
14663 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14664 (do_test): Disable -Wmaybe-uninitialized around uses of
14665 except_mask.
14666
14667 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14668
14669 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14670
14671 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14672 (atomic_store_release): Provide tilepro-specific implementations.
14673
14674 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14675
14676 * math/math.h (__MATH_TG): New macro.
14677 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14678 [__USE_ISOC99] (signbit): Likewise.
14679 [__USE_ISOC99] (isfinite): Likewise.
14680 [__USE_ISOC99] (isnan): Likewise.
14681 [__USE_ISOC99] (isinf): Likewise.
14682 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14683 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14684 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14685 __MATH_TG and __MATH_EVAL_FMT2.
14686 * sysdeps/generic/math_private.h (fabs_tg): Define using
14687 __MATH_TG.
14688 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14689 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14690 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14691 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14692 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14693 macro.
14694 (__iscanonical): Likewise.
14695 (iscanonical): Define using __MATH_TG.
14696
14697 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14698
14699 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14700 guards.
14701
14702 * sysdeps/unix/sysv/linux/access.c: New file.
14703 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14704
14705 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14706
14707 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14708 and __WORDSIZE32_PTRDIFF_LONG.
14709
14710 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14711
14712 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14713
14714 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14715
14716 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14717 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14718 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14719 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14720 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14722 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14723 * sysdeps/unix/sysv/linux/truncate.c: New file.
14724 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14725 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14726 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14727 Remove.
14728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14729 Likewise.
14730
14731 * posix/tst-truncate-common.c: New file.
14732 * posix/tst-truncate.c: Use tst-truncate-common.c.
14733 * posix/tst-truncate64.c: Likewise and add LFS tests.
14734 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14735 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14736 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14737 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14738 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14740 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14741 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14742 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14743 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14744 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14745 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14746 Remove.
14747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14748 Likewise.
14749
14750 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14751
14752 [BZ #20790]
14753 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14754 to MAXLINESIZE.
14755 * sunrpc/bug20790.x: New file.
14756 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14757 variable.
14758 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14759 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14760
14761 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14762
14763 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14764
14765 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14766 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14767 calloc, realloc, free, memalign and __libc_memalign rather than
14768 making them optional.
14769
14770 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14771 for libc.so.
14772
14773 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14774
14775 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14776 ptw-lseek64.
14777 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14778 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14779 Likewise.
14780 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14781 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14782 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14783 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14784 * sysdeps/unix/sysv/linux/lseek.c: New file.
14785 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14786 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14787 __libc_lseek64 from auto-generation.
14788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14789 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14790
14791 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14792
14793 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14794 * nptl/tst-cleanup1.c (do_test): Likewise.
14795 * nptl/tst-cleanup3.c (do_test): Likewise.
14796 * nptl/tst-key1.c (do_test): Likewise.
14797 * nptl/tst-key2.c (tf, do_test): Likewise.
14798 * nptl/tst-key3.c (tf, do_test): Likewise.
14799 * nptl/tst-stdio1.c (do_test): Likewise.
14800 * nptl/tst-stdio2.c (do_test): Likewise.
14801
14802 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14803 * nptl/tst-kill6.c (handler): Likewise.
14804 * nptl/tst-tls2.c (CB): Likewise.
14805 * nptl/tst-tls3.c (CB): Likewise.
14806
14807 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14808
14809 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14810
14811 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14812 Steve Ellcey <sellcey@caviumnetworks.com>
14813
14814 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14815 __ASSUME_ST_INO_64_BIT as 0
14816 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14817 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14818 over the code where __ASSUME_ST_INO_64_BIT is used.
14819 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14820 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14821 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14822
14823 2016-11-07 Florian Weimer <fweimer@redhat.com>
14824
14825 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14826 Document ABI exposure of the __kind offset.
14827 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14828 Mention reason for the __kind offset exposure in the ABI.
14829 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14830 Likewise.
14831 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14832 Likewise.
14833 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14834 Likewise.
14835 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14836 (struct __pthread_mutex_s): Likewise.
14837 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14838 Likewise.
14839 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14840 Likewise.
14841 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14842 Likewise.
14843 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14844 Likewise.
14845 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14846 Likewise.
14847 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14848 Likewise.
14849 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14850 (struct __pthread_mutex_s): Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14852 (struct __pthread_mutex_s): Likewise.
14853 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14854 Likewise.
14855
14856 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14857
14858 * test-skeleton.c: Document do_test usage.
14859
14860 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14861
14862 * iconv/gconv.h (__gconv_info): Define __data element using a
14863 zero-length array.
14864
14865 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14866
14867 * math/test-tgmath2.c: Split up test function.
14868
14869 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14870
14871 * Rules (tests-expected): New variable, depending on
14872 $(run-built-tests).
14873 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14874 $(tests).
14875
14876 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14877 $(tests-unsupported).
14878
14879 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14880
14881 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14882 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14883
14884 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14885
14886 [BZ #20768]
14887 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14888 __fegetenv instead of fegetenv.
14889
14890 [BZ #14139]
14891 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14892 (find_files): Obtain platform name from libm-test-ulps-name and
14893 store in %pplatforms.
14894 (canonicalize_platform): Remove.
14895 (print_platforms): Use $pplatforms directly.
14896 (by_platforms): Do not allow for platforms missing from
14897 %pplatforms.
14898 * sysdeps/aarch64/libm-test-ulps-name: New file.
14899 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14900 * sysdeps/arm/libm-test-ulps-name: Likewise.
14901 * sysdeps/generic/libm-test-ulps-name: Likewise.
14902 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14903 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14904 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14905 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14906 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14907 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14908 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14909 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14910 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14911 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14912 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14913 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14914 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14915 * sysdeps/sh/libm-test-ulps-name: Likewise.
14916 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14917 * sysdeps/tile/libm-test-ulps-name: Likewise.
14918 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14919
14920 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14921
14922 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14923 (test-xfail-check-execstack): New variable.
14924
14925 * sysdeps/mips/localplt.data: New file.
14926
14927 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14928 Steve Ellcey <sellcey@caviumnetworks.com>
14929
14930 * bits/wordsize.h: Add documentation.
14931 * sysdeps/aarch64/bits/wordsize.h : New file
14932 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14933 definitions.
14934 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14935 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14936 with #if instead of #ifdef.
14937 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14938 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14939 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14940 Add or change defines.
14941 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14942 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14943 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14944 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14945 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14946 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14947 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14948 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14949 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14950 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14951 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14952 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14953 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14954 * sysdeps/x86/bits/wordsize.h: Likewise.
14955
14956 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14957 Kevin Petit <kevin.petit@arm.com>
14958
14959 * sysdeps/aarch64/memchr.S (__memchr): New file.
14960
14961 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14962
14963 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14964
14965 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14966
14967 [BZ #19398]
14968 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14969 $(linknamespace-symlists-tests).
14970
14971 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14972
14973 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14974
14975 2016-11-02 Florian Weimer <fweimer@redhat.com>
14976 Carlos O'Donell <carlos@redhat.com>
14977
14978 [Bug #20729]
14979 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14980 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14981 for -Os related change.
14982
14983 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14984
14985 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14986
14987 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14988
14989 [BZ #19673]
14990 * manual/math.texi (Exponents and Logarithms): Correct description
14991 of clog10.
14992
14993 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14994
14995 [Bz #20729]
14996 * locale/weight.h: Include libc-internal.h.
14997 * locale/weightwc.h: Likewise.
14998 * nptl/nptl_dbP.h: Likewise.
14999
15000 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
15001
15002 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15003 when it is MACH_PORT_NULL.
15004
15005 2016-10-31 Andreas Schwab <schwab@suse.de>
15006
15007 [BZ #20707]
15008 * posix/glob.c (glob): Initialize pglob before checking for
15009 GLOB_BRACE. Don't call glob recursively if pattern contains no
15010 valid brace expression despite GLOB_BRACE.
15011 * posix/globtest.sh: Test it.
15012
15013 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15014
15015 [BZ #20729]
15016 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15017 Define.
15018 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15019 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15020 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15021 for seq2.back_us and seq1.back_us only for -Os compiles.
15022 * locale/weightwc.h (findix): Likewise.
15023 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15024 DB_GET_FIELD_ADDRESS only for -Os compiles.
15025 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15026 for slen only for -Os compiles.
15027 * string/strcoll_l.c (get_next_seq): Ignore
15028 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15029 for -Os compiles.
15030
15031 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15032 * include/crypt.h: New file.
15033
15034 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15035
15036 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15037 from test-skeleton.c.
15038 (statclass): Replace calls to write with calls to write_message.
15039
15040 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15041
15042 * math/math.h
15043 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15044 New macro.
15045 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15046 Likewise.
15047 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15048 Likewise.
15049 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15050 SNANL.
15051 * math/test-double.h (snan_value_MACRO): New macro.
15052 * math/test-float.h (snan_value_MACRO): Likewise.
15053 * math/test-ldouble.h (snan_value_MACRO): Likewise.
15054 * math/libm-test.inc (issignaling_test_data): Add tests of
15055 snan_value_MACRO.
15056
15057 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15058
15059 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15060 behavior when eliding a lock not held by the current thread.
15061 * sysdeps/powerpc/nptl/elide.h: Likewise.
15062
15063 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15064
15065 [BZ #20728]
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15067 branch to _exit() by a function call.
15068
15069 2016-10-28 Florian Weimer <fweimer@redhat.com>
15070
15071 * malloc/malloc.c: Update chunk layout comments.
15072 (chunk_main_arena): Update comment.
15073
15074 2016-10-28 Florian Weimer <fweimer@redhat.com>
15075
15076 * crypt/sha256.c, crypt/sha256-block.c,
15077 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15078 sha256_process_block to __sha256_process_block.
15079 * crypt/sha512.c, crypt/sha512-block.c,
15080 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15081 sha512_process_block to __sha512_process_block.
15082
15083 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15084
15085 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15086
15087 * math/test-nan-overflow.c: Include stdlib.h for malloc.
15088
15089 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 [BZ #20019]
15092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15093 definition in unrelocated shared library.
15094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15095
15096 2016-10-28 Florian Weimer <fweimer@redhat.com>
15097
15098 [BZ #20729]
15099 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15100 * sysdeps/unix/sysv/linux/i386/Makefile
15101 (uses-6-syscall-arguments): Define.
15102 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15103 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15104 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15105 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15106 Likewise.
15107 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15108 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15109 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15110 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15111 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15112 (CFLAGS-fallocate64.os): Likewise.
15113 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15114 (CFLAGS-pthread_rwlock_timedrdlock.os)
15115 (CFLAGS-pthread_rwlock_timedwrlock.o)
15116 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15117 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15118 (CFLAGS-sem_timedwait.os): Likewise.
15119
15120 2016-10-28 Florian Weimer <fweimer@redhat.com>
15121
15122 * elf/tst-linkall-static.c: New file.
15123 * elf/Makefile (tests-static): Add tst-linkall-static.
15124 (tst-linkall-static): Link against static libraries.
15125
15126 2016-10-27 Florian Weimer <fweimer@redhat.com>
15127
15128 * malloc/malloc.c (sysmalloc): Initialize previous size field of
15129 mmaped chunks.
15130
15131 2016-10-28 Florian Weimer <fweimer@redhat.com>
15132
15133 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15134 members to mchunk_prev_size, mchunk_size.
15135 (chunk_main_arena): Reverse sense and rename from
15136 chunk_non_main_arena.
15137 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15138 mchunk_size instead of size.
15139 (set_non_main_arena): Define.
15140 (chunksize): Use chunksize_nomask instead of direct member access.
15141 (chunksize_nomask): Define.
15142 (next_chunk): Use chunksize instead of direct member access.
15143 (prev_size, set_prev_size): Define.
15144 (prev_chunk): Use prev_size instead of direct member access.
15145 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15146 (inuse_bit_at_offset, set_inuse_bit_at_offset)
15147 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15148 (mchunk_prev_size, mchunk_size): Poison tokens.
15149 (unlink): Use chunksize_nomask, prev_size accessors.
15150 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15151 (do_check_free_chunk): Use prev_size accessor.
15152 (sysmalloc): Use set_prev_size, set_head accessors.
15153 (munmap_chunk, mremap_chunk): Use prev_size accessor.
15154 (__libc_free): Use chunksize_nomask accessor.
15155 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15156 chunk_main_arena accessors.
15157 (_int_free): Use chunksize_nomask, prev_size accessors.
15158 (malloc_consolidate): Use chunksize, prev_size accessors.
15159 (_int_realloc): Use chunksize_nomask accessor.
15160 (_int_memalign): Use set_prev_size accessor.
15161 (__malloc_info): Use chunksize_nomask accessor.
15162 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15163 accessors.
15164 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15165 (heap_trim): Use chunksize_nomask, prev_size accessors.
15166
15167 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15168
15169 [BZ #19380]
15170 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15171 for inexact results.
15172 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15173 of inexact result where mpfr_subnormalize is the only inexact
15174 step.
15175 * stdlib/tst-strtod-round-data.h: Regenerated.
15176 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15177 Define to 0.
15178 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15179
15180 2016-10-27 David S. Miller <davem@davemloft.net>
15181
15182 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15183
15184 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15185
15186 * malloc/malloc.c (do_set_mallopt_check): New function.
15187 (do_set_mmap_threshold): Likewise.
15188 (do_set_mmaps_max): Likewise.
15189 (do_set_top_pad): Likewise.
15190 (do_set_perturb_byte): Likewise.
15191 (do_set_trim_threshold): Likewise.
15192 (do_set_arena_max): Likewise.
15193 (do_set_arena_test): Likewise.
15194 (__libc_mallopt): Use them.
15195
15196 2016-10-26 Joseph Myers <joseph@codesourcery.com>
15197
15198 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15199 (canonicalize): New declaration.
15200 * math/Versions (canonicalize): New libm symbol at version
15201 GLIBC_2.25.
15202 (canonicalizef): Likewise.
15203 (canonicalizel): Likewise.
15204 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15205 * math/s_canonicalize_template.c: New file.
15206 * math/libm-test.inc: Update comment on functions tested and
15207 testing of NaN payloads.
15208 (TEST_NAN_PAYLOAD): New macro.
15209 (NO_TEST_INLINE): Update value.
15210 (XFAIL_TEST): Likewise.
15211 (ERRNO_UNCHANGED): Likewise.
15212 (ERRNO_EDOM): Likewise.
15213 (ERRNO_ERANGE): Likewise.
15214 (IGNORE_RESULT): Likewise.
15215 (NON_FINITE): Likewise.
15216 (TEST_SNAN): Likewise.
15217 (NO_TEST_MATHVEC): Likewise.
15218 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15219 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15220 (struct test_Ffp_b1_data): New type.
15221 (RUN_TEST_Ffp_b1): New macro.
15222 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15223 (canonicalize_test_data): New array.
15224 (canonicalize_test): New function.
15225 (main): Call canonicalize_test.
15226 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15227 canonicalizef and canonicalizel.
15228 * manual/libm-err-tab.pl: Update comment on interfaces without
15229 ulps tabulated.
15230 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15231 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15232 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15233 canonicalize.
15234 (CFLAGS-nldbl-canonicalize.c): New variable.
15235 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15236 to ...
15237 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15238 ... here.
15239 (do_test): Also test canonicalizel.
15240 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15241 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15242 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15243 file.
15244 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15245 Use libm_hidden_def.
15246 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15247 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15248 (do_test): Also test canonicalizel.
15249 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15250 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15251 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15252 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15253 libm_hidden_def.
15254 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15255 macro.
15256 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15257 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15258 * sysdeps/nacl/libm.abilist: Update.
15259 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15261 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15262 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15264 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15265 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15266 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15267 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15272 Likewise.
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15274 Likewise.
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15276 Likewise.
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15278 Likewise.
15279 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15285 Likewise.
15286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15287 Likewise.
15288 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15291
15292 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15293 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15294 getpayload.
15295 (CFLAGS-nldbl-getpayload.c): New variable.
15296
15297 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15298
15299 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15300 integer from the format string.
15301
15302 2016-10-26 Florian Weimer <fweimer@redhat.com>
15303
15304 [BZ #19473]
15305 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15306 declarations.
15307 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15308 weak aliases.
15309 * malloc/hooks.c (__malloc_get_state): Remove definition.
15310 (malloc_get_state): New stub implementation as
15311 compatibility symbol.
15312 (malloc_set_state): Rename from __malloc_set_state. Turn into
15313 compat symbol.
15314 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15315 malloc_set_state.
15316 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15317
15318 2016-10-26 Florian Weimer <fweimer@redhat.com>
15319
15320 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15321 (names): Turn into concatenation of strings.
15322 (gconv_init): Adapt iteration over names.
15323
15324 2016-10-26 Florian Weimer <fweimer@redhat.com>
15325
15326 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15327 make const.
15328 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15329 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15330 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15331 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15332 character in sbconv.
15333 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15334 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15335 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15336
15337 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15338
15339 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15340
15341 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15342 (M_TRIM_THRESHOLD): Likewise.
15343
15344 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15345 (M_ARENA_MAX): Likewise.
15346 * malloc/malloc.c: Remove obsolete comment.
15347
15348 * manual/memory.texi: Add environment variable alternatives to
15349 setting mallopt parameters.
15350
15351 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15352
15353 * include/atomic.h
15354 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15355 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15356
15357 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15358
15359 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15360 * stdlib/tst-strfrom.h: New file.
15361 * stdlib/tst-strfrom.c: New file.
15362 * stdlib/tst-strfrom-locale.c: New file.
15363
15364 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15365 * stdlib/bug-strtod2.c: Likewise.
15366 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15367 * stdlib/tst-strtod6.c: Likewise.
15368 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15369
15370 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15371
15372 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15373 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15374 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15375 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15376 * stdlib/stdlib.h (strfromd): New declaration.
15377 (strfromf): Likewise.
15378 (strfroml): Likewise.
15379 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15380 strfrom.
15381 * stdlib/strfromd.c: New file.
15382 * stdlib/strfromf.c: Likewise.
15383 * stdlib/strfroml.c: Likewise.
15384 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15385 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15386 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15387 * sysdeps/arm/nacl/libc.abilist: Update.
15388 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15416
15417 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15418
15419 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15420 instead of cmpli.
15421 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15422 instead of cmpli.
15423
15424 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15425
15426 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15427 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15428 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15429 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15430 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15431 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15432
15433 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15434
15435 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15436 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15437 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15438 SYSCALL_LL64_PRW.
15439 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15440 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15441 __ASSUME_PRW_DUMMY_ARG.
15442 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15443 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15444 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15445 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15446 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15447 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15448
15449 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15450
15451 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15452
15453 2016-10-22 Florian Weimer <fweimer@redhat.com>
15454
15455 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15456 "C++", to override a potential extern "C" directive around the
15457 header file inclusion.
15458
15459 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15460
15461 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15462
15463 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15464
15465 * sysdeps/powerpc/fpu/fenv_private.h:
15466 (_FPU_MASK_ALL): Rename to...
15467 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15468 XE FPSCR bits.
15469
15470 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15471
15472 (_FPU_MASK_ROUNDING): Rename to...
15473 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15474 NI bits.
15475
15476 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15477 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15478 bits and rounding bits.
15479
15480 (__libc_feholdbits_ppc): New inline function to mask, set,
15481 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15482 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15483 (libc_feholdexcept_setround_ppc): Likewise.
15484
15485 (__libc_femergeenv_ppc): New function to dynamically mask both
15486 old and new FP environments and merge.
15487 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15488 (libc_feresetround_ppc): Likewise.
15489 (libc_feupdateenv_test_ppc): Likewise.
15490 (libc_feupdateenv_ppc): Likewise.
15491
15492 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15493 of ISA RN bits, and update macro names.
15494 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15495 effectively the same as the previously mentioned function.
15496
15497 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15498 usage with fe_resetround_ppc.
15499
15500 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15501 to be used.
15502 (libc_feholdexcept_setround_ctxf): Likewise.
15503 (libc_feholdexcept_setround_ctxl): Likewise.
15504
15505 2016-10-21 Florian Weimer <fweimer@redhat.com>
15506
15507 [BZ #20715]
15508 * math/math.h [__cplusplus] (iszero): Define as function template.
15509 * math/Makefile [CXX] (tests): Add test-math-iszero.
15510 (CFLAGS-test-math-iszero.cc): Set.
15511 * math/test-math-iszero.cc: New file.
15512
15513 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15514
15515 [BZ #20660]
15516 * sysdeps/arm/e_sqrt.c: New file.
15517 * sysdeps/arm/e_sqrtf.c: Likewise.
15518
15519 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15520
15521 [BZ #20718]
15522 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15523 not use floating-point comparisons to test sign.
15524 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15525 Likewise.
15526
15527 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15528 (getpayload): New declaration.
15529 * math/Versions (getpayload): New libm symbol at version
15530 GLIBC_2.25.
15531 (getpayloadf): Likewise.
15532 (getpayloadl): Likewise.
15533 * math/Makefile (libm-calls): Add s_getpayloadF.
15534 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15535 (struct test_f_f_data): Add comment.
15536 (RUN_TEST_fp_f): New macro.
15537 (RUN_TEST_LOOP_fp_f): Likewise.
15538 (getpayload_test_data): New array.
15539 (getpayload_test): New function.
15540 (main): Call getpayload_test.
15541 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15542 descriptor.
15543 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15544 getpayloadf and getpayloadl.
15545 * manual/libm-err-tab.pl: Update comment on interfaces without
15546 ulps tabulated.
15547 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15548 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15549 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15553 * sysdeps/nacl/libm.abilist: Update.
15554 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15558 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15559 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15561 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15562 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15563 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15564 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15565 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15567 Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15569 Likewise.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15571 Likewise.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15573 Likewise.
15574 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15580 Likewise.
15581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15582 Likewise.
15583 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15584 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15585 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15586
15587 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15588
15589 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15590 tst-fallocate{64}.
15591 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15592 on syscall return.
15593
15594 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15595
15596 [BZ #20689]
15597 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15598 usable.
15599
15600 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15601
15602 * sysdeps/generic/nan-high-order-bit.h: New file.
15603 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15604 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15605 * sysdeps/hppa/math_private.h: Remove file.
15606 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15607 not define here.
15608 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15609 <nan-high-order-bit.h>.
15610 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15611 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15612 <nan-high-order-bit.h>.
15613 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15614 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15615 <nan-high-order-bit.h>.
15616 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15617 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15618 <nan-high-order-bit.h>.
15619 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15620 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15621 <nan-high-order-bit.h>.
15622 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15623 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15624 <nan-high-order-bit.h>.
15625 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15626 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15627 <nan-high-order-bit.h>.
15628 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15629 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15630 <nan-high-order-bit.h>.
15631 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15632 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15633 <nan-high-order-bit.h>.
15634 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15635 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15636 <nan-high-order-bit.h>.
15637 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15638 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15639 <nan-high-order-bit.h>.
15640 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15641 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15642 <nan-high-order-bit.h>.
15643 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15644 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15645 <nan-high-order-bit.h>.
15646 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15647 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15648 <nan-high-order-bit.h>.
15649 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15650 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15651 <nan-high-order-bit.h>.
15652 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15653 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15654 <nan-high-order-bit.h>.
15655 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15656 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15657 <nan-high-order-bit.h>.
15658 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15659 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15660 <nan-high-order-bit.h>.
15661 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15662
15663 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15664
15665 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15666
15667 2016-09-22 John David Anglin <dave.anglin@bell.net>
15668
15669 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15670 abort-instr.h.
15671 (EFAULT): Remove conditional define.
15672 (ENOSYS): Likewise.
15673 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15674 instead of conditional branch instructions.
15675
15676 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15677
15678 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15679 (totalordermag): New declaration.
15680 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15681 New macro.
15682 * math/Versions (totalordermag): New libm symbol at version
15683 GLIBC_2.25.
15684 (totalordermagf): Likewise.
15685 (totalordermagl): Likewise.
15686 * math/Makefile (libm-calls): Add s_totalordermagF.
15687 * math/libm-test.inc (totalordermag_test_data): New array.
15688 (totalordermag_test): New function.
15689 (main): Call totalordermag_test.
15690 * math/test-tgmath.c (NCALLS): Increase to 125.
15691 (F(compile_test)): Call totalordermag.
15692 (F(totalordermag)): New function.
15693 * manual/arith.texi (FP Comparison Functions): Document
15694 totalordermag, totalordermagf and totalordermagl.
15695 * manual/libm-err-tab.pl: Update comment on interfaces without
15696 ulps tabulated.
15697 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15698 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15699 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15704 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15705 totalordermag.
15706 (CFLAGS-nldbl-totalordermag.c): New variable.
15707 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15708 (do_test): Also test totalordermagl.
15709 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15710 Likewise.
15711 * sysdeps/nacl/libm.abilist: Update.
15712 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15716 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15717 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15718 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15719 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15720 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15721 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15722 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15725 Likewise.
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15727 Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15729 Likewise.
15730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15731 Likewise.
15732 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15738 Likewise.
15739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15740 Likewise.
15741 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15743 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15744
15745 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15746
15747 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15748 boolean.
15749
15750 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15751
15752 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15753 raising FE_INVALID with feraisexcept in case where part of
15754 argument is infinite, subtract that part of argument from itself.
15755 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15756 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15757 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15758
15759 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15760
15761 * math/libm-test.inc (totalorder_test_data): Add more tests.
15762
15763 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15764
15765 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15766 Undefine weak_alias and add a comment why mips64 require
15767 versioning.
15768
15769 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15770
15771 [BZ #20647]
15772 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15773 maximum CPUID level is less than 2.
15774
15775 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15776
15777 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15778 (totalorder): New declaration.
15779 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15780 New macro.
15781 * math/Versions (totalorder): New libm symbol at version
15782 GLIBC_2.25.
15783 (totalorderf): Likewise.
15784 (totalorderl): Likewise.
15785 * math/Makefile (libm-calls): Add s_totalorderF.
15786 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15787 string.
15788 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15789 (qnan_value_pl): Likewise.
15790 (snan_value_pl): Likewise.
15791 (qnan_value): Define using qnan_value_pl.
15792 (snan_value): Define using snan_value_pl.
15793 (struct test_ff_i_data): Add comment about which tests use this
15794 structure.
15795 (RUN_TEST_ff_b): New macro.
15796 (RUN_TEST_LOOP_ff_b): Likewise.
15797 (totalorder_test_data): New array.
15798 (totalorder_test): New function.
15799 (main): Call totalorder_test.
15800 * math/test-tgmath.c (NCALLS): Increase to 122.
15801 (F(compile_test)): Call totalorder.
15802 (F(totalorder)): New function.
15803 * manual/arith.texi (FP Comparison Functions): Document
15804 totalorder, totalorderf and totalorderl.
15805 * manual/libm-err-tab.pl: Update comment on interfaces without
15806 ulps tabulated.
15807 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15808 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15809 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15814 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15815 totalorder.
15816 (CFLAGS-nldbl-totalorder.c): New variable.
15817 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15818 file.
15819 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15820 Add test-totalorderl-ldbl-128ibm.
15821 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15822 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15823 test-totalorderl-ldbl-96.
15824 * sysdeps/nacl/libm.abilist: Update.
15825 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15832 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15833 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15834 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15835 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15836 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15838 Likewise.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15840 Likewise.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15842 Likewise.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15844 Likewise.
15845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15851 Likewise.
15852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15853 Likewise.
15854 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15857
15858 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15859
15860 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15861 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15862 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15863 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15864 remove ENOSYS implementation.
15865 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15866 Consolidate all Linux implementations.
15867
15868 2016-10-11 Florian Weimer <fweimer@redhat.com>
15869
15870 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15871 * resolv/herror.c (herror): Cast away const-ness.
15872 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15873 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15874
15875 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15876
15877 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15878 instead of M_NAN + M_NAN.
15879 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15880
15881 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15882
15883 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15884 unused variable 'p'.
15885
15886 2016-10-09 Alan Modra <amodra@gmail.com>
15887 Andreas Schwab <schwab@linux-m68k.org>
15888
15889 [BZ #20554]
15890 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15891 [PIC && !SHARED]: Set up PIC register for PLT call.
15892
15893 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15894
15895 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15896 conditional on value of [__FLT_EVAL_METHOD__].
15897 * math/test-iseqsig-excess-precision.c: New file.
15898 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15899
15900 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15901
15902 * math/s_iseqsig_template.c: Include math-private.h.
15903
15904 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15905 * posix/tst-posix_fadvise.c: New file.
15906 * posix/tst-posix_fadvise64.c: Likewise.
15907 * posix/tst-posix_fadvise-common.c: Likewise.
15908 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15909 (__ASSUME_FADVISE64_64_6ARG): Define.
15910 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15911 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15912 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15913 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15914 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15915 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15916 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15917 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15918 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15919 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15920 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15921 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15924 Likewise.
15925 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15926 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15927 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15928 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15929 Alias to __posix_fadvise64_l32.
15930 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15931 Add compat definition to posix_fadvise64.
15932 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15933 Add versioned definition to posix_fadvise64.
15934 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15935 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15936 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15937 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15938 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15939
15940 * io/Makefile (tests): Add tst-posix_fallocate and
15941 tst-posix_fallocate64.
15942 * io/tst-posix_fallocate-common.c: New file.
15943 * io/tst-posix_fallocate.c: Likewise.
15944 * io/tst-posix_fallocate64.c: Likewise.
15945 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15946 file.
15947 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15948 Likewise.
15949 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15950 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15951 Likewise.
15952 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15953 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15954 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15955 SYSCALL_LL to pass both offset and len arguments.
15956 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15957 Likewise.
15958 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15959 __libc_pwrite64 alias used by posix_fallocate64.
15960
15961 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15962 tst-fallocate64.
15963 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15964 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15965 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15966 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15967 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15968 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15969 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15970 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15971 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15972 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15973 macro on offset argument.
15974 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15975 SYSCALL_LL64 on offset argument.
15976
15977 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15978 tst-fallocate64.
15979 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15980 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15981 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15982 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15983 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15984 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15986 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15987 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15988 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15989 macro on offset argument.
15990 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15991 SYSCALL_LL64 on offset argument.
15992 * test-skeleton.c (FAIL_RET): Add macro.
15993 (FAIL_EXIT): Likewise.
15994 (FAIL_EXIT1): Likewise.
15995 (_FAIL): Likewise.
15996
15997 2016-10-07 Florian Weimer <fweimer@redhat.com>
15998
15999 [BZ #20629]
16000 resolv: Remove RES_USEBSTRING and its implementation.
16001 * resolv/resolv.h (RES_USEBSTRING): Remove.
16002 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16003 (digitvalue, encode_bitstring, decode_bitstring): Remove.
16004 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16005 (labellen): Remove extended label types support.
16006 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
16007 * resolv/res_init.c (res_setoptions): Likewise.
16008 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16009
16010 2016-10-07 Florian Weimer <fweimer@redhat.com>
16011
16012 resolv: Remove RES_NOIP6DOTINT and its implementation.
16013 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16014 (RES_NOIP6DOTINT): Remove.
16015 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16016 handling.
16017 * resolv/res_debug.c (p_option): Likewise.
16018 * resolv/res_init.c (res_setoptions): Likewise.
16019 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16020
16021 2016-10-07 Florian Weimer <fweimer@redhat.com>
16022
16023 resolv: Deprecate unimplemented flags.
16024 * misc/sys/cdefs.h (__glibc_macro_warning1)
16025 (__glibc_macro_warning): Define.
16026 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16027 (RES_KEEPTSIG): Mark as deprecated.
16028 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16029 RES_NOCHECKNAME, RES_KEEPTSIG.
16030 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16031
16032 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16033
16034 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16035 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16036 Use strong_alias to create symbols for glibc verison 2.19.
16037
16038 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16039
16040 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16041
16042 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16043
16044 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16045
16046 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16047
16048 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16049
16050 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16051
16052 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16053 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16054 in header for using it as type for ifunc function because __GI_* symbols
16055 for ppc32 do not target the ifunc symbols.
16056 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16057
16058 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16059
16060 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16061 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16062 libc_ifunc_hidden_def.
16063 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16064 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16065 Redirect ifunced function in header for using it as type of ifunc'ed
16066 function. Redefine libc_hidden_def to use fallback non ifunc'ed
16067 function for __GI_* symbol.
16068 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16069 * include/libc-symbols.h
16070 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16071
16072 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16073
16074 [BZ #20478]
16075 * sysdeps/s390/multiarch/ifunc-resolve.h
16076 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16077 to create ifunc symbols.
16078 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16079 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16080 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16081 for using it as type for ifunc function.
16082 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16083 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16084 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16085 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16086 * sysdeps/s390/multiarch/strcat.c: Likewise.
16087 * sysdeps/s390/multiarch/strchr.c: Likewise.
16088 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16089 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16090 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16091 * sysdeps/s390/multiarch/strlen.c: Likewise.
16092 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16093 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16094 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16095 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16096 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16097 * sysdeps/s390/multiarch/strspn.c: Likewise.
16098 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16099 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16100 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16101 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16102 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16103 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16104 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16105 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16106 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16107 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16108 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16109 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16110
16111 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16112
16113 * include/libc-symbols.h (__ifunc_resolver):
16114 New macro is used by __ifunc* macros.
16115 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16116 depending on HAVE_GCC_IFUNC.
16117 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16118 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16120 Redirect ifunced function in header for using as type for ifunc function.
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16125 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16127 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16128 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16130 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16131 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16132 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16134 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16140 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16141 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16142 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16143 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16144 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16145 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16146 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16147 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16148 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16149 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16150 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16151 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16152 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16153 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16155 Add libc_hidden_def() and use libc_ifunc_hidden() macro
16156 instead of libc_ifunc() macro.
16157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16158 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16159
16160 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16161
16162 * config.h.in (HAVE_GCC_IFUNC): New undef.
16163 * configure.ac: Add check if gcc supports attribute ifunc feature.
16164 * configure: Regenerated.
16165 * manual/install.texi: Add recommendation for gcc with
16166 indirect-function support.
16167 * INSTALL: Regenerated.
16168
16169 2016-10-06 Joseph Myers <joseph@codesourcery.com>
16170
16171 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16172 macro.
16173 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16174 (__iseqsig): New declaration.
16175 * math/s_iseqsig_template.c: New file.
16176 * math/Versions (__iseqsigf): New libm symbol at version
16177 GLIBC_2.25.
16178 (__iseqsig): Likewise.
16179 (__iseqsigl): Likewise.
16180 * math/libm-test.inc (iseqsig_test_data): New array.
16181 (iseqsig_test): New function.
16182 (main): Call iseqsig_test.
16183 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16184 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16185 * manual/libm-err-tab.pl: Update comment on interfaces without
16186 ulps tabulated.
16187 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16188 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16189 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16190 * sysdeps/nacl/libm.abilist: Update.
16191 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16195 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16196 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16197 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16198 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16199 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16200 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16201 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16204 Likewise.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16206 Likewise.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16208 Likewise.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16210 Likewise.
16211 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16217 Likewise.
16218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16219 Likewise.
16220 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16223
16224 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16225
16226 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16227 do_sincos_2, sloww, sloww1): Update comments.
16228
16229 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16230 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16231
16232 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16233 K boolean and rename it.
16234 (__sin): Adjust.
16235 (__cos): Adjust.
16236
16237 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16238 Siddhesh Poyarekar <siddhesh@sourceware.org>
16239
16240 * manual/nss.texi: Fix typos in the manual.
16241
16242 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16243
16244 * manual/contrib.texi: Fix typos in the manual.
16245
16246 * manual/maint.texi: Fix typos in the manual.
16247
16248 * manual/install.texi: Fix typos in the manual.
16249 * INSTALL: Regenerated.
16250
16251 * manual/lang.texi: Fix typos in the manual.
16252
16253 * manual/probes.texi: Fix typos in the manual.
16254
16255 * manual/threads.texi: Fix typos in the manual.
16256
16257 * manual/debug.texi: Fix typos in the manual.
16258
16259 * manual/crypt.texi: Fix typos in the manual.
16260
16261 * manual/conf.texi: Fix typos in the manual.
16262
16263 * manual/sysinfo.texi: Fix typos in the manual.
16264
16265 * manual/users.texi: Fix typos in the manual.
16266
16267 * manual/job.texi: Fix typos in the manual.
16268
16269 * manual/process.texi: Fix typos in the manual.
16270
16271 * manual/argp.texi: Fix typos in the manual.
16272 * manual/getopt.texi: Likewise.
16273 * manual/startup.texi: Likewise.
16274
16275 * manual/signal.texi: Fix typos in the manual.
16276
16277 * manual/setjmp.texi: Fix typos in the manual.
16278
16279 * manual/resource.texi: Fix typos in the manual.
16280
16281 * manual/time.texi: Fix typos in the manual.
16282
16283 * manual/arith.texi: Fix typos in the manual.
16284
16285 * manual/math.texi: Fix typos in the manual.
16286
16287 * manual/syslog.texi: Fix typos in the manual.
16288
16289 * manual/terminal.texi: Fix typos in the manual.
16290
16291 * manual/socket.texi: Fix typos in the manual.
16292
16293 * manual/filesys.texi: Fix typos in the manual.
16294
16295 * manual/llio.texi: Fix typos in the manual.
16296
16297 * manual/stdio.text: Fix typos in the manual.
16298
16299 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16300
16301 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16302 instead of K1.
16303
16304 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16305 SHIFT_QUADRANT and make it bool.
16306 (do_sincos_2): Likewise.
16307 (sloww): Likewise.
16308 (sloww1): Likewise.
16309 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16310 (__cos): Likewise.
16311
16312 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16313
16314 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16315
16316 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16317
16318 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16319 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16320 0x7fffffffL].
16321 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16322
16323 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16324
16325 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16326 inline by __inline__.
16327 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16328 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16329 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16330 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16331 sigset_t from signal.h.
16332 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16333 which is already required.
16334
16335 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16336
16337 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16338
16339 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16340
16341 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16342 (struct tcp_repair_window): New type.
16343
16344 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16345
16346 * libio/tst-memstream3.c: Include string.h.
16347
16348 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16349
16350 [BZ #18241]
16351 [BZ #20181]
16352 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16353 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16354 write position is at the end the buffer.
16355 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16356 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16357 (_IO_str_seekoff): Set correct offset from negative displacement and
16358 set EINVAL for invalid ones.
16359 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16360 buffer length.
16361 (_IO_wstr_switch_to_get_mode): New function.
16362 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16363 set EINVAL for invalid ones.
16364 * libio/tst-memstream3.c: New file.
16365 * libio/tst-wmemstream3.c: Likewise.
16366 * manual/examples/memstrm.c: Remove warning when priting size_t.
16367
16368 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16369
16370 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16371 macro to use __builtin_fma.
16372 * sysdeps/x86_64/fpu/dla.h: Remove file.
16373
16374 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16375 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16376 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16377
16378 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16379
16380 [BZ #20292]
16381 * elf/Makefile (routines): Add dl-addr-obj.
16382 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16383 tst-_dl_addr_inside_object.
16384 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16385 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16386 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16387 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16388 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16389 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16390 * elf/dl-open.c: Likewise.
16391 * elf/dl-addr-obj.c: New file.
16392 * elf/tst-_dl_addr_inside_object.c: New file.
16393
16394 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16395
16396 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16397 <bits/iscanonical.h>.
16398 * bits/iscanonical.h: New file.
16399 * math/s_iscanonicall.c: Likewise.
16400 * math/Versions (__iscanonicall): New libm symbol at version
16401 GLIBC_2.25.
16402 * math/libm-test.inc (iscanonical_test_data): New array.
16403 (iscanonical_test): New function.
16404 (main): Call iscanonical_test.
16405 * math/Makefile (headers): Add bits/iscanonical.h.
16406 (type-ldouble-routines): Add s_iscanonicall.
16407 * manual/arith.texi (Floating Point Classes): Document
16408 iscanonical.
16409 * manual/libm-err-tab.pl: Update comment on interfaces without
16410 ulps tabulated.
16411 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16412 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16414 Likewise.
16415 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16416 test-iscanonical-ldbl-128ibm.
16417 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16418 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16419 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16420 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16421 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16422 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16423 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16425 Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16427 Likewise.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16429 Likewise.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16431 Likewise.
16432 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16433 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16434
16435 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16436
16437 * string/bits/string3.h: Remove C++ style comments.
16438
16439 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16440
16441 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16442 instead of ternary condition.
16443 (do_sincos_2): Likewise.
16444 (__sin): Likewise.
16445 (__cos): Likewise.
16446 (slow): Likewise.
16447 (sloww): Likewise.
16448 (sloww1): Likewise.
16449 (bsloww): Likewise.
16450 (bsloww1): Likewise.
16451
16452 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16453 instead of ternary condition.
16454 (do_sin_slow): Likewise.
16455 (do_sincos_1): Likewise.
16456 (do_sincos_2): Likewise.
16457 (__cos): Likewise.
16458 (sloww): Likewise.
16459 (sloww1): Likewise.
16460 (sloww2): Likewise.
16461 (bsloww): Likewise.
16462 (bsloww1): Likewise.
16463 (bsloww2): Likewise.
16464
16465 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16466 check from here...
16467 (slow2): ... and here...
16468 (__sin): ... to here.
16469
16470 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16471
16472 * math/math.h
16473 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16474 Cast argument to its own type.
16475 * math/test-iszero-excess-precision.c: New file.
16476 * math/Makefile (tests): Add test-iszero-excess-precision.
16477 (CFLAGS-test-iszero-excess-precision.c): New variable.
16478
16479 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16480
16481 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16482 field, add err field.
16483 (__spawni_child): Report error through err member instead of pipe.
16484 (__spawnix): Likewise.
16485
16486 2016-09-28 Zack Weinberg <zackw@panix.com>
16487
16488 * scripts/check-installed-headers.sh: Generalize treatment of
16489 sys/elf.h to all target architectures.
16490
16491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16492 deleted typedef ucontext_t.
16493
16494 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16495
16496 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16497 (__INTERNAL_SYSCALL1): Likewise.
16498 (__INTERNAL_SYSCALL2): Likewise.
16499 (__INTERNAL_SYSCALL3): Likewise.
16500 (__INTERNAL_SYSCALL4): Likewise.
16501 (__INTERNAL_SYSCALL5): Likewise.
16502 (__INTERNAL_SYSCALL6): Likewise.
16503 (__INTERNAL_SYSCALL7): Likewise.
16504 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16505 (__INTERNAL_SYSCALL_NARGS): Likewise.
16506 (__INTERNAL_SYSCALL_DISP): Likewise.
16507 (INTERNAL_SYSCALL_CALL): Likewise.
16508 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16509 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16510 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16511 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16512 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16513 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16514 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16515 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16516 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16517 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16518 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16519 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16520 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16521
16522 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16523
16524 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16525 macro.
16526 * math/libm-test.inc (iszero_test_data): New array.
16527 (iszero_test): New function.
16528 (main): Call iszero_test.
16529 * manual/arith.texi (Floating Point Classes): Document iszero.
16530 * manual/libm-err-tab.pl: Update comment on interfaces without
16531 ulps tabulated.
16532
16533 2016-09-23 Zack Weinberg <zackw@panix.com>
16534
16535 * scripts/check-installed-headers.sh: New script.
16536 * Rules: In each directory that defines header files to be installed,
16537 run check-installed-headers.sh on them as a special test.
16538 * Makefile: Likewise for the headers installed at top level.
16539
16540 * include/aliases.h, include/alloca.h, include/argz.h
16541 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16542 * include/elf.h, include/envz.h, include/err.h
16543 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16544 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16545 * include/link.h, include/malloc.h, include/mcheck.h
16546 * include/mntent.h, include/netinet/ether.h
16547 * include/nss.h, include/obstack.h, include/printf.h
16548 * include/pty.h, include/resolv.h, include/rpc/auth.h
16549 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16550 * include/rpc/clnt.h, include/rpc/des_crypt.h
16551 * include/rpc/key_prot.h, include/rpc/netdb.h
16552 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16553 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16554 * include/rpc/rpc_msg.h, include/rpc/svc.h
16555 * include/rpc/svc_auth.h, include/rpc/xdr.h
16556 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16557 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16558 * include/rpcsvc/ypupd.h, include/shadow.h
16559 * include/stdio_ext.h, include/sys/epoll.h
16560 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16561 * include/sys/prctl.h, include/sys/profil.h
16562 * include/sys/statfs.h, include/sys/sysctl.h
16563 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16564 * sysdeps/arm/nacl/include/bits/setjmp.h
16565 * sysdeps/mips/include/sys/asm.h
16566 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16567 * sysdeps/unix/sysv/linux/include/sys/timex.h
16568 * sysdeps/x86/fpu/include/bits/fenv.h:
16569 Add #ifndef _ISOMAC guard around internal declarations.
16570 Add multiple-inclusion guard if not already present.
16571
16572 2016-09-23 Zack Weinberg <zackw@panix.com>
16573
16574 * sysdeps/generic/sys/ucontext.h
16575 * sysdeps/arm/sys/ucontext.h
16576 * sysdeps/i386/sys/ucontext.h
16577 * sysdeps/m68k/sys/ucontext.h
16578 * sysdeps/mips/sys/ucontext.h
16579 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16580 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16581 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16582 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16583 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16584 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16585 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16586 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16587 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16588 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16589 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16590 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16591 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16592 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16593 Include both bits/sigcontext.h and bits/sigstack.h.
16594 Fix grammar error in comment, if present.
16595
16596 * bits/sigstack.h
16597 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16598 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16599 * sysdeps/unix/sysv/linux/bits/sigstack.h
16600 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16601 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16602 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16603 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16604 * bits/sigcontext.h
16605 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16606 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16607 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16608 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16609 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16610 as well as signal.h, if this was not already allowed. Request
16611 definition of size_t if necessary. Minimize semantically-null
16612 differences across files.
16613
16614 2016-09-23 Zack Weinberg <zackw@panix.com>
16615
16616 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16617 Remove all logic conditional on __need macros. Move all the
16618 conditionally defined types to their own headers...
16619 * time/bits/types/clock_t.h: Define clock_t here.
16620 * time/bits/types/clockid_t.h: Define clockid_t here.
16621 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16622 * time/bits/types/struct_timespec.h: Define struct timespec here.
16623 * time/bits/types/struct_timeval.h: Define struct timeval here.
16624 * time/bits/types/struct_tm.h: Define struct tm here.
16625 * time/bits/types/time_t.h: Define time_t here.
16626 * time/bits/types/timer_t.h: Define timer_t here.
16627 * time/Makefile: Install the new headers.
16628
16629 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16630 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16631 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16632 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16633 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16634 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16635 * sysdeps/unix/sysv/linux/bits/resource.h
16636 * sysdeps/unix/sysv/linux/bits/timex.h
16637 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16638 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16639 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16640 * sysdeps/unix/sysv/linux/sys/acct.h
16641 * sysdeps/unix/sysv/linux/sys/timerfd.h
16642 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16643 * time/sys/time.h, time/sys/timeb.h
16644 Use the new bits/types headers.
16645
16646 * include/time.h: Remove __need logic.
16647 * include/bits/time.h
16648 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16649 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16650 * include/bits/types/struct_itimerspec.h
16651 * include/bits/types/struct_timespec.h
16652 * include/bits/types/struct_timeval.h
16653 * include/bits/types/struct_tm.h:
16654 New wrapper headers.
16655
16656 2016-09-23 Zack Weinberg <zackw@panix.com>
16657
16658 * sysdeps/mach/hurd/net/if_ppp.h
16659 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16660 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16661 if __USE_MISC is defined, to ensure struct ifreq is declared.
16662
16663 * inet/netinet/ether.h: Condition all function prototypes
16664 on __USE_MISC, to ensure struct ether_addr is declared.
16665
16666 * socket/bits/types/struct_osockaddr.h: New header.
16667 * include/bits/types/struct_osockaddr.h: New wrapper.
16668 * socket/Makefile: Install the new header.
16669 * socket/sys/socket.h, inet/protocols/talkd.h:
16670 Refer to bits/types/struct_osockaddr.h for the definition of
16671 struct osockaddr.
16672
16673 2016-09-23 Zack Weinberg <zackw@panix.com>
16674
16675 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16676 * inet/protocols/routed.h, inet/protocols/talkd.h
16677 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16678 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16679 * sysdeps/generic/netinet/if_ether.h
16680 * sysdeps/generic/netinet/in_systm.h
16681 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16682 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16683 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16684 * sysdeps/mach/hurd/net/if_arp.h
16685 * sysdeps/mach/hurd/net/if_ppp.h
16686 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16687 * sysdeps/unix/sysv/linux/bits/in.h
16688 * sysdeps/unix/sysv/linux/net/ethernet.h
16689 * sysdeps/unix/sysv/linux/net/if_arp.h
16690 * sysdeps/unix/sysv/linux/net/if_ppp.h
16691 * sysdeps/unix/sysv/linux/net/if_shaper.h
16692 * sysdeps/unix/sysv/linux/net/route.h
16693 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16694 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16695 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16696 * sysdeps/unix/sysv/linux/netipx/ipx.h
16697 * sysdeps/unix/sysv/linux/sys/acct.h
16698 * include/arpa/nameser.h, include/resolv.h:
16699 Change all uses of u_char to unsigned char,
16700 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16701 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16702 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16703 and u_int64_t and u_quad_t to uint64_t.
16704
16705 * mach/sys/reboot.h: Remove two casts of integer literals
16706 to the types they already have.
16707
16708 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16709 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16710 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16711 from referring to 'unsigned char' to 'uint8_t' for consistency with
16712 the macro definition below.
16713
16714 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16715 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16716 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16717 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16718 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16719 * sysdeps/unix/sysv/linux/sys/acct.h
16720 * include/arpa/nameser.h, include/resolv.h:
16721 Fix indentation disrupted by mechanical edits.
16722
16723 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16724 * sysdeps/generic/netinet/in_systm.h
16725 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16726 * sysdeps/gnu/netinet/udp.h
16727 * sysdeps/unix/sysv/linux/net/ethernet.h
16728 * sysdeps/unix/sysv/linux/net/if_arp.h
16729 * sysdeps/unix/sysv/linux/net/if_ppp.h
16730 * sysdeps/unix/sysv/linux/net/if_shaper.h
16731 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16732 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16733 * sysdeps/unix/sysv/linux/netipx/ipx.h
16734 * sysdeps/unix/sysv/linux/sys/acct.h
16735 Include stdint.h for uintNN_t definitions.
16736 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16737
16738 2016-09-23 Zack Weinberg <zackw@panix.com>
16739
16740 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16741 * sysdeps/unix/sysv/linux/netrose/rose.h:
16742 Include sys/socket.h and netax25/ax25.h.
16743
16744 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16745 * resolv/arpa/nameser_compat.h:
16746 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16747
16748 * sysdeps/unix/sysv/linux/sys/quota.h:
16749 Use __caddr_t instead of caddr_t.
16750 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16751 Use __clockid_t instead of clockid_t.
16752
16753 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16754
16755 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16756 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16757 expanding it.
16758
16759 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16760 Define __glibc_c99_flexarr_available to 1 when the compiler
16761 supports C99-compatible flexible array members, 0 otherwise.
16762 * sysdeps/unix/sysv/linux/bits/socket.h
16763 * sysdeps/mach/hurd/bits/socket.h
16764 * bits/socket.h: Use __glibc_c99_flexarr_available in
16765 definitions of struct cmsghdr and CMSG_DATA.
16766
16767 2016-09-23 Florian Weimer <fweimer@redhat.com>
16768
16769 * manual/nss.texi (NSS Modules Interface): Adjust function return
16770 type to enum nss_status. Document errnop argument. Clarify
16771 h_errnop semantics. Fix cross-reference formatting.
16772 (NSS Module Function Internals): Mention that *errnop needs to be
16773 set on failure, but not to zero.
16774
16775 2016-09-23 Florian Weimer <fweimer@redhat.com>
16776
16777 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16778 (get_random_name): New functions.
16779 (check_wrapper_flags_mode): Use linkat to give the new file a name
16780 determined by get_random_name.
16781 (do_test): Add calls to test open64 and openat64.
16782
16783 2016-09-23 Florian Weimer <fweimer@redhat.com>
16784
16785 * test-skeleton.c: Remove #include <stdarg.h>.
16786
16787 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16788
16789 [BZ #19826]
16790 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16791 initialization of static TLS entries.
16792 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16793 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16794
16795 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16796
16797 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16798 _hurd_malloc_fork_prepare.
16799 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16800 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16801 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16802 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16803 (_hurd_fork_child_hook): Drop malloc_fork_child.
16804 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16805 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16806 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16807 after locking locks (notably hurd_dtable_lock). Call
16808 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16809 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16810 __malloc_fork_unlock_child.
16811 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16812
16813 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16814
16815 * soft-fp/extendhftf2.c: New.
16816 * soft-fp/fixhfti.c: Likewise.
16817 * soft-fp/fixunshfti.c: Likewise.
16818 * soft-fp/floattihf.c: Likewise.
16819 * soft-fp/floatuntihf.c: Likewise.
16820 * soft-fp/half.h: Likewise.
16821 * soft-fp/trunctfhf2.c: Likewise.
16822
16823 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16824
16825 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16826 macro.
16827 * math/libm-test.inc (issubnormal_test_data): New array.
16828 (issubnormal_test): New function.
16829 * manual/arith.texi (Floating Point Classes): Document
16830 issubnormal.
16831 * manual/libm-err-tab.pl: Update comment on interfaces without
16832 ulps tabulated.
16833
16834 * sysdeps/generic/stdint.h: Define
16835 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16836 <bits/libc-header-start.h> instead of including <features.h>.
16837 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16838 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16839 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16840 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16841 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16842 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16843 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16844 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16845 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16846 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16847 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16848 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16849 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16850 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16851 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16852 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16853 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16854 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16855 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16856 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16857 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16858 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16859 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16860 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16861 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16862 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16863 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16864 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16865 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16866 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16867 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16868 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16869 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16870 * manual/arith.texi (Integers): Document these macros for types
16871 specified by width properties.
16872 * manual/lang.texi (Width of Type): Document these macros for
16873 other standard typedefs.
16874 * stdlib/tst-width-stdint.c: New file.
16875 * stdlib/Makefile (tests): Add tst-width-stdint.
16876
16877 2016-09-21 Florian Weimer <fweimer@redhat.com>
16878
16879 [BZ #20016]
16880 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16881 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16882 Move ...
16883 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16884 ... here, as compatibility symbols in a new file.
16885 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16886 * resolv/res_init.c (__res_vinit): Adjust member names.
16887 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16888 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16889 (res_send_rhook): Remove.
16890 (struct __res_state): Rename qhook, rhook members.
16891
16892 2016-09-21 Florian Weimer <fweimer@redhat.com>
16893
16894 malloc: Use __libc_lock wrappers.
16895 * malloc/arena.c (list_lock, free_list_lock): Define using
16896 __libc_lock_define_initialized.
16897 (arena_lock): Adjust formatting.
16898 * malloc/malloc.c (struct malloc_state): Define mutex using
16899 __libc_lock_define.
16900 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16901 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16902 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16903 (mutex_unlock, mutex_trylock): Remove.
16904 (__pthread_initialize): Remove unused macro.
16905 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16906 (mutex_unlock, mutex_trylock): Remove.
16907
16908 2016-09-21 Florian Weimer <fweimer@redhat.com>
16909
16910 [BZ #20592]
16911 Remove RR type classification macros.
16912 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16913 (ns_t_udp_p, ns_t_xfr_p): Remove.
16914
16915 2016-09-21 Florian Weimer <fweimer@redhat.com>
16916
16917 Remove misleading version information.
16918 * resolv/arpa/nameser.h (__NAMESER): Remove.
16919 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16920
16921 2016-09-21 Florian Weimer <fweimer@redhat.com>
16922
16923 Remove the always-defined BIND_4_COMPAT macro.
16924 * resolv/arpa/nameser.h: Unconditionally include
16925 <arpa/nameser_compat.h>.
16926 (BIND_4_COMPAT): Remove.
16927 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16928
16929 2016-09-21 Florian Weimer <fweimer@redhat.com>
16930
16931 [BZ #20591]
16932 Remove obsolete DNSSEC support.
16933 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16934 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16935 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16936 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16937 (ns_cert_types): Add comment.
16938 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16939 separately.
16940 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16941 (dst_s_dns_key_id): Remove.
16942 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16943 variables.
16944
16945 2016-09-21 Florian Weimer <fweimer@redhat.com>
16946
16947 [BZ #20524]
16948 * manual/string.texi (String/Array Comparison): Clarify the
16949 strverscmp behavior.
16950
16951 2016-09-21 Florian Weimer <fweimer@redhat.com>
16952
16953 * test-skeleton.c (xasprintf): Add function.
16954 * io/tst-open-tmpfile.c: New test.
16955 * io/Makefile (tests): Add it.
16956
16957 2016-09-21 Florian Weimer <fweimer@redhat.com>
16958
16959 Avoid running $(CXX) during build to obtain header file paths.
16960 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16961 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16962 * Makerules (cstdlib, cmath): Remove variables. Use
16963 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16964 * configure: Regenerate.
16965
16966 2016-09-21 Florian Weimer <fweimer@redhat.com>
16967
16968 * Makeconfig (all-object-suffixes): Include .op only if
16969 $(build-profile).
16970
16971 2016-09-21 Florian Weimer <fweimer@redhat.com>
16972
16973 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16974 conditionals. Do not define PATH_MAX.
16975
16976 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16977
16978 * posix/Makefile (tests): Add tst-spawn3.
16979 * posix/tst-spawn3.c: New file.
16980 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16981 if it is already opened for open action.
16982
16983 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16984 all signals when executing the clone vfork child.
16985 (SIGALL_SET): Remove macro.
16986
16987 * nptl/Makefile (tests): Add tst-exec5.
16988 * nptl/tst-exec5.c: New file.
16989 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16990 asynchronous cancellation.
16991
16992 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16993
16994 * hurd/exc2signal.c: #include <hurd/signal.h>
16995 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16996 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16997 accordingly.
16998 * mach/mach_error.c (mach_error): Fix old-style function definition.
16999 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17000
17001 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17002
17003 * math/Makefile (libm-calls): Remove s_nanF.
17004 (gen-libm-calls): Add s_nanF.
17005
17006 * math/s_nan.c: Refactor into ...
17007 * math/s_nan_template.c: New file.
17008
17009 * math/s_nanf.c: Removed.
17010 * math/s_nanl.c: Removed.
17011 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17012 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17013
17014 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17015 (LDOUBLE_nanl_libm_version): New macro.
17016
17017 * sysdeps/generic/math-type-macros-double.h:
17018 (M_STRTO_NAN): New macro.
17019 * sysdeps/generic/math-type-macros-float.h: Likewise.
17020 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17021
17022 * sysdeps/generic/math-type-macros.h: Document
17023 M_STRTO_NAN.
17024
17025 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17026
17027 * math/s_nanf.c: Remove __nanf undef.
17028 * math/s_nan.c: Remove __nan undef.
17029 * math/s_nanl.c: Remove __nanl undef.
17030
17031 * sysdeps/generic/math_private.h (__nan): Remove macro
17032 override.
17033 (__nanf): Likewise.
17034 (__nanl): Likewise.
17035
17036 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17037
17038 * math/Makefile (gen-all-calls): New variable.
17039 (generated): Replace gen-libm-calls with gen-all-calls.
17040 (gen-libm-templates.stmp): Likewise. Also, ensure
17041 the output directory exists or is created and add
17042 dependency on the Makefile.
17043 (calls): Move s_ldexpF into gen-calls.
17044 (gen-calls): New variable.
17045
17046 * math/s_ldexpf.c: Removed.
17047 * math/s_ldexpl.c: Removed.
17048 * math/s_ldexp.c: Refactored into ...
17049 * math/s_ldexp_template.c: New file.
17050
17051 * sysdeps/generic/math-type-macros-double.h: Remove
17052 redundant fall-through definition of declare_mgen_alias.
17053 (declare_mgen_alias_2): New macro.
17054
17055 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17056 New macro for function aliased to two exported symbols.
17057
17058 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17059 new template file.
17060 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17061
17062 2016-09-20 Florian Weimer <fweimer@redhat.com>
17063
17064 * Makeconfig (all-object-suffixes): Remove .og.
17065 * Makerules (elide-routines.og): Remove.
17066 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17067 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17068 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17069
17070 2016-09-20 Florian Weimer <fweimer@redhat.com>
17071
17072 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17073 .os objects.
17074
17075 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17076
17077 [BZ #20615]
17078 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17079 fpu directory by non-fpu.
17080 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17081 on non-fpu directory from a fpu directory.
17082
17083 2016-09-19 Joseph Myers <joseph@codesourcery.com>
17084
17085 * include/limits.h: Define
17086 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17087 <bits/libc-header-start.h> instead of including <features.h>.
17088 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17089 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17090 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17091 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17092 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17093 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17094 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17095 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17096 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17097 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17098 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17099 * manual/lang.texi (Width of Type): Document these macros.
17100 * stdlib/tst-width.c: New file.
17101 * stdlib/Makefile (tests): Add tst-width.
17102
17103 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17104
17105 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17106 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17107
17108 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17109
17110 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17111 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17112 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17113
17114 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17115
17116 [BZ #18243]
17117 * rt/Makefile (test): Add tst-shm-cancel.
17118 * rt/tst-shm-cancel.c: New file.
17119 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17120
17121 [BZ #18243]
17122 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17123 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17124 definition.
17125 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17126 uncontended case.
17127 * nptl/sem_wait.c (__new_sem_wait): Likewise.
17128 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17129 (tf): Fix check for uncontended case.
17130 (do_test): Likewise.
17131 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17132 (tf): Fix check for uncontended case.
17133 (do_test): Likewise.
17134 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17135 (tf): Fix check for uncontended case.
17136 (do_test): Likewise.
17137 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17138 (tf): Fix check for uncontended case.
17139 (do_test): Likewise.
17140
17141 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17142 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17143
17144 [BZ #15765]
17145 * nptl/Makefile (tests): Add tst-sem16.
17146 * nptl/tst-sem16.c: New file.
17147 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17148
17149 * nptl/sem_open.c (sem_open): Init pad value to 0.
17150 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17151 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17152
17153 2016-09-15 Florian Weimer <fweimer@redhat.com>
17154
17155 [BZ #20611]
17156 * inet/Makefile (routines): Add inet6_scopeid_pton.
17157 (tests): Add tst-inet6_scopeid_pton.
17158 * inet/inet6_scopeid_pton.c: New file.
17159 * inet/net-internal.h: Likewise.
17160 * inet/tst-inet6_scopeid_pton.c: New test.
17161 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17162 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17164
17165 2016-09-14 Florian Weimer <fweimer@redhat.com>
17166
17167 Remove support for compiling wrappers with PTW.
17168 * sysdeps/nptl/Makeconfig: Drop ptw- support.
17169 * nptl/Makefile (pthread-compat-wrappers): Define.
17170 (libpthread-routines): Use pthread-compat-wrappers.
17171 * sysdeps/unix/sysv/linux/alpha/Makefile
17172 (libpthread-routines, libpthread-shared-only-routines): Remove
17173 ptw- prefix.
17174 * sysdeps/s390/nptl/Makefile
17175 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17176 * sysdeps/ia64/nptl/Makefile
17177 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17178 * sysdeps/nacl/Makefile (libpthread-routines): Use
17179 pthread-compat-wrappers to filter the routines list instead of the
17180 ptw- prefix.
17181
17182 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17183
17184 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17185 with L() and remove explicit suffix, convert real literals
17186 which can be equivalentally substituted with integers, and
17187 transform -L(x) to L(-x).
17188
17189 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17237 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17239
17240 2016-09-13 Florian Weimer <fweimer@redhat.com>
17241
17242 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17243
17244 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17245
17246 * malloc/Makefile (tests): Remove individual static test names
17247 and just add all of tests-static.
17248
17249 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17250
17251 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17252
17253 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17254 file.
17255
17256 * sysdeps/sparc/fpu/fegetmode.c: New file.
17257 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17258
17259 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17260 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17261
17262 * sysdeps/s390/fpu/fegetmode.c: New file.
17263 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17264
17265 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17266 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17267 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17268 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17269 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17270 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17271
17272 * sysdeps/mips/fpu/fegetmode.c: New file.
17273 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17274
17275 * sysdeps/m68k/fpu/fegetmode.c: New file.
17276 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17277
17278 * sysdeps/ia64/fpu/fegetmode.c: New file.
17279 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17280
17281 * sysdeps/hppa/fpu/fegetmode.c: New file.
17282 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17283
17284 * sysdeps/arm/fegetmode.c: New file.
17285 * sysdeps/arm/fesetmode.c: Likewise.
17286
17287 * sysdeps/alpha/fpu/fegetmode.c: New file.
17288 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17289
17290 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17291 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17292
17293 * math/fegetmode.c: New file.
17294 * math/fesetmode.c: Likewise.
17295 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17296 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17297 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17298 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17299 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17300 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17301 declaration.
17302 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17303 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17304 typedef.
17305 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17306 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17307 (femode_t): New typedef.
17308 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17309 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17310 (femode_t): New typedef.
17311 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17312 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17313 (femode_t): New typedef.
17314 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17315 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17316 (femode_t): New typedef.
17317 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17318 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17319 (femode_t): New typedef.
17320 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17321 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17322 (femode_t): New typedef.
17323 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17324 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17325 (femode_t): New typedef.
17326 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17327 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17328 (femode_t): New typedef.
17329 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17330 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17331 (femode_t): New typedef.
17332 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17333 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17334 (femode_t): New typedef.
17335 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17336 declaration.
17337 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17338 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17339 (femode_t): New typedef.
17340 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17341 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17342 (femode_t): New typedef.
17343 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17344 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17345 (femode_t): New typedef.
17346 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17347 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17348 (femode_t): New typedef.
17349 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17350 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17351 (femode_t): New typedef.
17352 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17353 * manual/arith.texi (FE_DFL_MODE): Document macro.
17354 (fegetmode): Document function.
17355 (fesetmode): Likewise.
17356 * math/Versions (fegetmode): New libm symbol at version
17357 GLIBC_2.25.
17358 (fesetmode): Likewise.
17359 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17360 (tests): Add test-femode and test-femode-traps.
17361 * math/test-femode-traps.c: New file.
17362 * math/test-femode.c: Likewise.
17363 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17364 alias for __fe_dfl_env.
17365 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17366 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17367 (__fe_dfl_mode): Likewise.
17368 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17369 version GLIBC_2.25.
17370 * sysdeps/nacl/libm.abilist: Update.
17371 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17384 Likewise.
17385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17386 Likewise.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17388 Likewise.
17389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17390 Likewise.
17391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17397 Likewise.
17398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17399 Likewise.
17400 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17401 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17402 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17403
17404 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 [BZ #20495]
17407 [BZ #20508]
17408 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17409 processors, set Use_dl_runtime_resolve_slow and set
17410 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17411 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17412 New.
17413 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17414 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17415 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17416 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17417 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17418 if Use_dl_runtime_resolve_opt is set. Use
17419 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17420 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17421 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17422 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17423 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17424 New.
17425 (_dl_runtime_resolve_opt): Likewise.
17426 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17427 defined.
17428
17429 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17430
17431 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17432 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17433
17434 2016-09-06 Florian Weimer <fweimer@redhat.com>
17435
17436 Convert malloc to __libc_lock. Automated part, using this Perl
17437 s/// command:
17438 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17439 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17440 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17441 conversion.
17442
17443 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17444
17445 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17446 (linknamespace-symlists-tests): Likewise.
17447 (linknamespace-header-tests): Likewise.
17448
17449 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17450
17451 [BZ #19810]
17452 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17453 * elf/tst-noload.c: New test case.
17454 * elf/Makefile (tests): Add tst-noload.
17455
17456 2016-09-02 Roland McGrath <roland@hack.frob.com>
17457
17458 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17459
17460 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17461 not any more.
17462
17463 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17464
17465 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17466
17467 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17468 (do_cos_slow): Likewise.
17469 (do_sin): Likewise.
17470 (do_sin_slow): Likewise.
17471 (slow): Likewise.
17472 (slow1): Likewise.
17473 (slow2): Likewise.
17474 (sloww): Likewise.
17475 (sloww1): Likewise.
17476 (sloww2): Likewise.
17477 (bsloww): Likewise.
17478 (bsloww1): Likewise.
17479 (bsloww2): Likewise.
17480 (cslow2): Likewise.
17481
17482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17483
17484 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17485 arguments. Consolidate input partitioning from callers here.
17486 (do_cos_slow): Likewise.
17487 (do_sin): Likewise.
17488 (do_sin_slow): Likewise.
17489 (do_sincos_1): Remove the no longer necessary input partitioning.
17490 (do_sincos_2): Likewise.
17491 (__sin): Likewise.
17492 (__cos): Likewise.
17493 (slow1): Likewise.
17494 (slow2): Likewise.
17495 (sloww1): Likewise.
17496 (sloww2): Likewise.
17497 (bsloww1): Likewise.
17498 (bsloww2): Likewise.
17499 (cslow2): Likewise.
17500
17501 2016-09-02 Florian Weimer <fweimer@redhat.com>
17502
17503 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17504 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17505 outside of allocated array.
17506
17507 2016-09-02 Florian Weimer <fweimer@redhat.com>
17508
17509 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17510 instead of MB_CUR_MAX to avoid variable-length array.
17511
17512 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17513
17514 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17515 (type-double-routines): Add k_rem_pio2.
17516 (type-float-routines): Add k_rem_pio2f.
17517
17518 * sysdeps/generic/math_private.h:
17519 (__kernel_rem_pio2l): Removed.
17520
17521 * math/k_rem_pio2l.c: Removed.
17522 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17523 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17524 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17525 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17526
17527 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17528
17529 * math/Makefile (gen-libm-calls): Add s_fmin
17530 (libm-calls): Remove above.
17531
17532 * math/s_fmin.c: Refactor into ...
17533 * math/s_fmin_template.c: New file.
17534
17535 * math/s_fminf.c: Removed.
17536 * math/s_fminl.c: Removed.
17537 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17538 (LDOUBLE_fmin_libm_version): New macro.
17539
17540 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17541 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17542
17543 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17544
17545 * math/Makefile: (gen-libm-calls): Add s_fmax.
17546 (libm-calls): Remove above.
17547
17548 * math/s_fmax.c: Refactor into ...
17549 * math/s_fmax_template.c: New file.
17550 * math/s_fmaxf.c: Removed.
17551 * math/s_fmaxl.c: Removed.
17552
17553 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17554 (LDOUBLE_fmaxl_libm_version): New macro.
17555
17556 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17557 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17558
17559 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17560 s_fmin.c to pick the aarch64 version of the file.
17561 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17562 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17563
17564 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17565
17566 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17567 (libm-calls): Remove above.
17568
17569 * math/s_nextdown.c: Refactor into ...
17570 * math/s_nextdown_template.c: New file.
17571 * math/s_nextdownf.c: Removed.
17572 * math/s_nextdownl.c: Removed.
17573
17574 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17575
17576 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17577
17578 * math/Makefile (gen-libm-calls): Add s_fdim.
17579 (libm-calls): Move to above.
17580
17581 * math/s_fdim.c: Renamed and refactored into to ...
17582 * math/s_fdim_template.c: New file.
17583 * math/s_fdiml.c: Removed.
17584 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17585 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17586
17587 * sysdeps/generic/math-type-macros-double.h:
17588 (declare_mgen_alias): Don't declare if already declared.
17589 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17590 Likewise.
17591
17592 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17593 (declare_mgen_alias): Don't declare if already declared.
17594 (M_LIBM_NEED_COMPAT): Likewise.
17595 (declare_mgen_libm_compat): Likewise.
17596 (LDOUBLE_fdiml_libm_version): New macro.
17597
17598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17599 Include math/s_fdim.c now that ldbl-opt version is not needed.
17600 (declare_mgen_alias): New macro to disable aliasing.
17601
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17603 (declare_mgen_alias): Likewise.
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17605 (declare_mgen_alias): Likewise.
17606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17607 (declare_mgen_alias): Likewise.
17608 (M_LIBM_NEED_COMPAT): Likewise.
17609
17610 2016-09-01 Florian Weimer <fweimer@redhat.com>
17611
17612 [BZ #20525]
17613 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17614 Include <linux/quota.h>.
17615 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17616 and btodb.
17617 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17618 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17619 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17620 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17621 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17622 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17623 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17624 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17625 types.
17626 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17627 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17628
17629 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17630
17631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17632 (gammal_positive): Fix spacing.
17633 (__ieee754_gammal_r): Likewise.
17634
17635 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17636
17637 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17638 (_Float128): Define as long double, always.
17639 (L): Apply long double type suffix, always.
17640
17641 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17642 _Float128, excepting comments.
17643
17644 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17710 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17712
17713 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17714 _Float128, and include math_private.h.
17715 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17716
17717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17718 long double semantics.
17719 (_Float128): Likewise.
17720 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17724
17725 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17726
17727 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17728 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17729 * sysdeps/s390/configure: Regenerated.
17730 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17731 instruction for raising over-/underflow if z196 zarch is supported
17732 by default.
17733 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17734
17735 2016-08-30 Svante Signell <svante.signell@gmail.com>
17736
17737 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17738 it point to a dumb buffer for RPC to fill it.
17739
17740 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17741
17742 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17743 instead of if/else.
17744 (do_sin_slow): Likewise.
17745 (do_sincos_1): Use fabs instead of if/else.
17746 (do_sincos_2): Likewise.
17747 (__sin): Likewise.
17748 (__cos): Likewise.
17749 (slow2): Likewise.
17750 (sloww): Likewise.
17751 (sloww1): Likewise. Drop argument M.
17752 (sloww2): Use fabs instead of if/else.
17753 (bsloww): Likewise.
17754 (bsloww1): Likewise.
17755 (bsloww2): Likewise.
17756
17757 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17758 fall through comment.
17759 (do_sincos_1): Likewise.
17760
17761 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17762 Consolidate switch cases 0 and 2.
17763
17764 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17765
17766 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17767 (libm-calls): Remove the above.
17768
17769 * math/s_cexp_template.c: Update using type-generic macros.
17770 * math/s_clog10_template.c: Likewise.
17771 * math/s_cpow_template.c: Likewise.
17772 * math/s_clog_template.c: Likewise.
17773 * math/s_cproj_template.c: Likewise.
17774 * math/s_csqrt_template.c: Likewise.
17775
17776 * math/s_cexp.c: Removed.
17777 * math/s_cexpf.c: Removed.
17778 * math/s_cexpl.c: Removed.
17779 * math/s_clog10.c: Removed.
17780 * math/s_clog10f.c: Removed.
17781 * math/s_clog10l.c: Removed.
17782 * math/s_cpow.c: Removed.
17783 * math/s_cpowf.c: Removed.
17784 * math/s_cpowl.c: Removed.
17785 * math/s_clog.c: Removed.
17786 * math/s_clogf.c: Removed.
17787 * math/s_clogl.c: Removed.
17788 * math/s_cproj.c: Removed.
17789 * math/s_cprojf.c: Removed.
17790 * math/s_cprojl.c: Removed.
17791 * math/s_csqrt.c: Removed.
17792 * math/s_csqrtf.c: Removed.
17793 * math/s_csqrtl.c: Removed.
17794
17795 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17796 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17797 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17798 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17799 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17800 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17801
17802 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17803 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17804 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17805 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17806 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17807 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17808 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17809 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17810 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17811 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17812 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17813
17814 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17815 version.
17816
17817 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17818 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17819 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17820 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17821
17822 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17823
17824 * s_cexp_template.c: Copy of s_cexp.c.
17825 * s_clog_template.c: Copy of s_clog.c.
17826 * s_clog10_template.c: Copy of s_clog10.c.
17827 * s_cpow_template.c: Copy of s_cpow.c.
17828 * s_cproj_template.c: Copy of s_cproj.c.
17829 * s_csqrt_template.c: Copy of s_csqrt.c.
17830
17831 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17832
17833 [BZ #20517]
17834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17835 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17836 exported.
17837
17838 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17839
17840 * math/fetestexceptflag.c: New file.
17841 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17842 Stefan Liebler.
17843 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17844 (fetestexceptflag): New function declaration.
17845 * manual/arith.texi (fetestexceptflag): Document function.
17846 * math/Versions (fetestexceptflag): New libm symbol at version
17847 GLIBC_2.25.
17848 * math/Makefile (libm-support): Add fetestexceptflag.
17849 (tests): Add test-fetestexceptflag.
17850 * math/test-fetestexceptflag.c: New file.
17851 * sysdeps/nacl/libm.abilist: Update.
17852 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17865 Likewise.
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17867 Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17869 Likewise.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17871 Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17878 Likewise.
17879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17880 Likewise.
17881 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17884
17885 2016-08-26 Florian Weimer <fweimer@redhat.com>
17886
17887 [BZ #20432]
17888 Avoid strong references to malloc-internal symbols when linking
17889 statically, to support statically interposed mallocs.
17890 * include/libc-symbols.h (call_function_static_weak): New macro.
17891 * malloc/Makefile (tests): Add tst-interpose-nothread,
17892 tst-interpose-thread, tst-interpose-static-nothread,
17893 tst-interpose-static-thread.
17894 (tests-static): Add tst-interpose-static-nothread,
17895 tst-interpose-static-thread.
17896 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17897 tst-interpose-aux-thread.o.
17898 (test-extras): Add tst-interpose-aux-nothread,
17899 tst-interpose-aux-thread.
17900 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17901 tst-interpose-aux-nothread.o.
17902 (tst-interpose-thread, tst-interpose-static-thread): Link with
17903 tst-interpose-aux-thread.o and libthread.
17904 * malloc/tst-interpose-aux-nothread.c: New file.
17905 * malloc/tst-interpose-aux-thread.c: Likewise.
17906 * malloc/tst-interpose-aux.c: Likewise.
17907 * malloc/tst-interpose-aux.h: Likewise.
17908 * malloc/tst-interpose-nothread.c: Likewise.
17909 * malloc/tst-interpose-skeleton.c: Likewise.
17910 * malloc/tst-interpose-static-nothread.c: Likewise.
17911 * malloc/tst-interpose-static-thread.c: Likewise.
17912 * malloc/tst-interpose-thread.c: Likewise.
17913 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17914 * sysdeps/mach/hurd/fork.c (__fork): Only call
17915 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17916 __malloc_fork_unlock_child if defined.
17917 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17918
17919 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17920
17921 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17922 timespec C99 designated initialization.
17923
17924 2016-08-26 Florian Weimer <fweimer@redhat.com>
17925
17926 [BZ #19946]
17927 Avoid expected SIGALRM signals.
17928 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17929 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17930 (xpthread_create, xpthread_detach, xpthread_join)
17931 (delayed_exit_thread, delayed_exit): New functions.
17932 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17933 (tf): Use xpthread_cond_wait.
17934 (do_test): Likewise. Replace alarm with delayed_exit.
17935 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17936 (do_test): Call delayed_exit. Report failure.
17937 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17938 (do_test): Call delayed_exit.
17939 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17940 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17941 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17942 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17943 error.
17944 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17945 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17946 error.
17947 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17948 (do_test): Call delayed_exit.
17949 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17950 (do_test): Call delayed_exit.
17951 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17952 (do_test): Call delayed_exit instead of alarm. Use
17953 xpthread_mutex_lock.
17954 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17955 (do_test): Call delayed_exit instead of alarm. Use
17956 xpthread_mutex_lock.
17957 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17958 (do_test): Call delayed_exit instead of alarm.
17959 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17960 (do_test): Call delayed_exit instead of alarm. Use
17961 xpthread_spin_lock.
17962 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17963 (do_test): Call delayed_exit instead of alarm. Use
17964 xpthread_join.
17965
17966 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17969 adjust CFA when allocating register save area on re-aligned
17970 stack.
17971
17972 2016-08-26 Florian Weimer <fweimer@redhat.com>
17973
17974 * string/tst-cmp.c: New test.
17975 * string/Makefile (tests): Add it.
17976
17977 2016-08-25 Mark Wielaard <mark@klomp.org>
17978
17979 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17980 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17981 (check_tree_recurse): Use newly defined accessors.
17982 (check_tree): Likewise.
17983 (maybe_split_for_insert): Likewise.
17984 (__tfind): Likewise.
17985 (__tdelete): Likewise.
17986 (trecurse): Likewise.
17987 (tdestroy_recurse): Likewise.
17988 (__tsearch): Likewise. And add asserts for malloc alignment.
17989 (__twalk): Cast root to node in case CHECK_TREE is defined.
17990
17991 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17992
17993 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17994
17995 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17996
17997 * math/Makefile (libm-gen-calls): Add
17998 catan, catanh, ctan, ctanh.
17999 (libm-calls): Remove the above.
18000
18001 * math/s_catan_template.c: Update using type-generic macros.
18002 * math/s_catanh_template.c: Likewise.
18003 * math/s_ctan_template.c: Likewise.
18004 * math/s_ctanh_template.c: Likewise.
18005
18006 * math/s_catanf.c: Removed.
18007 * math/s_catan.c: Removed.
18008 * math/s_catanl.c: Removed.
18009 * math/s_catanhf.c: Removed.
18010 * math/s_catanh.c: Removed.
18011 * math/s_catanhl.c: Removed.
18012 * math/s_ctanf.c: Removed.
18013 * math/s_ctan.c: Removed.
18014 * math/s_ctanl.c: Removed.
18015 * math/s_ctanhf.c: Removed.
18016 * math/s_ctanh.c: Removed.
18017 * math/s_ctanhl.c: Removed.
18018
18019 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18020 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18021 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18022 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18023 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18024 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18025
18026 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18027 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18028 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18029 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18030
18031 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18032
18033 * s_catan_template.c: Copy of s_catan.c.
18034 * s_catanh_template.c: Copy of s_catanh.c.
18035 * s_ctan_template.c: Copy of s_ctan.c.
18036 * s_ctanh_template.c: Copy of s_ctanh.c.
18037
18038 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18039
18040 * math/Makefile (gen-libm-calls): Move
18041 casin, casinh, csin, csinh here.
18042 (libm-calls): Remove the above.
18043
18044 * math/s_casin_template.c: Update using type-generic macros.
18045 * math/s_casinh_template.c: Likewise.
18046 * math/s_csin_template.c: Likewise.
18047 * math/s_csinh_template.c: Likewise.
18048 * math/k_casinh_template.c: Likewise.
18049
18050 * math/s_casinf.c: Removed.
18051 * math/s_casin.c: Removed.
18052 * math/s_casinl.c: Removed.
18053 * math/s_casinh.c: Removed.
18054 * math/s_casinhf.c: Removed.
18055 * math/s_casinhl.c: Removed.
18056 * math/s_csin.c: Removed.
18057 * math/s_csinf.c: Removed.
18058 * math/s_csinl.c: Removed.
18059 * math/s_csinh.c: Removed.
18060 * math/s_csinhf.c: Removed.
18061 * math/s_csinhl.c: Removed.
18062 * math/k_casinh.c: Removed.
18063 * math/k_casinhf.c: Removed.
18064 * math/k_casinhl.c: Removed.
18065
18066 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18067 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18068 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18069 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18070
18071 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18072 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18073 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18074 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18075 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18076 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18077 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18078 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18079
18080 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18081 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18082 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18083 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18084
18085 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18086 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18087 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18088 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18089
18090 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18091
18092 * s_casin_template.c: Copy of s_casin.c.
18093 * s_casinh_template.c: Copy of s_casinh.c.
18094 * s_csin_template.c: Copy of s_csin.c.
18095 * s_csinh_template.c: Copy of s_csinh.c.
18096 * k_casinh_template.c: Copy of k_casinh.c.
18097
18098 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
18099
18100 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18101
18102 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18103
18104 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18105 (mul_split) Remove, rename as mul_splitl, remove
18106 redundant float.h include, and include via mul_splitl.h
18107
18108 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18113
18114 * math/mul_splitl.h: New file.
18115
18116 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18117 Move into mul_split.h, and remove redundant float.h include.
18118
18119 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18123
18124 * math/mul_split.h: New file.
18125
18126 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18127
18128 * math/Makefile (libm-gen-calls): Move
18129 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18130 (libm-calls): Remove above.
18131
18132 * math/s_cacos_template.c: Update using type-generic macros.
18133 * math/s_cacosh_template.c: Likewise.
18134 * math/s_ccos_template.c: Likewise.
18135 * math/s_ccosh_template.c: Likewise.
18136
18137 * math/s_cacosf.c: Removed.
18138 * math/s_cacos.c: Removed.
18139 * math/s_cacosl.c: Removed.
18140 * math/s_cacoshf.c: Removed.
18141 * math/s_cacosh.c: Removed.
18142 * math/s_cacoshl.c: Removed.
18143 * math/s_ccosf.c: Removed.
18144 * math/s_ccos.c: Removed.
18145 * math/s_ccosl.c: Removed.
18146 * math/s_ccoshf.c: Removed.
18147 * math/s_ccosh.c: Removed.
18148 * math/s_ccoshl.c: Removed.
18149
18150 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18151 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18152 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18153 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18154 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18155 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18156
18157 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18158 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18159 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18160 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18161
18162 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18163 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18164 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18165 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18166
18167 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18168
18169 * s_cacos_template.c: Copy of s_cacos.c.
18170 * s_cacosh_template.c: Copy of s_cacosh.c.
18171 * s_ccos_template.c: Copy of s_ccos.c.
18172 * s_ccosh_template.c: Copy of s_ccosh.c.
18173
18174 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18175
18176 * stdlib/tst-strtod-round-skeleton.c:
18177 Refactored from tst-strtod-round.c.
18178
18179 (L_): New macro to apply literal modifier.
18180 (FNPFX): New macro to select str or wcs prefix.
18181 (CHAR): New macro to choose wchar_t or char.
18182 (STRM): New macro to choose printf for tested character type.
18183
18184 (STRTO): New macro to choose appropriate string -> real function.
18185 (FNPFXS): Stringitized version of FNPFX.
18186 (STR): Support for above macro.
18187 (STRX): Likewise.
18188
18189 (TEST): Update with above macros.
18190 (test): Likewise.
18191 (GEN_ONE_TEST): Likewise.
18192 (test_in_one_mode): Likewise.
18193
18194 * stdlib/tst-strtod-round.c: New file.
18195 * wcsmbs/tst-wcstod-round.c: New file.
18196
18197 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18198 (tst-wcstod-round): Add libm depencency for fesetround.
18199
18200 2016-08-19 Zack Weinberg <zackw@panix.com>
18201
18202 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18203
18204 2016-08-18 Torvald Riegel <triegel@redhat.com>
18205
18206 [BZ #20477]
18207 * resolv/res_hconf.c (do_init): Use atomic access.
18208 * resolv/res_hconf.h: Add comments.
18209 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18210 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18212
18213 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18214
18215 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18216 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18218 Likewise.
18219
18220 2016-08-18 Florian Weimer <fweimer@redhat.com>
18221
18222 [BZ #16907]
18223 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18224 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18225 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18226 (__attribute__): Remove definition.
18227
18228 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18229
18230 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18231 Remove unused sqrtl declaration.
18232
18233 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18234
18235 * math/Makefile: (gen-libm-templates.stmp): New rule.
18236 (libm-calls): Move carg conj cimag and cabs into ...
18237 (gen-libm-calls): New variable.
18238 (generated): Inform Make objects from gen-libm-calls
18239 may be generated.
18240
18241 * sysdeps/generic/math-type-macros.h: New file.
18242 * sysdeps/generic/math-type-macros-float.h: Likewise.
18243 * sysdeps/generic/math-type-macros-double.h: Likewise.
18244 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18245 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18246 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18247
18248 * math/cabs.c: Refactor into
18249 * math/cabs_template.c: new file.
18250 * math/cabsf.c: Removed.
18251 * math/cabsl.c: Removed.
18252 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18253 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18254
18255 * math/carg.c: Refactor into
18256 * math/carg_template.c: new file.
18257 * math/cargf.c: Removed.
18258 * math/cargl.c: Removed.
18259 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18260 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18261
18262 * math/conj.c: Refactor into
18263 * math/conj_template.c: new file.
18264 * math/conjf.c: Removed.
18265 * math/conjl.c: Removed.
18266 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18267 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18268
18269 * math/cimag.c: Refactor into
18270 * math/cimag_template.c: new file.
18271 * math/cimagf.c: Removed.
18272 * math/cimagl.c: Removed.
18273 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18274 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18275
18276 * math/cimag.c: Refactor into
18277 * math/cimag_template.c: new file.
18278 * math/cimagf.c: Removed.
18279 * math/cimagl.c: Removed.
18280 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18281 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18282
18283 2016-08-17 Florian Weimer <fweimer@redhat.com>
18284
18285 Reduce time to expected nptl/tst-once5 failure.
18286 * nptl/tst-once5.cc (TIMEOUT): Define.
18287
18288 2016-08-17 Florian Weimer <fweimer@redhat.com>
18289
18290 [BZ #20452]
18291 Avoid additional copies of objects in libc.a in static libraries.
18292 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18293 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18294 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18295 rt-sysdep.
18296 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18297 Add nptl-sysdep.
18298 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18299 Add ptw-sysdep.
18300 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18301 rt-sysdep.
18302 * sysdeps/unix/sysv/linux/alpha/Makefile
18303 (libpthread-shared-only-routines): Add ptw-sysdep,
18304 ptw-sigprocmask, ptw-rt_sigaction.
18305 * sysdeps/unix/sysv/linux/ia64/Makefile
18306 (librt-shared-only-routines): Add rt-sysdep.
18307 * sysdeps/unix/sysv/linux/i386/Makefile
18308 (libpthread-shared-only-routines): Add libc-do-syscall.
18309 * sysdeps/unix/sysv/linux/microblaze/Makefile
18310 (libpthread-shared-only-routines): Add sysdep.
18311 * sysdeps/unix/sysv/linux/powerpc/Makefile
18312 (librt-shared-only-routines): Add rt-sysdep.
18313 (libpthread-shared-only-routines): Add sysdep.
18314 * sysdeps/unix/sysv/linux/s390/Makefile
18315 (librt-shared-only-routines): Add rt-sysdep.
18316 * sysdeps/unix/sysv/linux/sparc/Makefile
18317 (librt-shared-only-routines): Add rt-sysdep.
18318 (libpthread-shared-only-routines): Add sysdep.
18319 * sysdeps/unix/sysv/linux/tile/Makefile
18320 (libpthread-shared-only-routines): Likewise.
18321
18322 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18323
18324 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18325 Mask implicit bit out of unpacked value.
18326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18329
18330 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18331
18332 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18333
18334 * sysdeps/s390/fpu/fesetexcept.c: New file.
18335
18336 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18337 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18338 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18339
18340 * sysdeps/mips/fpu/fesetexcept.c: New file.
18341
18342 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18343
18344 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18345
18346 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18347
18348 * sysdeps/arm/fesetexcept.c: New file.
18349
18350 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18351
18352 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18353
18354 * math/fesetexcept.c: New file.
18355 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18356 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18357 * math/fenv.h: Define
18358 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18359 <bits/libc-header-start.h> instead of including <features.h>.
18360 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18361 declaration.
18362 * manual/arith.texi (fesetexcept): Document function.
18363 * math/Versions (fesetexcept): New libm symbol at version
18364 GLIBC_2.25.
18365 * math/Makefile (libm-support): Add fesetexcept.
18366 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18367 * math/test-fesetexcept.c: New file.
18368 * math/test-fesetexcept-traps.c: Likewise.
18369 * sysdeps/nacl/libm.abilist: Update.
18370 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18383 Likewise.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18385 Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18387 Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18389 Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18393 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18394 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18396 Likewise.
18397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18398 Likewise.
18399 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18400 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18401 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18402
18403 2016-08-16 Florian Weimer <fweimer@redhat.com>
18404
18405 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18406 New.
18407 (do_test): Apply default_stack_size_in_mb if not set.
18408 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18409
18410 2016-08-15 Andreas Schwab <schwab@suse.de>
18411
18412 [BZ #20435]
18413 CVE-2016-6323
18414 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18415 as .cantunwind.
18416
18417 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18418
18419 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18420 comment from fraiseexcpt.c.
18421
18422 * math/test-fexcept.c (feraiseexcept_exact): New function.
18423 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18424 (test_except): Likewise.
18425
18426 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18427
18428 [BZ #20455]
18429 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18430 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18431 to be restored.
18432
18433 * math/test-fexcept-traps.c: New file.
18434 * math/test-fexcept.c: Likewise.
18435 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18436 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18437 macro.
18438 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18439 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18440
18441 2016-08-09 Torvald Riegel <triegel@redhat.com>
18442
18443 * include/atomic.h (atomic_fetch_and_relaxed,
18444 atomic_fetch_and_release, atomic_fetch_or_release,
18445 atomic_fetch_xor_release): New.
18446
18447 2016-08-06 Christian Seiler <christian@iwakd.de>
18448
18449 [BZ #20444]
18450 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18451 MACH_PORT_NULL.
18452
18453 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18454
18455 * math/s_fdim.c: Avoid alias renamed.
18456 * math/s_fdimf.c: Likewise.
18457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18458 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18459 Add s_fdimf-vis3, s_fdim-vis3.
18460 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18461 (CFLAGS-s_fdim-vis3.c): Likewise.
18462 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18463 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18464
18465 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18466
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18468 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18469 Remove s_fdimf-vis3, s_fdim-vis3.
18470 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18471 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18478 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18479 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18480
18481 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18482
18483 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18484 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18485 -Wa,-Av9a -mvis.
18486
18487 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18488
18489 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18490 LIT() to individual constants in simple expressions
18491 after splitting on spaces.
18492 (_apply_lit): Rename replaced version, and use it to
18493 apply to what appears to be a token.
18494
18495 * math/libm-test.inc: Fix many, many issues with
18496 spacing.
18497
18498 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18499
18500 * math/math.h: Move comment about <bits/mathdef.h> definitions
18501 above inclusion of <bits/mathdef.h>. Do not mention
18502 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18503
18504 2016-08-05 Torvald Riegel <triegel@redhat.com>
18505
18506 * include/atomic.h (atomic_exchange_relaxed): New.
18507
18508 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18509
18510 * math/e_scalb.c: Do not include <fenv.h>.
18511 (invalid_fn): Do calculation resulting in NaN instead of raising
18512 FE_INVALID and returning a NaN explicitly.
18513 * math/e_scalbf.c: Do not include <fenv.h>.
18514 (invalid_fn): Do calculation resulting in NaN instead of raising
18515 FE_INVALID and returning a NaN explicitly.
18516 * math/e_scalbl.c: Do not include <fenv.h>.
18517 (invalid_fn): Do calculation resulting in NaN instead of raising
18518 FE_INVALID and returning a NaN explicitly.
18519
18520 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18521
18522 * po/de.po: Updated from Translation Project.
18523 * po/fi.po: Likewise.
18524 * po/sv.po: Likewise.
18525
18526 2016-08-04 Florian Weimer <fweimer@redhat.com>
18527
18528 [BZ #20452]
18529 Use sysdep.o from libc.a in static libraries.
18530 * sysdeps/unix/sysv/linux/i386/Makefile
18531 (libpthread-shared-only-routines): Add sysdep.
18532 (librt-shared-only-routines): Likewise.
18533
18534 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18535
18536 * math/tgmath.h (nextdown): Define if
18537 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18538 (nextup): Likewise.
18539
18540 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18541 macro.
18542 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18543 Document.
18544 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18545 Document macro.
18546 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18547 (exp10f): Likewise.
18548 (exp10l): Likewise.
18549 * math/bits/mathcalls.h (exp10): Declare if
18550 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18551
18552 * manual/arith.texi (nextup): Fix typo in last change.
18553
18554 2016-08-03 Zack Weinberg <zackw@panix.com>
18555
18556 [BZ #19239]
18557 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18558 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18559 define major, minor, and makedev to issue deprecation warnings on use.
18560 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18561 previously-activated deprecation warnings for these macros and prevent
18562 subsequent inclusions of this header from having any effect.
18563 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18564 including <sys/sysmacros.h>, and undefine it again afterward.
18565
18566 2016-08-03 Zack Weinberg <zackw@panix.com>
18567
18568 * sysdeps/generic/sys/sysmacros.h: Delete file.
18569 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18571 * bits/sysmacros.h: ... here; this encoding is now the generic
18572 encoding. Now defines only the following macros:
18573 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18574 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18575 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18576
18577 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18578 bits/sysmacros.h and the above new macros to generate the
18579 public implementations of major, minor, and makedev.
18580 * misc/tst-makedev.c: New test.
18581 * include/sys/sysmacros.h: New wrapper.
18582
18583 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18584 (routines): Add makedev.
18585 (tests): Add tst-makedev.
18586 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18587 gnu_dev_makedev.
18588 * posix/Makefile (headers): Remove sys/sysmacros.h.
18589 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18590
18591 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18592 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18594 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18595 * sysdeps/unix/sysv/linux/arm/libc.abilist
18596 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18597 * sysdeps/unix/sysv/linux/i386/libc.abilist
18598 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18600 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18602 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18603 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18604 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18606 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18613 * sysdeps/unix/sysv/linux/sh/libc.abilist
18614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18621 Add GLIBC_2.25.
18622
18623 * include/features.h (__glibc_clang_prereq): New macro.
18624 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18625 (__attribute_deprecated_msg__): New macros.
18626
18627 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18628
18629 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18630 macro.
18631 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18632 * manual/arith.texi (issignaling): Document as ISO from TS
18633 18661-1:2014.
18634 (nextup): Likewise.
18635 (nextupf): Likewise.
18636 (nextupl): Likewise.
18637 (nextdown): Likewise.
18638 (nextdownf): Likewise.
18639 (nextdownl): Likewise.
18640 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18641 macro.
18642 * math/math.h: Define
18643 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18644 <bits/libc-header-start.h> instead of including <features.h>.
18645 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18646 [__USE_GNU].
18647 * math/bits/mathcalls.h (nextdown): Declare if
18648 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18649 (nextup): Likewise.
18650 (__issignaling): Likewise.
18651
18652 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18653
18654 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18655 check, and remove __glibc_likely hint
18656 from FP_INFINITE check.
18657 * s_csinhf.c (__csinhf): Likewise.
18658
18659 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18660 hint from FP_INFINITE check.
18661 * s_csinhl.c (__csinhl): Likewise.
18662
18663 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18664
18665 * math/Makefile (libm-calls): Insert F placeholder into
18666 object names. Move w_lgamma_compat* routines into
18667 (libm-compat-calls): New variable.
18668 (libm-compat-calls-ldouble-yes): New variable.
18669 (calls): Insert F placeholder.
18670 (generated): Redefine using new type-foreach macro call.
18671 (routines): Likewise.
18672
18673 (types): New variable to hold a list of symbolic names
18674 for each type supported by the target machine.
18675 (libm-routines): Redefine using new types variable.
18676 (type-foreach): macro to replace fooF with the
18677 appropriately suffixed foo for each types.
18678
18679 (type-ldouble-suffix): New variable.
18680 (type-ldouble-routines): Likewise.
18681 (type-ldouble-yes): Likewise.
18682 (type-double-suffix): Likewise.
18683 (type-double-routines): Likewise.
18684 (type-float-suffix): Likewise.
18685 (type-float-routines): Likewise.
18686
18687 (dbl-only-routines): Remove.
18688 (long-c-yes): Likewise.
18689 (long-m-routines): Likewise.
18690 (long-m-support): Likewise.
18691 (long-m-yes): Likewise.
18692 (test-longdouble-yes): Likewise.
18693
18694 (test-float.o): Simplify by increasing the scope of the
18695 recipe which adds libm-test.stmp to the vector types.
18696 (test-ifloat.o): Likewise.
18697 (test-float-finite.o): Likewise.
18698 (test-double.o): Likewise
18699 (test-idouble.o): Likewise.
18700 (test-double-finite.o): Likewise.
18701 (test-ldouble.o): Likewise
18702 (test-ildoubl.o): Likewise.
18703 (test-ldouble-finite.o): Likewise.
18704
18705 (libm-tests): Redefine type tests using foreach and the
18706 list of types in types.
18707
18708 (CPPFLAGS-test-ildoubl.c): Rename to
18709 (CPPFLAGS-test-ildouble.c): New variable
18710
18711 * math/test-ildoubl.c: Rename to
18712 * math/test-ildouble.c: New file.
18713
18714 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18715
18716 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18717 Use fabsl instead of fabs.
18718 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18719 Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18721 Add long double suffix to constant to ensure proper
18722 promotion to long double.
18723
18724 2016-08-03 Tom Tromey <tom@tromey.com>
18725
18726 [BZ #20311]
18727 * nptl_db/Makefile (headers): Add proc_service.h.
18728 * nptl_db/proc_service.h: Add include guard. Use
18729 __BEGIN/__END_DECLS.
18730 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18731 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18732 arguments.
18733
18734
18735 2016-08-03 Florian Weimer <fweimer@redhat.com>
18736
18737 [BZ #17730]
18738 Avoid using memalign for TCB allocations.
18739 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18740 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18741 Avoid alignment gap in the TLS_DTV_AT_TP case.
18742 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18743 determine the pointer to free.
18744 * nptl/tst-tls3-malloc.c: New test.
18745 * nptl/Makefile (tests): Add it.
18746 (tst-tls3-malloc): Link with libdl, libpthread.
18747 (LDFLAGS-tst-tls3-malloc): Set.
18748 (tst-tls3-malloc.out): Depend on DSO used in test.
18749
18750 2016-08-03 Florian Weimer <fweimer@redhat.com>
18751
18752 [BZ #17730]
18753 Avoid using memalign for TLS allocations.
18754 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18755 is_static member with to_free member.
18756 (union dtv): Use struct dtv_pointer.
18757 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18758 dtv_pointer instead of is_static.
18759 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18760 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18761 instead of val.
18762 (allocate_dtv_entry): New function.
18763 (allocate_and_init): Return struct dtv_pointer. Call
18764 allocate_dtv_entry instead of __libc_memalign.
18765 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18766 instead of val.
18767 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18768 instead of is_static. Adjust call to allocate_and_init.
18769 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18770 struct dtv_pointer instead of val.
18771
18772 2016-08-03 Florian Weimer <fweimer@redhat.com>
18773
18774 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18775 (MALLOC_ALIGN_MASK): Move ...
18776 * malloc/malloc-internal.h: ... to here.
18777 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18778
18779 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18780
18781 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18782 (UDP_ENCAP_GTP1U): Likewise.
18783
18784 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18785 (PF_MAX): Update value.
18786 (AF_QIPCRTR): New macro.
18787
18788 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18789
18790 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18791 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18792 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18794 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18795 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18796 s_truncf-vis3, s_trunc-vis3.
18797 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18798 (CFLAGS-s_ceil-vis3.c): Likewise.
18799 (CFLAGS-s_floorf-vis3.c): Likewise.
18800 (CFLAGS-s_floor-vis3.c): Likewise.
18801 (CFLAGS-s_truncf-vis3.c): Likewise.
18802 (CFLAGS-s_trunc-vis3.c): Likewise.
18803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18811 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18812 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18813 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18814 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18815
18816 2016-08-02 David S. Miller <davem@davemloft.net>
18817
18818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18819 (__nearbyint_vis3): Don't check for sNaN before float register is
18820 loaded with the incoming argument.
18821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18822 (__nearbyintf_vis3): Likewise.
18823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18824 Likewise.
18825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18826 Likewise.
18827
18828 * string/test-strncmp.c (do_test_limit): Make sure the test data
18829 stream is aligned as required for the type "CHAR".
18830 (do_test): Likewise.
18831
18832 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18833
18834 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18835 by beq instructions jumping to the end of the function.
18836 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18837 clobber list. Use "i" constraint instead of "X".
18838 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18839 of "X".
18840
18841 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18842
18843 * bits/libc-header-start.h: New file.
18844 * Makefile (headers): Add bits/libc-header-start.h.
18845 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18846 (__GLIBC_USE): New macro.
18847 * libio/stdio.h: Define
18848 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18849 <bits/libc-header-start.h> instead of including <features.h>.
18850 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18851 (open_memstream): Likewise.
18852 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18853 (__asprintf): Likewise.
18854 (asprintf): Likewise.
18855 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18856 (getdelim): Likewise.
18857 (getline): Likewise.
18858 * string/string.h: Define
18859 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18860 <bits/libc-header-start.h> instead of including <features.h>.
18861 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18862 (strndup): Likewise.
18863 * wcsmbs/wchar.h: Define
18864 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18865 <bits/libc-header-start.h> instead of including <features.h>.
18866 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18867 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18868
18869 2016-08-02 Florian Weimer <fweimer@redhat.com>
18870
18871 Support linking against compatibility symbols, for use in tests.
18872 * include/libc-symbols.h (symbol_version_reference): New macro.
18873 (symbol_version): Use it.
18874 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18875 (compat_symbol): Use compat_symbol_reference.
18876 (compat_symbol_1, compat_symbol_2): Remove.
18877 (compat_symbol_reference, compat_symbol_reference_1)
18878 (compat_symbol_reference_2): New macro. Use
18879 symbol_version_reference.
18880
18881 2016-08-02 Florian Weimer <fweimer@redhat.com>
18882
18883 [BZ #19469]
18884 * malloc/Makefile (CPPFLAGS): Compile tests with
18885 -DTEST_NO_MALLOPT.
18886 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18887
18888 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18889
18890 [BZ #20033]
18891 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18892 finite version.
18893 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18894 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18895 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18896 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18897 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18898 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18899 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18900 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18901 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18902 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18903 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18904 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18905 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18906 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18907 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18908 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18909 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18910 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18911 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18912 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18913 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18914 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18915 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18916 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18917 in zero power.
18918
18919 2016-08-02 Florian Weimer <fweimer@redhat.com>
18920
18921 [BZ #20370]
18922 * malloc/arena.c (get_free_list): Update comment. Assert that
18923 arenas on the free list have no attached threads.
18924 (remove_from_free_list): New function.
18925 (reused_arena): Call it.
18926
18927 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18928
18929 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18930 when it is a NaN.
18931 [_IEEE_FP_INEXACT] Remove.
18932 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18933 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18934 when it is a NaN.
18935 [_IEEE_FP_INEXACT] Remove.
18936 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18937 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18938 when it is a NaN.
18939 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18940 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18941 when its absolute value is greater than 0x1.0p52.
18942 [_IEEE_FP_INEXACT] Remove.
18943 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18944 when its absolute value is greater than 0x1.0p23.
18945 [_IEEE_FP_INEXACT] Remove.
18946
18947 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18948
18949 * version.h (RELEASE): Set to "development"
18950 (VERSION): Set to 2.24.90.
18951 * NEWS: Add 2.25 section.
18952
18953 * version.h (RELEASE): Set to "stable"
18954 (VERSION): Set to 2.24.
18955 * include/features.h (__GLIBC_MINOR__): Set to 24.
18956
18957 * NEWS: Add 2.24 fixed bugs.
18958 * po/libc.pot: Regenerate.
18959
18960 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18961
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18963 [$(subdir) = math] (libm-sysdep_routines): Remove.
18964 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18965 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18966 s_truncf-vis3, s_trunc-vis3.
18967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18969 file.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19005 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19009 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19010 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19011 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19012 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19013
19014 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
19015
19016 [BZ #20384]
19017 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19018 test-double-libmvec-sincos-avx-main.o,
19019 test-double-libmvec-sincos-avx2-main.o,
19020 test-double-libmvec-sincos-main.o,
19021 test-float-libmvec-sincosf-avx-main.o,
19022 test-float-libmvec-sincosf-avx2-main.o and
19023 test-float-libmvec-sincosf-main.o.
19024 test-float-libmvec-sincosf-avx512-main.o.
19025 ($(objpfx)test-double-libmvec-sincos): Also link with
19026 $(objpfx)test-double-libmvec-sincos-main.o.
19027 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19028 $(objpfx)test-double-libmvec-sincos-avx-main.o.
19029 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19030 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19031 ($(objpfx)test-float-libmvec-sincosf): Also link with
19032 $(objpfx)test-float-libmvec-sincosf-main.o.
19033 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19034 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19035 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19036 test-double-libmvec-sincos-avx512-main.o and
19037 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19038 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19039 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19040 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19041 (CFLAGS-test-double-libmvec-sincos.c): Removed.
19042 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19043 (CFLAGS-test-double-libmvec-sincos-main.c): New.
19044 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19045 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19046 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19047 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19048 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19049 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19050 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19051 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19052 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19053 -DREQUIRE_AVX2.
19054 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19055 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19056 -DREQUIRE_AVX512F.
19057 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19058 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19059 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19060 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19061 file.
19062 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19063 Likewise.
19064 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19065 Likewise.
19066 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19067 Likewise.
19068 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19069 Likewise.
19070 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19071 Likewise.
19072 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19073 Likewise.
19074 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19075 Likewise.
19076
19077 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
19078
19079 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19080
19081 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
19082
19083 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19084 and typo in a comment about AT_HWCAP entry.
19085
19086 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19087
19088 * sysdeps/aarch64/libm-test-ulps: Updated.
19089
19090 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19091
19092 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19093 of r13 as it is not restored in mvcle case.
19094
19095 2016-07-19 Mike Frysinger <vapier@gentoo.org>
19096
19097 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19098 Rename "ret" to "__ret".
19099 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19100 inline_syscall5, inline_syscall6): Likewise.
19101
19102 2016-07-19 Will Newton <will.newton@gmail.com>
19103
19104 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19105 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19106 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19107 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19108 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19109
19110 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
19111
19112 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19113 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19114 -mfpmath=387 with $(rtld-CFLAGS).
19115 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19116 $(rtld-CFLAGS).
19117
19118 2016-07-18 Ross Burton <ross.burton@intel.com>
19119 Khem Raj <raj.khem@gmail.com>
19120
19121 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19122 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19123 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19124 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19125 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19126 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19127 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19128 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19129 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19130 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19131 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19132 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19133 R_METAG_TLS_DTPOFF): New.
19134
19135 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
19136 Matt Clay <mclay@lycos.com>
19137
19138 [BZ #20357]
19139 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19140 to call __mpsin/__mpcos and to negate values.
19141 * math/auto-libm-test-in: Add test.
19142 * math/auto-libm-test-out: Regenerate.
19143
19144 2016-07-18 Zack Weinberg <zackw@panix.com>
19145
19146 * grp/Makefile: Don't install the internal header grp-merge.h.
19147
19148 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19149
19150 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19151
19152 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19153
19154 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19155
19156 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19157
19158 [BZ #15368]
19159 * sysdeps/unix/sysv/linux/nptl-signals.h
19160 (__nptl_clear_internal_signals): New function.
19161 (__libc_signal_block_all): Likewise.
19162 (__libc_signal_block_app): Likewise.
19163 (__libc_signal_restore_set): Likewise.
19164 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19165 implementation.
19166 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19167 the cached pid/tid value in pthread structure.
19168
19169 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
19170
19171 [BZ #20347]
19172 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19173
19174 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 [BZ #20348]
19177 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19178 preadv64, pwrite64 and pwritev64.
19179
19180 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19181
19182 [BZ #20350]
19183 * posix/tst-preadwrite.c: Renamed to ...
19184 * posix/tst-preadwrite-common.c: This.
19185 (PREAD): Removed.
19186 (PWRITE): Likewise.
19187 (STRINGIFY): Likewise.
19188 (STRINGIFY2): Likewise.
19189 (do_prepare): Make it static and remove function arguments.
19190 (do_test): Likewise.
19191 (PREPARE): Updated.
19192 (TEST_FUNCTION): New.
19193 (name): Make it static.
19194 (fd): Likewise.
19195 (do_prepare): Use create_temp_file.
19196 (do_test): Renamed to ...
19197 (do_test_with_offset): This. Make it static and accept offset.
19198 Properly check return value of PWRITE and PREAD. Return bytes
19199 read. Don't close fd nor unlink name.
19200 * posix/tst-preadwrite.c: Rewrite.
19201 * posix/tst-preadwrite64.c: Likewise.
19202
19203 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19204
19205 [BZ #20309]
19206 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19207 -mtls-dialect=gnu2 works.
19208 * configure: Regenerated.
19209 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19210 (tests): Add tst-gnu2-tls1.
19211 (modules-names): Add tst-gnu2-tls1mod.
19212 ($(objpfx)tst-gnu2-tls1): New.
19213 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19214 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19215 * elf/tst-gnu2-tls1.c: New file.
19216 * elf/tst-gnu2-tls1mod.c: Likewise.
19217 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19218 bytes for push in the PLT entry to align the stack.
19219
19220 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19221
19222 [BZ #20349]
19223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19224
19225 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19226
19227 [BZ #18707]
19228 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19229 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19230
19231 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19232
19233 * sysdeps/unix/sysv/linux/sysdep.h
19234 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19235 guards.
19236 * misc/tst-preadvwritev-common.c: New file.
19237 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19238 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19239 a check for files larger than 2GB.
19240
19241 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19242 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19243 * sysdeps/unix/sysv/linux/pread.c
19244 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19245 __OFF_T_MATCHES_OFF64_T.
19246 * sysdeps/unix/sysv/linux/pread64.c
19247 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19248 * sysdeps/unix/sysv/linux/preadv.c
19249 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19250 * sysdeps/unix/sysv/linux/preadv64.c
19251 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19252 * sysdeps/unix/sysv/linux/pwrite.c
19253 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19254 * sysdeps/unix/sysv/linux/pwrite64.c
19255 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19256 * sysdeps/unix/sysv/linux/pwritev.c
19257 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19258 * sysdeps/unix/sysv/linux/pwritev64.c
19259 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19260
19261 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19262
19263 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19264 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19265
19266 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19267
19268 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19269
19270 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19271
19272 [BZ #20240]
19273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19274 (CFLAGS-s_modf-ppc32.c): New variable.
19275 (CFLAGS-s_modff-ppc32.c): Likewise.
19276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19277 (CFLAGS-s_modf-ppc64.c): Likewise.
19278 (CFLAGS-s_modff-ppc64.c): Likewise.
19279
19280 2016-07-07 Andreas Schwab <schwab@suse.de>
19281
19282 [BZ #20263]
19283 * nptl/tst-robust10.c: New test.
19284 * nptl/Makefile (tests): Add tst-robust10.
19285
19286 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19287
19288 [BZ #20263]
19289 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19290
19291 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19292
19293 * sysdeps/s390/linkmap.h (struct link_map_machine):
19294 Remove member gotplt and add member jmprel.
19295 * sysdeps/s390/s390-32/dl-machine.h
19296 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19297 instead of gotplt with &got[3].
19298 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19299 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19300
19301 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19302
19303 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19304
19305 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19306
19307 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19308 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19309 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19310 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19311 * libio/vtables.c (_IO_vtable_check)
19312 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19313 * libio/libioP.h (IO_set_accept_foreign_vtables)
19314 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19315
19316 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19317
19318 [BZ #20314]
19319 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19320 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19321 $(common-objpfx)cmath.
19322 ($(common-objpfx)cstdlib): New target.
19323 ($(common-objpfx)cmath): Likewise.
19324
19325 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19326
19327 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19328
19329 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19330
19331 [BZ #20327]
19332 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19333 are not part of the string.
19334
19335 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19336
19337 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19338 * nptl/tst-cancel4-common.h (fifoname): New variable.
19339 (fifofd): Likewise.
19340 (cl_fifo): New function.
19341 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19342 SIGINT.
19343 (tf_open): Add early cancel test.
19344
19345 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19346
19347 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19348
19349 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19350
19351 * sysdeps/generic/ldsodefs.h
19352 (dl_symbol_visibility_binds_local_p): New inline function.
19353 * elf/dl-addr.c (determine_info): Treat hidden and internal
19354 symbols as local.
19355 * elf/dl-lookup.c (do_lookup_x): Likewise.
19356 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19357
19358 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19359
19360 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19361 invalid exception for a sNaN input.
19362 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19363 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19364 (__nearbyint_vis3): Likewise
19365 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19366 (__nearbyintf_vis3): Likewise
19367 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19368 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19369 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19370 Likewise.
19371 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19372 Likewise.
19373
19374 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19375
19376 [BZ #20139]
19377 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19378 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19379 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19380 2.24 or above.
19381 (HAVE_AVX512_ASM_SUPPORT): Removed.
19382 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19383 * sysdeps/x86_64/configure: Regenerated.
19384 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19385 check unconditional.
19386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19387 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19388 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19389 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19390 Likewise.
19391 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19392 Likewise.
19393 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19394 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19395 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19396 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19397 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19398 Likewise.
19399 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19400 Likewise.
19401 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19402 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19403 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19404 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19405 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19406 Likewise.
19407 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19408 Likewise.
19409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19410 Likewise.
19411 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19412 Likewise.
19413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19414 Likewise.
19415 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19416 Likewise.
19417 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19418 Likewise.
19419 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19420 Likewise.
19421 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19422 Likewise.
19423 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19424 Likewise.
19425 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19426 Likewise.
19427
19428 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19429
19430 [BZ #20024]
19431 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19432 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19433 of this implementation of vector function.
19434 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19435 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19436 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19437 Likewise.
19438 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19439 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19440 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19441 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19442 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19443 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19444 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19445 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19446 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19447 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19448 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19449 for testing vector sincos with fixed ABI.
19450 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19451 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19452 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19453 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19454 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19455 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19456 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19457 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19458 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19459 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19460 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19461 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19462 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19463 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19464 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19465 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19466
19467 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19468
19469 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19470
19471 2016-06-30 Anton Blanchard <anton@samba.org>
19472
19473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19474 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19475 s_sinf-ppc64.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19479 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19480
19481 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19482
19483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19485 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19486 e_expf-ppc64.
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19490 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19491
19492 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19493
19494 [BZ #20277]
19495 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19496 when SHARED is defined.
19497
19498 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19501 (index_arch_Prefer_ERMS): Likewise.
19502 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19503 __memcpy_erms for Prefer_ERMS.
19504 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19505 (__memmove_erms): Enabled for libc.a.
19506 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19507 __memmove_erms or Prefer_ERMS.
19508 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19509 __mempcpy_erms for Prefer_ERMS.
19510 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19511 __memset_erms for Prefer_ERMS.
19512
19513 2016-06-30 Andreas Schwab <schwab@suse.de>
19514
19515 [BZ #20262]
19516 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19517 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19518 of memory.
19519
19520 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19521
19522 [BZ #18645]
19523 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19524 (test-extras): Add tst-cleanupx4aux.
19525 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19526 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19527 tst-cleanupx4aux.o.
19528 * nptl/tst-cleanupx4aux.c: New file.
19529
19530 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19531
19532 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19533
19534 2016-06-29 Andreas Schwab <schwab@suse.de>
19535
19536 [BZ #20260]
19537 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19538 address before the beginning of the string as an integer to avoid
19539 array-bounds warning.
19540
19541 2016-06-28 Richard Henderson <rth@redhat.com>
19542
19543 * elf/elf.h (EM_BPF): New.
19544 (EM_NUM): Update.
19545 (R_BPF_NONE, R_BPF_MAP_FD): New.
19546
19547 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19548 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19549 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19550 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19551 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19552 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19553 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19554 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19555 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19556 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19557 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19558 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19559 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19560 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19561 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19562 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19563 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19564 (EM_NUM): Update.
19565
19566 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19567
19568 [BZ #18960]
19569 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19570 Set _nl_current_LC_CATEGORY_used to two instead of one.
19571
19572 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19573
19574 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19575 (do_test): ... this.
19576 (TEST_FUNCTION): New macro.
19577 Include test-skeleton.c.
19578 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19579 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19580
19581 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19582
19583 [BZ #15479]
19584 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19585 floating-point environment rather than just control word.
19586 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19587 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19588 floating-point environment, with "invalid" exceptions merged in,
19589 rather than just control word.
19590 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19591 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19592 "inexact" exceptions.
19593
19594 [BZ #15479]
19595 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19596 floating-point environment rather than just control word.
19597 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19598 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19599 floating-point environment, with "invalid" exceptions merged in,
19600 rather than just control word.
19601 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19602 * math/libm-test.inc (floor_test_data): Do not allow spurious
19603 "inexact" exceptions.
19604
19605 [BZ #15479]
19606 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19607 floating-point environment rather than just control word.
19608 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19609 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19610 floating-point environment, with "invalid" exceptions merged in,
19611 rather than just control word.
19612 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19613 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19614 "inexact" exceptions.
19615
19616 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19617
19618 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19619 __libc_vfork.
19620 (__vfork) [IS_IN (libc)]: Remove alias.
19621 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19623 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19624
19625 2016-06-24 Torvald Riegel <triegel@redhat.com>
19626
19627 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19628 of atomic_compare_and_exchange_bool_rel.
19629 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19630 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19631 catomic_compare_and_exchange_bool_rel): Remove.
19632 * sysdeps/aarch64/atomic-machine.h
19633 (atomic_compare_and_exchange_bool_rel): Likewise.
19634 * sysdeps/alpha/atomic-machine.h
19635 (atomic_compare_and_exchange_bool_rel): Likewise.
19636 * sysdeps/arm/atomic-machine.h
19637 (atomic_compare_and_exchange_bool_rel): Likewise.
19638 * sysdeps/mips/atomic-machine.h
19639 (atomic_compare_and_exchange_bool_rel): Likewise.
19640 * sysdeps/microblaze/atomic-machine.h
19641 ( __arch_compare_and_exchange_bool_8_rel,
19642 __arch_compare_and_exchange_bool_16_rel): Likewise.
19643 * sysdeps/powerpc/atomic-machine.h
19644 ( __arch_compare_and_exchange_bool_8_rel,
19645 __arch_compare_and_exchange_bool_16_rel): Likewise.
19646 * sysdeps/powerpc/powerpc32/atomic-machine.h
19647 ( __arch_compare_and_exchange_bool_32_rel,
19648 __arch_compare_and_exchange_bool_64_rel): Likewise.
19649 * sysdeps/powerpc/powerpc64/atomic-machine.h
19650 ( __arch_compare_and_exchange_bool_32_rel,
19651 __arch_compare_and_exchange_bool_64_rel): Likewise.
19652 * sysdeps/tile/atomic-machine.h
19653 (atomic_compare_and_exchange_bool_rel): Likewise.
19654
19655 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19656
19657 [BZ #20296]
19658 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19659 when either argument is a NaN.
19660 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19661 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19662
19663 * math/libm-test.inc (snan_value_ld): New macro.
19664 (isgreater_test_data): Add sNaN tests.
19665 (isgreaterequal_test_data): Likewise.
19666 (isless_test_data): Likewise.
19667 (islessequal_test_data): Likewise.
19668 (islessgreater_test_data): Likewise.
19669 (isunordered_test_data): Likewise.
19670 (nextafter_test_data): Likewise.
19671 (nexttoward_test_data): Likewise.
19672 (remainder_test_data): Likewise.
19673 (remquo_test_data): Likewise.
19674 (significand_test_data): Likewise.
19675 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19676
19677 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19678
19679 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19680 environment macros are defined.
19681 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19682
19683 2016-06-23 Florian Weimer <fweimer@redhat.com>
19684
19685 [BZ #20191]
19686 Implement vtable verification in libio.
19687 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19688 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19689 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19690 _IO_new_file_init_internal instead of _IO_file_init.
19691 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19692 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19693 * libio/Makefile (routines): Add vtables.
19694 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19695 (_IO_init): Remove, not for internal use.
19696 (_IO_init_internal): Declare, internal replacement for _IO_init.
19697 (_IO_file_init): Remove, not for internal use.
19698 (_IO_new_file_init): Remove, not for internal use.
19699 (_IO_new_file_init_internal): Declare, internal replacement for
19700 _IO_new_file_init.
19701 (_IO_old_file_init): Remove, not for internal use.
19702 (_IO_old_file_init_internal): Declare, internal replacement for
19703 _IO_old_file_init.
19704 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19705 internal use.
19706 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19707 Declare.
19708 (libio_vtable): New macro.
19709 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19710 functions.
19711 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19712 _IO_new_file_init.
19713 (_IO_new_file_init): New externally visible wrapper which disables
19714 vtable verification.
19715 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19716 Define as vtables.
19717 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19718 (_IO_init): New externally visible wrapper which disables
19719 vtable verification.
19720 * libio/iofdopen.c (_IO_new_fdopen): Call
19721 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19722 comment.
19723 * libio/iofopen.c (__fopen_internal): Call
19724 _IO_new_file_init_internal instead of _IO_file_init.
19725 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19726 Define as vtables.
19727 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19728 _IO_new_file_init_internal instead of _IO_file_init.
19729 * libio/iopopen.c (_IO_new_popen): Likewise.
19730 (_IO_proc_jumps): Define as vtable.
19731 * libio/iovdprintf.c (_IO_vdprintf): Call
19732 _IO_new_file_init_internal instead of _IO_file_init.
19733 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19734 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19735 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19736 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19737 _IO_old_file_init.
19738 (_IO_old_file_init): New externally visible wrapper which disables
19739 vtable verification.
19740 (_IO_old_file_jumps): Define as vtable.
19741 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19742 _IO_old_file_init_internal instead of _IO_old_file_init.
19743 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19744 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19745 (_IO_old_proc_jumps): Define as vtable.
19746 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19747 Define as vtables.
19748 * libio/vtables.c: New file.
19749 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19750 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19751 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19752 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19753 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19754 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19755 instead of _IO_init.
19756
19757 2016-06-23 Florian Weimer <fweimer@redhat.com>
19758
19759 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19760
19761 2016-06-23 Florian Weimer <fweimer@redhat.com>
19762
19763 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19764 potentially unused.
19765
19766 2016-06-22 Florian Weimer <fweimer@redhat.com>
19767
19768 * test-skeleton.c (write_message): New function.
19769 * malloc/tst-mallocfork2.c (write_message): Remove.
19770 * debug/tst-longjmp_chk2.c (write_indented): New function.
19771 (write_message): Remove.
19772 (stackoverflow_handler): Call write_indented.
19773
19774 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19775
19776 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19777 "inexact" exceptions after fnstenv.
19778 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19779 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19780 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19781
19782 2015-06-22 Zack Weinberg <zackw@panix.com>
19783
19784 * sysdeps/generic/bits/hwcap.h: Moved to ...
19785 * bits/hwcap.h: Here.
19786
19787 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19788
19789 * sysdeps/aarch64/memcpy.S (memcpy):
19790 Further tuning for performance.
19791
19792 2016-06-21 Florian Weimer <fweimer@redhat.com>
19793
19794 [BZ #20284]
19795 * malloc/arena.c (reused_arena): Do not return NULL if we start
19796 out with a non-corrupted arena.
19797
19798 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19799
19800 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19801 * misc/tst-preadvwritev.c: New file.
19802 * misc/tst-preadvwritev64.c: Likewise.
19803 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19804 usage.
19805 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19806 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19807 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19808 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19809
19810 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19811
19812 [BZ #19654]
19813 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19814 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19815 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19816 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19817 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19818 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19819 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19820 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19821 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19822 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19823 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19824 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19825 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19826 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19827 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19828 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19829 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19830 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19831 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19832 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19833 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19834 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19835 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19836 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19837 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19838 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19839
19840 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19841
19842 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19843 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19844
19845 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19846
19847 * sysdeps/aarch64/memcpy.S (memcpy):
19848 Rewrite of optimized memcpy and memmove.
19849 * sysdeps/aarch64/memmove.S (memmove): Remove
19850 memmove code (merged into memcpy.S).
19851
19852 2016-06-20 Florian Weimer <fweimer@redhat.com>
19853
19854 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19855 * sysdeps/generic/dl-dtv.h: New file.
19856 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19857 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19858 (dtv_t): Remove.
19859 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19860 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19861 (dtv_t): Remove.
19862 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19863 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19864 (dtv_t): Remove.
19865 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19866 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19867 (dtv_t): Remove.
19868 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19869 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19870 (dtv_t): Remove.
19871 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19872 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19873 (dtv_t): Remove.
19874 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19875 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19876 (dtv_t): Remove.
19877 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19878 (dtv_t): Remove.
19879 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19880 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19881 (dtv_t): Remove.
19882 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19883 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19884 (dtv_t): Remove.
19885 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19886 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19887 (dtv_t): Remove.
19888 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19889 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19890 (dtv_t): Remove.
19891 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19892 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19893 (dtv_t): Remove.
19894 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19895 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19896 (dtv_t): Remove.
19897 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19898 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19899 (dtv_t): Remove.
19900 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19901 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19902 (dtv_t): Remove.
19903
19904 2016-06-20 Florian Weimer <fweimer@redhat.com>
19905
19906 Revert symbol poisoning of __malloc_initialize_hook.
19907 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19908 poisoning.
19909 * malloc/Makefile: Remove un-poisoning.
19910 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19911 instead of old__malloc_initialize_hook.
19912 * malloc/malloc-hooks.h: Likewise.
19913 * malloc/malloc.c: Likewise.
19914 * malloc/mcheck-init.c: Likewise.
19915
19916 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19917
19918 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19919
19920 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19921
19922 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19923 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19924 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19925 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19926
19927 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19928
19929 * NEWS: Mention addition of nextup and nextdown.
19930 * manual/arith.texi: Document nextup and nextdown.
19931 * manual/libm-err-tab.pl: Add nextup and nextdown.
19932 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19933 * math/Versions (libm): Add GLIBC_2.24.
19934 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19935 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19936 Add new test.
19937 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19938 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19939 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19940 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19941 (nextup_test_data): Likewise.
19942 (nextdown_test_data): Likewise.
19943 * math/s_nextdown.c: New file.
19944 * math/s_nextdownf.c: Likewise.
19945 * math/s_nextdownl.c: Likewise.
19946 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19947 F(nextup): New function.
19948 F(nextdown): Likewise.
19949 * math/tgmath.h: Add nextup and nextdown.
19950 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19951 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19952 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19953 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19954 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19955 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19956 Add nextup and nextdown.
19957 (CFLAGS-nldbl-nextup.c): New variable.
19958 (CFLAGS-nldbl-nextdown.c): Likewise.
19959 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19960 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19961 * sysdeps/nacl/libm.abilist: Update.
19962 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19963 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19964 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19965 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19966 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19967 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19968 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19969 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19976 Likewise.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19990
19991 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19992
19993 * manual/pattern.texi: Fix typos & grammar errors.
19994
19995 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19996
19997 * manual/search.texi: Fix typos & grammar errors.
19998
19999 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20000
20001 * manual/message.texi: Fix typos & grammar errors.
20002
20003 2016-06-16 Mike Frysinger <vapier@gentoo.org>
20004
20005 * manual/contrib.texi: Fix spelling typos.
20006 * manual/crypt.texi: Likewise.
20007 * manual/filesys.texi: Likewise.
20008 * manual/locale.texi: Likewise.
20009 * manual/message.texi: Likewise.
20010 * manual/nss.texi: Likewise.
20011 * manual/string.texi: Likewise.
20012
20013 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20014
20015 * manual/locale.texi: Fix typos & grammar errors.
20016
20017 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20018
20019 * manual/charset.texi: Fix typos & grammar errors.
20020
20021 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20022
20023 * manual/string.texi: Fix typos.
20024
20025 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20026
20027 * manual/ctype.texi: Fix typos.
20028
20029 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20030
20031 * manual/memory.texi: Fix various typos & grammar errors.
20032
20033 2016-06-14 Joseph Myers <joseph@codesourcery.com>
20034
20035 [BZ #20255]
20036 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
20037 * math/libm-test.inc (fdim_test_data): Add another test.
20038
20039 [BZ #6796]
20040 [BZ #20255]
20041 [BZ #20256]
20042 * math/s_fdim.c: Include <math_private.h>.
20043 (__fdim): Use math_narrow_eval on result.
20044 * math/s_fdimf.c: Include <math_private.h>.
20045 (__fdimf): Use math_narrow_eval on result.
20046 * sysdeps/i386/fpu/s_fdim.S: Remove file.
20047 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20048 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20049 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20050 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20051 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20052 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20053 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20054 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20055 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20056 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20057 * math/libm-test.inc (fdim_test_data): Expect errno setting on
20058 overflow. Add sNaN tests.
20059
20060 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20061 fpclassify.
20062 * math/s_fdimf.c (__fdimf): Likewise.
20063 * math/s_fdiml.c (__fdiml): Likewise.
20064
20065 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20066
20067 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20068 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20070 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20071 ifunc'ed strcasecmp/strncasecmp.
20072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20073 [EALIGN]: Removed.
20074 [END]: Likewise.
20075 [__strcasecmp]: Define instead of the above to control symbol name.
20076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20077 for __strcasecmp_power8.
20078 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20079 for __strncasecmp_power8.
20080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20081 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20082 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20083 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20084 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20085 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20086
20087 2016-06-13 Joseph Myers <joseph@codesourcery.com>
20088
20089 [BZ #20252]
20090 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20091 arguments when second argument is a NaN.
20092 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20093 qNaN tests.
20094
20095 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20096 (conj_test_data): Likewise.
20097 (copysign_test_data): Likewise.
20098 (creal_test_data): Likewise.
20099 (fma_test_data): Likewise.
20100 (fmod_test_data): Likewise.
20101
20102 [BZ #20250]
20103 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20104 itself.
20105 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20106 zero input to itself.
20107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20108 Likewise.
20109 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20110 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20111 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20112 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20113 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20114
20115 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20116
20117 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20118 * nptl/tst-cancel4-common.c: New file.
20119 * nptl/tst-cancel4-common.h: Likewise.
20120 * nptl/tst-cancel4.c: Move common definitions to
20121 tst-cancel4-common.{c,h} file.
20122 * nptl/tst-cancel4_1.c: New test.
20123 * nptl/tst-cancel4_2.c: New test.
20124
20125 2016-06-13 Florian Weimer <fweimer@redhat.com>
20126
20127 [BZ #20248]
20128 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20129 (write_message): New function.
20130 (stackoverflow_handler): Call it instead of printf, to avoid
20131 excessive stack usage by printf.
20132 (do_test): Restore SIGSEGV, SIGBUS default handlers.
20133
20134 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20135
20136 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20137 (prio_inherit_missing): Remove define.
20138 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20139 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20141 Likewise.
20142 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20143 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20144 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20145 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20147 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20148
20149 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20150
20151 [BZ #19670]
20152 [BZ #19672]
20153
20154 * io/test-lfs.c (do_prepare): Use xmalloc.
20155 * io/tst-fcntl.c (do_prepare): Likewise.
20156 * libio/tst-fopenloc.c (do_bz17916): Likewise.
20157 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20158 * login/tst-utmp.c (do_prepare): Likewise.
20159 * posix/tst-exec.c (do_prepare): Likewise.
20160 * posix/tst-pathconf.c (prepare): Likewise.
20161 * posix/tst-spawn.c (do_prepare): Likewise.
20162 * posix/tst-truncate.c (do_prepare): Likewise.
20163 * rt/tst-aio.c (do_prepare): Likewise.
20164 * rt/tst-aio64.c (do_prepare): Likewise.
20165
20166 2016-06-11 Florian Weimer <fweimer@redhat.com>
20167
20168 [BZ #20237]
20169 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20170 (get*ent): Set entidx to NULL during initialization. If entidx is
20171 NULL, start iteration from the beginning.
20172
20173 2016-06-11 Florian Weimer <fweimer@redhat.com>
20174
20175 * malloc/malloc.c (musable): Return correct size for dumped fake
20176 mmapped chunk.
20177
20178 2016-06-11 Florian Weimer <fweimer@redhat.com>
20179
20180 [BZ #20222]
20181 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20182 (_IO_cookie_write): Likewise.
20183 (_IO_cookie_seek): Likewise.
20184 (_IO_cookie_close): Likewise.
20185 (_IO_old_cookie_seek): Likewise.
20186 (set_callbacks): New function.
20187 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20188
20189 2016-06-11 Marko Myllynen <myllynen@redhat.com>
20190
20191 * locale/programs/localedef.c (oldstyle_tables): Remove.
20192 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20193
20194 2016-06-10 Joseph Myers <joseph@codesourcery.com>
20195
20196 [BZ #20240]
20197 * math/Makefile (CFLAGS-s_modf.c): New variable.
20198 (CFLAGS-s_modff.c): Likewise.
20199 (CFLAGS-s_modfl.c): Likewise.
20200 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20201
20202 2016-06-09 Carlos O'Donell <carlos@redhat.com>
20203
20204 [BZ #20215]
20205 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20206 [!__GNUC_PREREQ (3,2)]: Likewise.
20207
20208 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20209
20210 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20211 (msghdr.msg_controllen): Likewise.
20212 (cmsghdr.cmsg_len): Likewise.
20213 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20214 ptw-oldsendmsg.
20215 (CFLAGS-oldrecvmsg.c): Remove rule.
20216 (CFLAGS-oldsendmsg.c): Likewise.
20217 (CFLAGS-recvmsg.c): Add rule.
20218 (CFLAGS-sendmsg.c): Likewise.
20219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20220 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20221 (CFLAGS-recvmsg.c): Remove rule.
20222 (CFLAGS-sendmsg.c): Likewise.
20223 (CFLAGS-oldrecvmsg.c): Likewise.
20224 (CFLAGS-oldsendmsg.c): Likewise.
20225 (CFLAGS-recvmmsg.c): Likewise.
20226 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20227 to kernel defined interfaces.
20228 (msghdr.msg_controllen): Likewise.
20229 (cmsghdr.cmsg_len): Likewise.
20230 (msghdr.__glibc_reserved1): Remove member.
20231 (msghdr.__glibc_reserved2): Likewise.
20232 (cmsghdr.__glibc_reserved1): Likewise.
20233 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20234 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20235 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20236 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20237 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20238 version.
20239 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20240 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20241 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20242 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20243 Remove recvmsg and sendmsg.
20244 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20245 Likewise.
20246 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20247 Likewise.
20248 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20249 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20250 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20251 Likewise.
20252 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20253 Likewise.
20254 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20255 [libc] (GLIBC_2.24): Likewise.
20256 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20257 Likewise.
20258 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20259 Likewise.
20260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20261 [libc] (GLIBC_2.24): Likewise.
20262 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20263 Likewise.
20264 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20265 Likewise.
20266 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20267 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20268 Likewise.
20269 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20270 Likewise.
20271 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20272 Likewise.
20273 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20274 Likewise.
20275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20276 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20277 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20278 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20279 version for {recv,send,recm,sendm}msg.
20280 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20281 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20282 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20283 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20284 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20285 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20286 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20287 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20288 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20289 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20290 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20291 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20293 Likewise.
20294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20295 Likewise.
20296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20298 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20299 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20300 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20301 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20302 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20303 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20306 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20307 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20308 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20309
20310 2016-06-10 Florian Weimer <fweimer@redhat.com>
20311
20312 [BZ #19564]
20313 Remove __malloc_initialize_hook from the API.
20314 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20315 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20316 #pragma GCC poison.
20317 * malloc/malloc-hooks.h: New file.
20318 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20319 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20320 (old__malloc_initialize_hook): Rename from
20321 __malloc_initialize_hook to evade poisoning. Turn into compat
20322 symbol.
20323 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20324 __malloc_initialize_hook.
20325 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20326 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20327 * manual/memory.texi (Hooks for Malloc): Remove
20328 __malloc_initialize_hook. Adjust hook example.
20329
20330 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20331
20332 [BZ #20235]
20333 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20334 itself.
20335 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20336 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20337
20338 [BZ #20234]
20339 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20340 infinity or NaN input to itself.
20341
20342 [BZ #20233]
20343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20344 to itself.
20345
20346 [BZ #20232]
20347 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20348 itself.
20349
20350 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20351
20352 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20353 __libc_start_main via GOT.
20354
20355 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20356
20357 * sysdeps/x86_64/memcopy.h: New file.
20358 * sysdeps/x86_64/wordcopy.c: Likewise.
20359
20360 2016-06-09 Florian Weimer <fweimer@redhat.com>
20361
20362 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20363 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20364 <cstdlib>.
20365 (optimization_barrier): New.
20366 (do_test): Use it. Call quick_exit in the global namespace.
20367 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20368 instead of <cstdlib>, <thread>.
20369 (optimization_barrier): New.
20370 (non_main_thread): Adjust declaration. Call optimization_barrier.
20371 Call quick_exit in the global namespace.
20372 (do_test): Call optimization_barrier. Use pthread_create,
20373 pthread_join instead of std::thread.
20374
20375 2016-06-09 Andreas Schwab <schwab@suse.de>
20376
20377 [BZ #19755]
20378 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20379 new entries in auto-propagate mode.
20380 * nscd/grpcache.c (cache_addgr): Likewise.
20381
20382 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20383
20384 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20385 New functions.
20386 (add_temp_file): Use them.
20387
20388 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20389
20390 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20391
20392 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20393
20394 [BZ #20229]
20395 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20396 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20397 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20398
20399 [BZ #20228]
20400 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20401 itself.
20402 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20403 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20404
20405 [BZ #20227]
20406 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20407 itself.
20408 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20409 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20410 * math/libm-test.inc (log_test_data): Add sNaN tests.
20411
20412 [BZ #20226]
20413 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20414 itself.
20415 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20416 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20417 (exp10_test_data): Likewise.
20418 (expm1_test_data): Likewise.
20419
20420 [BZ #20225]
20421 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20422 itself.
20423 * math/s_ldexpf.c (__ldexpf): Likewise.
20424 * math/s_ldexpl.c (__ldexpl): Likewise.
20425 * math/w_scalbln.c (__w_scalbln): Likewise.
20426 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20427 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20428 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20429 (scalbln_test_data): Likewise.
20430
20431 [BZ #20224]
20432 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20433 argument to itself.
20434 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20435
20436 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20437
20438 [BZ #19776]
20439 * sysdeps/x86_64/memcpy.S: Make it dummy.
20440 * sysdeps/x86_64/mempcpy.S: Likewise.
20441 * sysdeps/x86_64/memmove.S: New file.
20442 * sysdeps/x86_64/memmove_chk.S: Likewise.
20443 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20444 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20445 * sysdeps/x86_64/memmove.c: Removed.
20446 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20447 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20448 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20449 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20450 Likewise.
20451 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20452 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20454 memcpy-sse2-unaligned, memmove-avx-unaligned,
20455 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20457 (__libc_ifunc_impl_list): Replace
20458 __memmove_chk_avx512_unaligned_2 with
20459 __memmove_chk_avx512_unaligned. Remove
20460 __memmove_chk_avx_unaligned_2. Replace
20461 __memmove_chk_sse2_unaligned_2 with
20462 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20463 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20464 with __memmove_avx512_unaligned. Replace
20465 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20466 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20467 with __memcpy_chk_avx512_unaligned. Remove
20468 __memcpy_chk_avx_unaligned_2. Replace
20469 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20470 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20471 Replace __memcpy_avx512_unaligned_2 with
20472 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20473 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20474 with __mempcpy_chk_avx512_unaligned. Remove
20475 __mempcpy_chk_avx_unaligned_2. Replace
20476 __mempcpy_chk_sse2_unaligned_2 with
20477 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20478 Replace __mempcpy_avx512_unaligned_2 with
20479 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20480 Replace __mempcpy_sse2_unaligned_2 with
20481 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20482 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20483 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20484 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20485 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20486 (ENTRY): Removed.
20487 (END): Likewise.
20488 (ENTRY_CHK): Likewise.
20489 (libc_hidden_builtin_def): Likewise.
20490 Don't include ../memcpy.S.
20491 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20492 __memcpy_chk_avx512_unaligned_erms and
20493 __memcpy_chk_avx512_unaligned. Use
20494 __memcpy_chk_avx_unaligned_erms and
20495 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20496 Default to __memcpy_chk_sse2_unaligned.
20497 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20498 Change function suffix from unaligned_2 to unaligned.
20499 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20500 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20501 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20502 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20503 (ENTRY): Removed.
20504 (END): Likewise.
20505 (ENTRY_CHK): Likewise.
20506 (libc_hidden_builtin_def): Likewise.
20507 Don't include ../mempcpy.S.
20508 (mempcpy): New. Add a weak alias.
20509 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20510 __mempcpy_chk_avx512_unaligned_erms and
20511 __mempcpy_chk_avx512_unaligned. Use
20512 __mempcpy_chk_avx_unaligned_erms and
20513 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20514 Default to __mempcpy_chk_sse2_unaligned.
20515
20516 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20517
20518 [BZ #19881]
20519 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20520 into ...
20521 * sysdeps/x86_64/memset.S: This.
20522 (__bzero): Removed.
20523 (__memset_tail): Likewise.
20524 (__memset_chk): Likewise.
20525 (memset): Likewise.
20526 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20527 defined.
20528 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20529 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20530 (__memset_zero_constant_len_parameter): Check SHARED instead of
20531 PIC.
20532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20533 memset-avx2 and memset-sse2-unaligned-erms.
20534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20535 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20536 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20537 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20538 (__bzero): Enabled.
20539 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20540 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20541 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20542 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20543 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20544 (memset): Removed.
20545 (__memset_chk): Likewise.
20546 (MEMSET_SYMBOL): New.
20547 (libc_hidden_builtin_def): Replace __memset_sse2 with
20548 __memset_sse2_unaligned.
20549 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20550 __memset_chk_sse2 and __memset_chk_avx2 with
20551 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20552 Use __memset_chk_sse2_unaligned_erms or
20553 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20554 __memset_chk_avx512_unaligned_erms and
20555 __memset_chk_avx512_unaligned.
20556
20557 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20558
20559 * math/gen-auto-libm-test.c (fp_format_desc): remove
20560 suffix member.
20561 (output_generic_value): Remove usage of suffix member,
20562 and the resulting unuse of the fp_format argument.
20563 (output_for_one_input_case): Remove unused fp_format
20564 parameter.
20565
20566 * math/auto-libm-test-out: Regenerate.
20567
20568 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20569 usage with TEST_COND_ibm128.
20570 (TEST_COND_flt_32): Remove.
20571 (TEST_COND_dbl_64): Remove.
20572 (TEST_COND_ldbl_96_intel): Remove.
20573 (TEST_COND_ldbl_96_m68k): Remove.
20574 (TEST_COND_ldbl_128): Remove.
20575
20576 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20577
20578 * auto-libm-test-in:
20579 Replace flt-32 usage with binary32.
20580 Replace dbl-64 usage with binary64.
20581 Replace ldbl-intel-96 usage with intel96.
20582 Replace ldbl-m68k-96 usage with m68k96.
20583 Replace ldbl-128ibm usage with ibm128.
20584 Replace ldbl-128 usage with binary128.
20585
20586 * auto-libm-test-out: Regenerate.
20587
20588 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20589
20590 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20591 (parse_ulps): Dynamically generate type name matching
20592 string from all_floats.
20593 (get_ulps): Generate the ulps as an array instead.
20594 (output_ulps): Dynamically compose the type based
20595 on the number of supported formats, and print
20596 the indices as type specific helper macros.
20597
20598 * math/libm-test.inc: Remove comment about CHOOSE.
20599 (ulp_data): Generate the type in libm-test-ulps.h.
20600 (ULP_IDX): New macro.
20601 (find_ulps): Update usage of max_ulp.
20602
20603 * math/test-double-vlen2.h (CHOOSE): Remove.
20604 * math/test-double-vlen4.h (CHOOSE): Likewise.
20605 * math/test-double-vlen8.h (CHOOSE): Likewise.
20606 * math/test-float.c (CHOOSE): Likewise.
20607 * math/test-float-finite.c (CHOOSE): Likewise.
20608 * math/test-double.c (CHOOSE): Likewise.
20609 * math/test-double-finite.c (CHOOSE): Likewise.
20610 * math/test-idouble.c (CHOOSE): Likewise.
20611 * math/test-ifloat.c (CHOOSE): Likewise.
20612 * math/test-ildoubl.c (CHOOSE): Likewise.
20613 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20614 * math/test-ldouble.c (CHOOSE): Likewise.
20615
20616 * math/test-float.h (TEST_FLOAT): Remove.
20617 * math/test-double.h (TEST_DOUBLE): Likewise.
20618 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20619
20620 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20621
20622 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20623 (parse_args): Strip C suffix from floating point literals
20624 typed with 'f' and wrap them with LIT().
20625
20626 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20627 (test_ff_f_data_nexttoward): Rename to
20628 (test_fj_f_data): New struct.
20629 (nexttoward_test_data): Relabel tests as
20630 TEST_fj_f instead of TEST_ff_f.
20631
20632 2016-06-08 Florian Weimer <fweimer@redhat.com>
20633
20634 Emacs bug 23726.
20635 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20636 (__libc_realloc): Correct size computation for dumped fake mmapped
20637 chunks.
20638
20639 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20640
20641 [BZ #20219]
20642 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20643 to itself.
20644 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20645
20646 [BZ #20218]
20647 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20648 to itself.
20649 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20650
20651 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20652
20653 [BZ #20195]
20654 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20655 check to ...
20656 (init_cpu_features): Here.
20657
20658 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20659
20660 [BZ #20214]
20661 * sysdeps/unix/sysv/linux/bits/in.h
20662 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20663 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20664 Define to 1.
20665 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20666 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20667 Define to 0.
20668 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20669 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20670
20671 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20672
20673 [BZ #20198]
20674 * stdlib/Makefile (tests): Add tst-quick_exit, and
20675 tst-thread-quick_exit.
20676 [ifeq ($(have-cxx-thread_local),yes)]
20677 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20678 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20679 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20680 (LDLIBS-tst-thread-quick_exit): Likewise.
20681 [ifneq ($(have-cxx-thread_local),yes)]
20682 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20683 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20684 If run_dtors is true call __call_tls_dtors.
20685 (exit): Call __run_exit_handlers with run_dtors set to true.
20686 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20687 definition.
20688 * stdlib/quick_exit.c (quick_exit): Remove function.
20689 (__new_quick_exit): New function.
20690 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20691 function.
20692 * stdlib/tst-quick_exit.cc: New file.
20693 * stdlib/tst-thread-quick_exit.cc: New file.
20694 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20695 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20696 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20697 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20698 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20699 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20700 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20701 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20702 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20703 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20704 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20705 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20706 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20709 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20714 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20715 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20716 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20717 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20718 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20721 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20722 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20723 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20724
20725 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20726
20727 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20728 a typo in comments.
20729
20730 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20731
20732 [BZ #20213]
20733 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20734 argument to itself.
20735 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20736
20737 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20738
20739 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20740 required flags.
20741 (CFLAGS-pwritev64.c): Likewise.
20742 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20743 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20744 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20745 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20746 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20748 syscall from auto-generation.
20749 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20750 [WORDSIZE == 64] (pwritev64): Remove macro.
20751 [!PWRITEV] (PWRITEV): Likewise.
20752 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20753 [!PWRITEV] (PWRITE): Likewise.
20754 [!PWRITEV] (OFF_T): Likewise.
20755 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20756 (LO_HI_LONG): Remove macro.
20757 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20758 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20759 (PWRITEV): Remove macro.
20760 (PWRITEV_REPLACEMENTE): Likewise.
20761 (PWRITE): Likewise.
20762 (OFF_T): Likewise.
20763 (pwritev64): New function.
20764 * nptl/tst-cancel4.c (tf_writev): Add test.
20765
20766 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20767 required flags.
20768 (CFLAGS-preadv64.c): Likewise.
20769 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20770 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20771 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20772 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20773 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20774 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20775 syscall from auto-generation.
20776 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20777 [WORDSIZE == 64] (preadv64): Remove macro.
20778 [!PREADV] (PREADV): Likewise.
20779 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20780 [!PREADV] (PREAD): Likewise.
20781 [!PREADV] (OFF_T): Likewise.
20782 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20783 (LO_HI_LONG): Remove macro.
20784 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20785 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20786 (PREADV): Remove macro.
20787 (PREADV_REPLACEMENTE): Likewise.
20788 (PREAD): Likewise.
20789 (OFF_T): Likewise.
20790 (preadv64): New function.
20791 * nptl/tst-cancel4.c (tf_preadv): Add test.
20792
20793 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20794
20795 [BZ #20212]
20796 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20797 argument to itself.
20798 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20799
20800 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20801
20802 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20803 New symbol defined as libc_hidden_def.
20804 (strcasestr): Became a weak alias to __strcasestr.
20805 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20806 according to multi-arch support. Move __stpncpy hidden
20807 definition from here to...
20808 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20809 symbol stpncpy.
20810 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20811 libc_hidden_builtin_def.
20812 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20813 memset symbol to use when multi-arch support is available.
20814
20815 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20816
20817 * dlfcn/tst-rec-dlopen.c: Include string.h.
20818
20819 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20820
20821 * manual/install.texi: Remove mention of --without-tls
20822 * INSTALL: Regenerate.
20823
20824 2016-06-05 Florian Weimer <fweimer@redhat.com>
20825
20826 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20827 Remove.
20828 (call_function, interposed_malloc_called): New variables.
20829 (malloc): New function.
20830 (do_test): Do not change malloc hooks. Initialize malloc. Set
20831 and clear call_function as needed.
20832
20833 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20834
20835 * include/wchar.h (__wmemset): Use __typeof.
20836
20837 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20838
20839 * include/wchar.h (__wmemset): Declare function without typeof.
20840
20841 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20842
20843 [BZ #20205]
20844 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20845 exponent when incrementing negative subnormal with low mantissa
20846 word zero.
20847 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20848 Add another test.
20849
20850 2016-06-03 Florian Weimer <fweimer@redhat.com>
20851
20852 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20853 __wmemset instead of wmemset.
20854
20855 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20856
20857 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20858 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20859 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20860 __USE_KERNEL_IPV6_DEFS to 0.
20861 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20862 Update comment.
20863
20864 2016-06-01 Florian Weimer <fweimer@redhat.com>
20865
20866 [BZ #19861]
20867 Do not use IFUNC resolver with potentially unrelocated symbol.
20868 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20869 (DEFINE_FORK): Remove macro and inline definition.
20870 (fork_alias): Renamed from fork_ifunc.
20871 (__fork_alias): Renamed from __fork_ifunc.
20872
20873 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20874
20875 [BZ 19653]
20876 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20877 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20878
20879 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20880
20881 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20882 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20883 i386-linux-gnu).
20884 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20885 Set to no.
20886 * sysdeps/mach/hurd/configure: Refresh.
20887
20888 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20889
20890 [BZ #20178]
20891 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20892 on failure instead of exit.
20893
20894 2016-05-30 Roland McGrath <roland@hack.frob.com>
20895
20896 [BZ #3629]
20897 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20898 of POSIX.1-2008.
20899
20900 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20901
20902 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20903 Use PLT entry for calling _hurd_self_sigstate.
20904
20905 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20908 available logical processors with SMT level type sharing L2
20909 cache for Intel processors.
20910
20911 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20912
20913 [BZ #20160]
20914 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20915 argument to itself before returning the result.
20916 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20917 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20918 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20920 Likewise.
20921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20922 Likewise.
20923 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20924 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20925 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20926 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20927 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20928 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20929
20930 [BZ #20160]
20931 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20932 argument to itself before returning the result.
20933 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20934 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20935 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20936 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20937 Likewise.
20938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20939 Likewise.
20940 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20941 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20942 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20943 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20944 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20945 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20946
20947 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20948
20949 * libm-test.inc: Replace usage of M_El with
20950 (lit_e): New macro.
20951
20952 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20953
20954 * libm-test.inc: Replace usage of M_PI_4l with
20955 (lit_pi_4_d): New macro.
20956
20957 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20958
20959 * libm-test.inc: Replace usage of M_PIl with
20960 (lit_pi): New macro.
20961
20962 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20963
20964 * libm-test.inc: Replace usage of M_PI2l with
20965 (lit_pi_2_d): New macro.
20966
20967 * math/test-double.h (LITM): New macro.
20968 * math/test-float.h (LITM): Likewise.
20969 * math/test-ldouble.h (LITM): Likewise.
20970
20971 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20972
20973 * libm-test.inc (M_PI_34l): Rename to
20974 (lit_pi_3_m_4_d): New Macro.
20975 (M_PI_34_LOG10El): Rename to
20976 (lit_pi_3_m_4_ln10_m_d): New Macro.
20977 (M_PI2_LOG10El): Rename to
20978 (lit_pi_2_ln10_m_d): New Macro.
20979 (M_PI4_LOG10El): Rename to
20980 (lit_pi_4_ln10_m_d): New Macro.
20981 (M_PI_LOG10El): Rename to
20982 (lit_pi_ln10_d): New Macro.
20983
20984 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20985
20986 [BZ #20157]
20987 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20988 determine whether to negate low half if [_ARCH_PPCGR], and integer
20989 comparison otherwise.
20990 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20991 determine whether to negate low half.
20992
20993 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20994 (NO_TEST_INLINE_DOUBLE): Likewise.
20995 (TEST_COND_x86_64): Likewise.
20996 (TEST_COND_x86): Likewise.
20997 (M_PI_6l): Likewise.
20998
20999 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21000
21001 * math/libm-test.inc:
21002 (TEST_FLOAT): Change usage to TEST_COND_binary32.
21003 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21004 (TEST_LDOUBLE): Update usage to evaluate as true if
21005 the guarded tests match the property being tested.
21006 (LDBL_MAX_EXP): Change to MAX_EXP.
21007 (LDBL_MIN_EXP): Change to MIN_EXP.
21008 (LDBL_MANT_DIG): Change to MANT_DIG, except for
21009 nexttoward tests.
21010
21011 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21012
21013 * math/libm-test.inc:
21014 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21015 (TYPE_MIN): Likewise.
21016 (TYPE_TRUE_MIN): Likewise.
21017 (TYPE_MAX): Likewise.
21018 (MIN_EXP): Likewise.
21019 (MAX_EXP): Likewise.
21020 (MANT_DIG): Likewise.
21021
21022 (FSTR_MAX): New macro.
21023 (__CONCATX): Likewise.
21024 (QTYPE_STR): Likewise.
21025 (TEST_COND_binary32): Likewise.
21026 (TEST_COND_binary64): Likewise.
21027 (TEST_COND_binary128): Likewise.
21028 (TEST_COND_ibm128): Likewise.
21029 (TEST_COND_intel96): Likewise.
21030 (TEST_COND_m68k96): Likewise.
21031
21032 (TEST_COND_flt_32): Redefine as equivalent format test macro.
21033 (TEST_COND_dbl_64): Likewise.
21034 (TEST_COND_ldbl_96_intel): Likewise.
21035 (TEST_COND_ldbl_96_m68k): Likewise.
21036 (TEST_COND_ldbl_128): Likewise.
21037 (TEST_COND_ldbl_128ibm): Likewise.
21038
21039 (plus_zero): Redefine using LIT macro.
21040 (minus_zero): Likewise.
21041 (plus_infty): Redefine as (INF).
21042 (minux_infty): Redefine as (-INF).
21043 (max_value): Redefine as TYPE_MAX.
21044 (min_value): Redefine as TYPE_MIN.
21045 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21046
21047 (print_float): Refactor to use snprintf to convert FLOAT values
21048 to string. This brings it closer to dropin replacement of strtof
21049 for the TS 18661 defined types.
21050 (update_stats): Likewise.
21051 (print_complex_function_ulps): Likewise.
21052 (print_max_error): Likewise.
21053 (print_complex_max_error): Likewise.
21054 (check_float_internal): Likewise.
21055
21056 * math/test-float.h (PREFIX): New macro.
21057 (LIT): Likewise.
21058 (TYPE_STR): Likewise.
21059 (FTOSTR): Likewise.
21060
21061 * math/test-double.h (PREFIX): New macro.
21062 (LIT): Likewise.
21063 (TYPE_STR): Likewise.
21064 (FTOSTR): Likewise.
21065
21066 * math/test-ldouble.h (PREFIX): New macro.
21067 (LIT): Likewise.
21068 (TYPE_STR): Likewise.
21069 (FTOSTR): Likewise.
21070
21071 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21072
21073 [BZ #20156]
21074 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21075 to itself when zero or not finite.
21076 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21077 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21078 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21079 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21080
21081 2016-05-26 Joseph Myers <joseph@codesourcery.com>
21082
21083 [BZ #20153]
21084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21085 x * x + x for infinities and NaNs.
21086
21087 [BZ #20151]
21088 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21089 argument to itself before returning result.
21090 (__ieee754_y0l): Likewise.
21091 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21092 (__ieee754_y1l).
21093
21094 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21095 (atan_test_data): Likewise.
21096 (ceil_test_data): Likewise.
21097 (cos_test_data): Likewise.
21098 (cosh_test_data): Likewise.
21099 (erf_test_data): Likewise.
21100 (exp2_test_data): Likewise.
21101 (fabs_test_data): Likewise.
21102 (floor_test_data): Likewise.
21103 (ilogb_test_data): Likewise.
21104 (j0_test_data): Likewise.
21105 (j1_test_data): Likewise.
21106 (jn_test_data): Likewise.
21107 (lgamma_test_data): Likewise.
21108 (lrint_test_data): Likewise.
21109 (llrint_test_data): Likewise.
21110 (logb_test_data): Likewise.
21111 (lround_test_data): Likewise.
21112 (llround_test_data): Likewise.
21113 (nearbyint_test_data): Likewise.
21114 (rint_test_data): Likewise.
21115 (round_test_data): Likewise.
21116 (sin_test_data): Likewise.
21117 (sincos_test_data): Likewise.
21118 (sinh_test_data): Likewise.
21119 (sqrt_test_data): Likewise.
21120 (tan_test_data): Likewise.
21121 (tanh_test_data): Likewise.
21122 (tgamma_test_data): Likewise.
21123 (trunc_test_data): Likewise.
21124 (y0_test_data): Likewise.
21125 (y1_test_data): Likewise.
21126 (yn_test_data): Likewise.
21127
21128 * math/libm-test.inc: Update comment about NaN testing.
21129 (TEST_SNAN): New macro.
21130 (snan_value): Likewise.
21131 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21132 (fpclassify_test_data): Add sNaN tests.
21133 (isfinite_test_data): Likewise.
21134 (isinf_test_data): Likewise.
21135 (isnan_test_data): Likewise.
21136 (isnormal_test_data): Likewise.
21137 (issignaling_test_data): Likewise.
21138 (signbit_test_data): Likewise.
21139 * math/gen-libm-test.pl (%beautify): Add snan_value.
21140 (show_exceptions): Add argument $test_snan.
21141 (parse_args): Handle snan_value as non-finite. Update call to
21142 show_exceptions.
21143 * math/Makefile (libm-test-no-inline-cflags): Add
21144 -fsignaling-nans.
21145
21146 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21147
21148 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21149 (CFLAGS-oldsendmsg.c): Add rule.
21150 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21151 Correct recvmsg symbol name.
21152 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21153 Likewise.
21154
21155 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21156
21157 * sysdeps/unix/sysv/linux/Makefile
21158 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21159 oldsendmmsg.
21160 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21161 sendmmsg.
21162 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21164 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21165 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21167 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21170 Likewise.
21171 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21172 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21173 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21174 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21175 iovlen and controllen fields to adjust to POSIX specification.
21176 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21177
21178 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21179 and change to correct expected type.
21180 (msghdr.msg_controllen): Likewise.
21181 (cmsghdr.cmsg_len): Likewise.
21182 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21183 expected POSIX assumption about the size.
21184 (msghdr.msg_controllen): Likewise.
21185 (msghdr.__glibc_reserved1): Likewise.
21186 (msghdr.__glibc_reserved2): Likewise.
21187 (cmsghdr.cmsg_len): Likewise.
21188 (cmsghdr.__glibc_reserved1): Likewise.
21189 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21190 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21191 (CFLAGS-sendmsg.c): Remove rule.
21192 (CFLAGS-recvmsg.c): Likewise.
21193 (CFLAGS-oldsendmsg.c): Add rule.
21194 (CFLAGS-oldrecvmsg.c): Likewise.
21195 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21196 recvmsg and sendmsg.
21197 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21198 Likewise.
21199 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21200 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21201 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21202 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21203 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21204 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21205 Likewise.
21206 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21207 Likewise.
21208 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21209 Likewise.
21210 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21211 Likewise.
21212 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21213 Likewise.
21214 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21215 Likewise.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21217 (GLIBC_2.24): Likewise.
21218 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21219 Likewise.
21220 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21221 Likewise.
21222 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21223 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21224 Likewise.
21225 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21226 Likewise.
21227 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21228 Likewise.
21229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21230 (GLIBC_2.24): Likewise.
21231 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21232 Likewise.
21233 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21234 Likewise.
21235 * sysdeps/unix/sysv/linux/Makefile
21236 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21237 (CFLAGS-sendmsg.c): Add rule.
21238 (CFLAGS-recvmsg.c): Likewise.
21239 (CFLAGS-oldsendmsg.c): Likewise.
21240 (CFLAGS-oldrecvmsg.c): Likewise.
21241 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21242 initialization.
21243 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21244 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21245 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21246 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21247 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21248 iovlen and controllen fields to adjust to POSIX specification.
21249 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21250 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21251 added recvmsg and sendmsg.
21252 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21253 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21254 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21255 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21256 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21257 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21258 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21260 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21261 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21262 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21263 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21265 Likewise.
21266 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21268 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21269 Likewise.
21270 Likewise.
21271 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21272 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21273 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21274 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21275 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21276 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21278 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21280 Likewise.
21281 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21282 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21283
21284 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21285 from auto-generation.
21286 (sendmsg): Likewise.
21287 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21288 (sendmsg): Likewise.
21289 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21290 (sendmsg): Likewise.
21291 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21292 (sendmsg): Likewise.
21293 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21294 (sendmsg): Likewise.
21295 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21296 (sendmsg): Likewise.
21297 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21298 Likewise.
21299 (sendmsg): Likewise.
21300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21301 (sendmsg): Likewise.
21302 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21303 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21304 Remove.
21305 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21306 Likewise.
21307 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21308 Undefine.
21309 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21310 Likewise.
21311 * sysdeps/unix/sysv/linux/kernel-features.h
21312 (__ASSUME_SENDMSG_SYSCALL): Define.
21313 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21315 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21316 Remove.
21317 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21318 Likewise.
21319 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21320 Undefine.
21321 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21322 Likewise.
21323 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21324 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21325 Remove.
21326 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21327 Likewise.
21328 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21329 Undefine.
21330 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21331 Likewise.
21332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21333 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21334 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21335 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21336 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21337 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21338 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21339 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21340 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21341
21342 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21343
21344 * stdlib/gen-tst-strtod-round.c: Add backslash to
21345 compile command in comment.
21346 (printfp): Remove the literal suffix, and define an infinite
21347 value as INF to avoid expansion clash with INFINITY.
21348 (round_str): Remove the literal suffix.
21349 (round_for_all): Likewise, remove the now duplicate ldbl-64
21350 entry, and remove some magic constants.
21351
21352 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21353 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21354 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21355 (_CONCAT): New macro.
21356 (CONCAT): Likewise.
21357 (CHOOSE_ld): Likewise.
21358 (CHOOSE_f): Likewise.
21359 (CHOOSE_d): Likewise.
21360 (FTYPE_MEMBER): Likewise.
21361 (BOOL_MEMBER): Likewise.
21362 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21363 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21364 (_XNTRY): Likewise.
21365 (XNTRY): Likewise.
21366 (_ENTRY): Likewise.
21367 (ENTRY): Likewise.
21368 (test_exactness): Generate members via macro.
21369 (test_results): Likewise.
21370 (test): Update members.
21371 (TEST): Redefine using new macros.
21372 (INF): New macro.
21373 (fetestmodes): New structure.
21374 (do_test): Refactor to be type generic.
21375 (test_in_one_mode): Refactor duplicate code into
21376 (GEN_ONE_TEST): New macro.
21377
21378 * stdlib/tst-strtod-round-data.h: Regenerate.
21379
21380 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21381 Extend to pass additional arbitrary parameters to
21382 generators.
21383
21384 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21385
21386 [BZ #15479]
21387 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21388 floating-point state after first floating-point operation on
21389 input. Restore full floating-point state instead of just rounding
21390 mode.
21391 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21392 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21393 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21394 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21395 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21396
21397 [BZ #15479]
21398 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21399 floating-point state after first floating-point operation on
21400 input. Restore full floating-point state instead of just rounding
21401 mode.
21402 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21403 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21404 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21405 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21406 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21407
21408 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21409
21410 [BZ #19727]
21411 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21412 valid high surrogate.
21413 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21414 of an utf16 surrogate.
21415 * iconv/gconv_simple.c (BODY): Likewise.
21416 * iconvdata/bug-iconv12.c: New file.
21417 * iconvdata/Makefile (tests): Add bug-iconv12.
21418
21419 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21420
21421 [BZ #19726]
21422 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21423 outptrp in case of an illegal input.
21424 * iconv/tst-iconv6.c: New file.
21425 * iconv/Makefile (tests): Add tst-iconv6.
21426
21427 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21428
21429 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21430 an error in case of a value in range of an utf16 low surrogate.
21431
21432 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21433
21434 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21435 an error in case of a value in range of an utf16 low surrogate.
21436
21437 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21438
21439 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21440 Move to ...
21441 * sysdeps/s390/Makefile: ... here.
21442 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21443 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21444 (BRANCH_ON_COUNT): New define.
21445 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21446 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21447 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21448 run on s390-32, too.
21449 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21450 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21451 run on s390-32, too.
21452 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21453 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21454 run on s390-32, too.
21455
21456 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21457
21458 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21459 etf3eh or new vector loop-variant.
21460
21461 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21462
21463 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21464 etf3eh or new vector loop-variant.
21465
21466 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21467
21468 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21469 or new vector loop-variant.
21470
21471 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21472
21473 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21474 Rename to TR_LOOP and usage of tr instead of troo instruction.
21475
21476 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21477
21478 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21479 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21480
21481 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21482
21483 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21484 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21485 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21486 New override define.
21487 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21488
21489 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21490
21491 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21492 * sysdeps/s390/configure.ac: Add test for S390 vector register
21493 support in gcc.
21494 * sysdeps/s390/configure: Regenerated.
21495
21496 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21497
21498 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21499 Install file from $(objpfx)gconv-modules.
21500 ($(objpfx)gconv-modules): Concatenate architecture specific file
21501 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21502 * sysdeps/s390/gconv-modules: New file.
21503 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21504 Deleted.
21505 ($(objpfx)gconv-modules-s390): Deleted.
21506 (sysdeps-gconv-modules): New variable.
21507
21508 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21509
21510 [BZ #15479]
21511 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21512 of immediate operand to rounding instruction.
21513 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21514 Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21516 Likewise.
21517 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21518 Likewise.
21519
21520 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21521
21522 * math/libm-test.inc (MIN_EXP): Directly define as
21523 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21524
21525 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21526
21527 * math/libm-test.inc (MANT_DIG): Directly define as
21528 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21529
21530 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21531
21532 * stdlib/gen-tst-strtod-round.c (main):
21533 Change usage to more closely match the generated
21534 output. Add usage and compilation instructions.
21535 (string_to_fp): Add and use FILE* parameter as
21536 output target.
21537 (print_fp): Likewise.
21538 (round_str): Likewise.
21539 (round_for_all): Likewise.
21540 * stdlib/tst-strtod-round.c (tests): Move into
21541 * stdlib/tst-strtod-round-data.h: New file.
21542
21543 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21544
21545 [BZ #15479]
21546 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21547 (__round): Do not force "inexact" exception.
21548 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21549 variable.
21550 (__round): Do not force "inexact" exception.
21551 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21552 (__roundf): Do not force "inexact" exception.
21553 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21554 (__roundl): Do not force "inexact" exception.
21555 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21556 (__roundl): Do not force "inexact" exception.
21557 * math/libm-test.inc (round_test_data): Do not allow spurious
21558 "inexact" exceptions.
21559
21560 [BZ #15479]
21561 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21562 exception in comment.
21563 (huge): Remove variable.
21564 (__floor): Do not force "inexact" exception.
21565 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21566 "inexact" exception in comment.
21567 (huge): Remove variable.
21568 (__floor): Do not force "inexact" exception.
21569 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21570 exception in comment.
21571 (huge): Remove variable.
21572 (__floorf): Do not force "inexact" exception.
21573 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21574 exception in comment.
21575 (huge): Remove variable.
21576 (__floorl): Do not force "inexact" exception.
21577
21578 [BZ #15479]
21579 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21580 exception in comment.
21581 (huge): Remove variable.
21582 (__ceil): Do not force "inexact" exception.
21583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21584 "inexact" exception in comment.
21585 (huge): Remove variable.
21586 (__ceil): Do not force "inexact" exception.
21587 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21588 (__ceilf): Do not force "inexact" exception.
21589 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21590 exception in comment.
21591 (huge): Remove variable.
21592 (__ceill): Do not force "inexact" exception.
21593
21594 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * config.h.in (BIND_NOW): New.
21597 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21598 * configure: Regenerated.
21599 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21600 indirect branch via the GOT slot.
21601
21602 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21603
21604 [BZ #19765]
21605 * sysdeps/s390/mempcpy.S: New File.
21606 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21607 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21608 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21609 Add mempcpy variants.
21610 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21611 (memcpy): Adjust to be usable from mempcpy entry point.
21612 (__memcpy_mvcle): Likewise.
21613 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21614 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21615 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21616 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21617 (__memcpy_z10): Likewise.
21618 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21619
21620 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21621
21622 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21623 Remove __GI_ symbol.
21624 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21625 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21626 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21627 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21628 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21629 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21630
21631 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21632
21633 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21634 Use cghi instead of chi to compare 64bit value.
21635
21636 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21637
21638 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21639 Jump to 1MB check before executing mvc-loop.
21640
21641 2016-05-24 Florian Weimer <fweimer@redhat.com>
21642
21643 [BZ #6527]
21644 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21645 unconditionally.
21646 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21647
21648 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21649
21650 * stdlib/tst-strtod6.c (do_test): Use new type generic
21651 invocation of the test function.
21652 (test): Refactor into ...
21653 (TEST_STRTOD): New macro base function.
21654
21655 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21656
21657 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21658 (TEST_STRTOD): New macro.
21659 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21660
21661 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21662
21663 * stdlib/tst-strtod6.c (do_test): Use new type generic
21664 invocation of the test function.
21665 (test): Refactor into ...
21666 (TEST_STRTOD): New macro base function.
21667
21668 2016-05-23 Florian Weimer <fweimer@redhat.com>
21669
21670 CVE-2016-4429
21671 [BZ #20112]
21672 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21673 payload.
21674
21675 2016-05-23 Florian Weimer <fweimer@redhat.com>
21676
21677 [BZ #20111]
21678 * bits/sockaddr.h (_SS_SIZE): Define.
21679 * bits/socket.h (_SS_SIZE): Remove.
21680 (_SS_PADSIZE): Adjust to account for all padding.
21681 (struct sockaddr_storage): Update comment. Avoid implicit
21682 padding.
21683 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21684 (_SS_PADSIZE): Adjust to account for all padding.
21685 (struct sockaddr_storage): Update comment. Avoid implicit
21686 padding.
21687 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21688 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21689 (_SS_PADSIZE): Adjust to account for all padding.
21690 (struct sockaddr_storage): Update comment. Avoid implicit
21691 padding.
21692 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21693 __SS_SIZE is 126 in this version.
21694 * inet/tst-sockaddr.c: New file.
21695 * inet/Makefile (tests): Add tst-sockaddr.c
21696 (tst-sockaddr.c): Compile with non-strict aliasing.
21697
21698 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21699
21700 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21701 [XPG3 || XPG4].
21702 (NL_ARGMAX): Also expect for [XPG3].
21703 (NL_LANGMAX): Likewise.
21704 (NL_MSGMAX): Likewise.
21705 (NL_NMAX): Likewise.
21706 (NL_SETMAX): Likewise.
21707 (NL_TEXTMAX): Likewise.
21708 (NZERO): Likewise.
21709 (TMP_MAX): Likewise.
21710 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21711 variable.
21712
21713 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21714 (PF_MAX): Update value.
21715 (AF_KCM): New macro.
21716 (SOL_NETBEUI): Likewise.
21717 (SOL_LLC): Likewise.
21718 (SOL_DCCP): Likewise.
21719 (SOL_NETLINK): Likewise.
21720 (SOL_TIPC): Likewise.
21721 (SOL_RXRPC): Likewise.
21722 (SOL_PPPOL2TP): Likewise.
21723 (SOL_BLUETOOTH): Likewise.
21724 (SOL_PNPIPE): Likewise.
21725 (SOL_RDS): Likewise.
21726 (SOL_IUCV): Likewise.
21727 (SOL_CAIF): Likewise.
21728 (SOL_ALG): Likewise.
21729 (SOL_NFC): Likewise.
21730 (SOL_KCM): Likewise.
21731 (MSG_BATCH): New enum value and macro.
21732
21733 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21734
21735 [BZ #18185]
21736 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21737 sharing L2 cache to 2 for Knights Landing.
21738
21739 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21740
21741 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21742 (FTW_DP): Do not expect for [XPG3 || XPG4].
21743 (FTW_SL): Do not expect for [XPG3].
21744 (FTW_SLN): Likewise.
21745 (FTW_PHYS): Likewise.
21746 (FTW_MOUNT): Likewise.
21747 (FTW_DEPTH): Likewise.
21748 (FTW_CHDIR): Likewise.
21749 (nftw): Likewise.
21750 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21751 variable.
21752
21753 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21754
21755 * manual/errno.texi: Fix various typos & grammar errors.
21756
21757 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21758
21759 * manual/intro.texi: Fix duplicated typo.
21760
21761 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21762
21763 [BZ #13304]
21764 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21765 <float.h>, <math_private.h> and <stdlib.h>.
21766 (add_split): New function.
21767 (mul_split): Likewise.
21768 (ext_val): New typedef.
21769 (store_ext_val): New function.
21770 (mul_ext_val): New function.
21771 (compare): New function.
21772 (add_split_ext): New function.
21773 (__fmal): After checking for Inf, NaN and zero, compute result as
21774 an exact sum of scaled double values in round-to-nearest before
21775 adding those up and adjusting for other rounding modes.
21776 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21777 tests of fma.
21778 * math/auto-libm-test-out: Regenerated.
21779
21780 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21781
21782 [BZ #20119]
21783 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21784 processor level type mask for CPUID with EAX == 11.
21785
21786 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21789 logical threads if the HTT bit is 0.
21790 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21791 (index_cpu_HTT): Likewise.
21792 (reg_HTT): Likewise.
21793
21794 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21795
21796 [BZ #20115]
21797 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21798 Remove alignments on jump targets.
21799
21800 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21801
21802 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21803 (getpwent): Likewise.
21804 (setpwent): Likewise.
21805 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21806 variable.
21807
21808 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21809 (remque): Likewise.
21810 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21811 variable.
21812
21813 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21814
21815 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21816 not being tested.
21817
21818 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21819
21820 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21821 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21822 call.
21823 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21824 (__condvar_cleanup1): Likewise.
21825
21826 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21827
21828 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21829 New
21830 (__pthread_unwind): Renamed to ...
21831 (PTHREAD_UNWIND): This.
21832 (__pthread_enable_asynccancel): Replace
21833 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21834
21835 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21836
21837 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21838 (CLONE_NEWCGROUP): New macro.
21839
21840 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21841 (Q_GETNEXTQUOTA): New macro.
21842
21843 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21844
21845 [BZ #19907]
21846 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21847 buffer updated by the previous run.
21848 * string/test-memcpy.c (do_one_test): Likewise.
21849 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21850 * string/test-memmove.c (do_one_test): Likewise.
21851
21852 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21853
21854 [BZ #20094]
21855 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21856 not [__USE_XOPEN].
21857 (unlockpt): Likewise.
21858 (ptsname): Likewise.
21859 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21860 variable.
21861
21862 [BZ #20076]
21863 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21864 instead of [__USE_UNIX98].
21865 (S_ISSOCK): Likewise.
21866 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21867 variable.
21868
21869 [BZ #20074]
21870 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21871 [__USE_POSIX].
21872 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21873 variable.
21874
21875 [BZ #20051]
21876 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21877 (ttyslot): Do not declare.
21878 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21879 (ttyslot): New prototype.
21880 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21881 variable.
21882 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21883
21884 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21885
21886 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21887
21888 2016-05-13 Florian Weimer <fweimer@redhat.com>
21889
21890 Fix race condition in tst-mallocfork2, use fewer resources.
21891 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21892 to current process group.
21893 (signal_sender): Yield in the non-sleeping case.
21894
21895 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21896
21897 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21898 (ecvt): Likewise.
21899 (fcvt): Likewise.
21900 (gcvt): Likewise.
21901 (getsubopt): Likewise.
21902 (grantpt): Likewise.
21903 (initstate): Likewise.
21904 (l64a): Likewise.
21905 (mktemp): Likewise.
21906 (mkstemp): Likewise.
21907 (ptsname): Likewise.
21908 (random): Likewise.
21909 (realpath): Likewise.
21910 (setstate): Likewise.
21911 (srandom): Likewise.
21912 (ttyslot): Likewise.
21913 (unlockpt): Likewise.
21914 (valloc): Likewise.
21915
21916 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21917 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21918 variable.
21919
21920 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 [BZ #20072]
21923 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21924 init_cpu_features only if SHARED is defined.
21925 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21926
21927 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21928
21929 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21930 non-inclusive caches on Intel processors.
21931
21932 2016-05-13 Florian Weimer <fweimer@redhat.com>
21933
21934 * malloc/malloc.c (dumped_main_arena_start)
21935 (dumped_main_arena_end): New variables.
21936 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21937 (do_check_chunk): Skip dumped fake mmapped chunks.
21938 (munmap_chunk): Likewise.
21939 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21940 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21941 mmapped chunks.
21942 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21943 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21944 and dumped_main_arena_end to cover the dumped heap.
21945
21946 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21947
21948 * conform/data/time.h-data (getdate_err): Do not expect for
21949 [XPG3].
21950 (getdate): Likewise.
21951 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21952 variable.
21953
21954 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21955 (F_ULOCK): Likewise.
21956 (F_TEST): Likewise.
21957 (F_TLOCK): Likewise.
21958 (useconds_t): Likewise.
21959 (intptr_t): Do not expect for [XPG3] or [XPG4].
21960 (brk): Do not expect for [XPG3]
21961 (fchown): Likewise.
21962 (fchdir): Likewise.
21963 (ftruncate): Likewise.
21964 (getdtablesize): Likewise.
21965 (gethostid): Likewise.
21966 (getpagesize): Likewise.
21967 (getpgid): Likewise.
21968 (getsid): Likewise.
21969 (getwd): Likewise.
21970 (lchown): Likewise.
21971 (lockf): Likewise.
21972 (readlink): Likewise.
21973 (sbrk): Likewise.
21974 (setpgrp): Likewise.
21975 (setregid): Likewise.
21976 (setreuid): Likewise.
21977 (symlink): Likewise.
21978 (sync): Likewise.
21979 (truncate): Likewise.
21980 (ualarm): Likewise.
21981 (usleep): Likewise.
21982 (vfork): Likewise.
21983 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21984 variable.
21985
21986 [BZ #20054]
21987 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21988 not [__USE_UNIX98].
21989 * conform/data/unistd.h-data (gethostname): Do not expect for
21990 [XPG3].
21991
21992 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21993 [!POSIX] (S_IFBLK): Likewise.
21994 [!POSIX] (S_IFCHR): Likewise.
21995 [!POSIX] (S_IFIFO): Likewise.
21996 [!POSIX] (S_IFREG): Likewise.
21997 [!POSIX] (S_IFDIR): Likewise.
21998 [!POSIX] (S_IFLNK): Likewise.
21999 [!POSIX] (S_IFSOCK): Likewise.
22000 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22001 variable.
22002 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22003
22004 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
22005
22006 * sysdeps/aarch64/memset.S (__memset):
22007 Rewrite of optimized memset.
22008
22009 2016-05-12 Florian Weimer <fweimer@redhat.com>
22010
22011 [BZ #19703]
22012 Partially async-signal-safe fork for single-threaded processes.
22013 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22014 variable. Do not acquire and reset/release malloc and libio locks
22015 in single-threaded processes.
22016 * malloc/tst-mallocfork2.c: New file.
22017 * malloc/Makefile (tests): Add it.
22018
22019 2016-05-12 Florian Weimer <fweimer@redhat.com>
22020
22021 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22022 argument. Use scratch buffer instead of extend_alloca.
22023 (gethosts): Use scratch buffer instead of extend_alloca.
22024 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
22025 extend_alloca.
22026 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22027
22028 2016-05-11 Joseph Myers <joseph@codesourcery.com>
22029
22030 [BZ #20055]
22031 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22032 instead of [__USE_UNIX98].
22033 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22034 [__USE_UNIX98].
22035 * conform/data/termios.h-data (tcgetsid): Do not expect for
22036 [XPG3].
22037 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22038 variable.
22039 (test-xfail-XPG4/termios.h/conform): Likewise.
22040
22041 2016-05-11 Florian Weimer <fweimer@redhat.com>
22042
22043 Do not use mcheck in localedef.
22044 * locale/programs/localedef.c (turn_on_mcheck)
22045 (__malloc_initialize_hook): Remove.
22046
22047 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22048
22049 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22050 * sysdeps/s390/s390-64/Makefile: Likewise.
22051
22052 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
22053
22054 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22055 Remove ifunc-defines.sym.
22056 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22057 Likewise.
22058 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22059 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22060 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22061 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22062 rtld-global-offsets.sym.
22063 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22064 * sysdeps/x86/cpu-features-offsets.sym: This.
22065 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22066 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22067
22068 2016-05-10 Joseph Myers <joseph@codesourcery.com>
22069
22070 [BZ #20073]
22071 * io/sys/stat.h (fchmod): Declare for
22072 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22073 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22074 variable.
22075
22076 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22077 [XPG3] (S_IFSOCK): Likewise.
22078 [XPG3] (S_ISVTX): Likewise.
22079 [XPG3] (S_ISLNK): Likewise.
22080 [XPG3] (S_ISSOCK): Likewise.
22081 [XPG3] (fchmod): Likewise.
22082 [XPG3] (lstat): Likewise.
22083 [XPG3] (mknod): Likewise.
22084
22085 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22086 [XPG3]. Expect type long and XFAIL for [XPG4].
22087 (st_blocks): Likewise.
22088
22089 [BZ #20044]
22090 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22091 (pthread_atfork): New prototype.
22092 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22093 variable.
22094
22095 [BZ #20043]
22096 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22097 prototype.
22098
22099 2016-05-10 Florian Weimer <fweimer@redhat.com>
22100
22101 [BZ #20017]
22102 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22103 gmtime.
22104
22105 2016-05-10 Florian Weimer <fweimer@redhat.com>
22106
22107 [BZ #19994]
22108 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22109 flag in _res.options.
22110
22111 2016-05-09 Joseph Myers <joseph@codesourcery.com>
22112
22113 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22114 [XPG3 || XPG4].
22115 (blksize_t): Likewise.
22116 (clockid_t): Likewise.
22117 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22118 variable.
22119 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22120
22121 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22122
22123 * sysdeps/unix/sysv/linux/s390/init-first.c:
22124 Add VDSO_SYMBOL(getcpu).
22125 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22126 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22127 Add VDSO_SYMBOL(getcpu).
22128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22129 New define HAVE_GETCPU_VSYSCALL.
22130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22131
22132 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
22133
22134 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22135 instead of <sysdeps/x86_64/cacheinfo.c>.
22136 * sysdeps/x86_64/cacheinfo.c: Moved to ...
22137 * sysdeps/x86/cacheinfo.c: Here.
22138
22139 2016-05-04 Florian Weimer <fweimer@redhat.com>
22140
22141 * malloc/malloc-internal.h: Adjust header file guard.
22142
22143 2016-05-04 Florian Weimer <fweimer@redhat.com>
22144
22145 [BZ #19787]
22146 * inet/getnameinfo.c (check_sprintf_result): New function.
22147 (CHECKED_SNPRINTF): New macro.
22148 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22149 to the host buffer.
22150 (gni_host_local): Use checked_copy to copy the host name.
22151 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22152 (gni_serv_local): Use checked_copy to copy the service name.
22153 (getnameinfo): Remove unnecessary truncation of result buffers.
22154
22155 2016-05-04 Florian Weimer <fweimer@redhat.com>
22156
22157 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22158 in case of inet_ntop failure.
22159
22160 2016-05-04 Florian Weimer <fweimer@redhat.com>
22161
22162 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22163 avoid long lines.
22164 (gni_host_inet_numeric): Likewise. Reduce scope of local
22165 variables.
22166 (gni_host_inet, gni_host_local): Add comment.
22167 (gni_host): Add comment. Use temporary to avoid long lines.
22168
22169 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22170
22171 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22172 registers specifiers where general purpose registers specifiers should
22173 have been used.
22174
22175 2016-05-04 Florian Weimer <fweimer@redhat.com>
22176
22177 [BZ #19779]
22178 CVE-2016-1234
22179 Avoid copying names of directory entries.
22180 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22181 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22182 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22183 (struct readdir_result): New type.
22184 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22185 (GL_READDIR): New macros.
22186 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22187 (convert_dirent, convert_dirent64): New functions.
22188 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22189 convert_dirent64. Adjust references to the readdir result.
22190 * sysdeps/unix/sysv/linux/i386/glob64.c:
22191 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22192 * posix/bug-glob2.c (LONG_NAME): Define.
22193 (filesystem): Add LONG_NAME.
22194 (my_DIR): Increase the size of room_for_dirent.
22195
22196 2016-05-03 Joseph Myers <joseph@codesourcery.com>
22197
22198 [BZ #20041]
22199 * misc/sys/select.h (__need_timespec): Only define if
22200 [__USE_XOPEN2K].
22201 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22202 variable.
22203 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22204 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22205 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22206
22207 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22208 Segher Boessenkool <segher@gcc.gnu.org>
22209
22210 [BZ #20004]
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22212 (__novec_swapcontext): Add missing load.
22213
22214 2016-05-02 Joseph Myers <joseph@codesourcery.com>
22215
22216 [BZ #20023]
22217 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22218 <time.h>.
22219 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22220 variable.
22221 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22222
22223 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22224
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22226 flags CLONE_VM compare.
22227
22228 2016-05-02 Florian Weimer <fweimer@redhat.com>
22229
22230 [BZ #20031]
22231 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22232 completely empty.
22233
22234 2016-05-02 Florian Weimer <fweimer@redhat.com>
22235
22236 [BZ #19573]
22237 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22238 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22239 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22240 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22241 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22242 (hesiod_free_list): Mark as hidden.
22243 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22244 res_set, res_get.
22245 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22246 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22247 (hesiod_init): Remove obsolete res_ninit call.
22248 (hesiod_end): Do not free resolver state. Do not invoke callback.
22249 (hesiod_bind): Do not call init.
22250 (get_txt_records): Use res_mkquery, res_send instead of
22251 res_nmkquery, res_nsend.
22252 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22253 instead of _nss_hesiod_init.
22254 (_nss_hesiod_initgroups_dyn): Likewise.
22255 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22256 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22257 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22258
22259 2016-05-02 Florian Weimer <fweimer@redhat.com>
22260
22261 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22262 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22263
22264 2016-05-02 Florian Weimer <fweimer@redhat.com>
22265
22266 * hesiod/hesiod.h: Remove RCS keyword.
22267 * hesiod/hesiod_p.h: Likewise.
22268
22269 * hesiod/hesiod.c: Likewise.
22270
22271 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22272
22273 [BZ #12450]
22274 * locale/iso-639.def: Add Samogitian/sgs.
22275
22276 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22277
22278 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22279
22280 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22281
22282 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22283 Carlos O'Donell <carlos@redhat.com>
22284
22285 [BZ #19072]
22286 * grp/Makefile (headers): Add grp-merge.h
22287 (routines): Add grp-merge.
22288 * grp/getgrgid_r.c: Include grp-merge.h.
22289 (DEEPCOPY_FN): Define.
22290 (MERGE_FN): Define.
22291 * grp/getgrname_r.c: Include grp-merge.h.
22292 (DEEPCOPY_FN): Define.
22293 (MERGE_FN): Define.
22294 * grp/grp-merge.c: New file.
22295 * grp/grp-merge.h: New file.
22296 * include/grp-merge.h: New file.
22297 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22298 __copy_grp@GLIBC_PRIVATE.
22299 * manual/nss.texi (Actions in the NSS configuration): Describe
22300 return, continue, and merge.
22301 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22302 (DEEPCOPY_FN): Define.
22303 (MERGE_FN): Define.
22304 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22305 (DEEPCOPY_FN): Define.
22306 (MERGE_FN): Define.
22307 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22308 [!MERGE_FN]: Define __merge_einval.
22309 (CHECK_MERGE): Define.
22310 (REENTRANT_NAME): Process merge if do_merge is true.
22311 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22312 (__nss_getent_r): Likewise.
22313 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22314 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22315
22316 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22317
22318 [BZ #20012]
22319 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22320 length to calculate the buffer to read.
22321 (fmemopen_write): Set the buffer position based on bytes written.
22322 (fmemopen_seek): Return EINVAL for invalid whence modes.
22323
22324 [BZ #19957]
22325 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22326 tst-getpid2.
22327 (test): Add tst-clone2.
22328 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22329 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22330 pid/tid fields for CLONE_VM.
22331 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22332 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22333 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22334 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22335 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22336 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22337 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22338 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22340 Likewise.
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22342 Likewise.
22343 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22344 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22345 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22346 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22347 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22348 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22349 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22350 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22351
22352 2016-04-29 Florian Weimer <fweimer@redhat.com>
22353
22354 [BZ #19642]
22355 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22356 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22357 (gni_serv_local, gni_serv): New functions extracted from
22358 getnameinfo.
22359 (getnameinfo): Call gni_host and gni_serv to perform the
22360 processing. Always free scratch buffer.
22361
22362 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22363
22364 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22365 remaining bytes in the dest string, with zeros.
22366
22367 2016-04-29 Florian Weimer <fweimer@redhat.com>
22368
22369 [BZ #20010]
22370 CVE-2016-3706
22371 * sysdeps/posix/getaddrinfo.c
22372 (convert_hostent_to_gaih_addrtuple): New function.
22373 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22374 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22375 AF_INET data.
22376
22377 2016-04-29 Florian Weimer <fweimer@redhat.com>
22378
22379 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22380 callback function gl_readdir.
22381 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22382 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22383 (glob_in_dir): Remove len. Use strdup instead of malloc and
22384 memcpy to copy the name.
22385 * manual/pattern.texi (Calling Glob): Document requirements for
22386 implementations of the gl_readdir callback function.
22387 * manual/examples/mkdirent.c: New example.
22388 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22389 per the manual guidance.
22390 * posix/tst-gnuglob.c (my_readdir): Likewise.
22391
22392 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22393
22394 [BZ #20014]
22395 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22396 not [__USE_POSIX].
22397 (getchar_unlocked): Likewise.
22398 (putc_unlocked): Likewise.
22399 (putchar_unlocked): Likewise.
22400 (flockfile): Likewise.
22401 (ftrylockfile): Likewise.
22402 (funlockfile): Likewise.
22403 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22404 variable.
22405 (test-xfail-XPG4/stdio.h/conform): Likewise.
22406
22407 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22408 Expect constant.
22409 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22410 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22411 variable.
22412 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22413 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22414
22415 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22416 [__USE_LARGEFILE64] (off64_t): Likewise.
22417 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22418 variable.
22419
22420 2016-04-28 Florian Weimer <fweimer@redhat.com>
22421
22422 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22423
22424 2016-04-28 Florian Weimer <fweimer@redhat.com>
22425
22426 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22427 * resolv/res_init.c: Likewise.
22428 * resolv/res_mkquery.c: Likewise.
22429
22430 2016-04-28 Florian Weimer <fweimer@redhat.com>
22431
22432 * resolv/res_init.c (isascii): Do not define. Use definition in
22433 <ctype.h>.
22434 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22435 (LOG_AUTH): Remove.
22436 (SPRINTF): Remove, adjust caller.
22437 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22438
22439 2016-04-28 Florian Weimer <fweimer@redhat.com>
22440
22441 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22442 SUNSECURITY conditional.
22443 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22444
22445 2016-04-28 Florian Weimer <fweimer@redhat.com>
22446
22447 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22448 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22449 Remove BSD-related preprocessor conditionals.
22450 * conf/portability.h: Remove.
22451
22452 2016-04-28 Florian Weimer <fweimer@redhat.com>
22453
22454 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22455 * resolv/res_data.c: Likewise.
22456
22457 2016-04-28 Florian Weimer <fweimer@redhat.com>
22458
22459 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22460 * resolv/res_data.c: Remove code conditional on ultrix.
22461
22462 2016-04-28 Florian Weimer <fweimer@redhat.com>
22463
22464 * resolv/res_init.c (RFC1535): Do not define. Remove
22465 RFC1535 preprocessor conditionals.
22466 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22467 because there configuration options which make the resolver
22468 behavior different.
22469
22470 2016-04-28 Florian Weimer <fweimer@redhat.com>
22471
22472 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22473 RESOLVSORT preprocessor conditionals.
22474 * resolv/nss_dns/dns-host.c: Likewise.
22475 * resolv/res_init.c: Likewise.
22476
22477 2016-04-28 Florian Weimer <fweimer@redhat.com>
22478
22479 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22480 is never defined.
22481
22482 2016-04-28 Florian Weimer <fweimer@redhat.com>
22483
22484 * inet/inet_lnaof.c: Remove SCSS keyword.
22485 * inet/inet_mkadr.c: Likewise.
22486 * inet/inet_net.c: Likewise.
22487 * inet/inet_netof.c: Likewise.
22488 * inet/rcmd.c: Likewise.
22489 * inet/rexec.c: Likewise.
22490 * inet/ruserpass.c: Likewise.
22491
22492 2016-04-28 Florian Weimer <fweimer@redhat.com>
22493
22494 * resolv/inet_addr.c: Remove _LIBC conditionals.
22495 * resolv/res_data.c: Likewise.
22496 * resolv/res_init.c: Likewise.
22497 * resolv/res_mkquery.c: Likewise.
22498 * resolv/res_libc.c: Update comment.
22499 * resolv/README: Update.
22500
22501 2016-04-28 Florian Weimer <fweimer@redhat.com>
22502
22503 * resolv/gethnamaddr.c: Remove SCSS keyword.
22504 * resolv/herror.c: Likewise.
22505 * resolv/inet_addr.c: Likewise.
22506 * resolv/inet_net_ntop.c: Likewise.
22507 * resolv/inet_net_pton.c: Likewise.
22508 * resolv/inet_neta.c: Likewise.
22509 * resolv/inet_ntop.c: Likewise.
22510 * resolv/inet_pton.c: Likewise.
22511 * resolv/ns_date.c: Remove RCS keyword.
22512 * resolv/ns_name.c: Likewise.
22513 * resolv/ns_netint.c: Likewise.
22514 * resolv/ns_parse.c: Likewise.
22515 * resolv/ns_print.c: Likewise.
22516 * resolv/ns_samedomain.c: Likewise.
22517 * resolv/ns_ttl.c: Likewise.
22518 * resolv/nsap_addr.c: Likewise.
22519 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22520 * resolv/res_data.c: Remove RCS keyword.
22521 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22522 * resolv/res_init.c: Likewise.
22523 * resolv/res_mkquery.c: Likewise.
22524 * resolv/res_query.c: Likewise.
22525 * resolv/res_send.c: Likewise.
22526
22527 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22528
22529 * conform/data/stdio.h-data (fdopen): Expect also for
22530 [XPG3 || XPG4].
22531
22532 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22533 (fseeko): Likewise.
22534 (ftello): Likewise.
22535 (ftrylockfile): Likewise.
22536 (funlockfile): Likewise.
22537 (getc_unlocked): Likewise.
22538 (getchar_unlocked): Likewise.
22539 (putc_unlocked): Likewise.
22540 (putchar_unlocked): Likewise.
22541
22542 2016-04-27 Florian Weimer <fweimer@redhat.com>
22543
22544 [BZ #19868]
22545 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22546 DNS packet syntax checks (which were not needed before). Skip
22547 over non-PTR records.
22548
22549 2016-04-27 Florian Weimer <fweimer@redhat.com>
22550
22551 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22552 definition. Include <stddef.h> instead.
22553
22554 2016-04-27 Florian Weimer <fweimer@redhat.com>
22555
22556 [BZ #19831]
22557 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22558 function.
22559 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22560 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22561
22562 2016-04-27 Florian Weimer <fweimer@redhat.com>
22563
22564 [BZ #19862]
22565 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22566 (getanswer_r): Do not call syslog.
22567 (gaih_getanswer_slice): Likewise.
22568 * resolv/gethnamaddr.c (AskedForGot): Remove.
22569 (getanswer): Do not call syslog.
22570 (gethostbyaddr): Likewise.
22571
22572 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22573
22574 * conform/data/signal.h-data (union sigval): Expect also if
22575 [XOPEN2K].
22576 (struct sigevent): Likewise.
22577 (SIGEV_NONE): Likewise.
22578 (SIGEV_SIGNAL): Likewise.
22579 (SIGEV_THREAD): Likewise.
22580 (SIGRTMIN): Likewise.
22581 (SIGRTMAX): Likewise.
22582 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22583 variable.
22584 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22585
22586 2016-04-27 Florian Weimer <fweimer@redhat.com>
22587
22588 [BZ #19830]
22589 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22590 (gaih_getanswer_slice): Likewise.
22591 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22592 Also check for availability of RR metadata.
22593
22594 2016-04-27 Florian Weimer <fweimer@redhat.com>
22595
22596 [BZ #19825]
22597 * resolv/res_send.c (send_vc): Remove early *resplen2
22598 initialization. Set *resplen2 on socket error. Call
22599 close_and_return_error for other errors.
22600
22601 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22602
22603 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22604 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22605 (SCM_IUCV_TRGCLS): New define.
22606
22607 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22608
22609 [BZ #20005]
22610 * libio/fmemopen.c (fmemopen_write): Update internal position after
22611 write.
22612 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22613 * stdio-common/tst-fmemopen4.c: New file..
22614
22615 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22616
22617 [BZ #19996]
22618 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22619 not [__USE_XOPEN2K].
22620 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22621 variable.
22622
22623 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22624 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22625 variable.
22626
22627 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22628 [__USE_XOPEN2K8].
22629 [__USE_LARGEFILE64] (off64_t): Likewise.
22630 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22631 variable.
22632
22633 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22634
22635 [BZ #19989]
22636 * libio/stdio.h (cuserid): Do not declare if
22637 [__USE_XOPEN2K && !__USE_GNU].
22638 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22639 variable.
22640
22641 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22642
22643 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22644 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22646 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22647 ifunc'ed strcspn.
22648 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22649 [EALIGN]: Removed.
22650 [END]: Likewise
22651 [STRSPN]: Define instead of the above to control symbol name.
22652 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22653 New file.
22654 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22655 Likewise.
22656 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22657 Likewise.
22658 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22659 Likewise.
22660 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22661 [INITIAL_MASK]: New macro.
22662 [STRCSPN]: Likewise.
22663 [UPDATE_MASK]: Likewise.
22664 [USE_AS_STRCSPN]: Likewise.
22665
22666 2016-04-25 Florian Weimer <fweimer@redhat.com>
22667
22668 [BZ #19931]
22669 * stdio-common/tst-vfprintf-width-prec.c: New file.
22670 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22671 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22672 (generated): Add mtrace-related files.
22673 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22674 (tst-%-mem.out): New pattern rule, replaces
22675 tst-printf-bz18872-mem.out.
22676 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22677 specifier, deallocate any previously allocated work buffer.
22678
22679 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22680
22681 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22682 Add nop before __startcontext, add explaining comments.
22683
22684 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22685
22686 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22687 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22688 completely different API.
22689
22690 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22691 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22692 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22693 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22694 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22695 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22696 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22697 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22698 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22699 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22700
22701 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22702
22703 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22704
22705 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22706
22707 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22708 when it is the default of 0.
22709
22710 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22711
22712 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22713 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22714 (sysdep_routines): Add new strcasestr targets.
22715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22716 (__libc_ifunc_impl_list): Likewise.
22717 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22718 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22719 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22720 * sysdeps/powerpc/powerpc64/power8/Makefile:
22721 New file to add strcasestr-ppc64 to sysdep_routines.
22722 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22723 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22724
22725 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22726
22727 * benchtests/Makefile (wcsmbs-benchset): Include only for
22728 native builds and runs.
22729 (LOCALES): Likewise.
22730 (bench-build): Build timing-type here instead of the bench
22731 target. Generate locale only for native builds.
22732 * benchtests/README: Add note for cross-building.
22733
22734 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22735
22736 * benchtests/README: Update README to include instructions on
22737 using bench-build.
22738
22739 * Makefile.in (bench-build): New target.
22740 * Rules (PHONY): Add bench-build target.
22741 * benchtests/Makefile (bench): Depend on bench-build.
22742 (bench-build): New target.
22743
22744 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22745
22746 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22747 profil_reply_port.
22748 (profile_waiter): Do not initialize profil_reply_port.
22749 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22750 frequency instead of tick length in us.
22751
22752 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22753
22754 [BZ #18712]
22755 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22756 (__old_mempcpy_small): Likewise.
22757 (__old_strcpy_small): Likewise.
22758 (__old_stpcpy_small): Likewise.
22759 (__old_strpbrk_c2): Fix compat symbol name.
22760 (__old_strpbrk_c3): Likewise.
22761 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22762 (__mempcpy_small): Remove.
22763 (__strcpy_small): Remove.
22764 (__stpcpy_small): Remove.
22765
22766 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22767
22768 [BZ #19400]
22769 * locale/iso-639.def: Add the Talossan/tzl language.
22770
22771 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22772
22773 [BZ #16983]
22774 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22775 comment. Add "ln" to strchr check on postal_fmt.
22776
22777 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22778
22779 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22780 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22781 tel_dom_fmt.
22782
22783 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22784
22785 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22786 (sysdep_routines): Added __strlen_power8.
22787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22788 __strlen_power8 entry.
22789 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22790 Implementation for POWER8.
22791 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22792 for __strlen_power8.
22793 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22794 Implementation for POWER8.
22795
22796 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22797
22798 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22799
22800 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22803 Goldmont and Airmont processors.
22804
22805 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22806
22807 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22808 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22809 (__STRING2_SMALL_GET32): Remove.
22810 (memset): Remove.
22811 (__memset_1): Remove.
22812 (__memset_gc): Remove.
22813 (__mempcpy): Remove.
22814 (mempcpy): Remove.
22815 (__mempcpy_args): Remove.
22816 (strchr): Remove.
22817 (strcpy): Remove.
22818 (strcpy_args): Remove.
22819 (__stpcpy_args): Remove.
22820 (__strcmp_cc): Remove.
22821 (__strcmp_gc): Remove.
22822 (strstr): Remove.
22823
22824 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22825
22826 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22827 * nis/nis_call.c (nis_server_cache_add): Likewise.
22828
22829 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22830
22831 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22832
22833 2016-04-14 Florian Weimer <fweimer@redhat.com>
22834
22835 * malloc/arena.c (__malloc_fork_lock_parent)
22836 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22837 internal_function attribute.
22838
22839 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22840
22841 * stdio-common/printf_fp.c (__printf_fp_l):
22842 Rename ___printf_fp_l to __printf_fp_l and
22843 remove strong alias. Use libc_hidden_def instead
22844 of ldbl_hidden_def macro.
22845
22846 2016-04-14 Florian Weimer <fweimer@redhat.com>
22847
22848 Remove malloc hooks from fork handler. They are no longer needed
22849 because malloc runs right before fork, and no malloc calls from
22850 other fork handlers are not possible anymore.
22851 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22852 declarations.
22853 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22854 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22855 (atfork_recursive_cntr): Remove.
22856 (__malloc_fork_lock_parent): Do not override malloc hooks and
22857 thread_arena.
22858 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22859 thread_arena.
22860 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22861 thread_arena instead of save_arena.
22862
22863 2016-04-14 Florian Weimer <fweimer@redhat.com>
22864
22865 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22866 (thread_atfork, thread_atfork_static): Remove.
22867 * sysdeps/mach/hurd/malloc-machine.h:
22868 (thread_atfork, thread_atfork_static): Remove.
22869
22870 2016-04-14 Florian Weimer <fweimer@redhat.com>
22871
22872 [BZ #19431]
22873 Run the malloc fork handler as late as possible to avoid deadlocks.
22874 * malloc/malloc-internal.h: New file.
22875 * malloc/malloc.c: Include it.
22876 * malloc/arena.c (ATFORK_MEM): Remove.
22877 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22878 Update comment.
22879 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22880 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22881 Remove outdated comment.
22882 (ptmalloc_init): Do not call thread_atfork. Remove
22883 thread_atfork_static.
22884 * malloc/tst-malloc-fork-deadlock.c: New file.
22885 * Makefile (tests): Add tst-malloc-fork-deadlock.
22886 (tst-malloc-fork-deadlock): Link against libpthread.
22887 * manual/memory.texi (Aligned Memory Blocks): Update safety
22888 annotation comments.
22889 * sysdeps/nptl/fork.c (__libc_fork): Call
22890 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22891 __malloc_fork_unlock_child.
22892 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22893
22894 2016-04-14 Florian Weimer <fweimer@redhat.com>
22895
22896 [BZ #19613]
22897 Remove union wait.
22898 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22899 (w_stopsig, w_stopval): Remove.
22900 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22901 stat_loc argument.
22902 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22903 (__WAIT_STATUS_DEFN): Remove.
22904 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22905 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22906 (wait, wait3, wait4): Use int * for the stat_loc argument.
22907 * posix/wait.c (__wait): Likewise.
22908 * posix/wait3.c (__wait3): Likewise.
22909 * posix/wait4.c (__wait4): Likewise.
22910 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22911 (__WAIT_STATUS_DEFN): Remove.
22912 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22913 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22914 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22915 argument.
22916 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22917 * sysdeps/posix/wait3.c (__wait3): Likewise.
22918 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22919 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22920 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22921 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22922 stat_loc argument.
22923 * manual/process.texi (BSD Wait Functions): Remove union wait.
22924
22925 2016-04-13 Andreas Schwab <schwab@suse.de>
22926
22927 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22928 (test-extras): Add tst-tlsalign-vars.
22929 * math/Makefile: Wrap long lines.
22930 (libm-vec-test-wrappers): Define.
22931 (test-extras): Add $(libm-vec-test-wrappers).
22932 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22933 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22934 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22935 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22936 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22937 (extra-test-objs): Add corresponding objects.
22938
22939 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 [BZ #19928]
22942 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22943 New.
22944 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22945 times of shared cache size.
22946 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22947 (VMOVNT): New.
22948 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22949 (VMOVNT): Likewise.
22950 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22951 (VMOVNT): Likewise.
22952 (VMOVU): Changed to movups for smaller code sizes.
22953 (VMOVA): Changed to movaps for smaller code sizes.
22954 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22955 comments.
22956 (PREFETCH): New.
22957 (PREFETCH_SIZE): Likewise.
22958 (PREFETCHED_LOAD_SIZE): Likewise.
22959 (PREFETCH_ONE_SET): Likewise.
22960 Rewrite to use forward and backward loops, which move 4 vector
22961 registers at a time, to support overlapping addresses and use
22962 non temporal store if size is above the threshold and there is
22963 no overlap between destination and source.
22964
22965 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22966
22967 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22968 Include dl-vdso.
22969 * sysdeps/unix/sysv/linux/mips/Versions: Add
22970 __vdso_clock_gettime.
22971 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22972 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22973 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22974 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22975 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22976 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22977 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22978 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22979 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22980
22981 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22982
22983 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22984 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22985 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22986 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22987 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22988 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22991 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22992 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22993 syscalls generation.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22995 [__NR_pwrite64] (__NR_write): Remove define.
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22997 [__NR_pwrite64] (__NR_write): Remove define.
22998 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22999 Remove define.
23000 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23001 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23002 Remove define.
23003 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23004 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23005 Linux implementation as base.
23006 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23007
23008 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23009 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23010 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23014 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23016 syscall generation.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23018 [__NR_pread64] (__NR_pread): Remove define.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23020 [__NR_pread64] (__NR_pread): Likewise.
23021 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23022 define.
23023 (__libc_pread): Use SYSCALL_LL macro on offset argument.
23024 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23025 Remove define.
23026 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23027 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23028 Linux implementation as base.
23029 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23030 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23031 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23032
23033 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23034 definition.
23035 (__ALIGNMENT_COUNT): Likewise.
23036 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23037 (__ALIGNMENT_COUNT): Likewise.
23038 (SYSCALL_LL): New define.
23039 (SYSCALL_LL64): Likewise.
23040 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23041 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23042 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23043 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23044
23045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23046 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23047 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23048 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23049 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23050 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23051
23052 2016-04-11 Florian Weimer <fweimer@redhat.com>
23053
23054 [BZ #19865]
23055 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23056 original buffer before retry.
23057
23058 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23059
23060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23061 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23062 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23063 GLRO(dl_auxv) list.
23064 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23065 including <ldsodefs.h>.
23066 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23067
23068 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
23069
23070 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23071 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23072 $(CPPFLAGS).
23073
23074 2016-04-09 Khem Raj <raj.khem@gmail.com>
23075
23076 [BZ #17950]
23077 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23078 Add -mfpmath=387.
23079
23080 2016-04-09 Mike Frysinger <vapier@gentoo.org>
23081
23082 * sysdeps/i386/configure.ac: Change == to = when calling test.
23083 * sysdeps/x86_64/configure.ac: Likewise.
23084 * sysdeps/i386/configure: Regenerated.
23085 * sysdeps/x86_64/configure: Likewise.
23086
23087 2016-04-08 Mike Frysinger <vapier@gentoo.org>
23088
23089 [BZ #16137]
23090 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23091 * benchtests/bench-strcoll.c (input_files): Likewise.
23092 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23093 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23094 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23095
23096 2016-04-08 Joseph Myers <joseph@codesourcery.com>
23097
23098 [BZ #19929]
23099 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23100 [__USE_XOPEN2K8 && !__USE_GNU].
23101 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23102 variable.
23103
23104 [BZ #19925]
23105 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23106 define if [!__USE_MISC && __USE_XOPEN2K].
23107 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23108 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23110 Likewise.
23111 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23112 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23113 variable.
23114 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23115
23116 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23117
23118 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23119 (sysdep_routines): Add new strspn targets.
23120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23121 (__libc_ifunc_impl_list): Add strspn.
23122 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23123 New file.
23124 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23125 Likewise.
23126 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23127 Likewise.
23128 * sysdeps/powerpc/powerpc64/power8/strspn.S:
23129 Likewise.
23130
23131 2016-04-07 Florian Weimer <fweimer@redhat.com>
23132
23133 * misc/hsearch_r.c: Include <limits.h>.
23134
23135 2016-04-07 Florian Weimer <fweimer@redhat.com>
23136
23137 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23138
23139 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23140
23141 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23142 (MEMCPY_SYMBOL): New.
23143 (MEMPCPY_SYMBOL): Likewise.
23144 (MEMMOVE_CHK_SYMBOL): Likewise.
23145 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23146 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23147 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
23148 Provide alias for memcpy in libc.a and ld.so.
23149
23150 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23153 (MEMSET_CHK_SYMBOL): New. Define if not defined.
23154 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23155 Disabled fro now.
23156 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23157 symbols. Properly check USE_MULTIARCH on __memset symbols.
23158
23159 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 * benchtests/Makefile (string-benchset): Add memcpy-large,
23162 memmove-large and memset-large.
23163 * benchtests/bench-memcpy-large.c: New file.
23164 * benchtests/bench-memmove-large.c: Likewise.
23165 * benchtests/bench-memmove-large.c: Likewise.
23166 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23167
23168 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23169
23170 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23171 32-bit displacement to avoid long nop between instructions.
23172
23173 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23174
23175 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23176 a comment on VMOVU and VMOVA.
23177
23178 2016-04-04 Florian Weimer <fweimer@redhat.com>
23179
23180 [BZ #19633]
23181 Use specified locale for number formatting in strfmon_l.
23182 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23183 (__nl_lookup_word): New inline functions.
23184 * include/printf.h (__print_fp_l): Declare.
23185 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23186 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23187 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23188 (___printf_fp): New function.
23189 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23190 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23191 * stdlib/tst-strfmon_l.c (do_test): New test.
23192 * stdlib/Makefile (tests): Add kt.
23193 (LOCALES): Build additional locales.
23194 (tst-strfmon_l.out): Require locales.
23195
23196 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23197
23198 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23199 if not in libc.
23200 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23201 Likewise.
23202 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23203 Likewise.
23204 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23205 Likewise.
23206
23207 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23208
23209 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23210 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23211 with unaligned_erms.
23212 (__memmove_erms): Skip if source == destination.
23213 (__memmove_unaligned_erms): Don't check source == destination
23214 first.
23215
23216 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23217
23218 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23219 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23220
23221 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23222
23223 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23224 * string/strspn.c (strspn): Likewise.
23225
23226 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23227
23228 * benchtests/bench-memset.c (do_test): Support 64-byte
23229 alignment.
23230 (test_main): Test 64-byte alignment.
23231
23232 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23233
23234 * benchtests/bench-memmove.c (test_main): Test 64-byte
23235 alignment.
23236
23237 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23238
23239 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23240
23241 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23242
23243 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23244 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23245 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23246
23247 * string/strpbrk.c (strpbrk): Rewrite function.
23248 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23249 (__strpbrk_c2): Likewise.
23250 (__strpbrk_c3): Likewise.
23251 * string/string-inlines.c
23252 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23253 Likewise.
23254 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23255 Likewise.
23256
23257 * string/strspn.c (strcspn): Rewrite function.
23258 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23259 (__strspn_c1): Remove inline function.
23260 (__strspn_c2): Likewise.
23261 (__strspn_c3): Likewise.
23262 * string/string-inlines.c
23263 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23264 compatibility symbol.
23265 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23266 Likewise.
23267 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23268 Likewise.
23269 * string/string-inlines.c: Include generic version.
23270
23271 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23272 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23273
23274 * string/Version (libc): Add GLIBC_2.24.
23275 * string/strcspn.c (strcspn): Rewrite function.
23276 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23277 (__strcspn_c1): Remove inline function.
23278 (__strcspn_c2): Likewise.
23279 (__strcspn_c3): Likewise.
23280 * string/string-inline.c
23281 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23282 compatibility symbol.
23283 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23284 Likewise.
23285 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23286 Likewise.
23287 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23288
23289 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23290
23291 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23292 Use ahi instead of aghi to adjust stack pointer.
23293
23294 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23295
23296 [BZ #19853]
23297 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23298 TEST to take significant digits as second parameter.
23299 [TEST]: Redefine in terms of TEST_N taking 30
23300 significant digits.
23301 (do_test): Add test case to demonstrate precision
23302 failure in the ldbl-128ibm printf.
23303 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23304 (__mpn_extract_long_double): Carry 7 extra intermediate
23305 bits of precision to aide computing difference when
23306 signs differ.
23307
23308 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23309
23310 [BZ #19881]
23311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23312 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23313 memset-avx512-unaligned-erms.
23314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23315 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23316 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23317 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23318 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23319 __memset_sse2_unaligned_erms, __memset_erms,
23320 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23321 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23322 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23323 file.
23324 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23325 Likewise.
23326 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23327 Likewise.
23328 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23329 Likewise.
23330
23331 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 [BZ #19776]
23334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23335 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23336 memmove-avx512-unaligned-erms.
23337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23338 (__libc_ifunc_impl_list): Test
23339 __memmove_chk_avx512_unaligned_2,
23340 __memmove_chk_avx512_unaligned_erms,
23341 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23342 __memmove_chk_sse2_unaligned_2,
23343 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23344 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23345 __memmove_avx512_unaligned_erms, __memmove_erms,
23346 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23347 __memcpy_chk_avx512_unaligned_2,
23348 __memcpy_chk_avx512_unaligned_erms,
23349 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23350 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23351 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23352 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23353 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23354 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23355 __mempcpy_chk_avx512_unaligned_erms,
23356 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23357 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23358 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23359 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23360 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23361 __mempcpy_erms.
23362 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23363 file.
23364 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23365 Likewise.
23366 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23367 Likewise.
23368 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23369 Likewise.
23370
23371 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23372
23373 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23374 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23375 (La_s390_64_regs): Likewise.
23376 (La_s390_32_retval): Append vector register lrv_v24.
23377 (La_s390_64_retval): Likeweise.
23378 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23379 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23380 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23381 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23382
23383 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23384
23385 [BZ #19916]
23386 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23387 to create a non-vector/vector version for _dl_runtime_resolve and
23388 _dl_runtime_profile. Move implementation to ...
23389 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23390 (_dl_runtime_resolve) Save and restore fpr/vrs.
23391 (_dl_runtime_profile) Save and restore vrs and fix some issues
23392 if _dl_call_pltexit is called.
23393 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23394 Choose the correct resolver function if running on a machine with vx.
23395 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23396 to create a non-vector/vector version for _dl_runtime_resolve and
23397 _dl_runtime_profile. Move implementation to ...
23398 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23399 (_dl_runtime_resolve) Save and restore fpr/vrs.
23400 (_dl_runtime_profile) Save and restore vrs and fix some issues
23401 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23402 Choose the correct resolver function if running on a machine with vx.
23403
23404 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23405
23406 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23407
23408 2016-03-31 Florian Weimer <fweimer@redhat.com>
23409
23410 [BZ #19509]
23411 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23412 skip_map != NULL.
23413 * elf/tst-dlsym-error.c: New file.
23414 * elf/Makefile (tests): Add tst-dlsym-error.
23415 (tst-dlsym-error): Link against libdl.
23416
23417 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23418
23419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23420 (__ASSUME_FUTIMESAT): Remove macro.
23421 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23422
23423 2016-03-29 Florian Weimer <fweimer@redhat.com>
23424
23425 [BZ #19879]
23426 CVE-2016-3075
23427 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23428 copy name.
23429
23430 2016-03-29 Florian Weimer <fweimer@redhat.com>
23431
23432 [BZ #19837]
23433 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23434 error if parse_line fails.
23435
23436 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23437
23438 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23439 (index_cpu_ERMS): Likewise.
23440 (reg_ERMS): Likewise.
23441
23442 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23443
23444 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23445 PER_LINUX_FDPIC): Add.
23446
23447 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23448
23449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23450 memcpy-avx512-no-vzeroupper.
23451 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23452 to ...
23453 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23454 (MEMCPY): Don't define.
23455 (MEMCPY_CHK): Likewise.
23456 (MEMPCPY): Likewise.
23457 (MEMPCPY_CHK): Likewise.
23458 (MEMPCPY_CHK): Renamed to ...
23459 (__mempcpy_chk_avx512_no_vzeroupper): This.
23460 (MEMPCPY_CHK): Renamed to ...
23461 (__mempcpy_chk_avx512_no_vzeroupper): This.
23462 (MEMCPY_CHK): Renamed to ...
23463 (__memmove_chk_avx512_no_vzeroupper): This.
23464 (MEMCPY): Renamed to ...
23465 (__memmove_avx512_no_vzeroupper): This.
23466 (__memcpy_avx512_no_vzeroupper): New alias.
23467 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23468
23469 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23470
23471 [BZ #18858]
23472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23473 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23474 and mempcpy-avx512-no-vzeroupper.
23475 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23476 New.
23477 (MEMPCPY): Likewise.
23478 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23479 (MEMPCPY_CHK): New.
23480 (MEMPCPY): Likewise.
23481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23482 (MEMPCPY): Likewise.
23483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23484 (MEMPCPY): Likewise.
23485 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23486 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23487 Likewise.
23488 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23489 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23490
23491 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23492 Amit Pawar <Amit.Pawar@amd.com>
23493
23494 [BZ #19583]
23495 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23496 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23497 processors. Set Fast_Copy_Backward for AMD Excavator
23498 processors.
23499 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23500 New.
23501 (index_arch_Fast_Unaligned_Copy): Likewise.
23502 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23503 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23504
23505 2016-03-25 Florian Weimer <fweimer@redhat.com>
23506
23507 [BZ #19791]
23508 * resolv/res_send.c (close_and_return_error): New function.
23509 (send_dg): Initialize *resplen2 after reopen failure. Call
23510 close_and_return_error for error returns. On error paths without
23511 __res_iclose, initialze *resplen2 explicitly. Update comment for
23512 successful return.
23513
23514 2016-03-25 Florian Weimer <fweimer@redhat.com>
23515
23516 [BZ #19860]
23517 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23518 zero if the compiler does not provide the AVX512F bit.
23519
23520 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23521
23522 [BZ #19848]
23523 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23524 from 8 to 4.
23525 (__ieee754_powl): Compare integer exponent against 4 not 8.
23526 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23527 from 8 to 4.
23528 (__ieee754_powl): Compare integer exponent against 4 not 8.
23529 * math/auto-libm-test-in: Add more tests of pow.
23530 * math/auto-libm-test-out: Regenerated.
23531 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23533
23534 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23535
23536 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23537 Make code unconditional.
23538 [!__NR_utimensat]: Remove conditional code.
23539 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23540 Make code unconditional.
23541 [!__NR_utimensat]: Remove conditional code.
23542 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23543 Make code unconditional.
23544 [!__NR_utimensat]: Remove conditional code.
23545
23546 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23547
23548 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23549 Make code unconditional.
23550
23551 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23552
23553 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23554 call-clobbered %eax on retry path.
23555 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23556
23557 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23558
23559 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23560 Don't set %rcx twice before "rep movsb".
23561
23562 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 [BZ #19583]
23565 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23566 inline. Check family before setting family, model and
23567 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23568 bits here.
23569 (init_cpu_features): Replace HAS_CPU_FEATURE and
23570 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23571 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23572 for Intel processors with usable AVX2. Call get_common_indeces
23573 for other processors with family == NULL.
23574 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23575 (CPU_FEATURES_ARCH_P): Likewise.
23576 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23577 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23578
23579 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23580
23581 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23582 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23583 $(shared-thread-library) instead of hardcoding the path to libpthread.
23584
23585 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23586
23587 * sysdeps/unix/sysv/linux/kernel-features.h
23588 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23589 * sysdeps/unix/sysv/linux/getdents.c
23590 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23591 [!have_no_getdents64_defined]: Likewise.
23592 (__GETDENTS): Remove __have_no_getdents64 conditional.
23593
23594 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23595
23596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23597 Remove macro.
23598 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23599 <kernel-features.h>.
23600 (signalfd) [__NR_signalfd4]: Make code unconditional.
23601 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23602
23603 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23604
23605 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23606 style.
23607
23608 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23609
23610 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23611 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23612 __pthread_unwind.
23613 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23614 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23615 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23616 (__condvar_cleanup1): Likewise.
23617
23618 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23619
23620 [BZ #19822]
23621 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23622 move it to the final $@ location.
23623
23624 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23625
23626 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23627 access where posix_spawn success and pid argument is null.
23628 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23629 success case.
23630
23631 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23632
23633 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23634
23635 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23636
23637 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23638 and __fcntl.
23639 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23640 __fcntl only.
23641 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23642 adding attribute_hidden to __open and __fcntl.
23643
23644 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23645 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23646 depend on libc-modules.h,
23647 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23648
23649 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23650
23651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23652 Remove macro.
23653 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23654 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23655 entry.
23656
23657 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23658 Remove macro.
23659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23660 include <kernel-features.h>.
23661 [!__ASSUME_FALLOCATE]: Remove conditional code.
23662 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23663
23664 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23665
23666 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23667 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23668 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23669 (_ZGVdN4v_cos_avx2): Likewise.
23670 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23671 (_ZGVdN4v_cos): Likewise.
23672 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23673 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23674 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23675 (_ZGVdN4v_exp_avx2): Likewise.
23676 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23677 (_ZGVdN4v_exp): Likewise.
23678 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23679 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23680 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23681 (_ZGVdN4v_log_avx2): Likewise.
23682 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23683 (_ZGVdN4v_log): Likewise.
23684 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23685 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23686 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23687 (_ZGVdN4vv_pow_avx2): Likewise.
23688 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23689 (_ZGVdN4vv_pow): Likewise.
23690 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23691 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23692 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23693 (_ZGVdN4v_sin_avx2): Likewise.
23694 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23695 (_ZGVdN4v_sin): Likewise.
23696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23697 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23698 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23699 (_ZGVdN4vvv_sincos_avx2): Likewise.
23700 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23701 (_ZGVdN4vvv_sincos): Likewise.
23702 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23703 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23704 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23705 (_ZGVbN4v_cosf_sse4): Likewise.
23706 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23707 (_ZGVdN8v_cosf_avx2): Likewise.
23708 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23709 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23710 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23711 (_ZGVbN4v_expf_sse4): Likewise.
23712 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23713 (_ZGVdN8v_expf_avx2): Likewise.
23714 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23715 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23716 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23717 (_ZGVbN4v_logf_sse4): Likewise.
23718 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23719 (_ZGVdN8v_logf_avx2): Likewise.
23720 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23721 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23722 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23723 (_ZGVbN4vv_powf_sse4): Likewise.
23724 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23725 (_ZGVdN8vv_powf_avx2): Likewise.
23726 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23727 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23728 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23729 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23730 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23731 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23732 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23733 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23734 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23735 (_ZGVbN4v_sinf_sse4): Likewise.
23736 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23737 (_ZGVdN8v_sinf_avx2): Likewise.
23738 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23739 Use JUMPTARGET to call callee.
23740 (WRAPPER_IMPL_SSE2_ff): Likewise.
23741 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23742 (WRAPPER_IMPL_AVX): Likewise.
23743 (WRAPPER_IMPL_AVX_ff): Likewise.
23744 (WRAPPER_IMPL_AVX_fFF): Likewise.
23745 (WRAPPER_IMPL_AVX512): Likewise.
23746 (WRAPPER_IMPL_AVX512_ff): Likewise.
23747 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23748 Likewise.
23749 (WRAPPER_IMPL_SSE2_ff): Likewise.
23750 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23751 (WRAPPER_IMPL_AVX): Likewise.
23752 (WRAPPER_IMPL_AVX_ff): Likewise.
23753 (WRAPPER_IMPL_AVX_fFF): Likewise.
23754 (WRAPPER_IMPL_AVX512): Likewise.
23755 (WRAPPER_IMPL_AVX512_ff): Likewise.
23756 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23757
23758 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23759
23760 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23761 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23762 qualifier.
23763 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23764 internal_function qualifiers.
23765
23766 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23767
23768 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23769 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23770 * math/atest-exp.c (exp_mpn): Mark chk unused.
23771 * math/atest-exp2.c (exp_mpn): Likewise.
23772 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23773 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23774
23775 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23776
23777 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23778 Remove macro.
23779 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23780 <kernel-features.h>.
23781 [__NR_ppoll]: Make code unconditional.
23782 [!__ASSUME_PPOLL]: Remove conditional code.
23783
23784 * sysdeps/unix/sysv/linux/kernel-features.h
23785 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23786 (__ASSUME_ACCEPT4): Likewise.
23787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23788 Define.
23789 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23790 Likewise.
23791 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23792 Likewise.
23793 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23794 Likewise.
23795 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23796 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23797 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23798 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23799 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23801 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23802 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23803 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23804 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23805 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23806 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23807 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23808 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23809 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23810 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23811 Likewise.
23812 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23813 Likewise.
23814 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23815 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23816 0x040300].
23817 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23818 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23819 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23820 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23821 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23822 0x030300].
23823 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23824 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23825 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23826 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23827 0x040300].
23828 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23829 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23831 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23832 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23833 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23834 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23835 0x030300].
23836 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23837 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23838 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23839 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23840 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23841 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23842 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23843 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23844 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23845 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23846 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23847 0x040300].
23848 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23849 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23850 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23851 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23852 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23853 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23854 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23855 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23856 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23857 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23858 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23859 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23860 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23861 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23862 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23863 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23864 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23865 Likewise.
23866 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23867 Likewise.
23868
23869 2016-03-15 Andreas Schwab <schwab@suse.de>
23870
23871 [BZ #19257]
23872 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23873 statp->_u._ext.nscount as loop count.
23874
23875 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23876
23877 * math/test-signgam-finite-c99.c: Also #undef
23878 __LIBC_INTERNAL_MATH_INLINES.
23879 * math/test-signgam-main.c: Likewise.
23880
23881 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23882
23883 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23884 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23885 (MADV_FREE): Likewise.
23886 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23887 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23888 EPOLLEXCLUSIVE.
23889
23890 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23891
23892 * timezone/README: Remove mention of checktab.awk. Mention wiki
23893 SharedSourceFiles.
23894
23895 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23896
23897 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23898 WUNTRACED.
23899
23900 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23901
23902 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23903 order to match the type of p when calling atomic_exchange_acq().
23904
23905 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23906
23907 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23908 cfi_offset calls.
23909 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23910 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23911 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23912 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23913 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23914
23915 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23916
23917 * timezone/checktab.awk: Removed.
23918
23919 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23920
23921 * manual/math.texi (Errors in Math Functions): Document relaxed
23922 accuracy goals for IBM long double.
23923 * math/libm-test.inc (test_exceptions): Always allow spurious
23924 "underflow" and "inexact" exceptions for IBM long double.
23925
23926 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23927
23928 [BZ #19762]
23929 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23930 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23931 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23932 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23933 (bit_arch_*): This for feature array.
23934 (bit_*): Renamed to ...
23935 (bit_cpu_*): This for cpu array.
23936 (index_*): Renamed to ...
23937 (index_arch_*): This for feature array.
23938 (index_*): Renamed to ...
23939 (index_cpu_*): This for cpu array.
23940 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23941 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23942 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23943 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23944 bit_##name with index_cpu_##name and bit_cpu_##name.
23945 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23946 bit_##name with index_arch_##name and bit_arch_##name.
23947
23948 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23949
23950 [BZ #19792]
23951 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23952 Terminate FDE before return label.
23953
23954 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23955
23956 [BZ #19790]
23957 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23958 (rintl): Define as macro.
23959 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23960 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23961 of fesetround. Ensure results are evaluated before end of scope.
23962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23963 USE_AS_NEARBYINTL and include s_rintl.c.
23964 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23965 Disable exception traps in new environment.
23966 (libc_feholdsetround_ppc_ctx): Likewise.
23967
23968 2016-03-08 Roland McGrath <roland@hack.frob.com>
23969
23970 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23971 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23972 (tst_audit10_aux) [__AVX512F__]: ... here.
23973
23974 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23975
23976 * include/sys/auxv.h: New file.
23977
23978 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23979
23980 [BZ #19759]
23981 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23982
23983 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23984
23985 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23986 operand modifier.
23987 (feclearexcept): Likewise.
23988
23989 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23990
23991 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23992 to reflect the entire 32-bit HWCAP.
23993 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23994 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23995
23996 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23997
23998 [BZ #19783]
23999 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24000 $(test-via-rtld-prefix).
24001 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24002
24003 2016-03-08 Florian Weimer <fweimer@redhat.com>
24004
24005 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24006 union wait. Report any non-zero exit status as error.
24007
24008 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24009
24010 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24011 configured with --enable-hardcoded-path-in-tests.
24012
24013 2016-03-08 Joseph Myers <joseph@codesourcery.com>
24014
24015 [BZ #19677]
24016 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24017 (__ieee754_remainderl): Put zero low parts in canonical form.
24018 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24019 file. Based on
24020 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24021 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24022 with wrapper round test-fmodrem-ldbl-128ibm.c.
24023 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24024 file.
24025 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24026 Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24028 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24029
24030 2016-03-07 Florian Weimer <fweimer@redhat.com>
24031
24032 [BZ #19610]
24033 * elf/ldconfig.c (opt_link): Update comment.
24034 (options): Update help string for option -X.
24035 (search_dir): Unlink stale symbolic link only if updating symbolic
24036 links.
24037 * elf/tst-ldconfig-X.sh: New file.
24038 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24039 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24040
24041 2016-03-07 Andreas Schwab <schwab@suse.de>
24042
24043 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24044 needed arguments.
24045
24046 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
24047
24048 [BZ #15333]
24049 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24050 to lstat64.
24051
24052 2016-03-07 Florian Weimer <fweimer@redhat.com>
24053
24054 * libio/filedoalloc.c (isatty): Remove.
24055 (local_isatty): Add comment. Call __isatty directly.
24056 (_IO_file_doallocate): Update comment. Assume _LIBC.
24057 * libio/wfiledoalloc.c (isatty): Remove.
24058 (_IO_wfile_doallocate): Update comment.
24059
24060 2016-03-07 Florian Weimer <fweimer@redhat.com>
24061
24062 [BZ #19269]
24063 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24064 tst-audit4-aux.o.
24065 (tst-audit10): Depend on tst-audit10-aux.o.
24066 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24067 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24068 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24069 instead of inline AVX code.
24070 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24071 instead of inline AVX512 code.
24072 * sysdeps/x86_64/tst-audit4-aux.c: New file
24073 * sysdeps/x86_64/tst-audit10-aux.c: New file
24074
24075 [BZ #19648]
24076 * test-skeleton.c (main): Do not set RLIMIT_DATA.
24077
24078 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24079
24080 [BZ #14750]
24081 [BZ #10354]
24082 [BZ #18433]
24083 * include/sched.h (__clone): Add hidden prototype.
24084 (__clone2): Likewise.
24085 * include/unistd.h (__dup): Likewise.
24086 * posix/Makefile (tests): Add tst-spawn2.
24087 * posix/tst-spawn2.c: New file.
24088 * sysdeps/posix/dup.c (__dup): Add hidden definition.
24089 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24090 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24091 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24092 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24093 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24094 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24095 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24096 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24097 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24098 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24100 Likewise.
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24102 Likewise.
24103 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24104 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24105 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24106 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24107 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24108 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24109 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24110 * sysdeps/unix/sysv/linux/nptl-signals.h
24111 (____nptl_is_internal_signal): New function.
24112 * sysdeps/unix/sysv/linux/spawni.c: New file.
24113
24114 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24115 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24116 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24117 * posix/tst-execvp2.c (do_test): Likewise.
24118 * posix/tst-execvp3.c (do_test): Likewise.
24119 * posix/tst-execvp4.c (do_test): Likewise.
24120 * posix/tst-execvpe1.c: New file.
24121 * posix/tst-execvpe2.c: Likewise.
24122 * posix/tst-execvpe3.c: Likewise.
24123 * posix/tst-execvpe4.c: Likewise.
24124 * posix/tst-execvpe5.c: Likewise.
24125 * posix/tst-execvpe6.c: Likewise.
24126
24127 [BZ #19534]
24128 * posix/execl.c (execl): Remove dynamic memory allocation.
24129 * posix/execle.c (execle): Likewise.
24130 * posix/execlp.c (execlp): Likewise.
24131
24132 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24133
24134 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24135 Replace .text with .text.avx512.
24136 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24137 Likewise.
24138
24139 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
24140
24141 * sysdeps/generic/libnsl.abilist: New file.
24142 * sysdeps/generic/libutil.abilist: New file.
24143
24144 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24145
24146 [BZ #19762]
24147 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24148 HAS_ARCH_FEATURE with Fast_Rep_String.
24149 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24150 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24151 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24152 Likewise.
24153 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24154 Likewise.
24155 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24156 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24157 Likewise.
24158 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24159 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24160 Likewise.
24161
24162 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24163
24164 [BZ #19745]
24165 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24166 with *%rax in call.
24167
24168 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24169
24170 [BZ #19745]
24171 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24172 with *__libc_start_main@GOTPCREL(%rip) in call.
24173
24174 2016-03-04 Roland McGrath <roland@hack.frob.com>
24175
24176 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24177 inside conditional for nonempty $(CXX).
24178
24179 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24180 nonempty.
24181
24182 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24183 to test for empty $(CXX) rather than $(CXX) of "no".
24184
24185 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24186
24187 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24188
24189 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24190 H.J. Lu <hongjiu.lu@intel.com>
24191
24192 [BZ #18880]
24193 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24194 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24195 enable __memcpy_ssse3_back.
24196
24197 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 [BZ #19758]
24200 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24201 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24202
24203 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24204
24205 [BZ #19490]
24206 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24207 (__fentry__): Likewise.
24208
24209 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24210
24211 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24212 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24213
24214 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24217 __mcount_internal directly.
24218 (C_LABEL(__fentry__)): Likewise.
24219 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24220 directly.
24221
24222 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24225 (__start_context): Call __setcontext directly.
24226
24227 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24228
24229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24230 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24231 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24232 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24233 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24234 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24235 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24236 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24237 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24238 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24239 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24240 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24241 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24242 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24243 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24244 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24245 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24246 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24247 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24248 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24249 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24250 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24251 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24252 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24253 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24254 Remove conditional code.
24255 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24256 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24257 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24258 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24259 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24260 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24261 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24262 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24263 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24264 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24265 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24266 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24267
24268 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24269
24270 * NEWS (2.23): Fix typo in bug 19048 text.
24271
24272 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24273
24274 [BZ #14259]
24275 * Makeconfig: Rename msgcatdir to localedir.
24276 Rename inst_msgcatdir to inst_localedir.
24277 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24278 * config.make.in: Add localedir.
24279 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24280 (ldd-rewrite): Likewise.
24281 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24282 (install-others): Use inst_localedir.
24283 (CPPFLAGS): Use localedir.
24284 * locale/Makefile (locale-CPPFLAGS): Likewise.
24285 * po/Makefile (mo-installed): Use inst_localedir.
24286
24287 [BZ #19575]
24288 * localedata/charmaps/GB18030: Update comments regarding PAU to
24289 non-PUA mappings.
24290
24291 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24292
24293 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24294 test for header.
24295 * sysdeps/unix/sysv/linux/configure: Regenerated.
24296 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24297 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24298 Remove conditional code.
24299 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24300
24301 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24302 Define to 3.2.0.
24303 (arch_minimum_kernel): Likewise.
24304 * sysdeps/unix/sysv/linux/configure: Regenerated.
24305 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24306 Define to 2.6.32.
24307 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24308 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24309 (arch_minimum_kernel): Define to 2.6.32.
24310 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24311 * README: Document Linux 3.2 requirement.
24312 * manual/install.texi (Linux): Document Linux 3.2 headers
24313 requirement.
24314 * INSTALL: Regenerated.
24315
24316 2016-02-24 Andreas Schwab <schwab@suse.de>
24317
24318 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24319 if !NO_LONG_DOUBLE.
24320
24321 2016-02-22 Roland McGrath <roland@hack.frob.com>
24322
24323 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24324 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24325
24326 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24327
24328 [BZ #19512]
24329 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24330
24331 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24332
24333 * posix/tst-dir.c: Include libc-internal.h.
24334
24335 2016-02-20 Florian Weimer <fweimer@redhat.com>
24336
24337 [BZ #19056]
24338 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24339 * manual/filesys.texi (Reading/Closing Directory): Mention
24340 deprecaion.
24341 * posix/tst-dir.c (main): Disable deprecation warning in test.
24342
24343 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24344
24345 [BZ #19679]
24346 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24347 Renamed to ...
24348 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24349 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24350 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24351 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24352 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24353 * sysdeps/x86_64/dl-trampoline.h
24354 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24355 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24356
24357 2016-02-19 Mark Wielaard <mjw@redhat.com>
24358
24359 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24360
24361 2016-02-19 Mark Wielaard <mjw@redhat.com>
24362
24363 * elf/elf.h (R_386_GOT32X): New.
24364 (R_386_NUM): Update.
24365 (R_X86_64_GOTPCRELX: New.
24366 (R_X86_64_REX_GOTPCRELX): New.
24367 (R_X86_64_NUM): Update.
24368
24369 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24370
24371 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24372
24373 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24374
24375 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24376 assign attr->stackaddr to it, and adjust it down when
24377 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24378 [_STACK_GROWS_UP]: Delete assert.
24379 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24380 Implement stack grows up logic.
24381 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24382 stack grows up logic.
24383
24384 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24385
24386 * NEWS: Update with 2.24 template.
24387
24388 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24389
24390 [BZ #19678]
24391 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24392 Ensure +0.0 is returned when taking the next value below the least
24393 positive value.
24394
24395 2016-02-19 Florian Weimer <fweimer@redhat.com>
24396
24397 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24398 available. Do not define NO_THREADS.
24399 * malloc/malloc.c: Do not check NO_THREADS.
24400 * malloc/arena.c: Likewise.
24401
24402 2016-02-19 Florian Weimer <fweimer@redhat.com>
24403
24404 * malloc/malloc.c (__libc_mallinfo): Update comment.
24405 (struct malloc_par): Remove max_total_mem member, it was always 0.
24406 (int_mallinfo): Store 0 into usmblks (no functional change).
24407 * malloc/hooks.c (struct malloc_state): Document that
24408 max_total_mem is always 0.
24409 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24410 always 0.
24411 * manual/memory.texi (Statistics of Malloc): Likewise.
24412
24413 2016-02-19 Florian Weimer <fweimer@redhat.com>
24414
24415 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24416 * malloc/arena.c (arena_max): Remove.
24417 (heap_trim, _int_new_arena): Do not update arena_max.
24418
24419 2016-02-19 Florian Weimer <fweimer@redhat.com>
24420
24421 * resolv/res_init.c (res_ninit): Update comment.
24422
24423 2016-02-19 Florian Weimer <fweimer@redhat.com>
24424
24425 [BZ #19505]
24426 * posix/spawn_int.h: Add headers and include guard.
24427 (__spawn_valid_fd): New function.
24428 * posix/spawn_faction_addopen.c
24429 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24430 * posix/spawn_faction_addclose.c
24431 (posix_spawn_file_actions_addclose): Likewise.
24432 * posix/spawn_faction_adddup2.c
24433 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24434 second file descriptor.
24435 * posix/spawn_valid_fd.c: New file.
24436 * posix/tst-posix_spawn-fd.c: New file.
24437 * posix/Makefile (routines): Add spawn_valid_fd.
24438 (tests): Add tst-posix_spawn-fd.
24439
24440 2016-02-19 Florian Weimer <fweimer@redhat.com>
24441
24442 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24443 (do_test): Limit the number of arenas, so that we can use fewer
24444 outer threads. Limit timeout to 3 seconds, in preparation for a
24445 larger TIMEOUT value.
24446
24447 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24448
24449 [BZ #19674]
24450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24451 sign in overflowing and underflowing results when overflow or
24452 underflow is detected early. Include sign in result before rather
24453 than after scaling.
24454
24455 [BZ #19603]
24456 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24457 (__ieee754_remainderl): Adjust sign of integer version of low part
24458 when taking absolute value of high part.
24459 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24460 * math/libm-test.inc (remainder_test_data): Add another test.
24461 (remquo_test_data): Likewise.
24462
24463 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24464
24465 [BZ #19602]
24466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24467 equal high parts and both low parts zero specially.
24468 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24469 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24470 Add test-fmodl-ldbl-128ibm.
24471
24472 [BZ #19595]
24473 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24474 common logic for all cases of shifting subnormal results. Do not
24475 insert sign bit in shifted mantissa. Always pass -1023 as biased
24476 exponent to ldbl_insert_mantissa in subnormal case.
24477
24478 [BZ #19594]
24479 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24480 on high and low parts then adjust result and use
24481 ldbl_canonicalize_int if needed.
24482
24483 [BZ #19593]
24484 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24485 on high part and __floor or __ceil on low part then use
24486 ldbl_canonicalize_int if needed.
24487
24488 [BZ #19592]
24489 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24490 high and low parts then use ldbl_canonicalize_int if needed.
24491
24492 [BZ #17899]
24493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24494 New function.
24495 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24496 on high and low parts then use ldbl_canonicalize_int if needed.
24497
24498 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24499
24500 * configure: Regenerated.
24501
24502 * po/libc.pot: Regenerated.
24503
24504 * po/be.po: Updated translation.
24505 * po/bg.po: Likewise.
24506 * po/ca.po: Likewise.
24507 * po/cs.po: Likewise.
24508 * po/da.po: Likewise.
24509 * po/el.po: Likewise.
24510 * po/eo.po: Likewise.
24511 * po/es.po: Likewise.
24512 * po/fi.po: Likewise.
24513 * po/fr.po: Likewise.
24514 * po/gl.po: Likewise.
24515 * po/hr.po: Likewise.
24516 * po/hu.po: Likewise.
24517 * po/ia.po: Likewise.
24518 * po/id.po: Likewise.
24519 * po/it.po: Likewise.
24520 * po/ja.po: Likewise.
24521 * po/lt.po: Likewise.
24522 * po/nb.po: Likewise.
24523 * po/nl.po: Likewise.
24524 * po/pt_BR.po: Likewise.
24525 * po/rw.po: Likewise.
24526 * po/sk.po: Likewise.
24527 * po/sl.po: Likewise.
24528 * po/sv.po: Likewise.
24529 * po/tr.po: Likewise.
24530 * po/zh_CN.po: Likewise.
24531 * po/zh_TW.po: Likewise.
24532
24533 * version.h (RELEAES): Set to "development".
24534 (VERSION): Set to 2.23.90.
24535
24536 * version.h (RELEASE): Set to "stable".
24537 (VERSION): Set to 2.23.
24538 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24539
24540 * NEWS: Updated fixed bugs.
24541
24542 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24543 Wilco Dijkstra <wdijkstr@arm.com>
24544
24545 [BZ #19462]
24546 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24547 (_STRING_INLINE_unaligned): This.
24548 * include/string.h: Include <string_private.h>.
24549 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24550 _STRING_INLINE_unaligned.
24551 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24552 (_STRING_INLINE_unaligned): New.
24553 * sysdeps/aarch64/string_private.h: New file.
24554 * sysdeps/generic/string_private.h: Likewise.
24555 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24556 * sysdeps/s390/string_private.h: Likewise.
24557 * sysdeps/x86/string_private.h: Likewise.
24558 * sysdeps/m68k/m680x0/m68020/bits/string.h
24559 (_STRING_ARCH_unaligned): Renamed to ...
24560 (_STRING_INLINE_unaligned): This.
24561 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24562 to ...
24563 (_STRING_INLINE_unaligned): This.
24564 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24565 to ...
24566 (_STRING_INLINE_unaligned): This.
24567 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24568 to ...
24569 (_STRING_INLINE_unaligned): This.
24570
24571 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24572 H.J. Lu <hongjiu.lu@intel.com>
24573
24574 [BZ #19590]
24575 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24576 relocation.
24577
24578 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24579
24580 [BZ #18665]
24581 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24582 *herrno_p.
24583 (gaih_getanswer): Document functional behviour. Return tryagain
24584 if any result is tryagain.
24585 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24586 when freed.
24587 * resolv/res_send.c: Add copyright text.
24588 (__libc_res_nsend): Document that MAXPACKET is expected.
24589 (send_vc): Document. Remove buffer reuse.
24590 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24591 size of the buffer. Add Dprint for truncated UDP buffer.
24592
24593 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24594
24595 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24596 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24597 * INSTALL: Regenerate.
24598
24599 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24600 Jonathan Wakely <jwakely@redhat.com>
24601 Carlos O'Donell <carlos@redhat.com>
24602
24603 [BZ 19439]
24604 * math/Makefile (tests): Add test-math-isinff.
24605 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24606 * math/bits/mathcalls.h [__USE_MISC]: Use
24607 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24608 functions not in C++11 and which don't conflict e.g. isinff,
24609 isinfl etc.
24610 * math/test-math-isinff.cc: New file.
24611
24612 2016-02-12 Florian Weimer <fweimer@redhat.com>
24613
24614 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24615
24616 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24617
24618 [BZ #19529]
24619 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24620
24621 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24622
24623 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24624
24625 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24626
24627 [BZ #19550]
24628 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24629 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24630 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24631 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24632 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24633 New syscall entry.
24634 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24635 New syscall entry.
24636 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24637 syscall entry.
24638
24639 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24640
24641 [BZ #18240]
24642 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24643 unsigned int wraparound.
24644
24645 2016-01-27 Florian Weimer <fweimer@redhat.com>
24646
24647 [BZ #18240]
24648 * misc/bug18240.c: New test.
24649 * misc/Makefile (tests): Add it.
24650
24651 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24652 Joseph Myers <joseph@codesourcery.com>
24653
24654 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24655 load in branch delay slot when less than a word of input left.
24656
24657 2016-01-27 Andreas Schwab <schwab@suse.de>
24658
24659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24660 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24661 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24662 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24663
24664 2016-01-26 David S. Miller <davem@davemloft.net>
24665
24666 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24667
24668 2016-01-25 David S. Miller <davem@davemloft.net>
24669
24670 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24671 __sqrtl_finite.
24672 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24673 instead using versioned_symbol.
24674 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24675 of entries.
24676
24677 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24678 __sqrtl_finite to GLIBC_2.23
24679
24680 2016-01-25 Ricchard Henderson <rth@redhat.com>
24681
24682 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24683
24684 2016-01-25 Andreas Schwab <schwab@suse.de>
24685
24686 [BZ #17514]
24687 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24688 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24689 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24690 * nptl/tst-mutex-errorcheck.c: New file.
24691
24692 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24693
24694 [BZ #18560]
24695 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24696 (IPCOP_semop): Likewise.
24697 (IPCOP_semget): Likewise.
24698 (IPCOP_semctl): Likewise.
24699 (IPCOP_msgsnd): Likewise.
24700 (IPCOP_msgrcv): Likewise.
24701 (IPCOP_msgget): Likewise.
24702 (IPCOP_msgctl): Likewise.
24703 (IPCOP_shmat): Likewise.
24704 (IPCOP_shmdt): Likewise.
24705 (IPCOP_shmget): Likewise.
24706 (IPCOP_shmctl): Likewise.
24707
24708 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24709
24710 * string/tst-endian.c: Include <libc-internal.h>.
24711 (do_test): Ignore tautological-compare warnings around
24712 "htobeXX (beXXtoh (i)) != i" and
24713 "htoleXX (leXXtoh (i)) != i" if-statements.
24714
24715 2016-01-24 David S. Miller <davem@davemloft.net>
24716
24717 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24718 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24719 alias.
24720 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24721 __sqrtl_finite.
24722
24723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24724
24725 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24726
24727 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24728 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24729 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24730
24731 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24732
24733 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24734 (thread_func): Use new function to simplify barrier check.
24735 (do_test): Use new function to simplify checking barrier exit
24736 code, and actually join the child thread.
24737
24738 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24739
24740 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24741 semicolon.
24742 (__libc_tend): Likewise.
24743 (__libc_tabort): Likewise.
24744
24745 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24746
24747 * sysdeps/nios2/libm-test-ulps: Update.
24748 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24749 (__gtsf2): Likewise.
24750 (__unorddf2): Likewise.
24751 (__unordsf2): Likewise.
24752 (__ledf2): Likewise.
24753
24754 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24755
24756 * nis/nis_table.c (__follow_path): Disable diagnostic for
24757 uninitialized variable that is a false positive for gcc 4.7.
24758 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24759
24760 2016-01-20 Roland McGrath <roland@hack.frob.com>
24761
24762 * sysdeps/nacl/lowlevellock-futex.h
24763 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24764 Always evaluate PRIVATE argument.
24765
24766 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24767
24768 [BZ #19490]
24769 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24770 (pthread_cond_broadcast): Use ENTRY/END
24771 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24772 (pthread_cond_signal): Likewise.
24773 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24774 Likewise.
24775 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24776 Likewise.
24777 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24778 Likewise.
24779
24780 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24781
24782 * sysdeps/ieee754/dbl-64/s_finite.c
24783 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24784 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24785 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24787 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24788
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24790 (__gtsf2): Add as optional for libc.so.
24791 (__unordsf2): Likewise.
24792 (__signbit): Remove for libc.so.
24793 (__signbitl): Likewise.
24794
24795 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24796
24797 * iconvdata/bug-iconv11.c (test_ibm93x):
24798 Use %zu printf format specifier for size_t argument.
24799
24800 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24801
24802 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24803 already-recorded ulps.
24804 * sysdeps/arm/libm-test-ulps: Regenerated.
24805 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24806 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24807 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24808
24809 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24810 Paul Pluzhnikov <ppluzhnikov@google.com>
24811
24812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24813 assembler not supporting AVX-512.
24814
24815 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24816
24817 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24818
24819 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24820
24821 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24822 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24823
24824 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24825
24826 * sysdeps/arm/libm-test-ulps: Regenerated.
24827
24828 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24829
24830 [BZ #19451]
24831 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24832
24833 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24834
24835 [BZ #19486]
24836 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24837 * sysdeps/generic/fix-fp-int-convert-overflow.h
24838 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24839 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24840 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24841 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24842 Likewise.
24843 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24844 Avoid conversions to long int where inexact exceptions
24845 could be raised.
24846 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24847 Likewise.
24848 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24849 Avoid conversions to long long int where inexact exceptions
24850 could be raised.
24851 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24852 Likewise.
24853
24854 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24855
24856 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24857 * configure: Regenerated.
24858
24859 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24860
24861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24862
24863 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24864
24865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24866 outside of comment.
24867
24868 2016-01-15 Torvald Riegel <triegel@redhat.com>
24869
24870 * nptl/tst-barrier1.c: Add description on first line.
24871 * nptl/tst-barrier2.c: Likewise.
24872 * nptl/tst-barrier3.c: Likewise.
24873 * nptl/tst-barrier4.c: Likewise.
24874 * nptl/tst-barrier5.c: Likewise.
24875
24876 2016-01-15 Torvald Riegel <triegel@redhat.com>
24877
24878 [BZ #18868]
24879 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24880
24881 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24882
24883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24885 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24886 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24887 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24888 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24889 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24890 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24891 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24892 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24894
24895 2016-01-15 Torvald Riegel <triegel@redhat.com>
24896
24897 [BZ #13065]
24898 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24899 new implementation.
24900 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24901 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24902 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24903 (BARRIER_IN_THRESHOLD): New macro.
24904 * nptl/pthread_barrierattr_setpshared.c
24905 (pthread_barrierattr_setpshared): Clean up.
24906 * nptl/tst-barrier4.c: Correct comment.
24907 * nptl/tst-barrier5.c: New file.
24908 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24909 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24910 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24911 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24912 * nptl/lowlevelbarrier.sym: Remove.
24913 * nptl/DESIGN-barrier.txt: Remove.
24914 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24915 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24916 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24917 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24918 error.
24919 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24920 implementation.
24921
24922 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24923
24924 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24925 (do_child): Mask SIGRTMIN while thr is running.
24926
24927 2016-01-15 Martin Sebor <msebor@redhat.com>
24928
24929 [BZ #19432]
24930 * iconvdata/Makefile: Add bug-iconv11.
24931 * iconvdata/bug-iconv11.c: New test.
24932 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24933 * iconvdata/ibm933.c: Same.
24934 * iconvdata/ibm935.c: Same.
24935 * iconvdata/ibm937.c: Same.
24936 * iconvdata/ibm939.c: Same.
24937
24938 2016-01-15 Martin Sebor <msebor@redhat.com>
24939
24940 [BZ #19443]
24941 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24942 [DEBUG] (_ufc_set_bits): Declare used.
24943 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24944 [DEBUG] (print_all): Declare used.
24945 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24946 operands of the ternary ?: expression to target type.
24947 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24948 calling the undeclared abort.
24949 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24950
24951 2016-01-15 Martin Sebor <msebor@redhat.com>
24952
24953 [BZ #18755]
24954 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24955 warnings.
24956 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24957 (__gai_create_helper_thread): Same.
24958 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24959 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24960 to suppress -Wmaybe-uninitialized warnings.
24961
24962 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24963
24964 [BZ #19465]
24965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24966 inside if.
24967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24970
24971 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24972
24973 [BZ #19466]
24974 * time/tst-mktime2.c (time_t_max): Removed.
24975 (time_t_min): Likewise.
24976 (TYPE_SIGNED): New.
24977 (TYPE_MINIMUM): Likewise.
24978 (TYPE_MAXIMUM): Likewise.
24979 (TIME_T_MIN): Likewise.
24980 (TIME_T_MAX): Likewise.
24981 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24982 and TIME_T_MIN.
24983 (do_test): Likewise.
24984
24985 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24986
24987 [BZ #19467]
24988 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24989 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24990
24991 2016-01-02 Marcin Koƛcielnicki <koriakin@0x04.net>
24992
24993 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24994
24995 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24996
24997 * benchtests/Makefile (PYTHON): Define.
24998 (bench-func): Use $(PYTHON) to run python scripts.
24999 ($(objpfx)bench-%.c): Likewise.
25000
25001 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
25002
25003 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25004 leading slash when `file_name' is "/".
25005
25006 2016-01-12 Joseph Myers <joseph@codesourcery.com>
25007
25008 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25009 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25010 Likewise.
25011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25012 Likewise.
25013 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25014 Likewise.
25015 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25016 enum constant and macro.
25017 (PTRACE_SETSIGMASK): Likewise.
25018 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25019 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25020 (PTRACE_GETSIGMASK): Likewise.
25021 (PTRACE_SETSIGMASK): Likewise.
25022 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25024 Likewise.
25025 (PTRACE_SETSIGMASK): Likewise.
25026 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25028 (PTRACE_GETSIGMASK): Likewise.
25029 (PTRACE_SETSIGMASK): Likewise.
25030 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25032 Likewise.
25033 (PTRACE_SETSIGMASK): Likewise.
25034 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25036 Likewise.
25037 (PTRACE_SETSIGMASK): Likewise.
25038 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25039 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25040 Likewise.
25041 (PTRACE_SETSIGMASK): Likewise.
25042 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25043
25044 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
25045 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25046
25047 [BZ #19439]
25048 * math/bits/mathcalls.h
25049 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25050 prototype.
25051 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25052
25053 2016-01-11 Andreas Schwab <schwab@suse.de>
25054
25055 [BZ #19253]
25056 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25057 cache when TZDEFRULES was used.
25058 * time/tst-tzname.c: New file.
25059 * time/Makefile (test): Add tst-tzname.
25060 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25061 * timezone/Makefile (test-zones): Add $(posixrules-file).
25062 ($(testdata)/$(posixrules-file)): New rule.
25063
25064 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
25065
25066 Fix doc quoting problems with Texinfo 5
25067 Without this change, in the info file output, Texinfo 5 quotes code
25068 in text with undirected single quotes 'like this' and generates
25069 code examples that with many PDF readers cannot be cut out of PDFs
25070 and pasted into code.
25071 * manual/libc.texinfo: Configure the libc manual like the GNU
25072 Emacs manual, by using @documentencoding and setting
25073 txicodequoteundirected and txicodequotebacktick. This way,
25074 Texinfo 5 quotes code in text with directed single quotes ‘like
25075 this’ and produces examples that can be cut out of PDFs. This
25076 change causes Texinfo 5 to generate info files that contain UTF-8
25077 characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
25078 '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
25079
25080 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25081
25082 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25083 __libc_tabort, __libc_tend): New wrappers that enforce compiler
25084 barriers to their respective compiler built-ins.
25085 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25086 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25087 * sysdeps/powerpc/sysdep.h: Likewise.
25088 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25089 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25090 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25091
25092 2016-01-08 Marko Myllynen <myllynen@redhat.com>
25093
25094 * scripts/config.guess: Revert previous shebang change.
25095 * scripts/config.sub: Likewise.
25096 * scripts/mkinstalldirs: Likewise.
25097
25098 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25099
25100 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25101 PPC_FEATURE2_HAS_IEEE128.
25102 * sysdeps/powerpc/dl-procinfo.c:
25103 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25104
25105 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
25106
25107 [BZ #19415]
25108 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25109 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
25110 (_dl_lookup_address): Rewrite using function resolver trampoline.
25111 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25112 two bits in address.
25113
25114 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25115
25116 * longlong.h: Change !__SHMEDIA__ to
25117 (!defined (__SHMEDIA__) || !__SHMEDIA__).
25118 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25119
25120 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
25121 Joseph Myers <joseph@codesourcery.com>
25122 Mark Shinwell <shinwell@codesourcery.com>
25123 Andrew Stubbs <ams@codesourcery.com>
25124 Rich Felker <dalias@libc.org>
25125
25126 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25127
25128 2016-01-07 Richard Henderson <rth@redhat.com>
25129
25130 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25131
25132 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25133
25134 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25135 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25136 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25137 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25138 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25139
25140 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
25141 Joseph Myers <joseph@codesourcery.com>
25142
25143 * timezone/private.h: Update from tzcode 2015g.
25144 * timezone/tzfile.h: Likewise.
25145 * timezone/tzselect.ksh: Likewise.
25146 * timezone/zdump.c: Likewise.
25147 * timezone/zic.c: Likewise.
25148 * timezone/ialloc.c: Remove file.
25149 * timezone/scheck.c: Likewise.
25150 * timezone/Makefile (extra-objs): Remove variable.
25151 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25152 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25153 -Wno-maybe-uninitialized.
25154 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25155 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25156 (CFLAGS-ialloc.c): Remove variable.
25157 (CFLAGS-scheck.c): Likewise.
25158 * timezone/README: Update list of files from tzcode.
25159
25160 2016-01-07 Khem Raj <raj.khem@gmail.com>
25161
25162 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25163 instead of __fxprintf when _LIBC is undefined.
25164
25165 2016-01-07 Marko Myllynen <myllynen@redhat.com>
25166
25167 * catgets/test-gencat.sh: Remove space after shebang.
25168 * conform/GlibcConform.pm: Likewise.
25169 * conform/check-header-lists.sh: Likewise.
25170 * conform/conformtest.pl: Likewise.
25171 * conform/linknamespace.pl: Likewise.
25172 * conform/list-header-symbols.pl: Likewise.
25173 * debug/catchsegv.sh: Likewise.
25174 * elf/genrtldtbl.awk: Likewise.
25175 * elf/tst-pathopt.sh: Likewise.
25176 * elf/tst-rtld-load-self.sh: Likewise.
25177 * grp/tst_fgetgrent.sh: Likewise.
25178 * iconvdata/gen-8bit-gap-1.sh: Likewise.
25179 * iconvdata/gen-8bit-gap.sh: Likewise.
25180 * iconvdata/gen-8bit.sh: Likewise.
25181 * iconvdata/run-iconv-test.sh: Likewise.
25182 * intl/tst-gettext.sh: Likewise.
25183 * intl/tst-gettext2.sh: Likewise.
25184 * intl/tst-gettext4.sh: Likewise.
25185 * intl/tst-gettext6.sh: Likewise.
25186 * intl/tst-translit.sh: Likewise.
25187 * io/ftwtest-sh: Likewise.
25188 * libio/test-freopen.sh: Likewise.
25189 * locale/gen-translit.pl: Likewise.
25190 * malloc/tst-mtrace.sh: Likewise.
25191 * manual/check-safety.sh: Likewise.
25192 * manual/libc-texinfo.sh: Likewise.
25193 * manual/tsort.awk: Likewise.
25194 * manual/xtract-typefun.awk: Likewise.
25195 * nptl/tst-cancel-wrappers.sh: Likewise.
25196 * nptl/tst-tls6.sh: Likewise.
25197 * posix/globtest.sh: Likewise.
25198 * posix/tst-getconf.sh: Likewise.
25199 * posix/wordexp-tst.sh: Likewise.
25200 * scripts/check-c++-types.sh: Likewise.
25201 * scripts/check-local-headers.sh: Likewise.
25202 * scripts/config.guess: Likewise.
25203 * scripts/config.sub: Likewise.
25204 * scripts/cpp: Likewise.
25205 * scripts/cross-test-ssh.sh: Likewise.
25206 * scripts/documented.sh: Likewise.
25207 * scripts/evaluate-test.sh: Likewise.
25208 * scripts/gen-libc-abis: Likewise.
25209 * scripts/gen-sorted.awk: Likewise.
25210 * scripts/list-fixed-bugs.py: Likewise.
25211 * scripts/merge-test-results.sh: Likewise.
25212 * scripts/mkinstalldirs: Likewise.
25213 * scripts/rellns-sh: Likewise.
25214 * scripts/test-installation.pl: Likewise.
25215 * scripts/update-copyrights: Likewise.
25216 * stdio-common/tst-printf.sh: Likewise.
25217 * stdio-common/tst-unbputc.sh: Likewise.
25218 * stdlib/tst-fmtmsg.sh: Likewise.
25219 * stdlib/tst-setcontext3.sh: Likewise.
25220 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25221 * sysdeps/unix/make-syscalls.sh: Likewise.
25222
25223 2016-01-06 John David Anglin <dave.anglin@bell.net>
25224
25225 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25226 asm stw with atomic_exchange_rel. Add explanatory comment.
25227 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25228 Likewise.
25229
25230 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25231
25232 [BZ #19122]
25233 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25234 * sysdeps/generic/dl-unistd.h: New file.
25235 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25236
25237 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25238
25239 [BZ #19122]
25240 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25241 * sysdeps/generic/dl-mman.h: New file.
25242 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25243
25244 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25245
25246 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25247 trailing whitespace removed.
25248 * scripts/config.guess: Update to version 2016-01-01.
25249 * scripts/config.sub: Update to version 2016-01-01.
25250 * scripts/move-if-change: Update from gnulib.
25251
25252 2016-01-04 Anton Blanchard <anton@samba.org>
25253
25254 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25255 for array indices.
25256 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25257
25258 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25259
25260 * NEWS: Update copyright dates.
25261 * catgets/gencat.c (print_version): Likewise.
25262 * csu/version.c (banner): Likewise.
25263 * debug/catchsegv.sh: Likewise.
25264 * debug/pcprofiledump.c (print_version): Likewise.
25265 * debug/xtrace.sh (do_version): Likewise.
25266 * elf/ldconfig.c (print_version): Likewise.
25267 * elf/ldd.bash.in: Likewise.
25268 * elf/pldd.c (print_version): Likewise.
25269 * elf/sotruss.sh: Likewise.
25270 * elf/sprof.c (print_version): Likewise.
25271 * iconv/iconv_prog.c (print_version): Likewise.
25272 * iconv/iconvconfig.c (print_version): Likewise.
25273 * locale/programs/locale.c (print_version): Likewise.
25274 * locale/programs/localedef.c (print_version): Likewise.
25275 * login/programs/pt_chown.c (print_version): Likewise.
25276 * malloc/memusage.sh (do_version): Likewise.
25277 * malloc/memusagestat.c (print_version): Likewise.
25278 * malloc/mtrace.pl: Likewise.
25279 * manual/libc.texinfo: Likewise.
25280 * nptl/version.c (banner): Likewise.
25281 * nscd/nscd.c (print_version): Likewise.
25282 * nss/getent.c (print_version): Likewise.
25283 * nss/makedb.c (print_version): Likewise.
25284 * posix/getconf.c (main): Likewise.
25285 * scripts/test-installation.pl: Likewise.
25286 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25287
25288 * All files with FSF copyright notices: Update copyright dates
25289 using scripts/update-copyrights.
25290 * intl/plural.c: Regenerated.
25291 * locale/programs/charmap-kw.h: Likewise.
25292 * locale/programs/locfile-kw.h: Likewise.
25293
25294 2016-01-02 Helge Deller <deller@gmx.de>
25295
25296 [BZ #19285]
25297 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25298 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25299 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25300 (MADV_xxK_PAGES): Remove.
25301
25302 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25303
25304 [BZ #15421]
25305 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25306 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25307 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25308 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25309
25310 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25311
25312 [BZ #19408]
25313 * sysdeps/unix/sysv/linux/personality.c: New file.
25314 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25315 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25316 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25317 (sysdep_routines): Add personality.
25318 (tests): Add tst-personality.
25319 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25321 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25322 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25323 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25324 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25325 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25326 Likewise.
25327 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25328 Likewise.
25329 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25330 Likewise.
25331 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25332 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25333 Likewise.
25334
25335 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25336
25337 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25338 (PATH_ARM_SYSTYPE): Remove.
25339 (PATH_CPUINFO): Likewise.
25340 (IO_BASE_FOOTBRIDGE): Likewise.
25341 (IO_SHIFT_FOOTBRIDGE): Likewise.
25342 (struct platform): Likewise.
25343 (init_iosys): Remove compatibility code for 2.4 kernels.
25344 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25345
25346 2015-12-29 Florian Weimer <fweimer@redhat.com>
25347
25348 * malloc/tst-malloc-thread-fail.c: New file.
25349 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25350 (tst-malloc-thread-fail): Link against libpthread.
25351
25352 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25353
25354 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25355 (get_parser): New function.
25356 (main): New function.
25357
25358 2015-12-29 Rob Wu <rob@robwu.nl>
25359
25360 [BZ #19369]
25361 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25362
25363 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25364
25365 [BZ #19270]
25366 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25367
25368 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25369
25370 [BZ #15421]
25371 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25372
25373 2015-12-23 Torvald Riegel <triegel@redhat.com>
25374
25375 [BZ #13690]
25376 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25377 after releasing it.
25378 (__lll_robust_unlock): Likewise.
25379 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25380 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25381 (lll_robust_unlock): Likewise.
25382 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25383 Prevent warnings in callers.
25384
25385 2015-12-23 Florian Weimer <fweimer@redhat.com>
25386
25387 * malloc/arena.c (list_lock): Update comment.
25388
25389 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25390
25391 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25392 __parse_hwcap_and_convert_at_platform to libc.a.
25393
25394 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25395
25396 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25397 platform and feature support for POWER9.
25398 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25399 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25400 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25401 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25402 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25403 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25404 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25405 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25406
25407 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25408
25409 Harmonize generic stdio-lock support with nptl
25410
25411 This fixes build when _IO_funlockfile is a macro, fixes build where
25412 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25413 stack unwind.
25414
25415 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25416 _IO_release_lock ): Use cleanup attribute on new
25417 _IO_acquire_lock_file variable instead of assuming that
25418 _IO_release_lock will be called.
25419 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25420 _IO_acquire_lock_needs_exceptions_enabled.
25421 (_IO_acquire_lock_clear_flags2): New macro.
25422
25423 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25424
25425 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25426
25427 2015-12-21 Florian Weimer <fweimer@redhat.com>
25428
25429 [BZ #19182]
25430 * malloc/arena.c (list_lock): Document lock ordering requirements.
25431 (free_list_lock): New lock.
25432 (ptmalloc_lock_all): Comment on free_list_lock.
25433 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25434 (detach_arena): Update comment. free_list_lock is now needed.
25435 (_int_new_arena): Use free_list_lock around detach_arena call.
25436 Acquire arena lock after list_lock. Add comment, including FIXME
25437 about incorrect synchronization.
25438 (get_free_list): Switch to free_list_lock.
25439 (reused_arena): Acquire free_list_lock around detach_arena call
25440 and attached threads counter update. Add two FIXMEs about
25441 incorrect synchronization.
25442 (arena_thread_freeres): Switch to free_list_lock.
25443 * malloc/malloc.c (struct malloc_state): Update comments to
25444 mention free_list_lock.
25445
25446 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25447
25448 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25449 Remove functions.
25450 (sloww, sloww1): Accept argument to offset quadrant.
25451 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25452 quadrant.
25453 (__sin, __cos): Consolidate common code into new functions.
25454 (reduce_sincos_1, do_sincos_1): New functions.
25455 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25456
25457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25458 code to new functions.
25459 (reduce_sincos_2, do_sincos_2): New functions.
25460 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25461
25462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25463 common code for sincos.
25464 (__cos) [!IN_SINCOS]: Likewise.
25465 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25466 New function.
25467 (__sincos): Use it.
25468
25469 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25470
25471 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25472 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25473 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25474
25475 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25476
25477 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25480 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25482 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25483 index_Prefer_No_VZEROUPPER): New feature.
25484 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25485 Prefer_No_VZEROUPPER for Knights Landing.
25486
25487 015-12-18 Torvald Riegel <triegel@redhat.com>
25488
25489 * math/atest-exp2.c (mp_exp_m1): Remove.
25490
25491 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25492
25493 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25494 syscalls.
25495 (__SYSCALL0): New macro.
25496 (__SYSCALL1): Likewise.
25497 (__SYSCALL2): Likewise.
25498 (__SYSCALL3): Likewise.
25499 (__SYSCALL4): Likewise.
25500 (__SYSCALL5): Likewise.
25501 (__SYSCALL6): Likewise.
25502 (__SYSCALL_CONCAT_X): Likewise.
25503 (__SYSCALL_CONCAT): Likewise.
25504 (__SYSCALL_DIST): Likewise.
25505 (__SYSCALL_CALL): Likewise.
25506
25507 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25508
25509 [BZ #19363]
25510 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25511
25512 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25513
25514 [BZ #19375]
25515 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25516 negative subnormals.
25517
25518 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25519
25520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25521 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25522 (INTERNAL_SYSCALL_NCS): Use it.
25523 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25524
25525 2015-12-16 Florian Weimer <fweimer@redhat.com>
25526
25527 [BZ #19243]
25528 * malloc/arena.c (get_free_list): Remove assert and adjust
25529 reference count handling. Add comment about reused_arena
25530 interaction.
25531 (reused_arena): Add comments abount get_free_list interaction.
25532 * malloc/tst-malloc-thread-exit.c: New file.
25533 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25534 (tst-malloc-thread-exit): Link against libpthread.
25535
25536 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25537
25538 [BZ #19367]
25539 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25540 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25541 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25542 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25543 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25544
25545 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25546
25547 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25548 Silvermont optimizations for Knights Landing.
25549
25550 2015-12-15 Andreas Schwab <schwab@suse.de>
25551
25552 [BZ #17197]
25553 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25554 immediately after emitting SI.
25555 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25556 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25557 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25558 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25559 * iconvdata/bug-iconv10.c: New file.
25560 * iconvdata/Makefile (tests): Add bug-iconv10.
25561 ($(objpfx)bug-iconv10.out): New rule.
25562
25563 2015-12-15 Florian Weimer <fweimer@redhat.com>
25564
25565 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25566 aliasing violation.
25567
25568 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25569
25570 [BZ #18472]
25571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25572 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25573 conditionals for them.
25574 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25575 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25577 sys/kdaemon.h.
25578 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25579 compat-only syscall, obsoleted in glibc 2.23.
25580 (create_module): Likewise.
25581 (get_kernel_syms): Likewise.
25582 (query_module): Likewise.
25583 (uselib): Likewise.
25584 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25585
25586 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25587
25588 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25589 <linux/version.h>.
25590 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25591 conditional code.
25592 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25593 and ioshift_name initialization.
25594
25595 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25596
25597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25598 Fix indentation.
25599
25600 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25601
25602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25603
25604 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25605
25606 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25607
25608 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25609 Jakub Wilk <jwilk@debian.org>
25610
25611 [BZ #19347]
25612 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25613 to change the group of the device to the tty group.
25614
25615 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25616
25617 Split large string section; add truncation advice
25618 * manual/examples/strncat.c: Remove.
25619 This example was misleading, as the code would have undefined
25620 behavior if "hello" was longer than SIZE. Anyway, the manual
25621 shouldn't encourage strncpy+strncat for this sort of thing.
25622 * manual/string.texi (Copying Strings and Arrays): Split into
25623 three sections Copying Strings and Arrays, Concatenating Strings,
25624 and Truncating Strings, as this section was way too long. All
25625 cross-referenced changed. Add advice about string-truncation
25626 functions. Remove misleading strncat example.
25627
25628 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25629
25630 * manual/nss.texi (NSS Modules Interface): Document
25631 NSS_STATUS_NOTFOUND and SUCCESS.
25632
25633 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25634
25635 [BZ 18568]
25636 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25637 201505L, for Unicode 8.
25638
25639 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25640
25641 * locale/C-translit.h: Regenerate.
25642
25643 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25644
25645 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25646 and U+0153.
25647
25648 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25649
25650 [BZ #19351]
25651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25652 expanding log(1+z), compare z rather than its square with epsilon
25653 to determine when to avoid evaluating the expansion.
25654
25655 [BZ #19350]
25656 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25657 Increase overflow threshold.
25658
25659 [BZ #19349]
25660 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25661 when small.
25662
25663 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25664 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25665 New macro.
25666 [__LINUX_KERNEL_VERSION >= 0x040300]
25667 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25668 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25669 Likewise.
25670 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25671 Likewise.
25672 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25673 Likewise.
25674 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25675 Likewise.
25676 [__LINUX_KERNEL_VERSION >= 0x040300]
25677 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25678 [__LINUX_KERNEL_VERSION >= 0x040300]
25679 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25680 [__LINUX_KERNEL_VERSION >= 0x040300]
25681 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25682 [__LINUX_KERNEL_VERSION >= 0x040300]
25683 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25684 [__LINUX_KERNEL_VERSION >= 0x040300]
25685 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25686 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25687 Likewise.
25688 [__LINUX_KERNEL_VERSION >= 0x040300]
25689 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25690 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25691 Likewise.
25692 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25693 Likewise.
25694 [__LINUX_KERNEL_VERSION >= 0x040300]
25695 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25696 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25697 Likewise.
25698 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25699 Likewise.
25700 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25701 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25702 Likewise.
25703 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25704 Likewise.
25705 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25706 Likewise.
25707 [__LINUX_KERNEL_VERSION >= 0x040300]
25708 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25709 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25710 Likewise.
25711 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25712 Likewise.
25713 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25714 Likewise.
25715 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25716 Likewise.
25717 [__LINUX_KERNEL_VERSION >= 0x040300]
25718 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25719 [__LINUX_KERNEL_VERSION >= 0x040300]
25720 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25721 [__LINUX_KERNEL_VERSION >= 0x040300]
25722 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25723 [__LINUX_KERNEL_VERSION >= 0x040300]
25724 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25725 [__LINUX_KERNEL_VERSION >= 0x040300]
25726 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25727 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25728 Likewise.
25729 [__LINUX_KERNEL_VERSION >= 0x040300]
25730 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25731 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25732 Likewise.
25733 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25734 Likewise.
25735 [__LINUX_KERNEL_VERSION >= 0x040300]
25736 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25737 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25738 Likewise.
25739 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25740 Likewise.
25741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25742 (__ASSUME_SOCKET_SYSCALL): Likewise.
25743 (__ASSUME_BIND_SYSCALL): Likewise.
25744 (__ASSUME_CONNECT_SYSCALL): Likewise.
25745 (__ASSUME_LISTEN_SYSCALL): Likewise.
25746 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25747 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25748 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25749 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25750 (__ASSUME_SEND_SYSCALL): Likewise.
25751 (__ASSUME_SENDTO_SYSCALL): Likewise.
25752 (__ASSUME_RECV_SYSCALL): Likewise.
25753 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25754 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25755 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25756 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25757 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25758 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25759 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25760 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25761 Likewise.
25762 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25763 Likewise.
25764 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25765 Likewise.
25766 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25767 Likewise.
25768 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25769 Likewise.
25770 [__LINUX_KERNEL_VERSION >= 0x020625]
25771 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25772 [__LINUX_KERNEL_VERSION >= 0x020625]
25773 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25774 [__LINUX_KERNEL_VERSION >= 0x020625]
25775 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25776 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25777 Likewise.
25778 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25779 Likewise.
25780 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25781 Likewise.
25782 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25783 Likewise.
25784 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25785 Likewise.
25786 [__LINUX_KERNEL_VERSION >= 0x020625]
25787 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25788 [__LINUX_KERNEL_VERSION >= 0x020625]
25789 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25790 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25791 Likewise.
25792 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25793 Likewise.
25794
25795 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25796
25797 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25798 record the current if the current ABI and CPU support the FP64
25799 extension.
25800 (has-modd-spreg): Define to record the current if the current ABI and
25801 CPU support 32-bit floating point values in odd FPU registers.
25802 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25803 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25804 $(has-modd-spreg) equals yes.
25805 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25806 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25807 $(has-modd-spreg) equal yes.
25808
25809 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25810
25811 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25812 basename.
25813
25814 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25815
25816 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25817 (bench-string): ... here.
25818 (bench): Add bench-string.
25819 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25820 to *-benchset to reflect what they are.
25821 (benchset): Adjust.
25822
25823 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25824 cos-inputs.
25825
25826 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25827
25828 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25829 __attribute__ ((__simd__)) for vector math function declarations.
25830
25831 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25832
25833 Fix typo in strncat, wcsncat manual entries
25834 * manual/string.texi (Copying and Concatenation): Fix typos in
25835 sample implementations of strncat and wcsncat, by having them use
25836 the old value of the destination length, not the new one.
25837
25838 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25839
25840 [BZ #16961]
25841 [BZ #16962]
25842 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25843 string on the stack for strtod.
25844 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25845 a string on the stack for strtof.
25846 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25847 constructing a string on the stack for strtold.
25848 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25849 __strtold_nan to GLIBC_PRIVATE.
25850 * math/test-nan-overflow.c: New file.
25851 * math/test-nan-payload.c: Likewise.
25852 * math/Makefile (tests): Add test-nan-overflow and
25853 test-nan-payload.
25854
25855 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25856
25857 Consistency about byte vs character in string.texi
25858 * manual/string.texi (String and Array Utilities):
25859 Distinguish more carefully among bytes, multibyte characters,
25860 and wide characters. Use "byte" when talking about C 'char',
25861 to distinguish it more clearly from multibyte characters.
25862 Say "wide character" or "multibyte character" instead of
25863 "character", when a wide or multibyte character is intended.
25864 Similarly for "multibyte string" versus "string".
25865 Define these terms more carefully.
25866
25867 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25868
25869 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25870 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25871 Likewise.
25872 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25873 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25874 * sysdeps/sh/math_private.h: New file.
25875 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25876 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25877 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25878 long double function name.
25879 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25885 Remove __finitel, __isinfl, and __isnanl.
25886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25887 Likewise.
25888 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25890 Remove __finitel.
25891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25892 Likewise.
25893 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25894
25895 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25896
25897 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25898 installed libmvec_nonshared.a.
25899
25900 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25901
25902 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25903 (sysdep_routines): Likewise.
25904 (sysdep-rtld-routines): Likewise.
25905 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25906 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25907 * sysdeps/powerpc/Versions: Added new
25908 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25909 * sysdeps/powerpc/hwcapinfo.c: New file.
25910 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25911 and parse hwcap, hwcap2 and platform number information.
25912 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25913 to store HWCAP+HWCAP2 and platform number.
25914 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25915 for HWCAP+HWCAP2 and platform number in the TCB.
25916 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25917 the HWCAP, HWCAP2 and platform number in the TCB.
25918 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25919 (TLS_INIT_TP): Included calls to add the hwcap and
25920 at_platform values in the TCB in TP initialization.
25921 (TLS_DEFINE_INIT_TP): Likewise.
25922 (THREAD_GET_HWCAP): New macro.
25923 (THREAD_SET_HWCAP): Likewise.
25924 (THREAD_GET_AT_PLATFORM): Likewise.
25925 (THREAD_SET_AT_PLATFORM): Likewise.
25926 * sysdeps/powerpc/powerpc32/dl-machine.h:
25927 (dl_platform_init): New function that calls
25928 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25929 powerpc32.
25930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25931 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25932 this functionality, static linking case.
25933 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25934 linking case.
25935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25936 __parse_hwcap_and_convert_at_platform for the static linking case.
25937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25938 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25939 ABI list for GLIBC 2.23.
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25941 Likewise.
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25943 Likewise.
25944
25945 2015-12-02 Ludovic CourtĂšs <ludo@gnu.org>
25946
25947 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25948 * configure: Regenerate.
25949 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25950 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25951
25952 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25953
25954 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25955 * iconvdata/ibm933.c: Likewise.
25956 * iconvdata/ibm935.c: Likewise.
25957 * iconvdata/ibm937.c: Likewise.
25958 * iconvdata/ibm939.c: Likewise.
25959
25960 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25961
25962 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25963 pthread_join.
25964 * nptl/tst-cancel21.c (tf): Likewise.
25965
25966 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25967
25968 [BZ #19313]
25969 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25970 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25971 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25972 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25973 Likewise.
25974 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25975 Likewise.
25976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25977 Likewise.
25978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25979 Likewise.
25980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25981 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25982 unsigned long int with __CPU_MASK_TYPE.
25983
25984 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25985
25986 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25987
25988 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25989
25990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25991 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25992 t512.x.
25993 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25994
25995 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25996
25997 [BZ #19214]
25998 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25999 argument to return extended model. Update family and model
26000 with extended family and model when family == 0x0f.
26001 (init_cpu_features): Updated.
26002
26003 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26004
26005 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26006 signed off_t, so 32bit bigger than 2GiB values are fine actually.
26007
26008 * sysdeps/mach/hurd/mmap64.c: New file.
26009
26010 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
26011
26012 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26013 rights for its main user thread in NEWTASK.
26014
26015 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
26016
26017 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26018 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26019
26020 2015-11-27 Carlos O'Donell <carlos@redhat.com>
26021
26022 [BZ #14259]
26023 * Makeconfig: Rename localedir to complocaledir.
26024 Rename inst_localedir to inst_complocaledir.
26025 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26026 * config.make.in: Use complocaledir and libc_cv_complocaledir.
26027 * configure.ac: Use libc_cv_complocaledir.
26028 * configure: Regenerate.
26029 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26030 -DCOMPLOCALEDIR.
26031 * locale/findlocale.c: Use COMPLOCALEDIR.
26032 * locale/loadarchive.c: Likewise.
26033 * locale/programs/locale.c: Likewise.
26034 * locale/programs/localedef.c: Likewise.
26035 * locale/programs/locarchive.c: Likewise.
26036 * localedata/Makefile: Use inst_complocaledir.
26037 * sysdeps/gnu/configure: Regenerate.
26038 * sysdeps/hppa/configure: Regenerate.
26039 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26040 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26042 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26043 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26044 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26045 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26046
26047 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
26048
26049 [BZ #19058]
26050 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26051 AS_NEEDED.
26052 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26053 workaround.
26054 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26055 libmvec-static-only-routines): Added new file.
26056 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26057
26058 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
26059
26060 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26061 of interrupted RPC instead of restoring it.
26062
26063 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26064 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26065 libc_hidden_def.
26066 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26067 into initialized data instead of common. Define rtld_hidden_data_def.
26068 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26069 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26070 libc_hidden_def.
26071 (if_freenameindex): Add libc_hidden_weak.
26072 (if_nameindex): Add libc_hidden_weak.
26073 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26074 __open64.
26075 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26076 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26077 * sysdeps/mach/nanosleep.c: Include <time.h>
26078 (__nanosleep): Rename to __libc_nanosleep.
26079 (__nanosleep): Add weak_alias.
26080 (nanosleep): Update alias.
26081
26082 2015-11-24 Joseph Myers <joseph@codesourcery.com>
26083
26084 * stdlib/strtod_nan.c: New file.
26085 * stdlib/strtod_nan_double.h: Likewise.
26086 * stdlib/strtod_nan_float.h: Likewise.
26087 * stdlib/strtod_nan_main.c: Likewise.
26088 * stdlib/strtod_nan_narrow.h: Likewise.
26089 * stdlib/strtod_nan_wide.h: Likewise.
26090 * stdlib/strtof_nan.c: Likewise.
26091 * stdlib/strtold_nan.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26093 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26094 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26095 * wcsmbs/wcstod_nan.c: Likewise.
26096 * wcsmbs/wcstof_nan.c: Likewise.
26097 * wcsmbs/wcstold_nan.c: Likewise.
26098 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26099 strtold_nan.
26100 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26101 wcstof_nan.
26102 * include/stdlib.h (__strtof_nan): Declare and use
26103 libc_hidden_proto.
26104 (__strtod_nan): Likewise.
26105 (__strtold_nan): Likewise.
26106 (__wcstof_nan): Likewise.
26107 (__wcstod_nan): Likewise.
26108 (__wcstold_nan): Likewise.
26109 * include/wchar.h (____wcstoull_l_internal): Declare.
26110 * stdlib/strtod_l.c: Do not include <ieee754.h>.
26111 (____strtoull_l_internal): Remove declaration.
26112 (STRTOF_NAN): Define macro.
26113 (SET_MANTISSA): Remove macro.
26114 (STRTOULL): Likewise.
26115 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26116 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26117 (STRTOF_NAN): Define macro.
26118 (SET_MANTISSA): Remove macro.
26119 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26120 (SET_MANTISSA): Remove macro.
26121 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26122 macro.
26123 (SET_MANTISSA): Remove macro.
26124 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26125 macro.
26126 (SET_MANTISSA): Remove macro.
26127 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26128 (SET_MANTISSA): Remove macro.
26129 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26130 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26131 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26132
26133 [BZ #19266]
26134 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26135 upper case and lower case letters inside NAN(), not using TOLOWER.
26136 * stdlib/tst-strtod-nan-locale-main.c: New file.
26137 * stdlib/tst-strtod-nan-locale.c: Likewise.
26138 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26139 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26140 Depend on $(gen-locales).
26141 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26142 * wcsmbs/tst-wcstod-nan-locale.c: New file.
26143 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26144 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26145 Depend on $(gen-locales).
26146 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26147
26148 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
26149
26150 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26151
26152 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26154 __finitel, __isinfl, and __isnanl.
26155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26156 Likewise.
26157 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26159 __finitel.
26160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26161 Likewise.
26162 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26163
26164 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26165
26166 * malloc/memusage.c (me): Remove redundant getenv call.
26167
26168 2015-10-24 Florian Weimer <fweimer@redhat.com>
26169
26170 [BZ #19143]
26171 [BZ #19164]
26172 * nptl/check-cpuset.h: Remove.
26173 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26174 Remove CPU set size check.
26175 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26176 Likewise.
26177 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26178 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26179 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26180 (__pthread_setaffinity_new): Remove CPU set size check.
26181 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26182 (__kernel_cpumask_size): Remove.
26183 (__sched_setaffinity_new): Remove CPU set size check.
26184 * manual/threads.texi (Default Thread Attributes): Remove stale
26185 reference to check_cpuset_attr, determine_cpumask_size in comment.
26186 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26187 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26188 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26189 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26190 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26191 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26192 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26193 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26194 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26195 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26196 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26197 skeleton test file.
26198 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26199 tst-affinity-pid.
26200
26201 2015-11-24 Florian Weimer <fweimer@redhat.com>
26202
26203 * scripts/update-abilist.sh: New file.
26204 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26205 * Makerules (update-all-abi-%, update-all-abi)
26206 (subdir_update-all-abi): New targets.
26207 * elf/Makefile (update-all-abi): New target.
26208
26209 2015-11-24 Florian Weimer <fweimer@redhat.com>
26210
26211 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26212 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26213 (__libc_lock_define_initialized): Use it.
26214 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26215 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26216 * malloc/malloc.c (main_arena): Likewise.
26217 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26218 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26219
26220 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26221
26222 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26223 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26224 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26225 (PTRACE_O_MASK): Update value.
26226 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26227 New value in enum __ptrace_setoptions.
26228 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26229 (PTRACE_O_MASK): Update value.
26230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26231 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26232 (PTRACE_O_MASK): Update value.
26233 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26234 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26235 (PTRACE_O_MASK): Update value.
26236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26237 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26238 (PTRACE_O_MASK): Update value.
26239 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26240 New value in enum __ptrace_setoptions.
26241 (PTRACE_O_MASK): Update value.
26242 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26243 New value in enum __ptrace_setoptions.
26244 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26245 (PTRACE_O_MASK): Update value.
26246
26247 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26248 New macro.
26249 (PACKET_AUXDATA): Likewise.
26250 (PACKET_ORIGDEV): Likewise.
26251 (PACKET_VERSION): Likewise.
26252 (PACKET_HDRLEN): Likewise.
26253 (PACKET_RESERVE): Likewise.
26254 (PACKET_TX_RING): Likewise.
26255 (PACKET_LOSS): Likewise.
26256 (PACKET_VNET_HDR): Likewise.
26257 (PACKET_TX_TIMESTAMP): Likewise.
26258 (PACKET_TIMESTAMP): Likewise.
26259 (PACKET_FANOUT): Likewise.
26260 (PACKET_TX_HAS_OFF): Likewise.
26261 (PACKET_QDISC_BYPASS): Likewise.
26262 (PACKET_ROLLOVER_STATS): Likewise.
26263 (PACKET_FANOUT_DATA): Likewise.
26264 (PACKET_MR_UNICAST): Likewise.
26265
26266 [BZ #19242]
26267 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26268 (TOUPPER): Likewise.
26269 * stdlib/tst-strtol-locale-main.c: New file.
26270 * stdlib/tst-strtol-locale.c: Likewise.
26271 * stdlib/Makefile (tests): Add tst-strtol-locale.
26272 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26273 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26274 Depend on $(gen-locales).
26275 * wcsmbs/tst-wcstol-locale.c: New file.
26276 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26277 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26278 tr_TR.ISO-8859-9.
26279 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26280 Depend on $(gen-locales).
26281
26282 2015-11-20 Roland McGrath <roland@hack.frob.com>
26283
26284 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26285 __glibc_likely instead of __builtin_expect. After falling back to
26286 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26287 system interface to register the code pages as occupied.
26288
26289 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26290
26291 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26292 [!ARM_MATH_PRIVATE_H].
26293 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26294 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26295 [!HPPA_MATH_PRIVATE_H].
26296 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26297 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26298 to [!I386_MATH_PRIVATE_H].
26299 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26300 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26301 Change guard to [!M68K_MATH_PRIVATE_H].
26302 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26303 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26304 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26305 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26306 macro.
26307 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26308 [!MIPS_MATH_PRIVATE_H].
26309 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26310 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26311 [!NIO2_MATH_PRIVATE_H].
26312 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26313 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26314 [!TILE_MATH_PRIVATE_H].
26315 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26316
26317 [BZ #15421]
26318 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26319 initialize with 0 and define as weak alias of __signgam.
26320 * include/math.h [!_ISOMAC] (__signgam): Declare.
26321 * math/Makefile (libm-calls): Add w_lgamma_compat.
26322 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26323 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26324 test-signgam-ullong-init.
26325 (tests-static): Add test-signgam-uchar-static,
26326 test-signgam-uchar-init-static, test-signgam-uint-static,
26327 test-signgam-uint-init-static, test-signgam-ullong-static and
26328 test-signgam-ullong-init-static.
26329 (CFLAGS-test-signgam-uchar.c): New variable.
26330 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26331 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26332 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26333 (CFLAGS-test-signgam-uint.c): Likewise.
26334 (CFLAGS-test-signgam-uint-init.c): Likewise.
26335 (CFLAGS-test-signgam-uint-static.c): Likewise.
26336 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26337 (CFLAGS-test-signgam-ullong.c): Likewise.
26338 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26339 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26340 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26341 * math/Versions (libm): Add GLIBC_2.23.
26342 * math/lgamma-compat.h: New file.
26343 * math/test-signgam-main.c: Likewise.
26344 * math/test-signgam-uchar-init-static.c: Likewise.
26345 * math/test-signgam-uchar-init.c: Likewise.
26346 * math/test-signgam-uchar-static.c: Likewise.
26347 * math/test-signgam-uchar.c: Likewise.
26348 * math/test-signgam-uint-init-static.c: Likewise.
26349 * math/test-signgam-uint-init.c: Likewise.
26350 * math/test-signgam-uint-static.c: Likewise.
26351 * math/test-signgam-uint.c: Likewise.
26352 * math/test-signgam-ullong-init-static.c: Likewise.
26353 * math/test-signgam-ullong-init.c: Likewise.
26354 * math/test-signgam-ullong-static.c: Likewise.
26355 * math/test-signgam-ullong.c: Likewise.
26356 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26357 wrapper of w_lgamma_main.c.
26358 * math/w_lgamma_compat.c: New file.
26359 * math/w_lgamma_compatf.c: Likewise.
26360 * math/w_lgamma_compatl.c: Likewise.
26361 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26362 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26363 defining compatibility symbols.
26364 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26365 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26366 wrapper of w_lgammaf_main.c.
26367 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26368 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26369 defining compatibility symbols.
26370 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26371 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26372 wrapper of w_lgammal_main.c.
26373 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26374 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26375 defining compatibility symbols.
26376 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26377 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26378 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26379 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26380 <lgamma-compat.h>.
26381 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26382 (__ieee754_gamma): Define as alias.
26383 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26384 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26385 <lgamma-compat.h>.
26386 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26387 (__ieee754_gammaf): Define as alias.
26388 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26389 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26390 <lgamma-compat.h>.
26391 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26392 (__ieee754_gammal): Define as alias.
26393 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26394 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26395 <math/w_lgamma_compat.c>.
26396 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26397 Define as alias of __lgamma_compat and use in defining lgammal.
26398 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26399 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26400 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26401 (USE_AS_COMPAT): New macro.
26402 (LGAMMA_OLD_VER): Undefine and redefine.
26403 (lgammal): Do not define here.
26404 (gammal): Only define here if [GAMMA_ALIAS].
26405 * conform/linknamespace.pl (@whitelist): Remove signgam.
26406 * sysdeps/nacl/libm.abilist: Update.
26407 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26408 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26409 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26410 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26411 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26412 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26413 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26414 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26415 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26416 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26417 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26418 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26420 Likewise.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26422 Likewise.
26423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26424 Likewise.
26425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26426 Likewise.
26427 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26428 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26429 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26433 Likewise.
26434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26435 Likewise.
26436 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26437 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26439
26440 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26441
26442 [BZ #16364]
26443 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26444 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26445
26446 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26447
26448 * sysdeps/s390/fpu/bits/mathinline.h:
26449 Use __asm__ [__volatile__] instead of asm [volatile].
26450 * sysdeps/s390/abort-instr.h: Likewise.
26451 * sysdeps/s390/atomic-machine.h: Likewise.
26452 * sysdeps/s390/bits/string.h: Likewise.
26453 * sysdeps/s390/dl-tls.h: Likewise.
26454 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26455 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26456 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26457 * sysdeps/s390/fpu/fesetround.c: Likewise.
26458 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26459 * sysdeps/s390/fpu/s_fma.c: Likewise.
26460 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26461 * sysdeps/s390/memusage.h: Likewise.
26462 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26463 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26464 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26465 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26466 * sysdeps/s390/nptl/tls.h: Likewise.
26467 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26468 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26469 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26470 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26471 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26472 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26473 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26474 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26475 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26476 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26477 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26478 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26479 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26480 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26481 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26482 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26483 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26484 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26485 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26487 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26489 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26490
26491 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26492 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26493
26494 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26495 Add lwarx hint, and use macro for acquire instruction.
26496 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26497 Likewise.
26498 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26499 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26500 update to use new atomic macros.
26501
26502 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26503
26504 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26505 (__lll_trylock_elision): Fix setting of adapt_count.
26506 * sysdeps/unix/sysv/linux/powerpc/htm.h
26507 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26508 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26509 (_ABORT_SYSCALL): Renumber, and clarify definition.
26510 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26511
26512 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26513
26514 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26515 after system headers to prevent MIN/MAX redefinition. Define
26516 HAVE_ALLOCA to preserve builtin alloca usage.
26517
26518 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26519
26520 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26521 static and don't set or restore rounding.
26522 (__cos)[IN_SINCOS]: Likewise.
26523 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26524 (__sincos): Set and restore rounding mode. Remove check for infinite
26525 or NaN input.
26526
26527 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26528
26529 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26530 as used.
26531
26532 2015-11-16 Florian Weimer <fweimer@redhat.com>
26533
26534 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26535
26536 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26537
26538 * config.make.in (have-glob-dat-reloc): New.
26539 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26540 target supports GLOB_DAT relocaton. AC_SUBST.
26541 * configure: Regenerated.
26542 * elf/Makefile (tests): Add tst-prelink.
26543 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26544 (tst-prelink-ENV): New.
26545 ($(objpfx)tst-prelink-conflict.out): Likewise.
26546 ($(objpfx)tst-prelink-cmp.out): Likewise.
26547 * sysdeps/x86/tst-prelink.c: Moved to ...
26548 * elf/tst-prelink.c: Here.
26549 * sysdeps/x86/tst-prelink.exp: Moved to ...
26550 * elf/tst-prelink.exp: Here.
26551 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26552 (tst-prelink-ENV): Removed.
26553 ($(objpfx)tst-prelink-conflict.out): Likewise.
26554 ($(objpfx)tst-prelink-cmp.out): Likewise.
26555 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26556
26557 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26558
26559 [BZ #14551]
26560 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26561 (__mpn_construct_long_double): If high part overflows to infinity,
26562 set errno and recompute overflowed result of the correct sign.
26563 * sysdeps/ieee754/ldbl-128ibm/Makefile
26564 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26565 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26566 $(libm).
26567 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26568
26569 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26570
26571 [BZ #15479]
26572 [BZ #19238]
26573 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26574 floating-point state after first operation on input. Restore full
26575 state rather than just rounding mode.
26576 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26577 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26578 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26579
26580 [BZ #19235]
26581 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26582 add 0.5 to integer arguments.
26583 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26584 Likewise.
26585 (.LC2): New object.
26586
26587 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26588
26589 * scripts/pylintrc (reports): Set to no.
26590
26591 2015-11-10 Roland McGrath <roland@hack.frob.com>
26592
26593 * elf/dl-load.c (open_verify): Take new argument FD.
26594 Skip __open call if passed FD is not -1.
26595 (_dl_map_object, open_path): Update callers.
26596 * elf/dl-sysdep-open.h: New file.
26597 * elf/dl-load.c: Include it.
26598 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26599 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26600 * sysdeps/nacl/dl-sysdep-open.h: New file.
26601 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26602 from libc to rtld.
26603
26604 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26605
26606 [BZ #19228]
26607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26608 and restore full floating-point state.
26609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26610 Likewise.
26611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26612 Likewise.
26613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26614 Likewise.
26615 * math/test-nearbyint-except-2.c: New file.
26616 * math/Makefile (tests): Add test-nearbyint-except-2.
26617
26618 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26619
26620 [BZ #19178]
26621 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26622 (tst-prelink-ENV): New.
26623 ($(objpfx)tst-prelink-conflict.out): Likewise.
26624 ($(objpfx)tst-prelink-cmp.out): Likewise.
26625 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26626 * sysdeps/x86/tst-prelink.c: New file.
26627 * sysdeps/x86/tst-prelink.exp: Likewise.
26628
26629 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26630
26631 * math/auto-libm-test-in: Add another test of pow.
26632 * math/auto-libm-test-out: Regenerated.
26633 * math/libm-test.inc (pow_test_data): Add another test.
26634
26635 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26636
26637 [BZ #19219]
26638 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26639 weak_alias to nearbyintl.
26640
26641 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26642
26643 * sysdeps/aarch64/bits/string.h: New file.
26644 (_STRING_ARCH_unaligned): Define.
26645
26646 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26647
26648 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26649 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26650 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26651 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26653
26654 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26655
26656 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26657 for original name of the DSO. Add it to the name list of the DSO
26658 if it is actually given.
26659 (_dl_map_object): Keep track of whether an audit module rewrote
26660 the file name. If yes, pass the original name to
26661 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26662 debugging is enabled, log the change of the file name.
26663 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26664 _dl_map_object_from_fd.
26665 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26666 * elf/tst-audit11.c: New file
26667 * elf/tst-auditmod11.c: New file.
26668 * elf/tst-audit11mod1.c: New file.
26669 * elf/tst-audit11mod2.c: New file.
26670 * elf/tst-audit11mod2.map: New file.
26671 * elf/tst-audit12.c: New file
26672 * elf/tst-auditmod12.c: New file.
26673 * elf/tst-audit12mod1.c: New file.
26674 * elf/tst-audit12mod2.c: New file.
26675 * elf/tst-audit12mod2.map: New file.
26676 * elf/tst-audit12mod3.c: New file.
26677
26678 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26679
26680 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26681 Don't create weak aliases,
26682 because versioned symbols are created later.
26683 * sysdeps/s390/s390-32/setjmp.S
26684 (setjmp, _setjmp): Remove weak and rename to an unique name
26685 in SHARED case due to existing versioned symbols.
26686 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26687 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26688 (getcontext): Create weak alias only in non SHARED case.
26689 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26690
26691 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26692
26693 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26694 (__ASSUME_*_SYSCALL) Define new macros.
26695 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26696 Remove socketcall syscalls.
26697 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26698 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26699 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26700 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26701 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26702 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26703
26704 2015-11-09 Florian Weimer <fweimer@redhat.com>
26705
26706 [BZ #12926]
26707 Terminate process on invalid netlink response.
26708 * sysdeps/unix/sysv/linux/netlinkaccess.h
26709 (__netlink_assert_response): Declare.
26710 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26711 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26712 (sysdep_routines): Add netlink_assert_response.
26713 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26714 __netlink_assert_response.
26715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26716 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26717 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26718 __netlink_assert_response.
26719
26720 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 [BZ #19178]
26723 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26724 (RTYPE_CLASS_PLT): Likewise.
26725 (RTYPE_CLASS_COPY): Likewise.
26726 (RTYPE_CLASS_TLS): Likewise.
26727 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26728 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26729 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26730 DL_DEBUG_PRELINK.
26731
26732 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26733
26734 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26735 calls with argument -0.5.
26736 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26737
26738 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26739 (libc_cv_z_nodlopen): Likewise.
26740 (libc_cv_z_initfirst): Likewise.
26741 * configure: Regenerated.
26742
26743 2015-11-06 Florian Weimer <fweimer@redhat.com>
26744
26745 Simplify abilist format to be line-based.
26746 * scripts/abilist.awk: Collect descriptors in the descs variable.
26747 (emit): Write descs variable and sort it
26748 externally, with sort.
26749 * sysdeps/**/*.abilist: Convert to new format.
26750
26751 2015-11-06 Mark Wielaard <mjw@redhat.com>
26752
26753 [BZ #11460]
26754 * io/Makefile (routines): Add fts64.
26755 (tests): Add tst-fts and tst-fts-lfs.
26756 (CFLAGS-fts64.c): New.
26757 * io/Versions (GLIBC_2.23): New.
26758 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26759 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26760 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26761 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26762 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26763 (FTSENT64): Likewise.
26764 (fts64_children): Likewise.
26765 (fts64_close): Likewise.
26766 (fts64_open): Likewise.
26767 (fts64_read): Likewise.
26768 (fts64_set): Likewise.
26769 * io/fts64.c: New file.
26770 * io/tst-fts.c: New test.
26771 * io/tst-fts-lfs.c: Likewise.
26772 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26773 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26774 fts64_set.
26775 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26776 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26777 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26778 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26779 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26780 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26781 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26783 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26785 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26786 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26787 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26789 Likewise.
26790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26791 Likewise.
26792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26794 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26795 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26796 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26797 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26798 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26801 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26802 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26803 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26804 * sysdeps/wordsize-64/fts.c: New file.
26805 * sysdeps/wordsize-64/fts64.c: Likewise.
26806 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26807 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26808 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26809 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26810
26811 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26812
26813 * math/libm-test.inc (NON_FINITE): New macro.
26814 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26815 * math/gen-libm-test.pl (show_exceptions): Add argument
26816 $non_finite.
26817 (parse_args): Update call to show_exceptions.
26818 * math/test-math-finite.h: New file.
26819 * math/test-math-no-finite.h: Likewise.
26820 * math/test-double-finite.c: Likewise.
26821 * math/test-float-finite.c: Likewise.
26822 * math/test-ldouble-finite.c: Likewise.
26823 * math/test-double.c: Include "test-math-no-finite.h".
26824 * math/test-float.c: Include "test-math-no-finite.h".
26825 * math/test-ldouble.c: Include "test-math-no-finite.h".
26826 * math/test-math-inline.h (TEST_FINITE): New macro.
26827 * math/test-math-vector.h (TEST_FINITE): Likewise.
26828 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26829 (libm-tests): Add test-float-finite and test-double-finite.
26830 ($(objpfx)test-float-finite.o): New dependency on
26831 $(objpfx)libm-test.stmp.
26832 ($(objpfx)test-double-finite.o): Likewise.
26833 ($(objpfx)test-ldouble-finite.o): Likewise.
26834 (libm-test-no-inline-cflags): New variable.
26835 (libm-test-finite-cflags): Likewise.
26836 (CFLAGS-test-float-finite.c): Likewise.
26837 (CFLAGS-test-double-finite.c): Likewise.
26838 (CFLAGS-test-ldouble-finite.c): Likewise.
26839 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26840 (CFLAGS-test-double.c): Likewise.
26841 (CFLAGS-test-ldouble.c): Likewise.
26842
26843 2015-11-05 Roland McGrath <roland@hack.frob.com>
26844
26845 * io/fcntl.c (__fcntl): Add ... to prototype.
26846 * misc/ioctl.c (__ioctl): Likewise.
26847 * misc/syscall.c (syscall): Likewise.
26848
26849 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26850
26851 * scripts/list-fixed-bugs.py: New file.
26852
26853 [BZ #19213]
26854 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26855 returned for argument 1.
26856 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26857 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26858 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26859 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26860 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26861 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26862
26863 [BZ #19211]
26864 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26865 __USE_XOPEN], not if [!__USE_ISOC99].
26866 (lgammaf): Likewise.
26867 (lgammal): Likewise.
26868 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26869 (gammaf): Likewise.
26870 (gammal): Likewise.
26871 * math/test-signgam-finite-c11.c: New file.
26872 * math/test-signgam-finite-c99.c: Likewise.
26873 * math/test-signgam-finite.c: Likewise.
26874 * math/Makefile (tests): Add test-signgam-finite,
26875 test-signgam-finite-c99 and test-signgam-finite-c11.
26876 (CFLAGS-test-signgam-finite.c): New variable.
26877 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26878 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26879
26880 [BZ #19212]
26881 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26882 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26883 500].
26884 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26885 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26886 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26887 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26888 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26889 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26890 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26891 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26892 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26893 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26894
26895 [BZ #19209]
26896 * math/bits/math-finite.h (ldexp): Remove declaration.
26897 (ldexpf): Likewise.
26898 (ldexpl): Likewise.
26899
26900 [BZ #19205]
26901 * math/bits/math-finite.h (acosf): Condition declaration on
26902 [__USE_ISOC99].
26903 (acosl): Likewise.
26904 (acoshf): Likewise.
26905 (acoshl): Likewise.
26906 (asinf): Likewise.
26907 (asinl): Likewise.
26908 (atan2f): Likewise.
26909 (atan2l): Likewise.
26910 (atanhf): Likewise.
26911 (atanhl): Likewise.
26912 (coshf): Likewise.
26913 (coshl): Likewise.
26914 (expf): Likewise.
26915 (expl): Likewise.
26916 (fmodf): Likewise.
26917 (fmodl): Likewise.
26918 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26919 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26920 (j0l): Likewise.
26921 (y0f): Likewise.
26922 (y0l): Likewise.
26923 (j1f): Likewise.
26924 (j1l): Likewise.
26925 (y1f): Likewise.
26926 (y1l): Likewise.
26927 (jnf): Likewise.
26928 (jnl): Likewise.
26929 (ynf): Likewise.
26930 (ynl): Likewise.
26931 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26932 (lgammal_r): Likewise.
26933 (__lgamma_r_finite): New declaration.
26934 (__lgammaf_r_finite): Likewise.
26935 (__lgammal_r_finite): Likewise.
26936 (lgamma): Use __lgamma_r_finite.
26937 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26938 __lgammaf_r_finite.
26939 (lgammal): Condition definition on [__USE_ISOC99]. Use
26940 __lgammal_r_finite.
26941 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26942 __lgamma_r_finite.
26943 (gammaf): Condition definition on [__USE_ISOC99]. Use
26944 __lgammaf_r_finite.
26945 (gammal): Condition definition on [__USE_ISOC99]. Use
26946 __lgammal_r_finite.
26947 (logf): Condition declaration on [__USE_ISOC99].
26948 (logl): Likewise.
26949 (log10f): Likewise.
26950 (log10l): Likewise.
26951 (ldexpf): Likewise.
26952 (ldexpl): Likewise.
26953 (powf): Likewise.
26954 (powl): Likewise.
26955 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26956 __USE_ISOC99].
26957 (remainderf): Condition declaration on [__USE_ISOC99].
26958 (remainderl): Likewise.
26959 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26960 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26961 (scalbl): Likewise.
26962 (sinhf): Condition declaration on [__USE_ISOC99].
26963 (sinhl): Likewise.
26964 (sqrtf): Likewise.
26965 (sqrtl): Likewise.
26966
26967 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26968
26969 * sysdeps/arm/atomic-machine.h
26970 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26971 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26972 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26973 Remove conditional code.
26974 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26975 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26976 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26977 Change conditional to [__ASSEMBLER__].
26978 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26979 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26980 [!__ASSEMBLER__].
26981 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26982 code.
26983 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26984 conditional macro definitions.
26985 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26986 (__arch_compare_and_exchange_val_16_acq): Likewise.
26987 (__arch_compare_and_exchange_val_32_acq): Likewise.
26988 (atomic_exchange_and_add): Likewise.
26989 (atomic_add): Likewise.
26990 (atomic_add_negative): Likewise.
26991 (atomic_add_zero): Likewise.
26992 (atomic_bit_set): Likewise.
26993 (atomic_bit_test_set): Likewise.
26994 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26995 code unconditional.
26996 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26997
26998 * math/test-math-errno.h: New file.
26999 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27000 empty.
27001 (TEST_ERRNO): New macro.
27002 (TEST_EXCEPTIONS): Likewise.
27003 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27004 (TEST_EXCEPTIONS): Likewise.
27005 * math/test-math-vector.h (TEST_ERRNO): Likewise.
27006 * math/test-double.c: Include "test-math-errno.h".
27007 * math/test-float.c: Likewise.
27008 * math/test-ldouble.c: Likewise.
27009 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27010 code unconditional.
27011 (test_exceptions): Only run code if TEST_EXCEPTIONS.
27012 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27013 unconditional.
27014 (test_errno): Only run code if TEST_ERRNO.
27015 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27016
27017 2015-11-04 Florian Weimer <fweimer@redhat.com>
27018
27019 * nptl/tst-once5.cc: Remove attribution.
27020
27021 2015-11-04 Joseph Myers <joseph@codesourcery.com>
27022
27023 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27024 sqrt, tan, tanh, y0, y1 and yn.
27025 * math/auto-libm-test-out: Regenerated.
27026 * math/libm-test.inc (scalb_test_data): Add more tests.
27027 (scalbn_test_data): Likewise.
27028 (scalbln_test_data): Likewise.
27029 (signbit_test_data): Likewise.
27030 (sin_test_data): Likewise.
27031 (sincos_test_data): Likewise.
27032 (sinh_test_data): Likewise.
27033 (sqrt_test_data): Likewise.
27034 (tan_test_data): Likewise.
27035 (tanh_test_data): Likewise.
27036 (tgamma_test_data): Likewise.
27037 (y0_test_data): Likewise.
27038 (y1_test_data): Likewise.
27039 (yn_test_data): Likewise.
27040 (significand_test_data): Likewise.
27041 * sysdeps/i386/fpu/libm-test-ulps: Update.
27042
27043 2015-11-03 David Kastrup <dak@gnu.org>
27044
27045 [BZ #18604]
27046 * assert/assert.h (assert): Don't macro-expand failed assertion
27047 expression in error message.
27048 * malloc/malloc.c (assert): Likewise.
27049
27050 2015-11-03 Joseph Myers <joseph@codesourcery.com>
27051
27052 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27053 test.
27054 * configure: Regenerated.
27055
27056 2015-11-02 Joseph Myers <joseph@codesourcery.com>
27057
27058 * math/libm-test.inc (modf_test_data): Add more tests.
27059 (nearbyint_test_data): Likewise.
27060 (nextafter_test_data): Likewise.
27061 (nexttoward_test_data): Likewise.
27062 (pow_test_data): Likewise.
27063 (remainder_test_data): Likewise.
27064 (remquo_test_data): Likewise.
27065 (rint_test_data): Likewise.
27066
27067 [BZ #19201]
27068 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27069 Check for zero remainder in case of large exponents and ensure
27070 correct sign of result in that case.
27071 * math/libm-test.inc (remainder_test_data): Add more tests.
27072
27073 [BZ #6799]
27074 * math/s_nextafter.c: Include <errno.h>.
27075 (__nextafter): Set errno on overflow and underflow.
27076 * math/s_nexttowardf.c: Include <errno.h>.
27077 (__nexttowardf): Set errno on overflow and underflow.
27078 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27079 (__nextafterl): Set errno on overflow and underflow.
27080 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27081 (__nexttoward): Set errno on overflow and underflow.
27082 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27083 (__nexttowardf): Set errno on overflow and underflow.
27084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27085 (__nextafterf): Set errno on overflow and underflow.
27086 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27087 (__nextafterl): Set errno on overflow and underflow.
27088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27089 (__nexttoward): Set errno on overflow and underflow.
27090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27091 (__nexttowardf): Set errno on overflow and underflow.
27092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27093 (__nextafterl): Set errno on overflow and underflow.
27094 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27095 (__nexttoward): Set errno on overflow and underflow.
27096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27097 (__nexttowardf): Set errno on overflow and underflow.
27098 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27099 (__nexttoward): Set errno on overflow and underflow.
27100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27101 (__nexttowardf): Set errno on overflow and underflow.
27102 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27103 (__nldbl_nexttowardf): Set errno on overflow and underflow.
27104 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27105 (__nextafterl): Set errno on overflow and underflow.
27106 * math/libm-test.inc (nextafter_test_data): Do not allow errno
27107 setting to be missing on overflow. Add more tests.
27108 (nexttoward_test_data): Likewise.
27109
27110 * configure.ac (libc_cv_initfini_array): Remove configure test.
27111 * configure: Regenerated.
27112
27113 2015-10-29 Joseph Myers <joseph@codesourcery.com>
27114
27115 [BZ #19189]
27116 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27117 non-finite argument handle arguments with negative sign.
27118
27119 * math/libm-test.inc (j0_test_data): Do not test sign of zero
27120 result from infinite argument.
27121 (j1_test_data): Likewise.
27122 (jn_test_data): Likewise.
27123 (y0_test_data): Likewise.
27124 (y1_test_data): Likewise.
27125 (yn_test_data): Likewise.
27126
27127 [BZ #16171]
27128 * math/w_remainder.c (drem): Define as weak alias of __remainder.
27129 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27130 * math/w_remainderf.c (dremf): Define as weak alias of
27131 __remainderf.
27132 * math/w_remainderl.c (dreml): Define as weak alias of
27133 __remainderl.
27134 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27135 __remainder.
27136 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27137 __remainderf.
27138 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27139 __remainderl.
27140 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27141 weak alias of remainderl.
27142 * sysdeps/ieee754/ldbl-opt/w_remainder.c
27143 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27144 alias of __remainder.
27145 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27146 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27147 strong alias of __remainderl.
27148 (dreml): Use long_double_symbol.
27149 * math/Makefile (libm-calls): Remove w_drem.
27150 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27151 (CFLAGS-nldbl-drem.c): Remove variable.
27152 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27153 * math/w_drem.c: Remove file.
27154 * math/w_dremf.c: Likewise.
27155 * math/w_dreml.c: Likewise.
27156 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27157 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27158 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27159
27160 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27161 * sysdeps/i386/configure: Regenerated.
27162 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27163 * sysdeps/x86_64/configure: Regenerated.
27164
27165 * configure.ac (libc_cv_asm_protected_directive): Remove configure
27166 test.
27167 (libc_cv_visibility_attribute): Likewise.
27168 (libc_cv_protected_data): Test unconditionally.
27169 (libc_cv_broken_visibility_attribute): Remove configure test.
27170 (libc_cv_have_sdata_section): Test unconditionally.
27171 * configure: Regenerated.
27172
27173 * include/libc-internal.h (libc_max_align_t): Remove typedef.
27174 * include/scratch_buffer.h: Include <stddef.h> instead of
27175 <libc-internal.h>.
27176 (struct scratch_buffer): Use max_align_t instead of
27177 libc_max_align_t.
27178
27179 2015-10-29 Florian Weimer <fweimer@redhat.com>
27180
27181 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27182 instead of extend_alloca. Change control flow to avoid a goto.
27183 Remove assert which is trivially always true.
27184
27185 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27186
27187 [BZ #16068]
27188 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27189 (FE_ALL_EXCEPT_X86): New macro.
27190 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27191 FE_ALL_EXCEPT. Ensure precision control is included in
27192 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27193 handle "denormal operand exception" and clear FZ and DAZ bits.
27194 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27195 (FE_ALL_EXCEPT_X86): New macro.
27196 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27197 FE_ALL_EXCEPT. Ensure precision control is included in
27198 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27199 handle "denormal operand exception" and clear FZ and DAZ bits.
27200 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27201 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27202 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27203 test-fenv-x87 and test-fenv-sse-2.
27204 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27205
27206 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27207 * math/test-double.h (BUILD_COMPLEX): New macro.
27208 * math/test-float.h (BUILD_COMPLEX): Likewise.
27209 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27210
27211 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27212 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27213 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27215 instead of DBL_DENORM_MIN in comment.
27216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27217 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27219 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27221 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27222
27223 2015-10-28 Florian Weimer <fweimer@redhat.com>
27224
27225 [BZ #19048]
27226 * malloc/malloc.c (struct malloc_state): Update comment. Add
27227 attached_threads member.
27228 (main_arena): Initialize attached_threads.
27229 * malloc/arena.c (list_lock): Update comment.
27230 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27231 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27232 (deattach_arena): New function.
27233 (_int_new_arena): Initialize arena reference count and deattach
27234 replaced arena.
27235 (get_free_list, reused_arena): Update reference count and deattach
27236 replaced arena.
27237 (arena_thread_freeres): Update arena reference count and only put
27238 unreferenced arenas on the free list.
27239
27240 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27241
27242 [BZ #19181]
27243 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27244 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27245 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27246 * math/test-fenv-clear-main.c: New file.
27247 * math/test-fenv-clear.c: Likewise.
27248 * math/Makefile (tests): Add test-fenv-clear.
27249 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27250 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27251 test-fenv-clear-sse.
27252 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27253
27254 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27255 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27256 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27257
27258 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27259
27260 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27261 static libc.
27262
27263 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27264
27265 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27266 test.
27267 * sysdeps/i386/configure: Regenerated.
27268 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27269 test.
27270 * sysdeps/x86_64/configure: Regenerated.
27271 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27273 memset-avx2 unconditionally instead of conditionally on
27274 [$(config-cflags-avx2) = yes].
27275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27276 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27277 unconditional.
27278 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27279 * sysdeps/x86_64/multiarch/memset_chk.S
27280 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27281 to [IS_IN (libc) && SHARED].
27282
27283 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27284
27285 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27286 configure test.
27287 * sysdeps/arm/configure: Regenerated.
27288 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27289 Define variable if not already defined.
27290
27291 [BZ #17404]
27292 * sysdeps/mips/atomic-machine.h
27293 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27294 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27295 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27296
27297 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27298 unconditional.
27299 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27300 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27301 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27302 unconditional.
27303 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27304 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27305 unconditional.
27306 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27307 * stdlib/setenv.c
27308 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27309 code unconditional.
27310 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27311 Remove conditional code.
27312 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27313 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27314 unconditional.
27315 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27316 code.
27317 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27318 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27319 unconditional.
27320 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27321 code.
27322 * sysdeps/ieee754/ldbl-128/k_tanl.c
27323 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27324 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27326 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27327 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27328 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27329 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27330 unconditional.
27331 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27332 code.
27333 * sysdeps/ieee754/ldbl-96/k_tanl.c
27334 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27335 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27336
27337 * nptl/tst-initializers1-c11.c: New file.
27338 * nptl/tst-initializers1-gnu11.c: Likewise.
27339 * nptl/Makefile (tests): Add these new tests.
27340 (CFLAGS-tst-initializers1-c11.c): New variable.
27341 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27342
27343 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27344 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27345 instead of -std=gnu99.
27346 * configure.ac (systemtap): Test with -std=gnu11 instead of
27347 -std=gnu99.
27348 * configure: Regenerated.
27349 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27350 in compilation command in comment.
27351
27352 * sysdeps/nptl/configure.ac: Remove file.
27353 * sysdeps/nptl/configure: Remove generated file.
27354 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27355 * configure: Regenerated.
27356 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27357 * config.make.in (have-forced-unwind): Remove variable.
27358 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27359 unconditional.
27360 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27361 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27362 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27363 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27364 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27365 unconditional.
27366
27367 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27368
27369 [BZ #19174]
27370 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27371 .skip_lock_out_of_tbegin_retries.
27372 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27373 (__lll_lock_elision): Likewise, and respect a value of
27374 try_tbegin <= 0.
27375
27376 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27377
27378 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27379 statement.
27380
27381 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27382
27383 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27384 variable.
27385 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27386 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27387
27388 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27389 of -std=c1x -D_ISOC11_SOURCE.
27390
27391 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27392 * configure: Regenerated.
27393 * manual/install.texi (Tools for Compilation): Document
27394 requirement for GCC 4.7 or later.
27395 * INSTALL: Regenerated.
27396
27397 2015-10-27 Ludovic CourtĂšs <ludo@gnu.org>
27398
27399 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27400 on CNT to a conditional jump to 'puntdata'.
27401
27402 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27403
27404 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27405 (libc_cv_gcc_tls_model_attr): Likewise.
27406 * configure: Regenerated.
27407
27408 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27409 * configure: Regenerated.
27410 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27411
27412 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27413
27414 * configure.ac (old_glibc_headers): Remove configure test.
27415 * configure: Regenerated.
27416 * config.make.in (old-glibc-headers): Remove variable.
27417 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27418 (install): Remove dependency on remove-old-headers.
27419 (headers2_0): Remove variable.
27420 (remove-old-headers): Remove rule.
27421
27422 * configure.ac (libc_cv_dot_text): Remove configure test.
27423 (libc_cv_asm_set_directive): Use .text instead of
27424 ${libc_cv_dot_text} in configure test.
27425 * configure: Regenerated.
27426
27427 2015-10-26 Florian Weimer <fweimer@redhat.com>
27428
27429 [BZ #19168]
27430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27431
27432 2015-10-26 Florian Weimer <fweimer@redhat.com>
27433
27434 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27435 not support static linking.
27436 * configure: Regenerate.
27437
27438 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27439
27440 * math/libm-test.inc (check_float_internal): Do not special-case
27441 errors up to 0.5 ulp.
27442
27443 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27444 log2.
27445 * math/auto-libm-test-out: Regenerated.
27446 * math/libm-test.inc (MAX_EXP): New macro.
27447 (ilogb_test_data): Add more tests.
27448 (isfinite_test_data): Likewise.
27449 (isgreater_test_data): Likewise.
27450 (isgreaterequal_test_data): Likewise.
27451 (isinf_test_data): Likewise.
27452 (isless_test_data): Likewise.
27453 (islessequal_test_data): Likewise.
27454 (islessgreater_test_data): Likewise.
27455 (isnan_test_data): Likewise.
27456 (isnormal_test_data): Likewise.
27457 (issignaling_test_data): Likewise.
27458 (isunordered_test_data): Likewise.
27459 (j0_test_data): Likewise.
27460 (j1_test_data): Likewise.
27461 (jn_test_data): Likewise.
27462 (lgamma_test_data): Likewise.
27463 (log_test_data): Likewise.
27464 (log10_test_data): Likewise.
27465 (log1p_test_data): Likewise.
27466 (log2_test_data): Likewise.
27467 (logb_test_data): Likewise.
27468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27469
27470 [BZ #18611]
27471 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27472 avoid excess range and precision on underflow.
27473 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27474 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27475 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27476 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27477 underflow.
27478 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27482 * math/auto-libm-test-in: Do not allow missing errno setting for
27483 tests of j1 and jn.
27484 * math/auto-libm-test-out: Regenerated.
27485
27486 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27487
27488 [BZ #15491]
27489 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27490 floating-point environment instead of clearing all exceptions.
27491 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27492 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27493 merging in "invalid" exceptions from frndint.
27494 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27495 * math/test-nearbyint-except.c: New file.
27496 * math/Makefile (tests): Add test-nearbyint-except.
27497
27498 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27499
27500 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27501
27502 * sysdeps/tile/libm-test-ulps: Regenerated.
27503
27504 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27505
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27507 (__NR_sync_file_range2): Assume it is always defined.
27508 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27509 (__NR_sync_file_range): Assume it is always defined.
27510
27511 2015-10-22 Andreas Schwab <schwab@suse.de>
27512
27513 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27514 INTERNAL_SYSCALL_ERRNO.
27515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27516 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27517 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27518 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27519 Likewise.
27520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27521
27522 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27523
27524 * io/tst-fcntl.c (fd): New static variable.
27525 (do_prepare): Open temporary file here....
27526 (do_test): ...not here.
27527
27528 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27529
27530 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27531
27532 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27533 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27534 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27535 Moved before "#ifdef __ASSEMBLER__".
27536
27537 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27538
27539 [BZ #19156]
27540 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27541 arguments very close to 0.
27542
27543 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27544
27545 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27546 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27547
27548 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27549
27550 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27551 New. Defined for GCC 5 and above when not compiling for
27552 profiling.
27553 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27554
27555 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27556 Renamed to ...
27557 (CFLAGS-epoll_pwait.o): This.
27558 (CFLAGS-mmap.c): Renamed to ...
27559 (CFLAGS-mmap.o): This.
27560 (CFLAGS-mmap64.c): Renamed to ...
27561 (CFLAGS-mmap64.o): This.
27562 (CFLAGS-epoll_pwait.os): New.
27563 (CFLAGS-mmap.os): Likewise.
27564 (CFLAGS-mmap64.os): Likewise.
27565 (CFLAGS-semtimedop.os): Likewise.
27566 (CFLAGS-semtimedop.c): Renamed to ...
27567 (CFLAGS-semtimedop.o): This.
27568
27569 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27570
27571 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27572 warning message.
27573
27574 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27575
27576 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27577 * Makefile ($(objpfx)c++-types-check.out): Filter out
27578 $(+gccwarn-c) instead of -Wstrict-prototypes.
27579
27580 * io/fts.c (fts_open): Convert to prototype-style function
27581 definition.
27582 * malloc/mcheck.c (mcheck): Likewise.
27583 (mcheck_pedantic): Likewise.
27584 * posix/regexec.c (re_search_2_stub): Likewise. Use
27585 internal_function.
27586 (re_search_internal): Likewise.
27587 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27588 prototype-style function definition.
27589 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27590 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27591 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27592 (xdr_utmpptr): Likewise.
27593 (xdr_utmparr): Likewise.
27594 (xdr_utmpidle): Likewise.
27595 (xdr_utmpidleptr): Likewise.
27596 (xdr_utmpidlearr): Likewise.
27597
27598 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27599 log, log10 and log2.
27600 * math/auto-libm-test-out: Regenerated.
27601 * math/libm-test.inc (fmod_test_data): Add more tests.
27602 (fpclassify_test_data): Likewise.
27603 (frexp_test_data): Likewise.
27604 (hypot_test_data): Likewise.
27605 (ilogb_test_data): Likewise.
27606
27607 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27608
27609 * debug/fortify_fail.c (__fortify_fail): Convert to
27610 prototype-style function definition. Use internal_function.
27611 * libio/genops.c (save_for_backup): Convert to prototype-style
27612 function definition.
27613 * libio/wgenops.c (save_for_wbackup): Likewise.
27614 * login/grantpt.c (grantpt): Likewise.
27615 * login/ptsname.c (ptsname): Likewise.
27616 (__ptsname_r): Likewise.
27617 * login/unlockpt.c (unlockpt): Likewise.
27618 * mach/msgserver.c (__mach_msg_server): Likewise.
27619 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27620 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27621 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27622 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27623 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27624 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27625 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27626 Likewise.
27627 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27628 internal_function.
27629 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27630 prototype-style function definition.
27631 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27632 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27633 (__pthread_create_2_0): Likewise.
27634 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27635 * nptl/register-atfork.c (__register_atfork): Likewise.
27636 * posix/glob.c (glob): Likewise.
27637 * posix/regcomp.c (re_comp): Likewise.
27638 * posix/regexec.c (re_exec): Likewise.
27639 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27640 [!__STDC__]: Remove conditional code.
27641 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27642 [!__STDC__]: Remove conditional code.
27643 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27644 [!__STDC__]: Remove conditional code.
27645 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27646 [!__STDC__]: Remove conditional code.
27647 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27648 [!__STDC__]: Remove conditional code.
27649 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27650 [!__STDC__]: Remove conditional code.
27651 * stdlib/mul.c [__STDC__]: Make code unconditional.
27652 [!__STDC__]: Remove conditional code.
27653 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27654 [!__STDC__]: Remove conditional code.
27655 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27656 [!__STDC__]: Remove conditional code.
27657 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27658 function definition.
27659 (STRTOF): Likewise.
27660 * stdlib/strtod_l.c (__STRTOF): Likewise.
27661 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27662 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27663 (__strtol_l): Likewise.
27664 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27665 [!__STDC__]: Remove conditional code.
27666 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27667 definition.
27668 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27669 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27670 type.
27671 (__strcasecmp): Convert to prototype-style function definition.
27672 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27673 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27674 type.
27675 (__strncasecmp): Convert to prototype-style function definition.
27676 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27677 * sunrpc/xdr.c (xdr_union): Likewise.
27678 * sunrpc/xdr_array.c (xdr_array): Likewise.
27679 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27680 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27681 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27682 Likewise.
27683 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27684 Likewise.
27685 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27686 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27687 Likewise.
27688 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27689 (LOCALE_PARAM_PROTO): Likewise.
27690 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27691 argument type.
27692 (ut_argument_spec): Remove macro.
27693 (ut_argument_spec_iso): Rename to ut_argument_spec.
27694 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27695 prototype-style function definition.
27696 (memcpy_uppcase): Likewise.
27697 (__strftime_internal): Likewise.
27698 (my_strftime): Likewise.
27699 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27700 (LOCALE_PARAM_DECL): Likewise.
27701 [_LIBC] (LOCALE_PARAM): Include argument type.
27702 (__strptime_internal): Convert to prototype-style function
27703 definition.
27704 (strptime): Likewise.
27705 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27706 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27707 type.
27708 (__wcscasecmp): Convert to prototype-style function definition.
27709 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27710 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27711 type.
27712 (__wcsncasecmp): Convert to prototype-style function definition.
27713
27714 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27715 function definition.
27716 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27717 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27718 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27719 * elf/dl-minimal.c (_itoa): Likewise.
27720 * hurd/hurdmalloc.c (malloc): Likewise.
27721 (free): Likewise.
27722 (realloc): Likewise.
27723 * inet/inet6_option.c (inet6_option_space): Likewise.
27724 (inet6_option_init): Likewise.
27725 (inet6_option_append): Likewise.
27726 (inet6_option_alloc): Likewise.
27727 (inet6_option_next): Likewise.
27728 (inet6_option_find): Likewise.
27729 * io/ftw.c (FTW_NAME): Likewise.
27730 (NFTW_NAME): Likewise.
27731 (NFTW_NEW_NAME): Likewise.
27732 (NFTW_OLD_NAME): Likewise.
27733 * libio/iofwide.c (_IO_fwide): Likewise.
27734 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27735 (_IO_str_init_static): Likewise.
27736 (_IO_str_init_readonly): Likewise.
27737 (_IO_str_overflow): Likewise.
27738 (_IO_str_underflow): Likewise.
27739 (_IO_str_count): Likewise.
27740 (_IO_str_seekoff): Likewise.
27741 (_IO_str_pbackfail): Likewise.
27742 (_IO_str_finish): Likewise.
27743 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27744 (_IO_wstr_overflow): Likewise.
27745 (_IO_wstr_underflow): Likewise.
27746 (_IO_wstr_count): Likewise.
27747 (_IO_wstr_seekoff): Likewise.
27748 (_IO_wstr_pbackfail): Likewise.
27749 (_IO_wstr_finish): Likewise.
27750 * locale/programs/localedef.c (normalize_codeset): Likewise.
27751 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27752 (add_locales_to_archive): Likewise.
27753 (delete_locales_from_archive): Likewise.
27754 * malloc/malloc.c (__libc_mallinfo): Likewise.
27755 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27756 * misc/tsearch.c (__tfind): Likewise.
27757 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27758 * nptl/pthread_attr_getdetachstate.c
27759 (__pthread_attr_getdetachstate): Likewise.
27760 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27761 Likewise.
27762 * nptl/pthread_attr_getinheritsched.c
27763 (__pthread_attr_getinheritsched): Likewise.
27764 * nptl/pthread_attr_getschedparam.c
27765 (__pthread_attr_getschedparam): Likewise.
27766 * nptl/pthread_attr_getschedpolicy.c
27767 (__pthread_attr_getschedpolicy): Likewise.
27768 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27769 Likewise.
27770 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27771 Likewise.
27772 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27773 Likewise.
27774 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27775 Likewise.
27776 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27777 (__pthread_attr_init_2_0): Likewise.
27778 * nptl/pthread_attr_setdetachstate.c
27779 (__pthread_attr_setdetachstate): Likewise.
27780 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27781 Likewise.
27782 * nptl/pthread_attr_setinheritsched.c
27783 (__pthread_attr_setinheritsched): Likewise.
27784 * nptl/pthread_attr_setschedparam.c
27785 (__pthread_attr_setschedparam): Likewise.
27786 * nptl/pthread_attr_setschedpolicy.c
27787 (__pthread_attr_setschedpolicy): Likewise.
27788 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27789 Likewise.
27790 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27791 Likewise.
27792 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27793 Likewise.
27794 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27795 Likewise.
27796 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27797 Likewise.
27798 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27799 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27800 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27801 use internal_function.
27802 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27803 prototype-style function definition.
27804 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27805 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27806 internal_function.
27807 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27808 Convert to prototype-style function definition.
27809 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27810 Likewise.
27811 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27812 Likewise.
27813 (__pthread_mutex_unlock): Likewise.
27814 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27815 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27816 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27817 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27818 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27819 * nss/makedb.c (process_input): Likewise.
27820 * posix/fnmatch.c (__strchrnul): Likewise.
27821 (__wcschrnul): Likewise.
27822 (fnmatch): Likewise.
27823 * posix/fnmatch_loop.c (FCT): Likewise.
27824 * posix/glob.c (globfree): Likewise.
27825 (__glob_pattern_type): Likewise.
27826 (__glob_pattern_p): Likewise.
27827 * posix/regcomp.c (re_compile_pattern): Likewise.
27828 (re_set_syntax): Likewise.
27829 (re_compile_fastmap): Likewise.
27830 (regcomp): Likewise.
27831 (regerror): Likewise.
27832 (regfree): Likewise.
27833 * posix/regexec.c (regexec): Likewise.
27834 (re_match): Likewise.
27835 (re_search): Likewise.
27836 (re_match_2): Likewise.
27837 (re_search_2): Likewise.
27838 (re_search_stub): Likewise. Use internal_function
27839 (re_copy_regs): Likewise.
27840 (re_set_registers): Convert to prototype-style function
27841 definition.
27842 (prune_impossible_nodes): Likewise. Use internal_function.
27843 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27844 prototype-style function definition.
27845 (inet_net_pton_ipv4): Likewise.
27846 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27847 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27848 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27849 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27850 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27851 Make variadic.
27852 * time/strptime_l.c (localtime_r): Convert to prototype-style
27853 function definition.
27854 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27855 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27856 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27857 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27858
27859 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27860 definition.
27861 (_ufc_doit_r): Likewise.
27862 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27863 (_ufc_output_conversion_r): Likewise.
27864 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27865 * inet/rcmd.c (rcmd_af): Likewise.
27866 (rcmd): Likewise.
27867 (ruserok_af): Likewise.
27868 (ruserok): Likewise.
27869 (ruserok2_sa): Likewise.
27870 (ruserok_sa): Likewise.
27871 (iruserok_af): Likewise.
27872 (iruserok): Likewise.
27873 (__ivaliduser): Likewise.
27874 (__validuser2_sa): Likewise.
27875 * inet/rexec.c (rexec_af): Likewise.
27876 (rexec): Likewise.
27877 * inet/ruserpass.c (ruserpass): Likewise.
27878 * locale/programs/xmalloc.c (xcalloc): Likewise.
27879 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27880 * math/w_drem.c (__drem): Likewise.
27881 * math/w_dremf.c (__dremf): Likewise.
27882 * math/w_dreml.c (__dreml): Likewise.
27883 * misc/daemon.c (daemon): Likewise.
27884 * resolv/res_debug.c (p_fqnname): Likewise.
27885 * stdlib/div.c (div): Likewise.
27886 * string/memcmp.c (memcmp_bytes): Likewise.
27887 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27888 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27889
27890 * crypt/cert.c (main): Convert to prototype-style function
27891 definition.
27892 * io/pipe.c (__pipe): Likewise.
27893 * io/pipe2.c (__pipe2): Likewise.
27894 * misc/futimesat.c (futimesat): Likewise.
27895 * misc/utimes.c (__utimes): Likewise.
27896 * posix/execve.c (__execve): Likewise.
27897 * posix/execvp.c (execvp): Likewise.
27898 * posix/execvpe.c (__execvpe): Likewise.
27899 * posix/fexecve.c (fexecve): Likewise.
27900 * socket/socketpair.c (socketpair): Likewise.
27901 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27902 * stdlib/erand48.c (erand48): Likewise.
27903 * stdlib/erand48_r.c (__erand48_r): Likewise.
27904 * stdlib/jrand48.c (jrand48): Likewise.
27905 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27906 * stdlib/lcong48.c (lcong48): Likewise.
27907 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27908 * stdlib/nrand48.c (nrand48): Likewise.
27909 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27910 * stdlib/seed48.c (seed48): Likewise.
27911 * stdlib/seed48_r.c (__seed48_r): Likewise.
27912 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27913 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27914 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27915
27916 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27917
27918 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27919 * configure: Regenerated.
27920 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27921 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27922 unconditional.
27923 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27924 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27925 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27926 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27927 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27928 unconditional.
27929 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27930
27931 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27932 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27933
27934 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27935 function definition.
27936 * crypt/crypt_util.c (__encrypt_r): Likewise.
27937 * libio/genops.c (_IO_no_init): Likewise.
27938 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27939 (_IO_old_fopencookie): Likewise.
27940 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27941 * libio/iogetline.c (_IO_getline): Likewise.
27942 (_IO_getline_info): Likewise.
27943 * libio/iogetwline.c (_IO_getwline): Likewise.
27944 (_IO_getwline_info): Likewise.
27945 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27946 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27947 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27948 (find_entry): Likewise.
27949 (iterate_table): Likewise.
27950 (lookup): Likewise.
27951 * login/forkpty.c (forkpty): Likewise.
27952 * misc/hsearch_r.c (__hsearch_r): Likewise.
27953 * misc/select.c (__select): Likewise.
27954 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27955 Likewise.
27956 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27957 Likewise.
27958 * nptl/old_pthread_cond_timedwait.c
27959 (__pthread_cond_timedwait_2_0): Likewise.
27960 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27961 * nptl/pthread_barrierattr_getpshared.c
27962 (pthread_barrierattr_getpshared): Likewise.
27963 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27964 Likewise.
27965 * nptl/pthread_mutex_setprioceiling.c
27966 (pthread_mutex_setprioceiling): Likewise.
27967 * nptl/pthread_mutexattr_getprioceiling.c
27968 (pthread_mutexattr_getprioceiling): Likewise.
27969 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27970 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27971 Likewise.
27972 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27973 Likewise.
27974 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27975 Likewise.
27976 * socket/recvfrom.c (__recvfrom): Likewise.
27977 * socket/sendto.c (__sendto): Likewise.
27978 * socket/setsockopt.c (__setsockopt): Likewise.
27979 * stdio-common/_itoa.c (_itoa): Likewise.
27980 * stdio-common/_itowa.c (_itowa): Likewise.
27981 * stdio-common/reg-printf.c (__register_printf_specifier):
27982 Likewise.
27983 (__register_printf_function): Likewise.
27984 * stdio-common/tempname.c (__path_search): Likewise.
27985 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27986 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27987 * stdlib/random_r.c (__initstate_r): Likewise.
27988 * stdlib/setenv.c (__add_to_environ): Likewise.
27989 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27990 * streams/getpmsg.c (getpmsg): Likewise.
27991 * streams/putmsg.c (putmsg): Likewise.
27992 * streams/putpmsg.c (putpmsg): Likewise.
27993 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27994 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27995 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27996 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27997 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27998 * sunrpc/svc_udp.c (cache_get): Likewise.
27999 * sunrpc/xdr_array.c (xdr_vector): Likewise.
28000 * sysdeps/mach/hurd/getcwd.c
28001 (__canonicalize_directory_name_internal): Likewise.
28002 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28003 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28004 * sysdeps/mach/hurd/select.c (__select): Likewise.
28005 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28006 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28007 * sysdeps/sparc/nptl/pthread_barrier_init.c
28008 (__pthread_barrier_init): Likewise.
28009 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28010 (__pthread_cond_timedwait): Likewise.
28011 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28012 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28013 Likewise.
28014 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28015 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28016 Likewise.
28017 * sysvipc/semtimedop.c (semtimedop): Likewise.
28018 * time/setitimer.c (__setitimer): Likewise.
28019 * time/strftime_l.c (emacs_strftime): Likewise.
28020
28021 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28022
28023 * config.make.in (have-ssp): Delete.
28024 (stack-protector): New variable.
28025 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
28026 cache test for -fstack-protector-strong. Export stack_protector to
28027 the best ssp flag.
28028 * configure: Regenerated.
28029 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28030 * nscd/Makefile (CFLAGS-nscd): Likewise.
28031 * resolv/Makefile (CFLAGS-libresolv): Likewise.
28032
28033 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
28034
28035 [BZ #19122]
28036 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28037 attribute_hidden.
28038
28039 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28040
28041 [BZ #18743]
28042 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28043 code to...
28044 (ELIDE_LOCK): ...here.
28045 (__get_new_count): New function with part of the code from
28046 __elide_lock that updates the value of adapt_count after a
28047 transaction abort.
28048 (__elided_trylock): Moved this code to...
28049 (ELIDE_TRYLOCK): ...here.
28050
28051 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28052
28053 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28054 * configure: Regenerate.
28055 * INSTALL: Regenerate.
28056 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28057 and tweak grammar.
28058
28059 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
28060
28061 * login/programs/pt_chown.c: Include signal.h
28062 (main): Clear any signal mask from the parent process.
28063
28064 2015-10-19 Joseph Myers <joseph@codesourcery.com>
28065
28066 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28067 * configure: Regenerated.
28068 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28069 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28070 $(gnu89-inline-CFLAGS).
28071
28072 * configure.ac (libc_cv_asm_weak_directive): Remove configure
28073 test.
28074 (libc_cv_asm_weakext_directive): Likewise.
28075 * configure: Regenerated.
28076 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28077 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28078 * include/libc-symbols.h
28079 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28080 #error.
28081 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28082 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28083
28084 * sysdeps/arm/backtrace.c (__backtrace): Convert to
28085 prototype-style function definition.
28086 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28087 * sysdeps/i386/ffs.c (__ffs): Likewise.
28088 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28089 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28090 Likewise.
28091 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28092 Likewise.
28093 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28095 Likewise.
28096 * sysdeps/m68k/ffs.c (__ffs): Likewise.
28097 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28098 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28099 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28100 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28101 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28102 * sysdeps/mach/hurd/access.c (__access): Likewise.
28103 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28104 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28105 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28106 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28107 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28108 (cthread_getspecific): Likewise.
28109 (cthread_setspecific): Likewise.
28110 (__libc_getspecific): Likewise.
28111 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28112 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28113 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28114 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28115 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28116 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28117 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28118 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28119 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28120 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28121 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28122 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28123 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28124 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28125 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28126 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28127 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28128 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28129 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28130 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28131 * sysdeps/mach/hurd/link.c (__link): Likewise.
28132 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28133 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28134 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28135 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28136 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28137 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28138 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28139 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28140 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28141 * sysdeps/mach/hurd/rename.c (rename): Likewise.
28142 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28143 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28144 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28145 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28146 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28147 * sysdeps/mach/hurd/send.c (__send): Likewise.
28148 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28149 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28150 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28151 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28152 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28153 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28154 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28155 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28156 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28157 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28158 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28159 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28160 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28161 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28162 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28163 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28164 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28165 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28166 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28167 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28168 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28169 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28170 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28171 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28172 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28173 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28174 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28175 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28176 * sysdeps/posix/alarm.c (alarm): Likewise.
28177 * sysdeps/posix/cuserid.c (cuserid): Likewise.
28178 * sysdeps/posix/dirfd.c (dirfd): Likewise.
28179 * sysdeps/posix/dup.c (__dup): Likewise.
28180 * sysdeps/posix/dup2.c (__dup2): Likewise.
28181 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28182 (main): Likewise.
28183 * sysdeps/posix/flock.c (__flock): Likewise.
28184 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28185 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28186 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28187 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28188 * sysdeps/posix/isatty.c (__isatty): Likewise.
28189 * sysdeps/posix/killpg.c (killpg): Likewise.
28190 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28191 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28192 * sysdeps/posix/raise.c (raise): Likewise.
28193 * sysdeps/posix/remove.c (remove): Likewise.
28194 * sysdeps/posix/rename.c (rename): Likewise.
28195 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28196 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28197 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28198 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28199 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28200 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28201 * sysdeps/posix/sigset.c (sigset): Likewise.
28202 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28203 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28204 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28205 * sysdeps/posix/time.c (time): Likewise.
28206 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28207 (ttyname): Likewise.
28208 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28209 * sysdeps/posix/utime.c (utime): Likewise.
28210 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28211 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28212 Likewise.
28213 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28214 (pthread_spin_trylock): Likewise.
28215 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28216 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28217 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28218 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28219 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28220 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28221 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28222 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28223 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28224 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28225 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28226 * sysdeps/s390/ffs.c (__ffs): Likewise.
28227 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28228 Likewise.
28229 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28230 Likewise.
28231 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28232 Likewise.
28233 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28234 (pthread_barrier_destroy): Likewise.
28235 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28236 (__pthread_barrier_wait): Likewise.
28237 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28238 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28239 (__pthread_barrier_wait): Likewise.
28240 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28241 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28242 (memcmp_not_common_alignment): Likewise.
28243 (MEMCMP): Likewise.
28244 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28245 (_wordcopy_fwd_dest_aligned): Likewise.
28246 (_wordcopy_bwd_aligned): Likewise.
28247 (_wordcopy_bwd_dest_aligned): Likewise.
28248 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28249 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28250 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28251 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28252 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28253 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28254 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28255 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28256 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28257 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28258 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28259 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28260 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28261 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28262 * sysdeps/unix/stime.c (stime): Likewise.
28263 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28264 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28265 Likewise. Use internal_function.
28266 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28267 Convert to prototype-style function definition.
28268 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28269 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28270 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28271 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28272 Likewise. Use internal_function.
28273 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28274 prototype-style function definition
28275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28276 Likewise.
28277 (__getlogin_r): Likewise.
28278 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28279 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28280 (__pthread_cond_broadcast): Likewise.
28281 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28282 (__pthread_cond_destroy): Likewise.
28283 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28284 (__pthread_cond_init): Likewise.
28285 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28286 (__pthread_cond_signal): Likewise.
28287 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28288 (__pthread_cond_wait): Likewise.
28289 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28290 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28291 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28292 Likewise.
28293 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28294 Likewise.
28295 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28296 Likewise.
28297 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28298 Likewise.
28299 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28301 (__ftruncate64): Likewise.
28302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28303 (truncate64): Likewise.
28304 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28305 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28306 (pthread_getcpuclockid): Likewise.
28307 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28308 Likewise.
28309 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28310 Likewise.
28311 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28312 Likewise.
28313 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28314 Likewise.
28315 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28316 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28317 (__libc_sigaction): Likewise.
28318 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28319 Likewise.
28320 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28321 (__sigprocmask): Likewise.
28322 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28323 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28324 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28326 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28327 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28328 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28329 Likewise.
28330 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28331 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28332 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28333 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28335 Likewise.
28336 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28337 (__sigprocmask): Likewise.
28338 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28339 (cfgetispeed): Likewise.
28340 (cfsetospeed): Likewise.
28341 (cfsetispeed): Likewise.
28342 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28343 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28344 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28345 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28346 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28347 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28348 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28349 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28350 Likewise.
28351 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28352 Likewise.
28353 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28354 Likewise.
28355 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28356 Likewise.
28357 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28358
28359 2015-10-17 Florian Weimer <fweimer@redhat.com>
28360
28361 sunrpc: Rewrite with explicit TLS access using __thread.
28362 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28363 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28364 directly.
28365 (__rpc_thread_variables): Access thread_rpc_vars directly.
28366 Eliminate redundant assignment of the tvp variable.
28367
28368 2015-10-17 Florian Weimer <fweimer@redhat.com>
28369
28370 malloc: Rewrite with explicit TLS access using __thread.
28371 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28372 (tsd_setspecific, tsd_getspecific): Remove.
28373 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28374 (tsd_setspecific, tsd_getspecific): Likewise.
28375 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28376 (tsd_setspecific, tsd_getspecific): Likewise.
28377 * malloc/arena.c (thread_arena): New TLS variable.
28378 (arena_key): Remove variable.
28379 (arena_get): Use thread_arena.
28380 (arena_lookup): Remove macro.
28381 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28382 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28383 (_int_new_arena, get_free_list, reused_arena)
28384 (arena_thread_freeres): Use thread_arena.
28385 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28386 tsd_getspecific, tsd_setspecific from safety annotations.
28387 (Allocating Cleared Space): Remove arena_lookup from safety
28388 annotations.
28389
28390 2015-10-17 Florian Weimer <fweimer@redhat.com>
28391
28392 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28393 struct scratch_buffer instead of extend_alloca.
28394
28395 2015-10-17 Florian Weimer <fweimer@redhat.com>
28396
28397 * sysdeps/unix/sysv/linux/kernel-features.h
28398 (__ASSUME_SOCK_CLOEXEC): Remove.
28399 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28400 (__have_paccept): Remove unused macro.
28401 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28402 * misc/syslog.c (openlog_internal): Remove fallback code for
28403 !__ASSUME_SOCK_CLOEXEC.
28404 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28405 missing SOCK_CLOEXEC.
28406 * nscd/connections.c (have_sock_cloexec): Remove definition.
28407 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28408 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28409 !__ASSUME_SOCK_CLOEXEC.
28410 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28411 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28412 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28413 definition.
28414 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28415 code for !__ASSUME_SOCK_CLOEXEC.
28416
28417 2015-10-17 Florian Weimer <fweimer@redhat.com>
28418
28419 [BZ #18982]
28420 * manual/stdio.texi (Variable Arguments Output): Add portability
28421 note, explaining that vfprintf clobbers the va_list pointer.
28422
28423 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28424
28425 * math/libm-test.inc (fabs_test_data): Add more tests.
28426 (fdim_test_data): Likewise.
28427 (fma_test_data): Likewise.
28428 (fmax_test_data): Likewise.
28429 (fmin_test_data): Likewise.
28430 (fmod_test_data): Likewise.
28431
28432 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28433
28434 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28435 data.
28436
28437 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28438
28439 * math/libm-test.inc (ceil_test_data): Add more tests and more
28440 expectations for "inexact".
28441 (floor_test_data): Add more tests.
28442 (round_test_data): Likewise.
28443 (trunc_test_data): Likewise.
28444
28445 * crypt/cert.c (good_bye): Convert to prototype-style function
28446 definition.
28447 (get8): Likewise.
28448 (put8): Likewise.
28449 * crypt/crypt-entry.c (crypt): Likewise.
28450 (__fcrypt): Likewise.
28451 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28452 (_ufc_set_bits): Likewise.
28453 (_ufc_clearmem): Likewise.
28454 (__init_des_r): Likewise.
28455 (shuffle_sb): Likewise.
28456 (shuffle_sb): Likewise.
28457 (_ufc_setup_salt_r): Likewise.
28458 (_ufc_mk_keytab_r): Likewise.
28459 (_ufc_dofinalperm_r): Likewise.
28460 (encrypt): Likewise.
28461 (__setkey_r): Likewise.
28462 (setkey): Likewise.
28463 * crypt/md5.c (md5_init_ctx): Likewise.
28464 (md5_read_ctx): Likewise.
28465 (md5_finish_ctx): Likewise.
28466 (md5_stream): Likewise.
28467 (md5_buffer): Likewise.
28468 (md5_process_bytes): Likewise.
28469 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28470 (__sha256_finish_ctx): Likewise.
28471 (__sha256_process_bytes): Likewise.
28472 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28473 (__sha512_finish_ctx): Likewise.
28474 (__sha512_process_bytes): Likewise.
28475 * ctype/isctype.c (__isctype): Likewise.
28476 * debug/backtrace.c (__backtrace): Likewise.
28477 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28478 * debug/fgets_chk.c (__fgets_chk): Likewise.
28479 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28480 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28481 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28482 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28483 * debug/memset_chk.c (__memset_chk): Likewise.
28484 * debug/strcat_chk.c (__strcat_chk): Likewise.
28485 * debug/strncat_chk.c (__strncat_chk): Likewise.
28486 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28487 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28488 * dirent/dirfd.c (dirfd): Likewise.
28489 * dirent/getdents.c (__getdirentries): Likewise.
28490 * dirent/getdents64.c (getdirentries64): Likewise.
28491 * dirent/rewinddir.c (__rewinddir): Likewise.
28492 * dirent/seekdir.c (seekdir): Likewise.
28493 * dirent/telldir.c (telldir): Likewise.
28494 * elf/sln.c (makesymlinks): Likewise.
28495 (makesymlink): Likewise.
28496 * gmon/gmon.c (__moncontrol): Likewise.
28497 (__monstartup): Likewise.
28498 (write_hist): Likewise.
28499 (write_call_graph): Likewise.
28500 (write_bb_counts): Likewise.
28501 * grp/setgroups.c (setgroups): Likewise.
28502 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28503 * inet/inet_net.c (inet_network): Likewise.
28504 * inet/inet_netof.c (inet_netof): Likewise.
28505 * inet/rcmd.c (rresvport_af): Likewise.
28506 (rresvport): Likewise.
28507 * io/access.c (__access): Likewise.
28508 * io/chdir.c (__chdir): Likewise.
28509 * io/chmod.c (__chmod): Likewise.
28510 * io/chown.c (__chown): Likewise.
28511 * io/close.c (__close): Likewise.
28512 * io/creat.c (creat): Likewise.
28513 * io/creat64.c (creat64): Likewise.
28514 * io/dup.c (__dup): Likewise.
28515 * io/dup2.c (__dup2): Likewise.
28516 * io/dup3.c (__dup3): Likewise.
28517 * io/euidaccess.c (__euidaccess): Likewise.
28518 * io/faccessat.c (faccessat): Likewise.
28519 * io/fchmod.c (__fchmod): Likewise.
28520 * io/fchmodat.c (fchmodat): Likewise.
28521 * io/fchown.c (__fchown): Likewise.
28522 * io/fchownat.c (fchownat): Likewise.
28523 * io/fcntl.c (__fcntl): Likewise.
28524 * io/flock.c (__flock): Likewise.
28525 * io/fts.c (fts_load): Likewise.
28526 (fts_close): Likewise.
28527 (fts_read): Likewise.
28528 (fts_set): Likewise.
28529 (fts_children): Likewise.
28530 (fts_build): Likewise.
28531 (fts_stat): Likewise.
28532 (fts_sort): Likewise.
28533 (fts_alloc): Likewise.
28534 (fts_lfree): Likewise.
28535 (fts_palloc): Likewise.
28536 (fts_padjust): Likewise.
28537 (fts_maxarglen): Likewise.
28538 (fts_safe_changedir): Likewise.
28539 * io/getwd.c (getwd): Likewise.
28540 * io/isatty.c (__isatty): Likewise.
28541 * io/lchown.c (__lchown): Likewise.
28542 * io/link.c (__link): Likewise.
28543 * io/linkat.c (linkat): Likewise.
28544 * io/lseek.c (__libc_lseek): Likewise.
28545 * io/mkdir.c (__mkdir): Likewise.
28546 * io/mkdirat.c (mkdirat): Likewise.
28547 * io/mkfifo.c (mkfifo): Likewise.
28548 * io/mkfifoat.c (mkfifoat): Likewise.
28549 * io/open.c (__libc_open): Likewise.
28550 * io/open64.c (__libc_open64): Likewise.
28551 * io/readlink.c (__readlink): Likewise.
28552 * io/readlinkat.c (readlinkat): Likewise.
28553 * io/rmdir.c (__rmdir): Likewise.
28554 * io/symlink.c (__symlink): Likewise.
28555 * io/symlinkat.c (symlinkat): Likewise.
28556 * io/ttyname.c (ttyname): Likewise.
28557 * io/ttyname_r.c (__ttyname_r): Likewise.
28558 * io/umask.c (__umask): Likewise.
28559 * io/unlink.c (__unlink): Likewise.
28560 * io/unlinkat.c (unlinkat): Likewise.
28561 * io/utime.c (utime): Likewise.
28562 * libio/clearerr.c (clearerr): Likewise.
28563 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28564 * libio/feof.c (_IO_feof): Likewise.
28565 * libio/feof_u.c (feof_unlocked): Likewise.
28566 * libio/ferror.c (_IO_ferror): Likewise.
28567 * libio/ferror_u.c (ferror_unlocked): Likewise.
28568 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28569 * libio/fileno.c (__fileno): Likewise.
28570 * libio/fputc.c (fputc): Likewise.
28571 * libio/fputc_u.c (fputc_unlocked): Likewise.
28572 * libio/fputwc.c (fputwc): Likewise.
28573 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28574 * libio/freopen.c (freopen): Likewise.
28575 * libio/freopen64.c (freopen64): Likewise.
28576 * libio/fseek.c (fseek): Likewise.
28577 * libio/fseeko.c (fseeko): Likewise.
28578 * libio/fseeko64.c (fseeko64): Likewise.
28579 * libio/ftello.c (__ftello): Likewise.
28580 * libio/ftello64.c (ftello64): Likewise.
28581 * libio/fwide.c (fwide): Likewise.
28582 * libio/genops.c (_IO_un_link): Likewise.
28583 (_IO_link_in): Likewise.
28584 (_IO_least_marker): Likewise.
28585 (_IO_switch_to_main_get_area): Likewise.
28586 (_IO_switch_to_backup_area): Likewise.
28587 (_IO_switch_to_get_mode): Likewise.
28588 (_IO_free_backup_area): Likewise.
28589 (_IO_switch_to_put_mode): Likewise.
28590 (__overflow): Likewise.
28591 (__underflow): Likewise.
28592 (__uflow): Likewise.
28593 (_IO_setb): Likewise.
28594 (_IO_doallocbuf): Likewise.
28595 (_IO_default_underflow): Likewise.
28596 (_IO_default_uflow): Likewise.
28597 (_IO_default_xsputn): Likewise.
28598 (_IO_sgetn): Likewise.
28599 (_IO_default_xsgetn): Likewise.
28600 (_IO_sync): Likewise.
28601 (_IO_default_setbuf): Likewise.
28602 (_IO_default_seekpos): Likewise.
28603 (_IO_default_doallocate): Likewise.
28604 (_IO_init): Likewise.
28605 (_IO_old_init): Likewise.
28606 (_IO_default_sync): Likewise.
28607 (_IO_default_finish): Likewise.
28608 (_IO_default_seekoff): Likewise.
28609 (_IO_sputbackc): Likewise.
28610 (_IO_sungetc): Likewise.
28611 (_IO_set_column): Likewise.
28612 (_IO_set_column): Likewise.
28613 (_IO_adjust_column): Likewise.
28614 (_IO_get_column): Likewise.
28615 (_IO_init_marker): Likewise.
28616 (_IO_remove_marker): Likewise.
28617 (_IO_marker_difference): Likewise.
28618 (_IO_marker_delta): Likewise.
28619 (_IO_seekmark): Likewise.
28620 (_IO_unsave_markers): Likewise.
28621 (_IO_nobackup_pbackfail): Likewise.
28622 (_IO_default_pbackfail): Likewise.
28623 (_IO_default_seek): Likewise.
28624 (_IO_default_stat): Likewise.
28625 (_IO_default_read): Likewise.
28626 (_IO_default_write): Likewise.
28627 (_IO_default_showmanyc): Likewise.
28628 (_IO_default_imbue): Likewise.
28629 (_IO_iter_next): Likewise.
28630 (_IO_iter_file): Likewise.
28631 * libio/getc.c (_IO_getc): Likewise.
28632 * libio/getwc.c (_IO_getwc): Likewise.
28633 * libio/iofclose.c (_IO_new_fclose): Likewise.
28634 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28635 * libio/iofflush.c (_IO_fflush): Likewise.
28636 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28637 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28638 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28639 * libio/iofgets.c (_IO_fgets): Likewise.
28640 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28641 * libio/iofgetws.c (fgetws): Likewise.
28642 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28643 * libio/iofopen64.c (_IO_fopen64): Likewise.
28644 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28645 (_IO_cookie_write): Likewise.
28646 (_IO_cookie_seek): Likewise.
28647 (_IO_cookie_close): Likewise.
28648 (_IO_cookie_seekoff): Likewise.
28649 (_IO_old_cookie_seek): Likewise.
28650 * libio/iofputs.c (_IO_fputs): Likewise.
28651 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28652 * libio/iofputws.c (fputws): Likewise.
28653 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28654 * libio/iofread.c (_IO_fread): Likewise.
28655 * libio/iofread_u.c (__fread_unlocked): Likewise.
28656 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28657 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28658 * libio/ioftell.c (_IO_ftell): Likewise.
28659 * libio/iofwrite.c (_IO_fwrite): Likewise.
28660 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28661 * libio/iogets.c (_IO_gets): Likewise.
28662 * libio/iopadn.c (_IO_padn): Likewise.
28663 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28664 (_IO_new_popen): Likewise.
28665 (_IO_new_proc_close): Likewise.
28666 * libio/ioputs.c (_IO_puts): Likewise.
28667 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28668 (_IO_seekoff): Likewise.
28669 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28670 (_IO_seekpos): Likewise.
28671 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28672 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28673 * libio/ioungetc.c (_IO_ungetc): Likewise.
28674 * libio/ioungetwc.c (ungetwc): Likewise.
28675 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28676 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28677 * libio/iowpadn.c (_IO_wpadn): Likewise.
28678 * libio/libc_fatal.c (__libc_fatal): Likewise.
28679 * libio/memstream.c (__open_memstream): Likewise.
28680 (_IO_mem_sync): Likewise.
28681 (_IO_mem_finish): Likewise.
28682 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28683 (_IO_old_file_close_it): Likewise.
28684 (_IO_old_file_finish): Likewise.
28685 (_IO_old_file_fopen): Likewise.
28686 (_IO_old_file_attach): Likewise.
28687 (_IO_old_file_setbuf): Likewise.
28688 (_IO_old_do_write): Likewise.
28689 (old_do_write): Likewise.
28690 (_IO_old_file_underflow): Likewise.
28691 (_IO_old_file_overflow): Likewise.
28692 (_IO_old_file_sync): Likewise.
28693 (_IO_old_file_seekoff): Likewise.
28694 (_IO_old_file_write): Likewise.
28695 (_IO_old_file_xsputn): Likewise.
28696 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28697 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28698 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28699 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28700 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28701 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28702 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28703 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28704 (_IO_old_popen): Likewise.
28705 (_IO_old_proc_close): Likewise.
28706 * libio/oldpclose.c (__old_pclose): Likewise.
28707 * libio/pclose.c (__new_pclose): Likewise.
28708 * libio/peekc.c (_IO_peekc_locked): Likewise.
28709 * libio/putc.c (_IO_putc): Likewise.
28710 * libio/putc_u.c (putc_unlocked): Likewise.
28711 * libio/putchar.c (putchar): Likewise.
28712 * libio/putchar_u.c (putchar_unlocked): Likewise.
28713 * libio/putwc.c (putwc): Likewise.
28714 * libio/putwc_u.c (putwc_unlocked): Likewise.
28715 * libio/putwchar.c (putwchar): Likewise.
28716 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28717 * libio/rewind.c (rewind): Likewise.
28718 * libio/setbuf.c (setbuf): Likewise.
28719 * libio/setlinebuf.c (setlinebuf): Likewise.
28720 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28721 * libio/vscanf.c (_IO_vscanf): Likewise.
28722 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28723 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28724 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28725 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28726 (_IO_switch_to_main_wget_area): Likewise.
28727 (_IO_switch_to_wbackup_area): Likewise.
28728 (_IO_wsetb): Likewise.
28729 (_IO_wdefault_pbackfail): Likewise.
28730 (_IO_wdefault_finish): Likewise.
28731 (_IO_wdefault_uflow): Likewise.
28732 (__woverflow): Likewise.
28733 (__wuflow): Likewise.
28734 (__wunderflow): Likewise.
28735 (_IO_wdefault_xsputn): Likewise.
28736 (_IO_wdefault_xsgetn): Likewise.
28737 (_IO_wdoallocbuf): Likewise.
28738 (_IO_wdefault_doallocate): Likewise.
28739 (_IO_switch_to_wget_mode): Likewise.
28740 (_IO_free_wbackup_area): Likewise.
28741 (_IO_switch_to_wput_mode): Likewise.
28742 (_IO_sputbackwc): Likewise.
28743 (_IO_sungetwc): Likewise.
28744 (_IO_adjust_wcolumn): Likewise.
28745 (_IO_init_wmarker): Likewise.
28746 (_IO_wmarker_delta): Likewise.
28747 (_IO_seekwmark): Likewise.
28748 (_IO_unsave_wmarkers): Likewise.
28749 * libio/wmemstream.c (open_wmemstream): Likewise.
28750 (_IO_wmem_sync): Likewise.
28751 (_IO_wmem_finish): Likewise.
28752 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28753 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28754 * locale/programs/simple-hash.c (init_hash): Likewise.
28755 (delete_hash): Likewise.
28756 (insert_entry): Likewise.
28757 (set_entry): Likewise.
28758 (next_prime): Likewise.
28759 (is_prime): Likewise.
28760 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28761 (xmalloc): Likewise.
28762 (xrealloc): Likewise.
28763 * locale/programs/xstrdup.c (xstrdup): Likewise.
28764 * localedata/collate-test.c (xstrcoll): Likewise.
28765 * localedata/xfrm-test.c (xstrcmp): Likewise.
28766 * login/getlogin_r.c (__getlogin_r): Likewise.
28767 * login/getpt.c (__posix_openpt): Likewise.
28768 * login/login_tty.c (login_tty): Likewise.
28769 * login/setlogin.c (setlogin): Likewise.
28770 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28771 (mach_msg_destroy_port): Likewise.
28772 (mach_msg_destroy_memory): Likewise.
28773 * malloc/mcheck.c (flood): Likewise.
28774 * misc/acct.c (acct): Likewise.
28775 * misc/brk.c (__brk): Likewise.
28776 * misc/chflags.c (chflags): Likewise.
28777 * misc/chroot.c (chroot): Likewise.
28778 * misc/fchflags.c (fchflags): Likewise.
28779 * misc/fstab.c (getfsspec): Likewise.
28780 (getfsfile): Likewise.
28781 * misc/fsync.c (fsync): Likewise.
28782 * misc/ftruncate.c (__ftruncate): Likewise.
28783 * misc/ftruncate64.c (__ftruncate64): Likewise.
28784 * misc/getdomain.c (getdomainname): Likewise.
28785 (getdomainname): Likewise.
28786 * misc/gethostname.c (__gethostname): Likewise.
28787 * misc/getpass.c (getpass): Likewise.
28788 * misc/getttyent.c (skip): Likewise.
28789 (value): Likewise.
28790 * misc/gtty.c (gtty): Likewise.
28791 * misc/hsearch.c (hsearch): Likewise.
28792 (hcreate): Likewise.
28793 * misc/hsearch_r.c (__hcreate_r): Likewise.
28794 (__hdestroy_r): Likewise.
28795 * misc/ioctl.c (__ioctl): Likewise.
28796 * misc/mkdtemp.c (mkdtemp): Likewise.
28797 * misc/mkostemp.c (mkostemp): Likewise.
28798 * misc/mkostemp64.c (mkostemp64): Likewise.
28799 * misc/mkostemps.c (mkostemps): Likewise.
28800 * misc/mkostemps64.c (mkostemps64): Likewise.
28801 * misc/mkstemp.c (mkstemp): Likewise.
28802 * misc/mkstemp64.c (mkstemp64): Likewise.
28803 * misc/mkstemps.c (mkstemps): Likewise.
28804 * misc/mkstemps64.c (mkstemps64): Likewise.
28805 * misc/mktemp.c (__mktemp): Likewise.
28806 * misc/preadv.c (preadv): Likewise.
28807 * misc/preadv64.c (preadv64): Likewise.
28808 * misc/pwritev.c (pwritev): Likewise.
28809 * misc/pwritev64.c (pwritev64): Likewise.
28810 * misc/readv.c (__readv): Likewise.
28811 * misc/revoke.c (revoke): Likewise.
28812 * misc/setdomain.c (setdomainname): Likewise.
28813 * misc/setegid.c (setegid): Likewise.
28814 * misc/seteuid.c (seteuid): Likewise.
28815 * misc/sethostid.c (sethostid): Likewise.
28816 * misc/sethostname.c (sethostname): Likewise.
28817 * misc/setregid.c (__setregid): Likewise.
28818 * misc/setreuid.c (__setreuid): Likewise.
28819 * misc/sstk.c (sstk): Likewise.
28820 * misc/stty.c (stty): Likewise.
28821 * misc/syscall.c (syscall): Likewise.
28822 * misc/syslog.c (setlogmask): Likewise.
28823 * misc/truncate.c (__truncate): Likewise.
28824 * misc/truncate64.c (truncate64): Likewise.
28825 * misc/ualarm.c (ualarm): Likewise.
28826 * misc/usleep.c (usleep): Likewise.
28827 * misc/ustat.c (ustat): Likewise.
28828 * misc/writev.c (__writev): Likewise.
28829 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28830 * nptl/old_pthread_cond_broadcast.c
28831 (__pthread_cond_broadcast_2_0): Likewise.
28832 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28833 Likewise.
28834 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28835 Likewise.
28836 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28837 Likewise.
28838 * nptl/pt-raise.c (raise): Likewise.
28839 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28840 Likewise.
28841 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28842 * nptl/pthread_barrierattr_destroy.c
28843 (pthread_barrierattr_destroy): Likewise.
28844 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28845 Likewise.
28846 * nptl/pthread_barrierattr_setpshared.c
28847 (pthread_barrierattr_setpshared): Likewise.
28848 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28849 Likewise.
28850 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28851 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28852 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28853 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28854 Likewise.
28855 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28856 Likewise.
28857 * nptl/pthread_condattr_getpshared.c
28858 (pthread_condattr_getpshared): Likewise.
28859 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28860 Likewise.
28861 * nptl/pthread_condattr_setpshared.c
28862 (pthread_condattr_setpshared): Likewise.
28863 * nptl/pthread_detach.c (pthread_detach): Likewise.
28864 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28865 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28866 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28867 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28868 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28869 Likewise.
28870 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28871 Likewise.
28872 * nptl/pthread_mutex_getprioceiling.c
28873 (pthread_mutex_getprioceiling): Likewise.
28874 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28875 Likewise.
28876 * nptl/pthread_mutexattr_getprotocol.c
28877 (pthread_mutexattr_getprotocol): Likewise.
28878 * nptl/pthread_mutexattr_getpshared.c
28879 (pthread_mutexattr_getpshared): Likewise.
28880 * nptl/pthread_mutexattr_getrobust.c
28881 (pthread_mutexattr_getrobust): Likewise.
28882 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28883 Likewise.
28884 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28885 Likewise.
28886 * nptl/pthread_mutexattr_setprioceiling.c
28887 (pthread_mutexattr_setprioceiling): Likewise.
28888 * nptl/pthread_mutexattr_setprotocol.c
28889 (pthread_mutexattr_setprotocol): Likewise.
28890 * nptl/pthread_mutexattr_setpshared.c
28891 (pthread_mutexattr_setpshared): Likewise.
28892 * nptl/pthread_mutexattr_setrobust.c
28893 (pthread_mutexattr_setrobust): Likewise.
28894 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28895 Likewise.
28896 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28897 Likewise.
28898 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28899 Likewise.
28900 * nptl/pthread_rwlockattr_getkind_np.c
28901 (pthread_rwlockattr_getkind_np): Likewise.
28902 * nptl/pthread_rwlockattr_getpshared.c
28903 (pthread_rwlockattr_getpshared): Likewise.
28904 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28905 Likewise.
28906 * nptl/pthread_rwlockattr_setkind_np.c
28907 (pthread_rwlockattr_setkind_np): Likewise.
28908 * nptl/pthread_rwlockattr_setpshared.c
28909 (pthread_rwlockattr_setpshared): Likewise.
28910 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28911 Likewise.
28912 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28913 Likewise.
28914 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28915 Likewise.
28916 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28917 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28918 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28919 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28920 * nptl/sem_close.c (sem_close): Likewise.
28921 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28922 * nptl/sem_init.c (__old_sem_init): Likewise.
28923 * nptl/sigaction.c (__sigaction): Likewise.
28924 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28925 * posix/_exit.c (_exit): Likewise.
28926 * posix/alarm.c (alarm): Likewise.
28927 * posix/confstr.c (confstr): Likewise.
28928 * posix/fpathconf.c (__fpathconf): Likewise.
28929 * posix/getgroups.c (__getgroups): Likewise.
28930 * posix/getpgid.c (__getpgid): Likewise.
28931 * posix/group_member.c (__group_member): Likewise.
28932 * posix/pathconf.c (__pathconf): Likewise.
28933 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28934 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28935 * posix/setgid.c (__setgid): Likewise.
28936 * posix/setpgid.c (__setpgid): Likewise.
28937 * posix/setuid.c (__setuid): Likewise.
28938 * posix/sleep.c (__sleep): Likewise.
28939 * posix/sysconf.c (__sysconf): Likewise.
28940 * posix/times.c (__times): Likewise.
28941 * posix/uname.c (__uname): Likewise.
28942 * posix/waitid.c (__waitid): Likewise.
28943 * pwd/getpw.c (__getpw): Likewise.
28944 * resolv/base64.c (b64_pton): Likewise.
28945 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28946 * resolv/gethnamaddr.c (Dprintf): Likewise.
28947 (gethostbyname): Likewise.
28948 (gethostbyname2): Likewise.
28949 (gethostbyaddr): Likewise.
28950 (_sethtent): Likewise.
28951 (_gethtbyname): Likewise.
28952 (_gethtbyname2): Likewise.
28953 (_gethtbyaddr): Likewise.
28954 (map_v4v6_address): Likewise.
28955 (map_v4v6_hostent): Likewise.
28956 (addrsort): Likewise.
28957 (ht_sethostent): Likewise.
28958 (ht_gethostbyname): Likewise.
28959 (ht_gethostbyaddr): Likewise.
28960 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28961 (inet_net_ntop_ipv4): Likewise.
28962 * resolv/inet_neta.c (inet_neta): Likewise.
28963 * resolv/inet_ntop.c (inet_ntop): Likewise.
28964 (inet_ntop4): Likewise.
28965 (inet_ntop6): Likewise.
28966 * resolv/inet_pton.c (__inet_pton): Likewise.
28967 (inet_pton4): Likewise.
28968 (inet_pton6): Likewise.
28969 * resolv/res_debug.c (loc_aton): Likewise.
28970 (loc_ntoa): Likewise.
28971 * resource/getpriority.c (__getpriority): Likewise.
28972 * resource/getrusage.c (__getrusage): Likewise.
28973 * resource/nice.c (nice): Likewise.
28974 * resource/setpriority.c (__setpriority): Likewise.
28975 * resource/setrlimit64.c (setrlimit64): Likewise.
28976 * resource/vlimit.c (vlimit): Likewise.
28977 * resource/vtimes.c (vtimes): Likewise.
28978 * rt/aio_error.c (aio_error): Likewise.
28979 * rt/aio_return.c (aio_return): Likewise.
28980 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28981 * signal/kill.c (__kill): Likewise.
28982 * signal/killpg.c (killpg): Likewise.
28983 * signal/raise.c (raise): Likewise.
28984 * signal/sigaction.c (__sigaction): Likewise.
28985 * signal/sigaddset.c (sigaddset): Likewise.
28986 * signal/sigaltstack.c (sigaltstack): Likewise.
28987 * signal/sigandset.c (sigandset): Likewise.
28988 * signal/sigblock.c (__sigblock): Likewise.
28989 * signal/sigdelset.c (sigdelset): Likewise.
28990 * signal/sigempty.c (sigemptyset): Likewise.
28991 * signal/sigfillset.c (sigfillset): Likewise.
28992 * signal/sighold.c (sighold): Likewise.
28993 * signal/sigignore.c (sigignore): Likewise.
28994 * signal/sigintr.c (siginterrupt): Likewise.
28995 * signal/sigisempty.c (sigisemptyset): Likewise.
28996 * signal/sigismem.c (sigismember): Likewise.
28997 * signal/signal.c (signal): Likewise.
28998 * signal/sigorset.c (sigorset): Likewise.
28999 * signal/sigpause.c (__sigpause): Likewise.
29000 * signal/sigpending.c (sigpending): Likewise.
29001 * signal/sigprocmask.c (__sigprocmask): Likewise.
29002 * signal/sigrelse.c (sigrelse): Likewise.
29003 * signal/sigreturn.c (__sigreturn): Likewise.
29004 * signal/sigset.c (sigset): Likewise.
29005 * signal/sigsetmask.c (__sigsetmask): Likewise.
29006 * signal/sigstack.c (sigstack): Likewise.
29007 * signal/sigsuspend.c (__sigsuspend): Likewise.
29008 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29009 * signal/sysv_signal.c (__sysv_signal): Likewise.
29010 * socket/accept.c (accept): Likewise.
29011 * socket/accept4.c (__libc_accept4): Likewise.
29012 * socket/bind.c (__bind): Likewise.
29013 * socket/connect.c (__connect): Likewise.
29014 * socket/getpeername.c (getpeername): Likewise.
29015 * socket/getsockname.c (__getsockname): Likewise.
29016 * socket/getsockopt.c (getsockopt): Likewise.
29017 * socket/listen.c (__listen): Likewise.
29018 * socket/recv.c (__recv): Likewise.
29019 * socket/recvmsg.c (__recvmsg): Likewise.
29020 * socket/send.c (__send): Likewise.
29021 * socket/sendmsg.c (__sendmsg): Likewise.
29022 * socket/shutdown.c (shutdown): Likewise.
29023 * socket/sockatmark.c (sockatmark): Likewise.
29024 * socket/socket.c (__socket): Likewise.
29025 * stdio-common/ctermid.c (ctermid): Likewise.
29026 * stdio-common/cuserid.c (cuserid): Likewise.
29027 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29028 * stdio-common/remove.c (remove): Likewise.
29029 * stdio-common/rename.c (rename): Likewise.
29030 * stdio-common/renameat.c (renameat): Likewise.
29031 * stdio-common/tempname.c (__gen_tempname): Likewise.
29032 * stdio-common/xbug.c (InitBuffer): Likewise.
29033 (AppendToBuffer): Likewise.
29034 (ReadFile): Likewise.
29035 * stdlib/a64l.c (a64l): Likewise.
29036 * stdlib/drand48_r.c (drand48_r): Likewise.
29037 * stdlib/getcontext.c (getcontext): Likewise.
29038 * stdlib/getenv.c (getenv): Likewise.
29039 * stdlib/l64a.c (l64a): Likewise.
29040 * stdlib/llabs.c (llabs): Likewise.
29041 * stdlib/lldiv.c (lldiv): Likewise.
29042 * stdlib/lrand48_r.c (lrand48_r): Likewise.
29043 * stdlib/mrand48_r.c (mrand48_r): Likewise.
29044 * stdlib/putenv.c (putenv): Likewise.
29045 * stdlib/random.c (__srandom): Likewise.
29046 (__initstate): Likewise.
29047 (__setstate): Likewise.
29048 * stdlib/random_r.c (__srandom_r): Likewise.
29049 (__setstate_r): Likewise.
29050 (__random_r): Likewise.
29051 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29052 * stdlib/setcontext.c (setcontext): Likewise.
29053 * stdlib/setenv.c (setenv): Likewise.
29054 (unsetenv): Likewise.
29055 * stdlib/srand48.c (srand48): Likewise.
29056 * stdlib/srand48_r.c (__srand48_r): Likewise.
29057 * stdlib/swapcontext.c (swapcontext): Likewise.
29058 * stdlib/system.c (__libc_system): Likewise.
29059 * stdlib/tst-strtod.c (expand): Likewise.
29060 * stdlib/tst-strtol.c (expand): Likewise.
29061 * stdlib/tst-strtoll.c (expand): Likewise.
29062 * streams/fattach.c (fattach): Likewise.
29063 * streams/fdetach.c (fdetach): Likewise.
29064 * streams/getmsg.c (getmsg): Likewise.
29065 * streams/isastream.c (isastream): Likewise.
29066 * string/ffs.c (__ffs): Likewise.
29067 * string/ffsll.c (ffsll): Likewise.
29068 * string/memcmp.c (memcmp_common_alignment): Likewise.
29069 (memcmp_not_common_alignment): Likewise.
29070 (MEMCMP): Likewise.
29071 * string/memcpy.c (memcpy): Likewise.
29072 * string/memmove.c (MEMMOVE): Likewise.
29073 * string/memset.c (memset): Likewise.
29074 * string/rawmemchr.c (RAWMEMCHR): Likewise.
29075 * string/strchrnul.c (STRCHRNUL): Likewise.
29076 * string/strerror.c (strerror): Likewise.
29077 * string/strndup.c (__strndup): Likewise.
29078 * string/strverscmp.c (__strverscmp): Likewise.
29079 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29080 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29081 (clnttcp_freeres): Likewise.
29082 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29083 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29084 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29085 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29086 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29087 (xdr_callhdr): Likewise.
29088 * sunrpc/rpcinfo.c (udpping): Likewise.
29089 (tcpping): Likewise.
29090 (pstatus): Likewise.
29091 (pmapdump): Likewise.
29092 (brdcst): Likewise.
29093 (deletereg): Likewise.
29094 (getprognum): Likewise.
29095 (getvers): Likewise.
29096 (get_inet_address): Likewise.
29097 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29098 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29099 (svcudp_stat): Likewise.
29100 (svcudp_recv): Likewise.
29101 (svcudp_reply): Likewise.
29102 (svcudp_getargs): Likewise.
29103 (svcudp_freeargs): Likewise.
29104 (svcudp_destroy): Likewise.
29105 * sunrpc/xdr.c (xdr_bytes): Likewise.
29106 (xdr_netobj): Likewise.
29107 (xdr_string): Likewise.
29108 (xdr_wrapstring): Likewise.
29109 * sunrpc/xdr_float.c (xdr_float): Likewise.
29110 (xdr_double): Likewise.
29111 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29112 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29113 * sysvipc/ftok.c (ftok): Likewise.
29114 * sysvipc/msgctl.c (msgctl): Likewise.
29115 * sysvipc/msgget.c (msgget): Likewise.
29116 * sysvipc/msgrcv.c (msgrcv): Likewise.
29117 * sysvipc/msgsnd.c (msgsnd): Likewise.
29118 * sysvipc/semget.c (semget): Likewise.
29119 * sysvipc/semop.c (semop): Likewise.
29120 * sysvipc/shmat.c (shmat): Likewise.
29121 * sysvipc/shmctl.c (shmctl): Likewise.
29122 * sysvipc/shmdt.c (shmdt): Likewise.
29123 * sysvipc/shmget.c (shmget): Likewise.
29124 * termios/cfmakeraw.c (cfmakeraw): Likewise.
29125 * termios/speed.c (cfgetospeed): Likewise.
29126 (cfgetispeed): Likewise.
29127 (cfsetospeed): Likewise.
29128 (cfsetispeed): Likewise.
29129 * termios/tcflow.c (tcflow): Likewise.
29130 * termios/tcflush.c (tcflush): Likewise.
29131 * termios/tcgetattr.c (__tcgetattr): Likewise.
29132 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29133 * termios/tcgetsid.c (tcgetsid): Likewise.
29134 * termios/tcsendbrk.c (tcsendbreak): Likewise.
29135 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29136 * time/adjtime.c (__adjtime): Likewise.
29137 * time/dysize.c (dysize): Likewise.
29138 * time/ftime.c (ftime): Likewise.
29139 * time/getitimer.c (__getitimer): Likewise.
29140 * time/gettimeofday.c (__gettimeofday): Likewise.
29141 * time/gmtime.c (__gmtime_r): Likewise.
29142 (gmtime): Likewise.
29143 * time/localtime.c (__localtime_r): Likewise.
29144 (localtime): Likewise.
29145 * time/offtime.c (__offtime): Likewise.
29146 * time/settimeofday.c (__settimeofday): Likewise.
29147 * time/stime.c (stime): Likewise.
29148 * time/strftime_l.c (tm_diff): Likewise.
29149 (iso_week_days): Likewise.
29150 * time/strptime.c (strptime): Likewise.
29151 * time/time.c (time): Likewise.
29152 * time/timespec_get.c (timespec_get): Likewise.
29153 * time/tzset.c (tzset_internal): Likewise.
29154 (compute_change): Likewise.
29155 (__tz_compute): Likewise.
29156 * wcsmbs/btowc.c (__btowc): Likewise.
29157 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29158 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29159 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29160 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29161 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29162 * wcsmbs/wcscat.c (__wcscat): Likewise.
29163 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29164 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29165 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29166 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29167 * wcsmbs/wcsdup.c (wcsdup): Likewise.
29168 * wcsmbs/wcslen.c (__wcslen): Likewise.
29169 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29170 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29171 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29172 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29173 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29174 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29175 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29176 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29177 * wcsmbs/wcstok.c (wcstok): Likewise.
29178 * wcsmbs/wctob.c (wctob): Likewise.
29179 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29180 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29181 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29182 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29183 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29184 * wcsmbs/wmemset.c (__wmemset): Likewise.
29185 * wctype/wcfuncs.c (__towlower): Likewise.
29186 (__towupper): Likewise.
29187
29188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29189 (lll_unlock_elision): Add adapt_count parameter.
29190
29191 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29192
29193 * sysdeps/nptl/configure.ac: Do not give errors based on the
29194 results of top-level configure tests.
29195 * sysdeps/nptl/configure: Regenerated.
29196
29197 * configure.ac (libc_cv_Bgroup): Remove configure test.
29198 * configure: Regenerated.
29199 * config.make.in (have-Bgroup): Remove variable.
29200
29201 * configure.ac (sizeof_long_double): Remove configure test.
29202 * configure: Regenerated.
29203 * config.make.in (sizeof-long-double): Remove variable.
29204
29205 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29206 * configure: Regenerated.
29207 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29208 variable.
29209 (exceptions): Likewise.
29210 * sysdeps/arm/configure: Regenerated.
29211 * config.make.in (exceptions): Remove variable.
29212 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29213 $(exceptions).
29214 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29215 (CFLAGS-vdprintf_chk.c): Likewise.
29216 (CFLAGS-printf_chk.c): Likewise.
29217 (CFLAGS-fprintf_chk.c): Likewise.
29218 (CFLAGS-vprintf_chk.c): Likewise.
29219 (CFLAGS-vfprintf_chk.c): Likewise.
29220 (CFLAGS-gets_chk.c): Likewise.
29221 (CFLAGS-fgets_chk.c): Likewise.
29222 (CFLAGS-fgets_u_chk.c): Likewise.
29223 (CFLAGS-fread_chk.c): Likewise.
29224 (CFLAGS-fread_u_chk.c): Likewise.
29225 (CFLAGS-wprintf_chk.c): Likewise.
29226 (CFLAGS-fwprintf_chk.c): Likewise.
29227 (CFLAGS-vwprintf_chk.c): Likewise.
29228 (CFLAGS-vfwprintf_chk.c): Likewise.
29229 (CFLAGS-fgetws_chk.c): Likewise.
29230 (CFLAGS-fgetws_u_chk.c): Likewise.
29231 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29232 (CFLAGS-fputc.c): Likewise.
29233 (CFLAGS-fputwc.c): Likewise.
29234 (CFLAGS-freopen64.c): Likewise.
29235 (CFLAGS-freopen.c): Likewise.
29236 (CFLAGS-fseek.c): Likewise.
29237 (CFLAGS-fseeko64.c): Likewise.
29238 (CFLAGS-fseeko.c): Likewise.
29239 (CFLAGS-ftello64.c): Likewise.
29240 (CFLAGS-ftello.c): Likewise.
29241 (CFLAGS-fwide.c): Likewise.
29242 (CFLAGS-genops.c): Likewise.
29243 (CFLAGS-getc.c): Likewise.
29244 (CFLAGS-getchar.c): Likewise.
29245 (CFLAGS-getwc.c): Likewise.
29246 (CFLAGS-getwchar.c): Likewise.
29247 (CFLAGS-iofclose.c): Likewise.
29248 (CFLAGS-iofflush.c): Likewise.
29249 (CFLAGS-iofgetpos64.c): Likewise.
29250 (CFLAGS-iofgetpos.c): Likewise.
29251 (CFLAGS-iofgets.c): Likewise.
29252 (CFLAGS-iofgetws.c): Likewise.
29253 (CFLAGS-iofputs.c): Likewise.
29254 (CFLAGS-iofputws.c): Likewise.
29255 (CFLAGS-iofread.c): Likewise.
29256 (CFLAGS-iofsetpos64.c): Likewise.
29257 (CFLAGS-iofsetpos.c): Likewise.
29258 (CFLAGS-ioftell.c): Likewise.
29259 (CFLAGS-iofwrite.c): Likewise.
29260 (CFLAGS-iogetdelim.c): Likewise.
29261 (CFLAGS-iogetline.c): Likewise.
29262 (CFLAGS-iogets.c): Likewise.
29263 (CFLAGS-iogetwline.c): Likewise.
29264 (CFLAGS-ioputs.c): Likewise.
29265 (CFLAGS-ioseekoff.c): Likewise.
29266 (CFLAGS-ioseekpos.c): Likewise.
29267 (CFLAGS-iosetbuffer.c): Likewise.
29268 (CFLAGS-iosetvbuf.c): Likewise.
29269 (CFLAGS-ioungetc.c): Likewise.
29270 (CFLAGS-ioungetwc.c): Likewise.
29271 (CFLAGS-oldfileops.c): Likewise.
29272 (CFLAGS-oldiofclose.c): Likewise.
29273 (CFLAGS-oldiofgetpos64.c): Likewise.
29274 (CFLAGS-oldiofgetpos.c): Likewise.
29275 (CFLAGS-oldiofsetpos64.c): Likewise.
29276 (CFLAGS-oldiofsetpos.c): Likewise.
29277 (CFLAGS-peekc.c): Likewise.
29278 (CFLAGS-putc.c): Likewise.
29279 (CFLAGS-putchar.c): Likewise.
29280 (CFLAGS-putwc.c): Likewise.
29281 (CFLAGS-putwchar.c): Likewise.
29282 (CFLAGS-rewind.c): Likewise.
29283 (CFLAGS-wfileops.c): Likewise.
29284 (CFLAGS-wgenops.c): Likewise.
29285 (CFLAGS-oldiofopen.c): Likewise.
29286 (CFLAGS-iofopen.c): Likewise.
29287 (CFLAGS-iofopen64.c): Likewise.
29288 (CFLAGS-oldtmpfile.c): Likewise.
29289 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29290 (CFLAGS-fprintf.c): Likewise.
29291 (CFLAGS-printf.c): Likewise.
29292 (CFLAGS-vfwprintf.c): Likewise.
29293 (CFLAGS-vfscanf.c): Likewise.
29294 (CFLAGS-vfwscanf.c): Likewise.
29295 (CFLAGS-fscanf.c): Likewise.
29296 (CFLAGS-scanf.c): Likewise.
29297 (CFLAGS-isoc99_vfscanf.c): Likewise.
29298 (CFLAGS-isoc99_vscanf.c): Likewise.
29299 (CFLAGS-isoc99_fscanf.c): Likewise.
29300 (CFLAGS-isoc99_scanf.c): Likewise.
29301 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29302 (CFLAGS-isoc99_fwscanf.c): Likewise.
29303 (CFLAGS-isoc99_vwscanf.c): Likewise.
29304 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29305
29306 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29307 after mkstemp64.
29308 * login/tst-utmp.c (do_prepare): Likewise.
29309 * rt/tst-aio.c (do_prepare): Likewise.
29310 * rt/tst-aio64.c (do_prepare): Likewise.
29311
29312 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29313
29314 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29315 (__lll_lock_elision): Remove adapt_count decrement...
29316 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29317 (__lll_trylock_elision): Likewise.
29318 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29319 (__lll_unlock_elision): ... to here. And utilize
29320 new adapt_count parameter.
29321 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29322 (__lll_unlock_elision): Update to include adapt_count
29323 parameter.
29324 (lll_unlock_elision): Pass pointer to adapt_count
29325 variable.
29326
29327 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29328
29329 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29330 Add elision adapt_count parameter to list of arguments.
29331 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29332 (lll_unlock_elision): Update with new parameter list
29333 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29334 (lll_unlock_elision): Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29336 (lll_unlock_elision): Likewise.
29337
29338 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 [BZ #19122]
29341 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29342 attribute_hidden.
29343
29344 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29345 attribute_hidden.
29346 [IS_IN (rtld)] (__strdup): Likewise.
29347 [IS_IN (rtld)] (__strerror_r): Likewise.
29348 [IS_IN (rtld)] (__strsep_g): Likewise.
29349 [IS_IN (rtld)] (memchr): Likewise.
29350 [IS_IN (rtld)] (memcmp): Likewise.
29351 [IS_IN (rtld)] (memcpy): Likewise.
29352 [IS_IN (rtld)] (memmove): Likewise.
29353 [IS_IN (rtld)] (memset): Likewise.
29354 [IS_IN (rtld)] (rawmemchr): Likewise.
29355 [IS_IN (rtld)] (stpcpy): Likewise.
29356 [IS_IN (rtld)] (strchr): Likewise.
29357 [IS_IN (rtld)] (strcmp): Likewise.
29358 [IS_IN (rtld)] (strlen): Likewise.
29359 [IS_IN (rtld)] (strnlen): Likewise.
29360 [IS_IN (rtld)] (strsep): Likewise.
29361
29362 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29363 attribute_hidden.
29364 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29365
29366 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29367 attribute_hidden.
29368 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29369
29370 * include/setjmp.h (__longjmp): Add attribute_hidden.
29371 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29372
29373 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29374 Add attribute_hidden.
29375
29376 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29377 [IS_IN (rtld)] (__open): Likewise.
29378 [IS_IN (rtld)] (__fcntl): Likewise.
29379
29380 * include/dirent.h (__opendirat): Add attribute_hidden.
29381 (__getdents): Likewise.
29382 (__getdents64): Likewise.
29383 (__alloc_dir): Likewise.
29384 [IS_IN (rtld)] (__closedir): Likewise.
29385 [IS_IN (rtld)] (__fdopendir): Likewise.
29386 [IS_IN (rtld)] (__readdir): Likewise.
29387 [IS_IN (rtld)] (__readdir64): Likewise.
29388 [IS_IN (rtld)] (__rewinddir): Likewise.
29389
29390 * include/dlfcn.h (_dl_catch_error): Moved to ...
29391 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29392 attribute_hidden.
29393
29394 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29395 (_itoa_word): Likewise.
29396
29397 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29398 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29399 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29400 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29401 (_dl_higher_prime_number): Likewise.
29402 (_dl_debug_printf_c): Likewise.
29403 (_dl_signal_cerror): Likewise.
29404 (_dl_receive_error): Likewise.
29405 (_dl_reloc_bad_type): Likewise.
29406 (_dl_resolve_conflicts): Likewise.
29407 (_dl_check_all_versions): Likewise.
29408 (_dl_check_map_versions): Likewise.
29409 (_dl_sort_fini): Likewise.
29410 (_dl_debug_initialize): Likewise.
29411 (_dl_init_paths): Likewise.
29412 (_dl_show_auxv): Likewise.
29413 (_dl_next_ld_env_entry): Likewise.
29414 (_dl_important_hwcaps): Likewise.
29415 (_dl_load_cache_lookup): Likewise.
29416 (_dl_update_slotinfo): Likewise.
29417 (_dl_show_scope): Likewise.
29418
29419 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29420 attribute_hidden.
29421 (_wordcopy_fwd_dest_aligned): Likewise.
29422 (_wordcopy_bwd_aligned): Likewise.
29423 (_wordcopy_bwd_dest_aligned): Likewise.
29424
29425 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29426 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29427 Likewise.
29428 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29429 Likewise.
29430 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29431
29432 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29433
29434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29435 GCC 5 requirement.
29436
29437 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29438
29439 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29440 test.
29441 * sysdeps/i386/configure: Regenerated.
29442 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29443 code unconditional.
29444
29445 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29446 test.
29447 (libc_cv_asm_popsection_directive): Likewise.
29448 * configure: Regenerated.
29449 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29450 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29451 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29452 (__make_section_unallocated): Make definition unconditional.
29453 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29454 Remove conditional definition.
29455 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29456 (__make_section_unallocated): Likewise.
29457
29458 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29459 * configure: Regenerated.
29460 * config.make.in (static-libgcc): Remove variable.
29461 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29462 $(static-libgcc).
29463 (build-module-helper): Likewise.
29464
29465 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29466 * configure: Regenerated.
29467
29468 2015-10-15 Florian Weimer <fweimer@redhat.com>
29469
29470 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29471 (struct char_buffer): New type.
29472 (char_buffer_start, char_buffer_size, char_buffer_error)
29473 (char_buffer_rewind, char_buffer_add): New functions.
29474 (ADDW): Remove macro, replaced by the char_buffer_add function.
29475 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29476 of extend_alloca. Make control flow more explicit.
29477
29478 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29479
29480 [BZ #19137]
29481 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29482 Add -fomit-frame-pointer.
29483 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29484
29485 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29486
29487 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29488 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29490 only if !__GNUC_PREREQ (5,0).
29491 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29492 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29493 (INTERNAL_SYSCALL_NCS): Likewise.
29494 (LOADREGS_0): New macro for GCC 5.
29495 (ASMARGS_0): Likewise.
29496 (LOADREGS_1): Likewise.
29497 (ASMARGS_1): Likewise.
29498 (LOADREGS_2): Likewise.
29499 (ASMARGS_2): Likewise.
29500 (LOADREGS_3): Likewise.
29501 (ASMARGS_3): Likewise.
29502 (LOADREGS_4): Likewise.
29503 (ASMARGS_4): Likewise.
29504 (LOADREGS_5): Likewise.
29505 (ASMARGS_5): Likewise.
29506 (LOADREGS_6): Likewise.
29507 (ASMARGS_6): Likewise.
29508
29509 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29510
29511 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29512 -fomit-frame-pointer.
29513 (CFLAGS-mmap64.c): Likewise.
29514 (CFLAGS-semtimedop.c): Likewise.
29515 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29516 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29517 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29518 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29519
29520 2015-10-15 Florian Weimer <fweimer@redhat.com>
29521
29522 [BZ #18928]
29523 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29524 _dl_pointer_guard member.
29525 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29526 initializer.
29527 (security_init): Always set up pointer guard.
29528 (process_envvars): Do not process LD_POINTER_GUARD.
29529
29530 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29531
29532 [BZ #19134]
29533 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29534 (.LC2): Likewise.
29535 (.LC3): Likewise.
29536 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29537
29538 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29539
29540 [BZ #19129]
29541 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29542 r0 and r1.
29543
29544 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29545
29546 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29547
29548 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29549
29550 * include/stap-probe.h: Fix macro definition formatting.
29551
29552 2015-10-14 Florian Weimer <fweimer@redhat.com>
29553
29554 [BZ #19074]
29555 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29556 load and store num_ifs.
29557
29558 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29559
29560 [BZ #18822]
29561 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29562 (__sched_getaffinity_new): Add libc_hidden_proto and
29563 libc_hidden_def.
29564
29565 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29566
29567 [BZ #19007]
29568 * scripts/localplt.awk: Also allow GOT references.
29569 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29570 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29571 with "+ REL R_386_GLOB_DAT".
29572 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29573 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29574
29575 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29576
29577 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29578 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29579 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29580 Likewise.
29581 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29582 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29583 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29584 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29585 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29586 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29587 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29588 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29589 Likewise.
29590 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29591
29592 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29593
29594 [BZ #19125]
29595 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29596 <math_private.h> and <stdint.h>.
29597 (__llround): Avoid conversions to and from long long int, and
29598 subtractions, where those might raise spurious exceptions.
29599 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29600 <math_private.h> and <stdint.h>.
29601 (__llroundf): Avoid conversions to and from long long int, and
29602 subtractions, where those might raise spurious exceptions.
29603
29604 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29605
29606 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29607 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29608 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29609 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29610 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29611 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29612 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29613 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29614 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29615 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29616 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29617 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29618 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29619 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29620 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29621 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29622 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29623 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29624 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29625 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29626 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29627 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29628 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29629 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29630 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29631 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29632 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29633 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29634 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29635 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29636 (__xstat64_conv): Likewise.
29637 (__xstat32_conv): Likewise.
29638
29639 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29640
29641 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29642 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29643 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29644 <sysdeps/unix/sysv/linux/sysdep.h>.
29645 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29646 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29647 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29648 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29649 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29650 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29651 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29652 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29653 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29658 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29659 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29661 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29662 (sysdep-dl-routines): Add sysdep.
29663 [$(subdir) == nptl] (libpthread-routines): Likewise.
29664 [$(subdir) == rt] (librt-routines): Likewise.
29665 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29666 PIC when branching to SYSCALL_ERROR_LABEL.
29667 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29669 <sysdeps/unix/sysv/linux/sysdep.h>.
29670 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29671 (SYSCALL_ERROR_ERRNO): Removed.
29672 (SYSCALL_ERROR_HANDLER): Changed to empty.
29673 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29674 (__syscall_error): New prototype.
29675 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29676 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29677
29678 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29679
29680 [BZ #19124]
29681 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29682 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29683 _dl_runtime_resolve_avx.
29684 (_dl_runtime_profile_avx512): Make it a hidden alias of
29685 _dl_runtime_profile_avx.
29686
29687 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29688
29689 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29690 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29691 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29692 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29693
29694 [BZ #16422]
29695 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29696 New configure test.
29697 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29698 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29699 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29700 <math_private.h> and <stdint.h>.
29701 (__llrint): Avoid conversions to long long int where those might
29702 raise spurious exceptions.
29703 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29704 <math_private.h> and <stdint.h>.
29705 (__llrintf): Avoid conversions to long long int where those might
29706 raise spurious exceptions.
29707
29708 2015-10-12 Andreas Schwab <schwab@suse.de>
29709
29710 [BZ #18969]
29711 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29712 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29713 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29714 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29715 $(gen-locales).
29716 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29717 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29718 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29719 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29720 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29721 $(gen-locales).
29722 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29723 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29724 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29725 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29726 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29727 ($(objpfx)tst-ftell-active-handler.out)
29728 ($(objpfx)tst-ftell-append.out)
29729 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29730 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29731 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29732 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29733 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29734 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29735 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29736 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29737 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29738 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29739 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29740 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29741 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29742 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29743 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29744 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29745 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29746 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29747 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29748 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29749 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29750 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29751 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29752 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29753 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29754 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29755 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29756 $(gen-locales).
29757 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29758 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29759 $(gen-locales).
29760 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29761 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29762 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29763 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29764 $(gen-locales).
29765 * libio/tst_wprintf2.c (main): Use explicit locale.
29766 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29767
29768 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29769
29770 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29771 __msg_sig_post.
29772 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29773
29774 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29775
29776 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29777 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29778
29779 * sysdeps/arm/libm-test-ulps: Regenerated.
29780
29781 [BZ #15470]
29782 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29783
29784 [BZ #16399]
29785 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29786 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29787 and <fix-fp-int-convert-overflow.h>.
29788 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29789 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29790 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29791 and <fix-fp-int-convert-overflow.h>.
29792 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29793 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29794 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29795 <fix-fp-int-convert-overflow.h>.
29796 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29797 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29798 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29799 <fix-fp-int-convert-overflow.h>.
29800 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29801 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29802 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29803 and <fix-fp-int-convert-overflow.h>.
29804 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29805 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29806 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29807 <limits.h> and <fix-fp-int-convert-overflow.h>.
29808 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29809 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29810 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29811 and <fix-fp-int-convert-overflow.h>.
29812 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29813 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29814 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29815 and <fix-fp-int-convert-overflow.h>.
29816 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29817 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29818 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29819
29820 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29821
29822 [BZ #18589]
29823 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29824 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29825 $(gen-locales).
29826
29827 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29828 Phil Blundell <pb@pbcl.net>
29829
29830 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29831 * nptl/tst-cancel26.c: New file.
29832 * nptl/tst-cancel27.c: Likewise.
29833
29834 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29835
29836 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29837 __ILP32__ isn't defined.
29838 (lrint): Likewise.
29839 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29840 (lrintf): Likewise.
29841 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29842 (lrintl): Likewise.
29843 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29844 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29845 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29846
29847 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29848
29849 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29850 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29851
29852 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29853 file.
29854 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29855 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29856
29857 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29858
29859 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29860 configure test.
29861 * sysdeps/i386/configure: Regenerated.
29862 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29863 configure test.
29864 * sysdeps/x86_64/configure: Regenerated.
29865 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29866 Make code unconditional.
29867
29868 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29869 test.
29870 * sysdeps/i386/configure: Regenerated.
29871 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29872 test.
29873 * sysdeps/x86_64/configure: Regenerated.
29874 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29875 Make code unconditional.
29876 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29877 Likewise.
29878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29879 Likewise.
29880 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29881 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29882 code unconditional.
29883 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29884 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29885 code unconditional.
29886 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29887 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29888 code unconditional.
29889 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29890 code unconditional.
29891 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29892 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29893 code unconditional.
29894 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29895 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29896 code unconditional.
29897 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29898 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29899 code unconditional.
29900 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29901 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29902 code unconditional.
29903 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29904 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29905
29906 [BZ #19095]
29907 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29908 mantissa to long int before shifting left.
29909
29910 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29911
29912 [BZ #19094]
29913 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29914 <limits.h>.
29915 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29916 when result overflows but exception would not result from cast.
29917 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29918 <limits.h>.
29919 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29920 when result overflows but exception would not result from cast.
29921 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29922 <limits.h>.
29923 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29924 when result overflows but exception would not result from cast.
29925 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29926 <limits.h>.
29927 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29928 when result overflows but exception would not result from cast.
29929 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29930 <limits.h>.
29931 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29932 when result overflows but exception would not result from cast.
29933 * math/libm-test.inc (lrint_test_data): Add more tests.
29934 (llrint_test_data): Likewise.
29935
29936 2015-10-08 Roland McGrath <roland@hack.frob.com>
29937
29938 [BZ #18872]
29939 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29940 Move out from under [$(run-built-tests) = yes] conditional.
29941 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29942 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29943
29944 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29945
29946 [BZ #18589]
29947 * string/Makefile (tests): Add bug-strcoll2.
29948 (LOCALES): Add cs_CZ.UTF-8.
29949 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29950
29951 [BZ #18589]
29952 * string/bug-strcoll2.c: New file.
29953 * locale/categories.def: Revert commit
29954 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29955 * locale/langinfo.h: Likewise.
29956 * locale/localeinfo.h: Likewise.
29957 * locale/C-collate.c: Likewise.
29958 * locale/programs/ld-collate.c (collate_output): Likewise.
29959 * string/strcoll_l.c (STRDIFF): Likewise.
29960 (STRCOLL): Likewise.
29961 * wcsmbs/wcscoll_l.c: Likewise.
29962
29963 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29964
29965 * math/libm-test.inc (lround_test_data): Do not expect the absence
29966 of "inexact" for some tests with non-integer arguments.
29967 (llround_test_data): Likewise.
29968
29969 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29970 test.
29971 (libc_cv_cc_sse2avx): Likewise.
29972 * sysdeps/i386/configure: Regenerated.
29973 * sysdeps/i386/i686/multiarch/Makefile
29974 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29975 [$(subdir) = math].
29976 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29977 code unconditional.
29978 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29979 Likewise.
29980 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29981 Likewise.
29982 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29983 Likewise.
29984 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29985 test.
29986 (libc_cv_cc_sse2avx): Likewise.
29987 * sysdeps/x86_64/configure: Regenerated.
29988 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29989 unconditional.
29990 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29991 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29992 unconditional.
29993 (_dl_runtime_profile)
29994 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29995 conditional code.
29996 * sysdeps/x86_64/fpu/multiarch/Makefile
29997 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29999 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30000 * sysdeps/x86_64/fpu/multiarch/e_exp.c
30001 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30002 * sysdeps/x86_64/fpu/multiarch/e_log.c
30003 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30004 * sysdeps/x86_64/fpu/multiarch/s_atan.c
30005 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30006 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30007 Likewise.
30008 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30009 Likewise.
30010 * sysdeps/x86_64/fpu/multiarch/s_sin.c
30011 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30012 * sysdeps/x86_64/fpu/multiarch/s_tan.c
30013 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30014 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30015 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30016 (HAVE_SSE2AVX_SUPPORT): Likewise.
30017
30018 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
30019
30020 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30021 instead of #pragma optimize.
30022
30023 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30024
30025 [BZ #17195]
30026 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30027 as is similarly done in systrim and _int_free already.
30028
30029 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
30030
30031 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30032
30033 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30034
30035 [BZ #19088]
30036 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30037 <limits.h>.
30038 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30039 overflows but exception would not result from cast.
30040 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30041 and <limits.h>.
30042 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30043 overflows but exception would not result from cast.
30044 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30045 <limits.h>.
30046 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30047 overflows but exception would not result from cast.
30048 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30049 <limits.h>.
30050 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30051 overflows but exception would not result from cast.
30052 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30053 <limits.h>.
30054 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30055 overflows but exception would not result from cast.
30056 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30057 <limits.h>.
30058 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30059 overflows but exception would not result from cast.
30060 * math/libm-test.inc (lround_test_data): Add more tests.
30061 (llround_test_data): Likewise.
30062
30063 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
30064
30065 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30066 (CFLAGS-ialloc.c): Ditto.
30067 (CFLAGS-scheck.c): Ditto.
30068
30069 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30070
30071 [BZ #19086]
30072 * manual/filesys.texi (Storage Allocation): Fix argument order for
30073 posix_fallocate64.
30074
30075 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30076
30077 [BZ #19085]
30078 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30079 exponent below 48 inside case for non-overflowing exponent.
30080 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30081
30082 2015-10-07 Florian Weimer <fweimer@redhat.com>
30083
30084 * iconvdata/cp737.h (from_idx): Add const.
30085 * iconvdata/cp775.h (from_idx): Likewise.
30086
30087 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30088
30089 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30090 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30091 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30092
30093 [BZ #19079]
30094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30095 file, conditioned on [!_LP64].
30096 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30097 [!_LP64] (__lround): Do not define as function or alias.
30098 [!_LP64] (lround): Likewise.
30099 [!_LP64] (__lroundl): Likewise.
30100 [!_LP64] (lroundl): Likewise.
30101 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30102 macro.
30103 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30104 Likewise.
30105
30106 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30107
30108 * math/libm-test.inc (lrint_test_data): Add more tests.
30109 (llrint_test_data): Likewise.
30110 (lround_test_data): Likewise.
30111 (llround_test_data): Likewise.
30112
30113 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30114 (llrint_test_data): Add tests used for lrint.
30115
30116 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30117 test.
30118 * sysdeps/i386/configure: Regenerated.
30119 * sysdeps/i386/i686/multiarch/Makefile
30120 [$(config-cflags-sse4) = yes]: Make code unconditional.
30121 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30122 Likewise.
30123 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30124 Likewise.
30125 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30126 test.
30127 * sysdeps/x86_64/configure: Regenerated.
30128 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30129 Make code unconditional.
30130 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30131 Likewise.
30132 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30133 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30134
30135 * scripts/rpm2dynsym.sh: Remove file.
30136
30137 2015-10-06 Florian Weimer <fweimer@redhat.com>
30138
30139 * configure.ac (libc_cv_cxx_thread_local): Define.
30140 * configure: Regenerate.
30141 * config.make.in (have-cxx-thread_local): Define.
30142 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30143 (LDLIBS-tst-thread_local1): Define.
30144 (tests): Add tst-thread_local1.
30145 [have-cxx-thread_local != yes] (tests-unsupported): Add
30146 tst-thread_local1.
30147 * nptl/tst-thread_local1.cc: New file.
30148
30149 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30150
30151 [BZ #19078]
30152 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30153 (u_thres): Likewise.
30154 (__expl): Determine whether to call __kernel_standard_l based on
30155 value of result, not argument.
30156
30157 * math/libm-test.inc (scalb_test_data): Add more expectations for
30158 the "inexact" exception.
30159
30160 [BZ #19077]
30161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30162 0.0L for argument 1.0L.
30163
30164 [BZ #19076]
30165 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30166 constant 0.0L when computing infinite result.
30167
30168 2015-10-06 Florian Weimer <fweimer@redhat.com>
30169
30170 [BZ #10432]
30171 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30172 malloc_usable_size.
30173
30174 2015-10-06 Florian Weimer <fweimer@redhat.com>
30175
30176 [BZ #19018]
30177 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30178 Mangle function pointer before storing it.
30179 (__call_tls_dtors): Demangle function pointer before calling it.
30180
30181 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30182
30183 [BZ #19012]
30184 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30185 Clean up on failure.
30186
30187 2015-10-05 Joseph Myers <joseph@codesourcery.com>
30188
30189 [BZ #19071]
30190 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30191 long int variable to store possibly incremented high part of
30192 mantissa.
30193 * math/libm-test.inc (lround_test_data): Add tests used for
30194 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30195 for tests requiring 64-bit long. Do not condition tests on
30196 [TEST_FLOAT] unnecessarily.
30197 (llround_test_data): Add tests used for lround. Add another
30198 expectation for the "inexact" exception. Do not condition tests
30199 on [TEST_FLOAT] unnecessarily.
30200
30201 [BZ #887]
30202 [BZ #19049]
30203 [BZ #19050]
30204 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30205 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30206 <fix-int-fp-convert-zero.h>.
30207 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30208 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30209 <fix-int-fp-convert-zero.h>.
30210 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30211 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30212 <fix-int-fp-convert-zero.h>.
30213 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30214 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30215 <fix-int-fp-convert-zero.h>.
30216 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30217 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30218 <fix-int-fp-convert-zero.h>.
30219 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30220 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30221 <fix-int-fp-convert-zero.h>.
30222 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30223 * sysdeps/ieee754/flt-32/s_erff.c: Include
30224 <fix-int-fp-convert-zero.h>.
30225 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30226 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30227 <fix-int-fp-convert-zero.h>.
30228 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30230 <fix-int-fp-convert-zero.h>.
30231 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30233 <fix-int-fp-convert-zero.h>.
30234 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30235 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30236 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30237 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30238 file.
30239 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30240
30241 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30242
30243 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30244
30245 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30246
30247 [BZ #19059]
30248 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30249 overflowing computation.
30250 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30251 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30252 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30253 Likewise.
30254 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30255 Likewise.
30256 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30257 Likewise.
30258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30259 Likewise.
30260 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30261 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30262 Likewise.
30263 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30264 Likewise.
30265 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30266
30267 * nss/rewrite_field.c (__nss_rewrite_field): Use
30268 internal_function.
30269 * nss/valid_field.c (__nss_valid_field): Likewise.
30270 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30271
30272 2015-10-02 Florian Weimer <fweimer@redhat.com>
30273
30274 [BZ #18724]
30275 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30276 (__nss_invalid_field_characters, __nss_valid_field)
30277 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30278 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30279 tst-field.c: New file.
30280 * nss/Makefile (routines): Add valid_field, rewrite_field.
30281 (tests-static): Define unconditionally.
30282 (tests): Include tests-static.
30283 [build-static-nss] (tests-static): Use append.
30284 [build-static-nss] (tests): Remove modification.
30285 * nss/getent.c (print_group): Call putgrent. Report error.
30286 (print_gshadow): Call putsgent. Report error.
30287 (print_passwd): Call putpwent. Report error.
30288 (print_shadow): Call putspent. Report error.
30289 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30290 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30291 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30292 name, password, directory, shell fields for valid syntax. Rewrite
30293 GECOS field to match syntax.
30294 * pwd/Makefile (tests): Add tst-putpwent.
30295 * pwd/tst-putpwent.c: New file.
30296 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30297 Check grName, grpasswd, gr_mem fields for valid syntax.
30298 Change loop variable i to size_t.
30299 * grp/Makefile (tests): Add tst-putgrent.
30300 * grp/tst-putgrent.c: New file.
30301 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30302 valid syntax.
30303 * shadow/Makefile (tests): Add tst-putspent.
30304 * shadow/tst-putspent.c: New file.
30305 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30306 sg_mem fields for valid syntax.
30307 * gshadow/Makefile (tests): Add tst-putsgent.
30308 * gshadow/tst-putsgent.c: New file.
30309
30310 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30311
30312 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30313 assembly instructions.
30314
30315 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30316
30317 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30318 prefix from operands.
30319
30320 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30321
30322 [BZ #16347]
30323 [BZ #19046]
30324 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30325 <libc-internal.h>.
30326 (MAXLGM): Do not use diagnostic control macros.
30327 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30328 threshold for ldbl-128ibm.
30329 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30330 instead of multiplying by log then subtracting.
30331 * math/auto-libm-test-in: Add more tests of lgamma.
30332 * math/auto-libm-test-out: Regenerated.
30333
30334 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30335 (TYPE_HEX_DIG): Likewise.
30336 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30337 precisions when printing floating-point numbers.
30338 (check_float_internal): Likewise.
30339
30340 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30341
30342 [BZ #16620]
30343 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30344 of log (10) rounded downward to 48 bits.
30345 (log10_low): Use corresponding low part of log (10).
30346
30347 [BZ #19032]
30348 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30349 compute result as (x - x) / (x - x) not as 0 / 0.
30350 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30351 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30352
30353 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30354 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30355 and expm1.
30356 * math/auto-libm-test-out: Regenerated.
30357 * math/libm-test.inc (acos_test_data): Add more tests.
30358 (asin_test_data): Likewise.
30359 (asinh_test_data): Likewise.
30360 (atan_test_data): Likewise.
30361 (atanh_test_data): Likewise.
30362 (atan2_test_data): Likewise.
30363 (cbrt_test_data): Likewise.
30364 (ceil_test_data): Likewise.
30365 (copysign_test_data): Likewise.
30366 (cos_test_data): Likewise.
30367 (cosh_test_data): Likewise.
30368 (erf_test_data): Likewise.
30369 (erfc_test_data): Likewise.
30370 (exp_test_data): Likewise.
30371 (exp10_test_data): Likewise.
30372 (exp2_test_data): Likewise.
30373 (expm1_test_data): Likewise.
30374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30375
30376 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30377
30378 [BZ #19006]
30379 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30380 to ...
30381 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30382 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30383 to ...
30384 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30385 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30386 to ...
30387 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30388 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30389 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30390 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30391 to ...
30392 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30393 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30394 Moved to ...
30395 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30396 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30397 Moved to ...
30398 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30399 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30400 to ...
30401 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30402 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30403 Moved to ...
30404 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30405 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30406 to ...
30407 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30408 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30409 Removed.
30410 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30411 Likewise.
30412 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30413 Likewise.
30414 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30415 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30416 Likewise.
30417 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30418 Likewise.
30419 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30420 Likewise.
30421 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30422 Likewise.
30423 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30424 Likewise.
30425 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30426 Likewise.
30427 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30428 Likewise.
30429 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30430 Likewise.
30431 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30432 Likewise.
30433 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30434 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30435 Likewise.
30436 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30437 Likewise.
30438 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30439 Likewise.
30440 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30441 Likewise.
30442 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30443 Likewise.
30444 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30445 Replace ../i486/pthread_cond_timedwait.S with
30446 ../pthread_cond_timedwait.S.
30447
30448 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30449
30450 * math/libm-test.inc (acos_test_data): Refine expectations for
30451 errno and "inexact" exceptions.
30452 (acosh_test_data): Likewise.
30453 (asin_test_data): Likewise.
30454 (asinh_test_data): Likewise.
30455 (atan_test_data): Likewise.
30456 (atanh_test_data): Likewise.
30457 (atan2_test_data): Likewise.
30458 (cbrt_test_data): Likewise.
30459 (ceil_test_data): Likewise.
30460 (copysign_test_data): Likewise.
30461 (cosh_test_data): Likewise.
30462 (erf_test_data): Likewise.
30463 (erfc_test_data): Likewise.
30464 (exp_test_data): Likewise.
30465 (exp10_test_data): Likewise.
30466 (exp2_test_data): Likewise.
30467 (expm1_test_data): Likewise.
30468 (fabs_test_data): Likewise.
30469 (floor_test_data): Likewise.
30470 (fma_test_data): Likewise.
30471 (fmax_test_data): Likewise.
30472 (fmin_test_data): Likewise.
30473 (fmod_test_data): Likewise.
30474 (fpclassify_test_data): Likewise.
30475 (frexp_test_data): Likewise.
30476 (hypot_test_data): Likewise.
30477 (ilogb_test_data): Likewise.
30478 (isgreater_test_data): Likewise.
30479 (isgreaterequal_test_data): Likewise.
30480 (isinf_test_data): Likewise.
30481 (isless_test_data): Likewise.
30482 (islessequal_test_data): Likewise.
30483 (islessgreater_test_data): Likewise.
30484 (isnan_test_data): Likewise.
30485 (isnormal_test_data): Likewise.
30486 (issignaling_test_data): Likewise.
30487 (isunordered_test_data): Likewise.
30488 (j0_test_data): Likewise.
30489 (j1_test_data): Likewise.
30490 (jn_test_data): Likewise.
30491 (lgamma_test_data): Likewise.
30492 (lrint_test_data): Likewise.
30493 (llrint_test_data): Likewise.
30494 (log_test_data): Likewise.
30495 (log10_test_data): Likewise.
30496 (log1p_test_data): Likewise.
30497 (log2_test_data): Likewise.
30498 (logb_test_data): Likewise.
30499 (lround_test_data): Likewise.
30500 (llround_test_data): Likewise.
30501 (modf_test_data): Likewise.
30502 (nearbyint_test_data): Likewise.
30503 (nextafter_test_data): Likewise.
30504 (nexttoward_test_data): Likewise.
30505 (pow_test_data): Likewise.
30506 (remainder_test_data): Likewise.
30507 (remquo_test_data): Likewise.
30508 (rint_test_data): Likewise.
30509 (round_test_data): Likewise.
30510 (signbit_test_data): Likewise.
30511 (sinh_test_data): Likewise.
30512 (sqrt_test_data): Likewise.
30513 (tanh_test_data): Likewise.
30514 (tgamma_test_data): Likewise.
30515 (trunc_test_data): Likewise.
30516 (y0_test_data): Likewise.
30517 (y1_test_data): Likewise.
30518 (yn_test_data): Likewise.
30519 (significand_test_data): Likewise.
30520
30521 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30522
30523 * manual/filesys.texi (Storage Allocation): Document that
30524 posix_fallocate emulation fails when fd is open with O_WRONLY.
30525
30526 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30527
30528 [BZ #19016]
30529 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30530 allow more cases with X^2 + Y^2 >= 0.5.
30531 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30532 normal element in sum instead of special-casing based on values of
30533 arguments.
30534 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30535 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30536 -1 as normal element in sum instead of special-casing based on
30537 values of arguments.
30538 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30539 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30540 (__x2y2m1): Update comment.
30541 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30542 as normal element in sum instead of special-casing based on values
30543 of arguments.
30544 * math/s_clog.c (__clog): Handle more cases using log1p without
30545 hypot.
30546 * math/s_clog10.c (__clog10): Likewise.
30547 * math/s_clog10f.c (__clog10f): Likewise.
30548 * math/s_clog10l.c (__clog10l): Likewise.
30549 * math/s_clogf.c (__clogf): Likewise.
30550 * math/s_clogl.c (__clogl): Likewise.
30551 * math/auto-libm-test-in: Add more tests of clog and clog10.
30552 * math/auto-libm-test-out: Regenerated.
30553 * sysdeps/i386/fpu/libm-test-ulps: Update.
30554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30555
30556 2015-09-28 Martin Sebor <msebor@redhat.com>
30557
30558 [BZ #18969]
30559 * string/Makefile (LOCALES): Define.
30560 (gen-locales.mk): Include.
30561 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30562 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30563 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30564 on setlocale failure.
30565
30566 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30567
30568 [BZ #18985]
30569 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30570 (__strftime_internal): Likewise.
30571 * time/tst-strftime.c (do_bz18985): New test.
30572 (do_test): Call it.
30573
30574 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30575
30576 [BZ #18956]
30577 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30578 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30579 extracting high part.
30580 * math/auto-libm-test-in: Add another test of pow.
30581 * math/auto-libm-test-out: Regenerated.
30582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30583
30584 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30585
30586 [BZ #18825]
30587 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30588 New macro.
30589 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30590 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30591 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30592 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30593 DBL_NARROW_EVAL, reloading the PIC register as needed.
30594 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30595 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30596 FLT_NARROW_EVAL. Use separate return path for case when first
30597 argument is NaN.
30598 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30599 DEFINE_LDBL_MIN.
30600 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30601 PIC register.
30602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30603 math_check_force_underflow_nonneg.
30604 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30605 underflow for subnormal result.
30606 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30608 math_check_force_underflow_nonneg.
30609 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30610 math_check_force_underflow.
30611 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30612 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30613 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30614 DEFINE_LDBL_MIN.
30615 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30616 * math/auto-libm-test-in: Add more tests of pow.
30617 * math/auto-libm-test-out: Regenerated.
30618
30619 2015-09-25 Florian Weimer <fweimer@redhat.com>
30620
30621 * nss/bug17079.c (init_test_items): Add diagnostic for
30622 inconsistent entries.
30623 (test_buffer_size): Skip inconsistent entries.
30624
30625 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30626
30627 [BZ #13304]
30628 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30629 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30630 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30631
30632 [BZ #13304]
30633 * sysdeps/microblaze/s_fma.c: New file.
30634 * sysdeps/microblaze/s_fmaf.c: Likewise.
30635 * sysdeps/microblaze/sfp-machine.h: Likewise.
30636
30637 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30638
30639 [BZ #17250]
30640 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30641 member.
30642
30643 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30644
30645 [BZ #18803]
30646 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30647 (MO): New macro.
30648 (__ieee754_hypot) [PIC]: Load PIC register.
30649 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30650 DBL_NARROW_EVAL.
30651 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30652 math_check_force_underflow_nonneg in case where result might be
30653 tiny.
30654 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30655 Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30657 Likewise.
30658 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30659 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30660 * math/auto-libm-test-in: Add more tests of hypot.
30661 * math/auto-libm-test-out: Regenerated.
30662
30663 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30664
30665 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30666
30667 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30668
30669 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30670 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30671 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30672 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30673 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30674 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30675 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30676
30677 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30678 LOAD_PIC_REG.
30679
30680 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30681 (FLT_CHECK_FORCE_UFLOW): Likewise.
30682 (DBL_CHECK_FORCE_UFLOW): Likewise.
30683 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30684 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30685 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30686 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30687 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30688 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30689 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30690 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30691 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30692 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30693 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30694 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30695 (flt_min): Replace with use of DEFINE_FLT_MIN.
30696 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30697 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30698 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30699 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30700 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30701 (flt_min): Replace with use of DEFINE_FLT_MIN.
30702 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30703 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30704 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30705 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30706 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30707 (flt_min): Replace with use of DEFINE_FLT_MIN.
30708 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30709 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30710 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30711 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30712 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30713 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30714 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30715 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30716 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30717 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30718 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30719 (flt_min): Replace with use of DEFINE_FLT_MIN.
30720 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30721 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30722 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30723 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30724 main computation.
30725 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30726 (flt_min): Replace with use of DEFINE_FLT_MIN.
30727 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30728 main computation.
30729 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30730 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30731 (MO): New macro.
30732 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30733 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30734 (flt_min): Replace with use of DEFINE_FLT_MIN.
30735 (MO): New macro.
30736 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30737 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30738 (__log1pl): Use MO.
30739
30740 [BZ #19003]
30741 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30742 $(config-cflags-nofma).
30743
30744 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30745
30746 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30747
30748 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30749
30750 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30751 (TWO127): Likewise.
30752
30753 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30754 (min_of_type): Likewise.
30755 (math_check_force_underflow): Likewise.
30756 (math_check_force_underflow_nonneg): Likewise.
30757 (math_check_force_underflow_complex): Likewise.
30758 * math/e_exp2l.c (__ieee754_exp2l): Use
30759 math_check_force_underflow_nonneg.
30760 * math/k_casinh.c (__kernel_casinh): Likewise.
30761 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30762 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30763 * math/s_catan.c (__catan): Use
30764 math_check_force_underflow_complex.
30765 * math/s_catanf.c (__catanf): Likewise.
30766 * math/s_catanh.c (__catanh): Likewise.
30767 * math/s_catanhf.c (__catanhf): Likewise.
30768 * math/s_catanhl.c (__catanhl): Likewise.
30769 * math/s_catanl.c (__catanl): Likewise.
30770 * math/s_ccosh.c (__ccosh): Likewise.
30771 * math/s_ccoshf.c (__ccoshf): Likewise.
30772 * math/s_ccoshl.c (__ccoshl): Likewise.
30773 * math/s_cexp.c (__cexp): Likewise.
30774 * math/s_cexpf.c (__cexpf): Likewise.
30775 * math/s_cexpl.c (__cexpl): Likewise.
30776 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30777 * math/s_clog10.c (__clog10): Likewise.
30778 * math/s_clog10f.c (__clog10f): Likewise.
30779 * math/s_clog10l.c (__clog10l): Likewise.
30780 * math/s_clogf.c (__clogf): Likewise.
30781 * math/s_clogl.c (__clogl): Likewise.
30782 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30783 * math/s_csinf.c (__csinf): Likewise.
30784 * math/s_csinh.c (__csinh): Likewise.
30785 * math/s_csinhf.c (__csinhf): Likewise.
30786 * math/s_csinhl.c (__csinhl): Likewise.
30787 * math/s_csinl.c (__csinl): Likewise.
30788 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30789 * math/s_csqrtf.c (__csqrtf): Likewise.
30790 * math/s_csqrtl.c (__csqrtl): Likewise.
30791 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30792 * math/s_ctanf.c (__ctanf): Likewise.
30793 * math/s_ctanh.c (__ctanh): Likewise.
30794 * math/s_ctanhf.c (__ctanhf): Likewise.
30795 * math/s_ctanhl.c (__ctanhl): Likewise.
30796 * math/s_ctanl.c (__ctanl): Likewise.
30797 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30798 instead of volatile.
30799 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30800 math_check_force_underflow.
30801 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30803 volatile when forcing underflow.
30804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30805 math_check_force_underflow_nonneg.
30806 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30807 Likewise.
30808 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30809 math_check_force_underflow.
30810 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30811 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30812 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30813 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30814 math_check_force_underflow_nonneg.
30815 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30816 math_check_force_underflow.
30817 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30819 instead of volatile.
30820 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30821 math_check_force_underflow.
30822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30823 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30824 math_check_force_underflow_nonneg.
30825 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30826 math_check_force_underflow.
30827 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30828 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30829 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30830 math_check_force_underflow_nonneg.
30831 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30832 Likewise.
30833 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30834 math_check_force_underflow.
30835 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30836 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30837 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30838 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30839 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30840 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30841 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30842 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30843 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30844 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30845 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30846 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30847 Likewise.
30848 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30849 math_check_force_underflow_nonneg.
30850 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30851 Likewise.
30852 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30853 math_check_force_underflow.
30854 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30855 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30857 Likewise.
30858 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30859 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30860 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30861 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30862 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30863 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30865 instead of volatile.
30866 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30867 math_check_force_underflow.
30868 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30869 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30870 math_check_force_underflow.
30871 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30872 Likewise.
30873 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30874 Use math_check_force_underflow_nonneg.
30875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30876 math_check_force_underflow.
30877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30878 Likewise.
30879 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30880 Likewise.
30881 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30882 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30883 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30884 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30886 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30887 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30888 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30890 math_check_force_underflow_nonneg.
30891 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30892 math_check_force_underflow.
30893 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30894 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30895 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30896 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30897 math_check_force_underflow_nonneg.
30898 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30899 math_check_force_underflow.
30900 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30902 instead of volatile.
30903 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30904 math_check_force_underflow.
30905
30906 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30907 * stdlib/strtod_l.c: Include <math_private.h>.
30908 (overflow_value): Use math_narrow_eval.
30909 (underflow_value): Likewise.
30910 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30911 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30912 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30913 (__ieee754_gamma_r): Likewise.
30914 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30915 Likewise.
30916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30917 Likewise.
30918 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30919 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30920 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30921 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30922 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30923 (__ieee754_gammaf_r): Likewise.
30924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30925 Likewise.
30926 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30927 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30928 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30929 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30930 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30931 volatile.
30932 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30934 math_narrow_eval.
30935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30936 Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30938 Likewise.
30939 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30940 Likewise.
30941 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30942 volatile.
30943 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30944 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30945 math_narrow_eval.
30946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30947 Likewise.
30948 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30949 Likewise.
30950
30951 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30952
30953 * nptl/Versions: Remove ignored symbols.
30954
30955 2015-09-22 Florian Weimer <fweimer@redhat.com>
30956
30957 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30958 * nss/Makefile (tests): Update.
30959
30960 2015-09-22 Florian Weimer <fweimer@redhat.com>
30961
30962 * nss/bug18287.c: New file.
30963 * nss/Makefile (tests): Add bug18287.
30964
30965 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30966
30967 * mach/Versions (__mach_host_self_): Add symbol.
30968
30969 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30970
30971 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30972 vm_page_size.
30973
30974 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30975
30976 Really fix sysdeps/i386/fpu/s_scalbn.S build
30977
30978 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30979 (libc: GLIBC_2_22): Remove unused version set.
30980
30981 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30982
30983 * config.make.in (enable-timezone-tools): New variable.
30984 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30985 (enable_timezone_tools): Export to generated files.
30986 * configure: Regenerate.
30987 * INSTALL: Regenerate.
30988 * manual/install.texi (--disable-timezone-tools): Document new flag.
30989 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30990 ifeq ($(enable-timezone-tools),yes) check.
30991
30992 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30993
30994 * timezone/Makefile: Revert previous change.
30995
30996 [BZ #18980]
30997 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30998 (DEFINE_DBL_MIN): Likewise.
30999 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31000 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31001 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31002 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31003 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31004 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31005 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31006 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31007 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31008 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31009 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31010 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31011 (flt_min): Replace with use of DEFINE_FLT_MIN.
31012 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31013 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31014 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31015 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31016 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31017 (flt_min): Replace with use of DEFINE_FLT_MIN.
31018 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31019 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31020 (flt_min): Replace with use of DEFINE_FLT_MIN.
31021 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31022 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31023 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31024 (__ieee754_hypot): Use DBL_NARROW_EVAL.
31025 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31026 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31027 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31028 (__ieee754_pow): Use DBL_NARROW_EVAL.
31029 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31030 (__ieee754_powf): Use FLT_NARROW_EVAL.
31031 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31032 (__ieee754_expf_sse2): Convert double-precision result to single
31033 precision.
31034 * sysdeps/i386/fpu/libm-test-ulps: Update.
31035
31036 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31037
31038 * timezone/Makefile: Ignore unused variable errors due to private.h
31039 (time_t_min) and (time_t_max).
31040 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
31041 Likewise.
31042
31043 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31044
31045 [BZ #18981]
31046 * sysdeps/i386/fpu/i386-math-asm.h: New file.
31047 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31048 (__ieee754_scalb): Use DBL_NARROW_EVAL.
31049 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31050 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31051 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31052 (__scalbn): Use DBL_NARROW_EVAL.
31053 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31054 (__scalbnf): Use FLT_NARROW_EVAL.
31055
31056 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31057
31058 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31059 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31060 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31061 * stdio-common/printf_fp.c (___printf_fp):
31062 Use signbit to get the sign. Use isinf macro to allow inlining.
31063 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31064 * stdio-common/printf_size.c (__printf_size): Likewise.
31065
31066 2015-09-18 Mike Frysinger <vapier@gentoo.org>
31067
31068 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31069
31070 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31071
31072 [BZ #18980]
31073 * sysdeps/generic/math_private.h: Include <float.h>.
31074 (math_narrow_eval): New macro.
31075 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31076 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31077 math_narrow_eval on overflowing return value.
31078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31079 Likewise.
31080 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31081 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31083 Likewise.
31084 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31085
31086 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31087
31088 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31089 * math/Makefile: Remove isinf_ns.c.
31090 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31091 * math/multc3.c (__multc3): Likewise.
31092 * math/s_casin.c (__casin): Likewise.
31093 * math/s_casinf.c (__casinf): Likewise.
31094 * math/s_casinl.c (__casinl): Likewise.
31095 * math/s_cproj.c (__cproj): Likewise.
31096 * math/s_cprojf.c (__cprojf): Likewise.
31097 * math/s_cprojl.c (__cprofl): Likewise.
31098 * math/s_ctan.c (__ctan): Likewise.
31099 * math/s_ctanf.c (__ctanf): Likewise.
31100 * math/s_ctanh.c (__ctanh): Likewise.
31101 * math/s_ctanhf.c (__ctanhf): Likewise.
31102 * math/s_ctanhl.c (__ctanhl): Likewise.
31103 * math/s_ctanl.c (__ctanl): Likewise.
31104 * math/w_fmod.c (__fmod): Likewise.
31105 * math/w_fmodf.c (__fmodf): Likewise.
31106 * math/w_fmodl.c (_fmodl): Likewise.
31107 * math/w_remainder.c (__remainder): Likewise.
31108 * math/w_remainderf.c (__remainderf): Likewise.
31109 * math/w_remainderl.c (__remainderl): Likewise.
31110 * math/w_scalb.c (__scalb): Likewise.
31111 * math/w_scalbf.c (__scalbf): Likewise.
31112 * math/w_scalbl.c (__scalbl): Likewise.
31113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31114 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31115 with isinf.
31116 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31118 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31119 __isinf_nsf with isinf.
31120 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31121 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31122 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31123 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31124 with isinf.
31125 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31126 __isinf_nsl with isinf.
31127 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31128 with isinf.
31129 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31130 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31131 __isinf_nsl with isinf.
31132 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31133 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31134 with isinf.
31135
31136 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31137
31138 * resolv/base64.c (rcsid): Remove unused static.
31139 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31140 static. (tqpi1): Likewise.
31141 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31142 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31143 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31144 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31146 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31147 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31148 * timezone/private.h (time_t_min): Likewise. (time_t_max):
31149 Likewise.
31150
31151 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
31152
31153 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31154 <nptl/pthreadP.h>.
31155 (_longjmp_unwind): Use __libc_ptf_call.
31156 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31157
31158 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
31159
31160 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31161 * sysdeps/arm/__longjmp.S: Likewise.
31162
31163 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31164
31165 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31166 Use __builtin_signbit.
31167 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31168 Use __builtin_signbitf.
31169 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31170 Use __builtin_signbitl.
31171 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31172 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31173
31174 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31175
31176 [BZ #15367]
31177 [BZ #17441]
31178
31179 * math/Makefile: Build test-snan.c with -fsignaling-nans.
31180 * math/math.h (fpclassify): Use __builtin_fpclassify when
31181 available. (signbit): Use __builtin_signbit(f/l).
31182 (isfinite): Use__builtin_isfinite. (isnormal): Use
31183 __builtin_isnormal. (isnan): Use __builtin_isnan.
31184 (isinf): Use __builtin_isinf_sign.
31185
31186 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31187
31188 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31189 * benchtests/bench-math-inlines.c: New benchmark.
31190 * benchtests/bench-util.h: New file.
31191 * benchtests/bench-util.c: New file.
31192 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31193
31194 2015-09-18 Carlos O'Donell <carlos@redhat.com>
31195
31196 * elf/tst-dlmopen1.c: Define TEST_SO.
31197 (do_test): Use TEST_SO.
31198
31199 * elf/dl-load.c: Include libc-internal.h.
31200 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31201
31202 2015-09-18 Vincent Bernat <vincent@bernat.im>
31203
31204 [BZ #17887]
31205 * time/strptime_l.c (__strptime_internal): Make %z accept
31206 [+-]HH:MM time zones.
31207
31208 2015-09-18 Vincent Bernat <vincent@bernat.im>
31209
31210 [BZ #17886]
31211 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31212 valid time zone.
31213
31214 2015-09-17 Mike Frysinger <vapier@gentoo.org>
31215
31216 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31217 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31218 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31219 (__ASSUME_FDATASYNC): Delete.
31220
31221 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31222
31223 * conform/linknamespace.pl: Require weak undefined symbols to be
31224 in the standard namespace.
31225 (%strong_syms): Rename to %seen_syms.
31226 (%strong_seen): Rename to %seen_where.
31227
31228 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 [BZ #18970]
31231 * misc/error.c (error): Replace pthread_setcancelstate with
31232 __pthread_setcancelstate.
31233 (error_at_line): Likewise.
31234 * posix/wordexp.c (parse_comm): Likewise.
31235 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31236 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31237 (__pthread_setcancelstate): This.
31238 (pthread_setcancelstate): Add an alias.
31239 * nptl/nptl-init.c (pthread_functions): Replace
31240 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31241 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31242 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31243 hidden_proto.
31244 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31245 it with hidden_def.
31246 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31247 (pthread_setcancelstate): Renamed to ...
31248 (__pthread_setcancelstate): This.
31249 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31250 __libc_ptf_call with __pthread_setcancelstate.
31251
31252 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31253 Andreas Schwab <schwab@suse.de>
31254
31255 [BZ #17118]
31256 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31257 result when imaginary part of argument is infinite using sine and
31258 cosine.
31259 * math/s_ctanf.c (__ctanf): Likewise.
31260 * math/s_ctanl.c (__ctanl): Likewise.
31261 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31262 of result when real part of argument is infinite using sine and
31263 cosine.
31264 * math/s_ctanhf.c (__ctanhf): Likewise.
31265 * math/s_ctanhl.c (__ctanhl): Likewise.
31266 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31267 (ctanh_test_data): Add more tests of ctanh.
31268
31269 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31270
31271 [BZ #15384]
31272 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31273 bit-mask as in subtraction.
31274 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31275 Likewise.
31276 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31277 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31278 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31279
31280 [BZ #18951]
31281 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31282 underflow exception for small results.
31283 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31284 Likewise.
31285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31286 Likewise.
31287 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31288 Likewise.
31289 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31290 Likewise.
31291 * math/auto-libm-test-in: Add more tests of tgamma.
31292 * math/auto-libm-test-out: Regenerated.
31293
31294 2015-09-17 Andreas Schwab <schwab@suse.de>
31295
31296 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31297
31298 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31299
31300 [BZ #18977]
31301 * math/bits/mathcalls.h
31302 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31303 not declare.
31304 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31305 Likewise.
31306 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31307 Likewise.
31308 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31309 Likewise.
31310 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31311 Likewise.
31312 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31313 Likewise.
31314 * conform/data/math.h-data
31315 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31316 function.
31317 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31318 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31319 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31320 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31321 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31322 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31323 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31324 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31325 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31326 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31327 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31328
31329 [BZ #6803]
31330 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31331 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31332 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31333 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31334 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31335 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31336 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31337 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31338 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31340 Likewise.
31341 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31342 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31345 long_double_symbol calls.
31346 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31347 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31348 strong alias of __ldexpl.
31349 (scalbnl): Define using long_double_symbol.
31350 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31351 Remove alias.
31352 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31353 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31354 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31355 (scalbln_test_data): Add more errno expectations.
31356
31357 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31358
31359 Cache the host port like we cache the task port. This way we do not
31360 need to call the kernel just to get the port. Furthermore, we no
31361 longer increase the reference count on every invocation of
31362 `mach_host_self'.
31363
31364 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31365 Protect declarations against the macro expansion.
31366 * mach/mach_init.c (__mach_host_self_): New variable.
31367 (mach_init): Initialize `__mach_host_self_'.
31368 * mach/mach_init.h (__mach_host_self_): New declaration.
31369 (__mach_host_self, mach_host_self): New macros.
31370 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31371 Release reference.
31372
31373 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31374
31375 [BZ #4404]
31376 * po/de.po: Update from Translation Project.
31377
31378 [BZ #16415]
31379 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31380 (__expm1l): Remove code to handle positive infinity and overflow.
31381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31382 variable.
31383 (__expm1l): Remove code to handle positive infinity and overflow.
31384
31385 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31386 Paul Pluzhnikov <ppluzhnikov@google.com>
31387
31388 [BZ #18872]
31389 * stdio-common/Makefile (tst-printf-bz18872): New test.
31390 (tst-printf-bz18872-mem.out): Likewise.
31391 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31392 * stdio-common/vfprintf.c: Fix memory leaks.
31393
31394 2015-09-16 Andreas Schwab <schwab@suse.de>
31395
31396 [BZ #17244]
31397 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31398 Remove extra va_start/va_end calls.
31399
31400 [BZ #17243]
31401 * posix/execl.c (execl): Add missing va_end.
31402 * posix/execle.c (execle): Likewise.
31403 * posix/execlp.c (execlp): Likewise.
31404
31405 2015-09-15 Roland McGrath <roland@hack.frob.com>
31406
31407 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31408 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31409
31410 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31411
31412 [BZ #18967]
31413 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31414 undefine around includes of <bits/mathcalls.h>.
31415 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31416 not declare function.
31417 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31418 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31419 (scalb): Likewise.
31420 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31421 not define macro.
31422 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31423 variable.
31424 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31425 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31426 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31427
31428 [BZ #18857]
31429 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31430 return non-finite argument without doing ordered comparisons on
31431 it.
31432
31433 [BZ #16296]
31434 * math/fenv.h (fegetround): Use __attribute_pure__.
31435 * include/fenv.h (__fegetround): Likewise.
31436
31437 [BZ #18595]
31438 * math/s_ctan.c (__ctan): Force underflow exception for results
31439 whose real or imaginary part has small absolute value.
31440 * math/s_ctanf.c (__ctanf): Likewise.
31441 * math/s_ctanh.c (__ctanh): Likewise.
31442 * math/s_ctanhf.c (__ctanhf): Likewise.
31443 * math/s_ctanhl.c (__ctanhl): Likewise.
31444 * math/s_ctanl.c (__ctanl): Likewise.
31445 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31446 and ctanh. Add more tests of ctan and ctanh.
31447
31448 [BZ #15918]
31449 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31450 handling of cases where one argument is an infinity.
31451
31452 [BZ #18875]
31453 [BZ #18966]
31454 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31455 (MO): New macro.
31456 (__ieee754_exp10): For small results, force underflow exception
31457 and remove excess range and precision from return value.
31458 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31459 (MO): New macro.
31460 (__ieee754_exp10f): For small results, force underflow exception
31461 and remove excess range and precision from return value.
31462 * math/auto-libm-test-in: Add more tests of exp10.
31463 * math/auto-libm-test-out: Regenerated.
31464
31465 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31466
31467 [BZ #18875]
31468 [BZ #18961]
31469 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31470 (MO): New macro.
31471 (__ieee754_exp): For small results, force underflow exception and
31472 remove excess range and precision from return value.
31473 (__exp_finite): Likewise.
31474 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31475 (MO): New macro.
31476 (__ieee754_expf): For small results, force underflow exception and
31477 remove excess range and precision from return value.
31478 (__expf_finite): Likewise.
31479 * math/auto-libm-test-in: Add more tests of exp.
31480 * math/auto-libm-test-out: Regenerated.
31481
31482 [BZ #16521]
31483 [BZ #18875]
31484 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31485 small results.
31486 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31487 (MO): New macro.
31488 (__ieee754_exp2): For small results, force underflow exception and
31489 remove excess range and precision from return value.
31490 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31491 (MO): New macro.
31492 (__ieee754_exp2f): For small results, force underflow exception
31493 and remove excess range and precision from return value.
31494 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31495 (MO): New macro.
31496 (__ieee754_exp2l): Force underflow exception for small results.
31497 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31498 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31499 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31500 (MO): New macro.
31501 (__ieee754_exp2l): Force underflow exception for small results.
31502 * math/auto-libm-test-in: Add more tests or exp2.
31503 * math/auto-libm-test-out: Regenerated.
31504
31505 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31506
31507 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31508
31509 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31510 /dev/null.
31511
31512 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31513
31514 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31515 io fs process)): Drop spurious backslash.
31516
31517 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31518
31519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31520 Use sysinfo system call instead of parsing /proc/meminfo.
31521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31522 Likewise.
31523
31524 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31525
31526 [BZ #16985]
31527 * programs/localedef.c (main): Display argv[remaining] when
31528 output_path is NULL.
31529
31530 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31531
31532 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31533 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31534 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31535 tanh.
31536 * math/auto-libm-test-out: Regenerated.
31537 * sysdeps/i386/fpu/libm-test-ulps: Update.
31538 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31539 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31541
31542 2015-09-11 Roland McGrath <roland@hack.frob.com>
31543
31544 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31545 Use 'override' keyword to freeze the value here, preventing
31546 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31547
31548 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31549
31550 [BZ #14912]
31551 * sysdeps/aarch64/bits/atomic.h: Move to ...
31552 * sysdeps/aarch64/atomic-machine.h: ...here.
31553 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31554 _AARCH64_ATOMIC_MACHINE_H.
31555 * sysdeps/alpha/bits/atomic.h: Move to ...
31556 * sysdeps/alpha/atomic-machine.h: ...here.
31557 * sysdeps/arm/bits/atomic.h: Move to ...
31558 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31559 * bits/atomic.h: Move to ...
31560 * sysdeps/generic/atomic-machine.h: ...here.
31561 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31562 * sysdeps/i386/bits/atomic.h: Move to ...
31563 * sysdeps/i386/atomic-machine.h: ...here.
31564 * sysdeps/ia64/bits/atomic.h: Move to ...
31565 * sysdeps/ia64/atomic-machine.h: ...here.
31566 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31567 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31568 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31569 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31570 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31571 * sysdeps/microblaze/bits/atomic.h: Move to ...
31572 * sysdeps/microblaze/atomic-machine.h: ...here.
31573 * sysdeps/mips/bits/atomic.h: Move to ...
31574 * sysdeps/mips/atomic-machine.h: ...here.
31575 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31576 * sysdeps/powerpc/bits/atomic.h: Move to ...
31577 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31578 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31579 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31580 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31581 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31582 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31583 <atomic-machine.h> instead of <bits/atomic.h>.
31584 * sysdeps/s390/bits/atomic.h: Move to ...
31585 * sysdeps/s390/atomic-machine.h: ...here.
31586 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31587 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31588 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31589 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31590 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31591 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31592 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31593 * sysdeps/tile/bits/atomic.h: Move to ...
31594 * sysdeps/tile/atomic-machine.h: ...here.
31595 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31596 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31597 <sysdeps/tile/atomic-machine.h> instead of
31598 <sysdeps/tile/bits/atomic.h>.
31599 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31600 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31601 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31602 <sysdeps/tile/atomic-machine.h> instead of
31603 <sysdeps/tile/bits/atomic.h>.
31604 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31605 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31606 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31607 <sysdeps/arm/atomic-machine.h> instead of
31608 <sysdeps/arm/bits/atomic.h>.
31609 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31610 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31611 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31612 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31613 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31614 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31615 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31616 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31617 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31618 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31619 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31620 * sysdeps/x86_64/bits/atomic.h: Move to ...
31621 * sysdeps/x86_64/atomic-machine.h: ...here.
31622 * include/atomic.h: Include <atomic-machine.h> instead of
31623 <bits/atomic.h>.
31624
31625 * sysdeps/mips/mips32/libm-test-ulps: Update.
31626 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31627
31628 [BZ #18952]
31629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31630 not convert non-integer negative arguments to int to determine the
31631 value of signgam.
31632 * math/auto-libm-test-in: Add more tests of lgamma.
31633 * math/auto-libm-test-out: Regenerated.
31634
31635 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31636 cosh, csqrt, erfc, expm1 and lgamma.
31637 * math/auto-libm-test-out: Regenerated.
31638 * sysdeps/i386/fpu/libm-test-ulps: Update.
31639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31640
31641 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31642
31643 [BZ #2542]
31644 [BZ #2543]
31645 [BZ #2558]
31646 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31647 __lgamma_neg for arguments from -28.0 to -2.0.
31648 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31649 __lgamma_negf for arguments from -15.0 to -2.0.
31650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31651 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31652 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31653 Call __lgamma_negl for arguments from -33.0 to -2.0.
31654 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31655 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31656 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31657 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31658 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31659 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31660 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31661 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31662 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31663 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31664 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31665 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31666 (__lgamma_neg): Likewise.
31667 (__lgamma_negl): Likewise.
31668 (__lgamma_product): Likewise.
31669 (__lgamma_productl): Likewise.
31670 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31671 * math/auto-libm-test-in: Add more tests of lgamma.
31672 * math/auto-libm-test-out: Regenerated.
31673 * sysdeps/i386/fpu/libm-test-ulps: Update.
31674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31675
31676 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31677
31678 [BZ #18675]
31679 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31680
31681 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31682
31683 [BZ #14912]
31684 * bits/libc-lock.h: Move to ...
31685 * sysdeps/generic/libc-lock.h: ...here.
31686 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31687 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31688 * sysdeps/mach/hurd/libc-lock.h: ...here.
31689 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31690 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31691 * sysdeps/mach/bits/libc-lock.h: Move to ...
31692 * sysdeps/mach/libc-lock.h: ...here.
31693 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31694 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31695 * sysdeps/nptl/libc-lock.h: ...here.
31696 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31697 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31698 * sysdeps/nptl/libc-lockP.h: ...here.
31699 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31700 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31701 <bits/libc-lock.h>.
31702 * dirent/scandir-tail.c: Likewise.
31703 * dlfcn/dlerror.c: Likewise.
31704 * elf/dl-close.c: Likewise.
31705 * elf/dl-iteratephdr.c: Likewise.
31706 * elf/dl-lookup.c: Likewise.
31707 * elf/dl-open.c: Likewise.
31708 * elf/dl-support.c: Likewise.
31709 * elf/dl-writev.h: Likewise.
31710 * elf/rtld.c: Likewise.
31711 * grp/fgetgrent.c: Likewise.
31712 * gshadow/fgetsgent.c: Likewise.
31713 * gshadow/sgetsgent.c: Likewise.
31714 * iconv/gconv_conf.c: Likewise.
31715 * iconv/gconv_db.c: Likewise.
31716 * iconv/gconv_dl.c: Likewise.
31717 * iconv/gconv_int.h: Likewise.
31718 * iconv/gconv_trans.c: Likewise.
31719 * include/link.h: Likewise.
31720 * inet/getnameinfo.c: Likewise.
31721 * inet/getnetgrent.c: Likewise.
31722 * inet/getnetgrent_r.c: Likewise.
31723 * intl/bindtextdom.c: Likewise.
31724 * intl/dcigettext.c: Likewise.
31725 * intl/finddomain.c: Likewise.
31726 * intl/gettextP.h: Likewise.
31727 * intl/loadmsgcat.c: Likewise.
31728 * intl/localealias.c: Likewise.
31729 * intl/textdomain.c: Likewise.
31730 * libidn/idn-stub.c: Likewise.
31731 * libio/libioP.h: Likewise.
31732 * locale/duplocale.c: Likewise.
31733 * locale/freelocale.c: Likewise.
31734 * locale/newlocale.c: Likewise.
31735 * locale/setlocale.c: Likewise.
31736 * login/getutent_r.c: Likewise.
31737 * login/getutid_r.c: Likewise.
31738 * login/getutline_r.c: Likewise.
31739 * login/utmp-private.h: Likewise.
31740 * login/utmpname.c: Likewise.
31741 * malloc/mtrace.c: Likewise.
31742 * misc/efgcvt.c: Likewise.
31743 * misc/error.c: Likewise.
31744 * misc/fstab.c: Likewise.
31745 * misc/getpass.c: Likewise.
31746 * misc/mntent.c: Likewise.
31747 * misc/syslog.c: Likewise.
31748 * nis/nis_call.c: Likewise.
31749 * nis/nis_callback.c: Likewise.
31750 * nis/nss-default.c: Likewise.
31751 * nis/nss_compat/compat-grp.c: Likewise.
31752 * nis/nss_compat/compat-initgroups.c: Likewise.
31753 * nis/nss_compat/compat-pwd.c: Likewise.
31754 * nis/nss_compat/compat-spwd.c: Likewise.
31755 * nis/nss_nis/nis-alias.c: Likewise.
31756 * nis/nss_nis/nis-ethers.c: Likewise.
31757 * nis/nss_nis/nis-grp.c: Likewise.
31758 * nis/nss_nis/nis-hosts.c: Likewise.
31759 * nis/nss_nis/nis-network.c: Likewise.
31760 * nis/nss_nis/nis-proto.c: Likewise.
31761 * nis/nss_nis/nis-pwd.c: Likewise.
31762 * nis/nss_nis/nis-rpc.c: Likewise.
31763 * nis/nss_nis/nis-service.c: Likewise.
31764 * nis/nss_nis/nis-spwd.c: Likewise.
31765 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31766 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31767 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31768 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31769 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31770 * nis/nss_nisplus/nisplus-network.c: Likewise.
31771 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31772 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31773 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31774 * nis/nss_nisplus/nisplus-service.c: Likewise.
31775 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31776 * nis/ypclnt.c: Likewise.
31777 * nptl/libc_pthread_init.c: Likewise.
31778 * nss/getXXbyYY.c: Likewise.
31779 * nss/getXXent.c: Likewise.
31780 * nss/getXXent_r.c: Likewise.
31781 * nss/nss_db/db-XXX.c: Likewise.
31782 * nss/nss_db/db-netgrp.c: Likewise.
31783 * nss/nss_db/nss_db.h: Likewise.
31784 * nss/nss_files/files-XXX.c: Likewise.
31785 * nss/nss_files/files-alias.c: Likewise.
31786 * nss/nsswitch.c: Likewise.
31787 * posix/regex_internal.h: Likewise.
31788 * posix/wordexp.c: Likewise.
31789 * pwd/fgetpwent.c: Likewise.
31790 * resolv/res_hconf.c: Likewise.
31791 * resolv/res_libc.c: Likewise.
31792 * shadow/fgetspent.c: Likewise.
31793 * shadow/lckpwdf.c: Likewise.
31794 * shadow/sgetspent.c: Likewise.
31795 * socket/opensock.c: Likewise.
31796 * stdio-common/reg-modifier.c: Likewise.
31797 * stdio-common/reg-printf.c: Likewise.
31798 * stdio-common/reg-type.c: Likewise.
31799 * stdio-common/vfprintf.c: Likewise.
31800 * stdio-common/vfscanf.c: Likewise.
31801 * stdlib/abort.c: Likewise.
31802 * stdlib/cxa_atexit.c: Likewise.
31803 * stdlib/fmtmsg.c: Likewise.
31804 * stdlib/random.c: Likewise.
31805 * stdlib/setenv.c: Likewise.
31806 * string/strsignal.c: Likewise.
31807 * sunrpc/auth_none.c: Likewise.
31808 * sunrpc/bindrsvprt.c: Likewise.
31809 * sunrpc/create_xid.c: Likewise.
31810 * sunrpc/key_call.c: Likewise.
31811 * sunrpc/rpc_thread.c: Likewise.
31812 * sysdeps/arm/backtrace.c: Likewise.
31813 * sysdeps/generic/ldsodefs.h: Likewise.
31814 * sysdeps/generic/stdio-lock.h: Likewise.
31815 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31816 * sysdeps/i386/backtrace.c: Likewise.
31817 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31818 * sysdeps/m68k/backtrace.c: Likewise.
31819 * sysdeps/mach/hurd/cthreads.c: Likewise.
31820 * sysdeps/mach/hurd/dirstream.h: Likewise.
31821 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31822 * sysdeps/nptl/malloc-machine.h: Likewise.
31823 * sysdeps/nptl/stdio-lock.h: Likewise.
31824 * sysdeps/posix/dirstream.h: Likewise.
31825 * sysdeps/posix/getaddrinfo.c: Likewise.
31826 * sysdeps/posix/system.c: Likewise.
31827 * sysdeps/pthread/aio_suspend.c: Likewise.
31828 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31829 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31830 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31831 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31832 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31833 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31834 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31835 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31836 * sysdeps/unix/sysv/linux/system.c: Likewise.
31837 * sysdeps/x86_64/backtrace.c: Likewise.
31838 * time/alt_digit.c: Likewise.
31839 * time/era.c: Likewise.
31840 * time/tzset.c: Likewise.
31841 * wcsmbs/wcsmbsload.c: Likewise.
31842 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31843 instead of <bits/libc-lock.h> in comment.
31844
31845 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31846
31847 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31848 Only use .set mips2 if the current ISA is below mips2.
31849 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31850 Likewise.
31851 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31852 mips32r2 if the current ISA is below mips32r2.
31853 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31854 (TLS_IE): Updated to use the TLD_RDHWR macro.
31855 (TLS_LE): Likewise.
31856 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31857 __ASSEMBLER__ condition.
31858
31859 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31860
31861 Fix parallel build of before-compile targets.
31862
31863 * sysdeps/mach/Makefile ($(patsubst
31864 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31865 mach-before-compile target.
31866 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31867 io fs process)): Move rule to dedicated hurd-before-compile target.
31868
31869 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31870
31871 Fix rules generating headers in hurd/ and mach/ when initial make call
31872 has subdir= explicitly set.
31873
31874 * sysdeps/mach/Makefile ($(patsubst
31875 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31876 calling $(MAKE).
31877 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31878 io fs process)): Force subdir to hurd when calling $(MAKE).
31879 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31880 subdir to mach when calling $(MAKE).
31881
31882 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31883
31884 Check sysheaders when looking for Mach and Hurd headers
31885
31886 * sysdeps/mach/configure.ac: Add sysheaders check.
31887 * sysdeps/mach/configure: Regenerate.
31888 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31889 * sysdeps/mach/hurd/configure: Regenerate.
31890
31891 2015-09-04 Roland McGrath <roland@hack.frob.com>
31892
31893 [BZ #18921]
31894 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31895 Fix inverted sense of test of 'o_directory_works' value.
31896 Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31897 Bernhard Voelker <mail@bernhard-voelker.de>.
31898
31899 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31900
31901 [BZ #14912]
31902 * bits/linkmap.h: Move to ...
31903 * sysdeps/generic/linkmap.h: ...here.
31904 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31905 * sysdeps/aarch64/linkmap.h: ...here.
31906 * sysdeps/arm/bits/linkmap.h: Move to ...
31907 * sysdeps/arm/linkmap.h: ...here.
31908 * sysdeps/hppa/bits/linkmap.h: Move to ...
31909 * sysdeps/hppa/linkmap.h: ...here.
31910 * sysdeps/ia64/bits/linkmap.h: Move to ...
31911 * sysdeps/ia64/linkmap.h: ...here.
31912 * sysdeps/mips/bits/linkmap.h: Move to ...
31913 * sysdeps/mips/linkmap.h: ...here.
31914 * sysdeps/s390/bits/linkmap.h: Move to ...
31915 * sysdeps/s390/linkmap.h: ...here.
31916 * sysdeps/sh/bits/linkmap.h: Move to ...
31917 * sysdeps/sh/linkmap.h: ...here.
31918 * sysdeps/x86/bits/linkmap.h: Move to ...
31919 * sysdeps/x86/linkmap.h: ...here.
31920 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31921
31922 2015-09-04 Andreas Schwab <schwab@suse.de>
31923
31924 [BZ #18635]
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31926 (__makecontext): Terminate FDE before return label.
31927 (__novec_makecontext): Likewise.
31928
31929 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31930
31931 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31932 first member of struct sv in syscall macro.
31933
31934 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31935
31936 [BZ #14912]
31937 * bits/stdio-lock.h: Move to ...
31938 * sysdeps/generic/stdio-lock.h: ...here.
31939 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31940 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31941 * sysdeps/nptl/stdio-lock.h: ...here.
31942 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31943 * include/libio.h: Include <stdio-lock.h> instead of
31944 <bits/stdio-lock.h>.
31945 * sysdeps/nptl/fork.c: Likewise.
31946 * sysdeps/pthread/flockfile.c: Likewise.
31947 * sysdeps/pthread/ftrylockfile.c: Likewise.
31948 * sysdeps/pthread/funlockfile.c: Likewise.
31949
31950 [BZ #14912]
31951 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31952 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31953 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31954 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31955 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31956 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31957 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31958
31959 2015-09-03 Roland McGrath <roland@hack.frob.com>
31960
31961 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31962 (test-xfail-tst-protected1b): New variable.
31963
31964 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31965
31966 [BZ #14912]
31967 * bits/libc-tsd.h: Move to ...
31968 * sysdeps/generic/libc-tsd.h: ...here.
31969 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31970 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31971 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31972 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31973 * include/ctype.h: Include <libc-tsd.h> instead of
31974 <bits/libc-tsd.h>.
31975 * include/rpc/rpc.h: Likewise.
31976 * locale/localeinfo.h: Likewise.
31977 * sunrpc/rpc_thread.c: Likewise.
31978 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31979 * sysdeps/nptl/malloc-machine.h: Likewise.
31980
31981 * Makefile (headers): Remove bits/libc-lock.h.
31982 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31983
31984 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31985 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31986 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31987 <bits/stdio-lock.h>.
31988 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31989 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31990
31991 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31992
31993 [BZ #18757]
31994 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31995 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31996 BZ #18757.
31997
31998 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31999
32000 * malloc/mtrace.pl: Filter out NULL entries.
32001
32002 2015-09-01 Joseph Myers <joseph@codesourcery.com>
32003
32004 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32005 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32006 macro.
32007
32008 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32009 (TCP_CC_INFO): Likewise.
32010 (TCP_SAVE_SYN): Likewise.
32011 (TCP_SAVED_SYN): Likewise.
32012
32013 2015-08-31 Brett Neumeier <brett@neumeier.us>
32014
32015 [BZ #18870]
32016 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32017
32018 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
32019
32020 [BZ #18873]
32021 Fix broken overflow check in posix_fallocate
32022 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32023 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32024 Fix parenthesization typo.
32025
32026 2015-08-28 Mike Frysinger <vapier@gentoo.org>
32027
32028 [BZ #18887]
32029 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32030 tst-mntent-blank-passno.
32031 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32032 * misc/tst-mntent-blank-corrupt.c: New test.
32033 * misc/tst-mntent-blank-passno.c: New test ripped from ...
32034 * misc/tst-mntent.c (do_test): ... here.
32035
32036 2015-08-29 Mike Frysinger <vapier@gentoo.org>
32037
32038 [BZ #4404]
32039 * po/de.po: Fix SIGALRM typo.
32040
32041 2015-08-28 James Perkins <james@loowit.net>
32042
32043 * time/tst-strptime2.c (tests): Replace short list of test
32044 strings for strptime %z specifier with code which exhaustively
32045 tests every combination of sign and 0 to 5 digits. Tests for
32046 rejection of invalid strings.
32047
32048 2015-08-28 James Perkins <james@loowit.net>
32049
32050 [BZ #16141]
32051 * time/strptime_l.c (__strptime_internal): Fix %z minutes
32052 calculation, removing incorrect decimal time rounding, so that
32053 all minute values result in a valid seconds value.
32054 * time/strptime_l.c (__strptime_internal): Extend %z time zone
32055 offset range limits to UTC-99:59 through UTC+99:59 to parse
32056 current and historical use cases.
32057 * time/tst-strptime2.c (tests): Modify and add tests for the
32058 strptime %z input field descriptor, specifically conversion of
32059 minutes to seconds and validating an offset range of -9959 to
32060 +9959.
32061
32062 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32063 Dmitry V. Levin <ldv@altlinux.org>
32064
32065 [BZ #18877]
32066 * posix/Makefile (tests): Add tst-mmap-offset.
32067 * posix/tst-mmap.c: New file.
32068 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32069 offset calculation for negative values.
32070
32071 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32072
32073 * sysdeps/i386/init-arch.h: New file.
32074 * sysdeps/i386/i586/init-arch.h: Likewise.
32075 * sysdeps/i386/i686/init-arch.h: Likewise.
32076 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32077 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
32078 * sysdeps/x86/cpu-features.h (bit_I586): New.
32079 (bit_I686): Likewise.
32080 (bit_CX8): Likewise.
32081 (bit_CMOV): Likewise.
32082 (index_CX8): Likewise.
32083 (index_CMOV): Likewise.
32084 (index_I586): Likewise.
32085 (index_I686): Likewise.
32086 (reg_CX8): Likewise.
32087 (reg_CMOV): Likewise.
32088 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32089 available at compile-time.
32090 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32091 available at compile-time.
32092 * sysdeps/x86/init-arch.h (USE_I586): New macro.
32093 (USE_I686): Likewise.
32094
32095 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32096
32097 * sysdeps/i386/bcopy.S: New file.
32098 * sysdeps/i386/bzero.S: Likewise.
32099 * sysdeps/i386/memcpy.S: Likewise.
32100 * sysdeps/i386/memmove.S: Likewise.
32101 * sysdeps/i386/mempcpy.S: Likewise.
32102 * sysdeps/i386/memset.S: Likewise.
32103 * sysdeps/i386/bzero.c: Removed.
32104 * sysdeps/i386/memset.c: Likewise.
32105 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32106 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32107 * sysdeps/i386/i586/memset_chk.S: Likewise.
32108 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32109 * sysdeps/i386/memcpy_chk.S: Here.
32110 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32111 * sysdeps/i386/memmove_chk.S: Here.
32112 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32113 * sysdeps/i386/mempcpy_chk.S: Likewise.
32114 * sysdeps/i386/i686/memset_chk.S: Moved to ...
32115 * sysdeps/i386/memset_chk.S: Likewise.
32116
32117 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
32118
32119 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32120 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32121 file, move DIAG_POP_NEEDS_COMMENT to end of file.
32122 * soft-fp/fmadf4.c: Ditto.
32123 * soft-fp/fmatf4.c: Ditto.
32124
32125 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32126
32127 * sysdeps/i386/i586/Implies: Removed.
32128 * sysdeps/i386/i686/Implies: Likewise.
32129
32130 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 * sysdeps/i386/i486/strlen.S: Moved to ...
32133 * sysdeps/i386/strlen.S: Here.
32134
32135 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32136
32137 * sysdeps/i386/i486/strcat.S: Moved to ...
32138 * sysdeps/i386/strcat.S: Here.
32139
32140 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32141
32142 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32143 * sysdeps/i386/pthread_spin_trylock.S: Here.
32144 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32145 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32146
32147 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 * sysdeps/i386/i486/string-inlines.c: Moved to ...
32150 * sysdeps/i386/string-inlines.c: Here.
32151
32152 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32153
32154 * sysdeps/i386/i486/htonl.S: Moved ...
32155 * sysdeps/i386/htonl.S: here.
32156
32157 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32158
32159 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32160 * sysdeps/i386/bits/atomic.h: Here.
32161
32162 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * sysdeps/i386/i486/Versions: Removed.
32165
32166 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32167
32168 [BZ #2898]
32169 * misc/mktemp.c: Add mkdtemp to the link_warning message.
32170 Based on patch by Aurelien Jarno.
32171
32172 2015-08-26 Stan Shebs <stanshebs@google.com>
32173
32174 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32175 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32176
32177 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32178
32179 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32180 * sysdeps/powerpc/dl-procinfo.c:
32181 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32182 feature so it shows when LD_SHOW_AUXV=1.
32183
32184 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32185
32186 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32187 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32188 definition. ISA 2.07B no longer requires full sync.
32189
32190 2015-08-26 Mike Frysinger <vapier@gentoo.org>
32191
32192 [BZ #18863]
32193 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32194 (si_call_addr): Define.
32195 (si_syscall): Define.
32196 (si_arch): Define.
32197
32198 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32199
32200 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32201 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32202 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32203 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32204 (__memset_zero_constant_len_parameter): New.
32205 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32206 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32207 (__memset_zero_constant_len_parameter): Don't define if
32208 __memset_chk or USE_AS_BZERO are defined.
32209
32210 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32211 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32212 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32213
32214 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32215 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32216 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32217 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32218 comments.
32219 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32220 -mno-mmx for $(all-rtld-routines).
32221 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32222 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32223 i386.
32224
32225 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32226
32227 * sysdeps/generic/unwind.h
32228 (_Unwind_Word): Use __mode__(__unwind_word__)
32229 instead of __mode__(__word__).
32230 (_Unwind_Sword): Likewise.
32231
32232 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32233 (MAX_NEEDED_INPUT): New define.
32234 (MAX_NEEDED_OUTPUT): New define.
32235
32236 * NEWS: New item for IBM z13 string optimizations.
32237
32238 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32239 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32240 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32241 * sysdeps/s390/multiarch/Makefile
32242 (sysdep_routines): Add memrchr functions.
32243 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32244 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32245
32246 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32247 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32248 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32249 * sysdeps/s390/multiarch/Makefile
32250 (sysdep_routines): Add wmemcmp functions.
32251 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32252 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32253 * benchtests/bench-wmemcmp.c: New File.
32254 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32255
32256 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32257 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32258 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32259 * sysdeps/s390/multiarch/Makefile
32260 (sysdep_routines): Add wmemset functions.
32261 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32262 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32263 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32264 * string/test-memset.c: Add wmemset support.
32265 * wcsmbs/test-wmemset.c: New File.
32266 * wcsmbs/Makefile (strop-tests): Add wmemset.
32267 * benchtests/bench-memset.c: Add wmemset support.
32268 * benchtests/bench-wmemset.c: New File.
32269 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32270
32271 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32272 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32273 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32274 * sysdeps/s390/multiarch/Makefile
32275 (sysdep_routines): Add memccpy functions.
32276 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32277 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32278 * string/memccpy.c: Use MEMCCPY if defined.
32279
32280 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32281 * sysdeps/s390/multiarch/memchr.c: Likewise.
32282 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32283 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32284 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32285 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32286 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32287 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32288 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32289 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32291 and rawmemchr functions.
32292 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32293 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32294 and wmemchr.
32295 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32296 * string/test-memchr.c: Add wmemchr support.
32297 * wcsmbs/test-wmemchr.c: New File.
32298 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32299 * benchtests/bench-memchr.c: Add wmemchr support.
32300 * benchtests/bench-wmemchr.c: New File.
32301 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32302
32303 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32304 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32305 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32306 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32307 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32308 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32309 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32310 wcscspn functions.
32311 * sysdeps/s390/multiarch/ifunc-impl-list.c
32312 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32313 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32314 * string/test-strcspn.c: Add wcscspn support.
32315 * wcsmbs/test-wcscspn.c: New File.
32316 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32317 * benchtests/bench-strcspn.c: Add wcscspn support.
32318 * benchtests/bench-wcscspn.c: New File.
32319 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32320
32321 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32322 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32323 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32324 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32325 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32326 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32327 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32328 wcspbrk functions.
32329 * sysdeps/s390/multiarch/ifunc-impl-list.c
32330 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32331 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32332 * string/test-strpbrk.c: Add wcspbrk support.
32333 * wcsmbs/test-wcspbrk.c: New File.
32334 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32335 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32336 * benchtests/bench-wcspbrk.c: New File.
32337 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32338
32339 * sysdeps/s390/multiarch/strspn-c.c: New File.
32340 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32341 * sysdeps/s390/multiarch/strspn.c: Likewise.
32342 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32343 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32344 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32345 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32346 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32347 wcsspn functions.
32348 * sysdeps/s390/multiarch/ifunc-impl-list.c
32349 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32350 * string/test-strspn.c: Add wcsspn support.
32351 * wcsmbs/test-wcsspn.c: New File.
32352 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32353 * benchtests/bench-strspn.c: Add wcsspn support.
32354 * benchtests/bench-wcsspn.c: New File.
32355 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32356
32357 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32358 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32359 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32360 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32361 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32362 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32363 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32364 wcsrchr functions.
32365 * sysdeps/s390/multiarch/ifunc-impl-list.c
32366 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32367 * benchtests/bench-wcsrchr.c: New File.
32368 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32369
32370 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32371 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32372 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32373 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32374 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32375 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32376 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32377 wcschrnul functions.
32378 * sysdeps/s390/multiarch/ifunc-impl-list.c
32379 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32380 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32381 * string/test-strchr.c: Add wcschrnul support.
32382 * wcsmbs/test-wcschrnul.c: New File.
32383 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32384 * benchtests/bench-strchr.c: Add wcschrnul support.
32385 * benchtests/bench-wcschrnul.c: New File.
32386 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32387
32388 * sysdeps/s390/multiarch/strchr-c.c: New File.
32389 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32390 * sysdeps/s390/multiarch/strchr.c: Likewise.
32391 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32392 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32393 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32394 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32395 wcschr functions.
32396 * sysdeps/s390/multiarch/ifunc-impl-list.c
32397 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32398 * string/strchr.c (STRCHR): Define and use macro.
32399 * benchtests/bench-wcschr.c: New File.
32400 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32401
32402 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32403 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32404 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32405 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32406 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32407 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32408 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32409 wcsncmp functions.
32410 * sysdeps/s390/multiarch/ifunc-impl-list.c
32411 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32412 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32413 * benchtests/bench-strncmp.c: Add wcsncmp support.
32414 * benchtests/bench-wcsncmp.c: New File.
32415 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32416
32417 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32418 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32419 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32420 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32421 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32422 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32423 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32424 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32425 wcscmp functions.
32426 * sysdeps/s390/multiarch/ifunc-impl-list.c
32427 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32428 * string/strcmp.c (STRCMP): Define and use macro.
32429 * benchtests/bench-wcscmp.c: New File.
32430 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32431 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32432 instead of _HAVE_STRING_ARCH_memchr.
32433
32434 * sysdeps/s390/multiarch/strncat-c.c: New File.
32435 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32436 * sysdeps/s390/multiarch/strncat.c: Likewise.
32437 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32438 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32439 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32440 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32441 wcsncat functions.
32442 * sysdeps/s390/multiarch/ifunc-impl-list.c
32443 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32444 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32445 * string/test-strncat.c: Add wcsncat support.
32446 * wcsmbs/test-wcsncat.c: New File.
32447 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32448 * benchtests/bench-strncat.c: Add wcsncat support.
32449 * benchtests/bench-wcsncat.c: New File.
32450 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32451
32452 * sysdeps/s390/multiarch/strcat-c.c: New File.
32453 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32454 * sysdeps/s390/multiarch/strcat.c: Likewise.
32455 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32456 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32457 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32458 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32459 wcscat functions.
32460 * sysdeps/s390/multiarch/ifunc-impl-list.c
32461 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32462 * string/strcat.c (STRCAT): Define and use macro.
32463 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32464 * string/test-strcat.c: Add wcscat support.
32465 * wcsmbs/test-wcscat.c: New File.
32466 * wcsmbs/Makefile (strop-tests): Add wcscat.
32467 * benchtests/bench-strcat.c: Add wcscat support.
32468 * benchtests/bench-wcscat.c: New File.
32469 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32470
32471 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32472 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32473 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32474 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32475 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32476 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32477 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32478 wcpncpy functions.
32479 * sysdeps/s390/multiarch/ifunc-impl-list.c
32480 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32481 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32482 * string/test-stpncpy.c: Add wcpncpy support.
32483 * wcsmbs/test-wcpncpy.c: New File.
32484 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32485 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32486 * benchtests/bench-wcpncpy.c: New File.
32487 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32488
32489 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32490 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32491 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32492 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32493 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32494 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32495 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32496 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32497 wcsncpy functions.
32498 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32499 * sysdeps/s390/multiarch/ifunc-impl-list.c
32500 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32501 * string/test-strncpy.c: Add wcsncpy support.
32502 * wcsmbs/test-wcsncpy.c: New File.
32503 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32504 * benchtests/bench-strncpy.c: Add wcsncpy support.
32505 * benchtests/bench-wcsncpy.c: New File.
32506 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32507
32508 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32509 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32510 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32511 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32512 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32513 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32514 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32515 wcpcpy functions.
32516 * string/stpcpy.c: Use STPCPY if defined.
32517 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32518 * sysdeps/s390/multiarch/ifunc-impl-list.c
32519 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32520 * string/test-stpcpy.c: Add wcpcpy support.
32521 * wcsmbs/test-wcpcpy.c: New File.
32522 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32523 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32524 * benchtests/bench-wcpcpy.c: New File.
32525 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32526
32527 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32528 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32529 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32530 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32531 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32532 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32533 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32534 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32535 wcscpy functions.
32536 * sysdeps/s390/multiarch/ifunc-impl-list.c
32537 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32538 * benchtests/bench-wcscpy.c: New File.
32539 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32540
32541 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32542 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32543 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32544 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32545 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32546 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32547 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32548 wcsnlen functions.
32549 * sysdeps/s390/multiarch/ifunc-impl-list.c
32550 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32551 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32552 * string/test-strnlen.c: Add wcsnlen support.
32553 * wcsmbs/test-wcsnlen.c: New File.
32554 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32555 * benchtests/bench-strnlen.c: Add wcsnlen support.
32556 * benchtests/bench-wcsnlen.c: New File.
32557 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32558
32559 * sysdeps/s390/multiarch/Makefile: New File.
32560 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32561 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32562 * sysdeps/s390/multiarch/strlen.c: Likewise.
32563 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32564 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32565 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32566 * string/strlen.c (STRLEN): Define and use macro.
32567 * sysdeps/s390/multiarch/ifunc-impl-list.c
32568 (IFUNC_VX_IMPL): New macro function.
32569 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32570 * benchtests/Makefile (wcsmbs-bench): New variable.
32571 (string-bench-all): Added wcsmbs-bench.
32572 * benchtests/bench-wcslen.c: New File.
32573
32574 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32575 s390_vx_libc_ifunc2): New macro function.
32576
32577 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32578 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32579 assembler support.
32580 * sysdeps/s390/configure: Regenerated.
32581
32582 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32583 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32584
32585 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32586 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32587 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32588
32589 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32590 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32592 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32593 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32594 (memcmp, bcmp): Use __memcmp_default as alias source.
32595 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32596 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32597 Rename to __memcmp_default.
32598 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32599 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32600 (memcpy): Use __memcpy_default as alias source.
32601 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32602 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32603 Rename to __memcpy_default.
32604 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32605 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32606 (memset): Use __memset_default as alias source.
32607 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32608 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32609 Rename to __memset_default.
32610 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32611 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32612 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32613 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32614 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32615 (memcmp, bcmp): Use __memcmp_default as alias source.
32616 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32617 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32618 Rename to __memcmp_default.
32619 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32620 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32621 (memcpy): Use __memcpy_default as alias source.
32622 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32623 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32624 Rename to __memcpy_default.
32625 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32626 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32627 (memset): Use __memset_default as alias source.
32628 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32629 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32630 Rename to __memset_default.
32631 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32632 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32633
32634 [BZ #18610]
32635 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32636 __ieee_instruction_pointer to __unused.
32637 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32638 __ieee_instruction_pointer.
32639 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32640 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32641 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32642 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32643 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32644 Mark dxc-field as reserved.
32645
32646 2015-08-25 Roland McGrath <roland@hack.frob.com>
32647
32648 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32649 if the weak reference is not null.
32650
32651 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32652
32653 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32654
32655 [BZ #11214]
32656 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32657
32658 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32659
32660 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32661 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32662 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32663 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32664 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32665 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32666 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32667 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32668 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32669 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32670 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32671 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32672 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32673 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32674 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32675 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32676 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32677 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32678
32679 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32680
32681 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32682 register other than r0 for tabort, it has special meaning.
32683 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32684 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32685 transaction before starting syscall.
32686
32687 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32688
32689 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32690
32691 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32692
32693 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32694
32695 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32696 * sysdeps/x86_64/rtld-memset.S: Likewise.
32697 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32698 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32699 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32700 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32701
32702 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32703
32704 2015-08-25 Ondƙej Bílka <neleai@seznam.cz>
32705
32706 * debug/strcpy_chk.c: Improve performance.
32707 * debug/stpcpy_chk.c: Likewise.
32708 * sysdeps/x86_64/strcpy_chk.S: Remove.
32709 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32710
32711 [BZ #18240]
32712 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32713
32714 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32715
32716 [BZ #15128]
32717 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32718 ifuncmain8.
32719 (modules-names): Add ifuncmod8.
32720 ($(objpfx)ifuncmain8): New rule.
32721 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32722 <cpuid.h>.
32723 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32724 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32725 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32726 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32727 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32728 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32729 * sysdeps/x86_64/ifuncmain8.c: New file.
32730 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32731 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32732 Removed.
32733 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32734 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32735 Change rtld_savespace_sse to __glibc_unused2.
32736 (RTLD_CHECK_FOREIGN_CALL): Removed.
32737 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32738 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32739 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32740
32741 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32742
32743 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32744
32745 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32746
32747 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32748 Unconditionally set __fpcr to avoid uninialized warning.
32749 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32750
32751 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32752
32753 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32754 is corrupt.
32755
32756 * malloc/arena.c (arena_get2): Drop unused argument.
32757 (arena_lock): Adjust.
32758 (arena_get_retry): Likewise.
32759
32760 2015-08-24 Andreas Schwab <schwab@suse.de>
32761
32762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32763 Don't define.
32764 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32765 (__ASSUME_IPC64): Don't undef.
32766 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32767 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32768 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32769 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32770 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32771 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32772 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32773 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32774 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32775 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32776 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32777 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32778 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32779 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32780 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32781 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32782 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32783 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32784 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32785 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32786 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32787
32788 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32789
32790 * manual/Makefile (install): Only build manual when perl is available.
32791
32792 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32793
32794 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32795 '#undef memcpy' by '#undef memchr'.
32796
32797 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32798
32799 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32800 memchr not point to the internal __GI_memchr implementation.
32801
32802 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32803
32804 * timezone/Makefile (CFLAGS-zdump.c): Remove
32805 -Wno-strict-prototypes.
32806 (CFLAGS-zic.c): Likewise.
32807 (CFLAGS-ialloc.c): Likewise.
32808 (CFLAGS-scheck.c): Likewise.
32809
32810 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32811 -Wno-error=undef.
32812
32813 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32814
32815 * i386/i686/multiarch/strcasestr-c.c: Removed.
32816 * x86_64/multiarch/strcasestr.c: Likewise.
32817 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32818 Remove strcasestr.
32819
32820 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32821
32822 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32823
32824 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32825 variables for high and low parts before possibly modifying them.
32826
32827 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32828
32829 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32830 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32831 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32832 of "multiarch/init-arch.h".
32833 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32834 * sysdeps/x86/init-arch.h: This.
32835
32836 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32837
32838 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32839 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32840
32841 2015-08-20 Ondƙej Bílka <neleai@seznam.cz>
32842
32843 [BZ #17787]
32844 * manual/macros.texi: Add twoexp macro.
32845 * manual/filesys.texi: Fix exponents.
32846 * manual/llio.texi: Likewise.
32847 * manual/stdio.texi: Likewise.
32848
32849 2015-08-20 Florian Weimer <fweimer@redhat.com>
32850
32851 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32852 incorrect use.
32853
32854 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32855
32856 [BZ #18370]
32857 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32858 whose real or imaginary part has small absolute value.
32859 * math/s_csqrtf.c (__csqrtf): Likewise.
32860 * math/s_csqrtl.c (__csqrtl): Likewise.
32861 * math/auto-libm-test-in: Add more tests of csqrt.
32862 * math/auto-libm-test-out: Regenerated.
32863 * sysdeps/i386/fpu/libm-test-ulps: Update.
32864
32865 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32866
32867 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32868 __ppc_set_ppr_very_low): New functions.
32869 * manual/platform.texi: Add documentation about
32870 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32871
32872 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32873
32874 * string/stpncpy.c (stpncpy): Improve performance using
32875 __strnlen/memcpy/memset.
32876
32877 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32878
32879 [BZ #18796]
32880 * scripts/test-installation.pl: Don't add -lmvec to build options if
32881 libmvec wasn't built.
32882
32883 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32884
32885 [BZ #14341]
32886 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32887 case when there is a gap between DT_REL and DT_JMPREL sections.
32888 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32889 (LDFLAGS-tst-split-dynreloc): New.
32890 (tst-split-dynreloc-ENV): Likewise.
32891 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32892 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32893
32894 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32895
32896 [BZ #18822]
32897 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32898 attribute_hidden.
32899 (__xstat64_conv): Likewise.
32900 (__xstat32_conv): Likewise.
32901
32902 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32903
32904 [BZ #18822]
32905 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32906 Don't load %ebx when calling __setcontext. Call __setcontext
32907 with HIDDEN_JUMPTARGET.
32908 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32909 libc_hidden_def.
32910
32911 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32912
32913 * sysdeps/i386/i686/Makefile
32914 [$(subdir) == string] (sysdep_routines): Moved to ...
32915 * sysdeps/i386/Makefile: Here.
32916 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32917 * sysdeps/i386/cacheinfo.c: Here.
32918 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32919 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32920 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32921 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32922
32923 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32924
32925 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32926 __i586__ is defined.
32927 (HAS_I686): Defined to 1 if __i686__ is defined.
32928
32929 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32930
32931 * elf/Makefile [$(have-z-execstack) = yes]
32932 (CPPFLAGS-tst-execstack.c): New variable.
32933
32934 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32935 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32936 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32937 UTMPX || _HAVE_UT_TV].
32938 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32939 UTMPX || _HAVE_UT_TV - 0].
32940
32941 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32942
32943 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32944 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32945 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32946
32947 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32948
32949 * sysdeps/powerpc/dl-procinfo.c:
32950 (_dl_powerpc_cap_flags): Added missing strings for some
32951 hwcap features.
32952 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32953
32954 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32955
32956 Port the 0x7efe...feff pattern to GCC 6.
32957 See Steve Ellcey's bug report in:
32958 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32959 * string/memrchr.c (MEMRCHR):
32960 * string/rawmemchr.c (RAWMEMCHR):
32961 * string/strchr.c (strchr):
32962 * string/strchrnul.c (STRCHRNUL):
32963 Rewrite code to avoid issues with signed shift overflow.
32964
32965 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32966
32967 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32968 whether cpuid is available only if HAS_CPUID is 0.
32969 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32970 (HAS_I586): Likewise.
32971 (HAS_I686): Likewise.
32972
32973 2015-08-18 Zack Weinberg <zackw@panix.com>
32974
32975 * misc/Versions (libc): Add GLIBC_2.23.
32976
32977 2015-08-18 Alan Modra <amodra@gmail.com>
32978
32979 [BZ #18421]
32980 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32981 .Lp__global.
32982 (_start): Load %dp via .Lp__global.
32983 [!SHARED]: Use .section .rodata.
32984
32985 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32986
32987 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32988 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32989
32990 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32991
32992 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32993 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32994
32995 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32996
32997 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32998 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32999
33000 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33001
33002 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33003 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33004
33005 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33006
33007 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33008 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33009
33010 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33011
33012 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33013 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33014
33015 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33016
33017 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33018
33019 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33020
33021 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33022 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
33023 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33024 (__ASSUME_LWS_CAS): Delete.
33025
33026 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33027
33028 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33029 * sysdeps/hppa/configure: Regenerated.
33030 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33031 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33032 * sysdeps/hppa/nptl/tls.h: Likewise.
33033
33034 2015-08-17 Joseph Myers <joseph@codesourcery.com>
33035
33036 [BZ #18823]
33037 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33038 for scaling up small arguments.
33039 * math/s_csqrtf.c (__csqrtf): Likewise.
33040 * math/s_csqrtl.c (__csqrtl): Likewise.
33041 * math/auto-libm-test-in: Add more tests of csqrt.
33042 * math/auto-libm-test-out: Regenerated.
33043
33044 2015-08-17 Andreas Schwab <schwab@suse.de>
33045
33046 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33047 version set GLIBC_2.19.
33048
33049 2015-08-16 Zack Weinberg <zackw@panix.com>
33050
33051 [BZ #18681]
33052 * misc/regexp.h: This interface is no longer supported.
33053 Remove all contents, leaving only an #error directive.
33054 * misc/regexp.c (loc1, loc2, locs, step, advance):
33055 Demote to compatibility symbols.
33056
33057 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
33058
33059 [BZ #18084]
33060 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33061 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33062 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33063 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33064 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33065 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33066 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33067 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33068 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33069
33070 2015-08-15 Zack Weinberg <zackw@panix.com>
33071
33072 [BZ #18795]
33073 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33074 buffer length is known to be too large, not if it's known to be
33075 small enough.
33076 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33077 overflow at runtime, involving a length parameter, twice: once
33078 with a compile-time constant length parameter, once without.
33079
33080 2015-08-14 Joseph Myers <joseph@codesourcery.com>
33081
33082 [BZ #18824]
33083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33084 scaling x * y up instead of down.
33085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33087 * math/auto-libm-test-in: Add more tests of fma.
33088 * math/auto-libm-test-out: Regenerated.
33089
33090 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33091
33092 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33093
33094 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33095
33096 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33097 unnecessary movq.
33098 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33099 Likewise.
33100
33101 2015-08-13 Joseph Myers <joseph@codesourcery.com>
33102
33103 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33104 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33105 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33106 and tgamma.
33107 * math/auto-libm-test-out: Regenerated.
33108 * sysdeps/i386/fpu/libm-test-ulps: Update.
33109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33110
33111 [BZ #16520]
33112 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33113 (__tanh): Force underflow exception for arguments with small
33114 absolute value.
33115 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33116 (__tanhf): Force underflow exception for arguments with small
33117 absolute value.
33118 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33119 (__tanhl): Force underflow exception for arguments with small
33120 absolute value.
33121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33122 (__tanhl): Force underflow exception for arguments with small
33123 absolute value.
33124 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33125 (__tanhl): Force underflow exception for arguments with small
33126 absolute value.
33127 * math/auto-libm-test-in: Add more tests of tanh.
33128 * math/auto-libm-test-out: Regenerated.
33129 * sysdeps/i386/fpu/libm-test-ulps: Update.
33130
33131 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33132
33133 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33134 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33135
33136 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33137
33138 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33139 <cpuid.h>.
33140
33141 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33142
33143 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33144 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33145
33146 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33147
33148 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33149 Remove $(objpfx)init-arch.o.
33150 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33151 init-arch.
33152 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33153 (INIT_ARCH_EXT): Defined as empty.
33154 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33155 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33156 __init_cpu_features call. Replace HAS_XXX with
33157 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33158 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33159 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33160 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33161 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33162 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33163 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33164 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33165 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33166 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33167 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33168 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33169 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33170 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33171 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33172 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33173 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33175 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33176 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33177 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33178 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33179 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33180 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33181 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33182 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33183 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33184 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33185 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33186 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33187 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33188 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33189 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33190 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33191 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33192 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33193
33194 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33195
33196 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33197 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33200 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33201 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33203 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33205 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33206 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33207 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33208 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33209 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33211 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33212 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33213 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33214 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33215 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33216 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33217 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33218 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33219 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33220 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33221 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33222 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33226 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33227 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33228 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33229 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33230 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33231 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33232 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33233 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33234 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33235 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33236 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33237 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33238 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33239
33240 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33241
33242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33243 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33247 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33249 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33250 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33253 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33254 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33255 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33256 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33257 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33259 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33260 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33261 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33262 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33263 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33264 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33265 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33266 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33267 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33268 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33269 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33270 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33271 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33272 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33273 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33274 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33275 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33276 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33277 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33278 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33279 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33280 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33281 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33282 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33283 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33284 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33285
33286 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33287
33288 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33289 (dl_platform_init): Call init_cpu_features.
33290 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33291 * sysdeps/i386/i686/cacheinfo.c
33292 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33293 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33294 * sysdeps/i386/i686/multiarch/Versions: Removed.
33295 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33296 Removed.
33297 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33298 * sysdeps/unix/sysv/linux/x86/Makefile
33299 (libpthread-sysdep_routines): Remove init-arch.
33300 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33301 <sysdeps/x86_64/dl-procinfo.c> instead of
33302 sysdeps/generic/dl-procinfo.c>.
33303 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33304 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33305 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33306 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33307 [$(subdir) == elf] (tests-static): Add
33308 tst-get-cpu-features-static.
33309 * sysdeps/x86/Versions: New file.
33310 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33311 * sysdeps/x86/cpu-features.c: Likewise.
33312 * sysdeps/x86/cpu-features.h: Likewise.
33313 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33314 * sysdeps/x86/libc-start.c: Likewise.
33315 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33316 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33317 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33318 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33319 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33320 Assume USE_MULTIARCH is defined and don't check it.
33321 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33322 (is_amd): Likewise.
33323 (max_cpuid): Likewise.
33324 (intel_check_word): Likewise.
33325 (__cache_sysconf): Don't call __init_cpu_features.
33326 (__x86_preferred_memory_instruction): Removed.
33327 (init_cacheinfo): Don't call __init_cpu_features. Replace
33328 __cpu_features with GLRO(dl_x86_cpu_features).
33329 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33330 (dl_platform_init): Call init_cpu_features.
33331 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33332 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33333 * sysdeps/x86_64/multiarch/Versions: Removed.
33334 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33335 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33336 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33337 Removed.
33338 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33339
33340 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33341
33342 [BZ #18820]
33343 * libio/Makefile (test-fmemopen-mem): New test.
33344 * libio/test-fmemopen.c (do_bz18820): New test.
33345 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33346 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33347
33348 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33349
33350 [BZ #16734]
33351 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33352 (FREE_BUF): Delete.
33353 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33354 * libio/genops.c (_IO_setb): Use malloc and free directly.
33355 (_IO_default_doallocate, _IO_default_finish): Likewise.
33356 ( _IO_unbuffer_all): Likewise.
33357 ( libc_freeres_fn): Likewise.
33358 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33359 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33360 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33361 (_IO_wdefault_doallocate): Likewise.
33362
33363 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33364
33365 [BZ #18086]
33366 * sysdeps/posix/nice.c (nice): Restore old errno.
33367 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33368
33369 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33370
33371 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33372
33373 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33374
33375 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33376 __bcopy and add a weak_alias to bcopy.
33377 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33378 for static build.
33379
33380 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33381 cleanup macro usage.
33382 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33383 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33384 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33385 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33386 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33387 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33388 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33389 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33390 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33391 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33392 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33393 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33395 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33396 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33397 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33398 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33399 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33400 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33401
33402 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33403 libc_hidden_def.
33404 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33405
33406 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33407 (sysdep_routines): Add strstr-ppc64.
33408 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33409
33410 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33411
33412 [BZ #18778]
33413 * elf/Makefile (tests): Add Add tst-nodelete2.
33414 (modules-names): Add tst-nodelete2mod.
33415 (tst-nodelete2mod.so-no-z-defs): New.
33416 ($(objpfx)tst-nodelete2): Likewise.
33417 ($(objpfx)tst-nodelete2.out): Likewise.
33418 (LDFLAGS-tst-nodelete2): Likewise.
33419 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33420 out of loop through all loaded libraries.
33421 * elf/tst-nodelete2.c: New file.
33422 * elf/tst-nodelete2mod.c: Likewise.
33423 * elf/tst-znodelete-zlib.cc: Delete.
33424
33425 2015-08-11 Andreas Schwab <schwab@suse.de>
33426
33427 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33428 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33429 (__openat64_nocancel): Likewise.
33430
33431 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33432
33433 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33434 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33435 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33436 * math/auto-libm-test-out: Regenerated.
33437 * sysdeps/i386/fpu/libm-test-ulps: Update.
33438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33439
33440 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33441
33442 [BZ #18790]
33443 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33444 threshold for returning +/- 1.
33445 * math/auto-libm-test-in: Add more tests of tanh.
33446 * math/auto-libm-test-out: Regenerated.
33447 * sysdeps/i386/fpu/libm-test-ulps: Update.
33448
33449 2015-08-10 Andreas Schwab <schwab@suse.de>
33450
33451 [BZ #18781]
33452 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33453 MORE_OFLAGS to oflag.
33454 * io/test-lfs.c (do_test): Test openat64.
33455
33456 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33457
33458 [BZ #18789]
33459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33460 smaller threshold for returning the argument.
33461 * math/auto-libm-test-in: Add more tests of sinh.
33462 * math/auto-libm-test-out: Regenerated.
33463 * sysdeps/i386/fpu/libm-test-ulps: Update.
33464
33465 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33466
33467 [BZ #18674]
33468 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33469 break.
33470
33471 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33472
33473 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33474 (generated): Don't add $(addprefix z.,$(tzfiles)).
33475
33476 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33477
33478 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33479 * scripts/sysd-rules.awk: Likewise.
33480
33481 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33482
33483 * iconvdata/tst-tables.sh: Change echo -n to printf.
33484 * nss/db-Makefile: Likewise.
33485 * posix/tst-getconf.sh: Likewise.
33486 * stdio-common/tst-unbputc.sh: Likewise.
33487
33488 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33489
33490 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33491 MADV_*_PAGES defines behind this feature check.
33492
33493 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33494
33495 [BZ #18480]
33496 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33497 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33498 Define.
33499 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33500 LOAD_REGS_5, LOAD_REGS_6): Update.
33501 (INTERNAL_SYSCALL): Update using new LOAD defines.
33502 (INTERNAL_SYSCALL_NCS): Likewise.
33503 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33504
33505 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33506
33507 [BZ #16734]
33508 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33509
33510 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33511
33512 [BZ #17905]
33513 * catgets/Makefile (tst-catgets-mem): New test.
33514 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33515 * catgets/open_catalog.c (__open_catalog): Likewise.
33516 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33517
33518 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33519
33520 [BZ #18787]
33521 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33522 clobber registers.
33523 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33524 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33525 Cast return to __typeof (oldval).
33526
33527 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33528
33529 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33530 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33531 and delete sys/syscall.h include.
33532
33533 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33534
33535 [BZ #16517]
33536 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33537 (tan): Force underflow exception for arguments with small absolute
33538 value.
33539 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33540 (__kernel_tanf): Force underflow exception for arguments with
33541 small absolute value.
33542 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33543 (__kernel_tanl): Force underflow exception for arguments with
33544 small absolute value.
33545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33546 (__kernel_tanl): Force underflow exception for arguments with
33547 small absolute value.
33548 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33549 (__kernel_tanl): Force underflow exception for arguments with
33550 small absolute value.
33551 * math/auto-libm-test-in: Add more tests of tan.
33552 * math/auto-libm-test-out: Regenerated.
33553
33554 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33555
33556 Fix sysdeps/i386/fpu/s_scalbn.S build
33557
33558 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33559
33560 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33561
33562 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33563
33564 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33565
33566 Fix gcrt0.o compilation
33567
33568 When static-start-installed-name is different from
33569 start-installed-name, we must not use the shared objects.
33570
33571 * csu/Makefile
33572 (extra-objs): Add gmon-start.o when building shared library and
33573 $(static-start-installed-name) is different from
33574 $(start-installed-name).
33575 $(objpfx)g$(static-start-installed-name): When building shared
33576 library and $(static-start-installed-name) is different from
33577 $(static-start-installed-name), revert to non-shared rule,
33578 i.e. using $(objpfx)% and gmon-start.o.
33579
33580 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33581
33582 [BZ #16519]
33583 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33584 (__ieee754_sinh): Force underflow exception for arguments with
33585 small absolute value.
33586 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33587 (__ieee754_sinhf): Force underflow exception for arguments with
33588 small absolute value.
33589 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33590 (__ieee754_sinhl): Force underflow exception for arguments with
33591 small absolute value.
33592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33593 (__ieee754_sinhl): Force underflow exception for arguments with
33594 small absolute value.
33595 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33596 (__ieee754_sinhl): Force underflow exception for arguments with
33597 small absolute value.
33598 * math/auto-libm-test-in: Add more tests of sinh.
33599 * math/auto-libm-test-out: Regenerated.
33600 * sysdeps/i386/fpu/libm-test-ulps: Update.
33601
33602 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33603
33604 * libio/oldfileops.c: Include unistd.h.
33605
33606 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33607
33608 * stdlib/isomac.c: Include ctype.h.
33609
33610 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33611
33612 * dirent/tst-seekdir.c (main): Converted to ...
33613 (do_test): ... this.
33614 (TEST_FUNCTION): New macro.
33615 Include test-skeleton.c.
33616 * elf/tst-dlmodcount.c (main): Converted to ...
33617 (do_test): ... this.
33618 (TEST_FUNCTION): New macro.
33619 Include test-skeleton.c.
33620 * elf/tst-order-main.c (main): Converted to ...
33621 (do_test): ... this.
33622 (TEST_FUNCTION): New macro.
33623 Include test-skeleton.c.
33624 * elf/tst-pie2.c (main): Converted to ...
33625 (do_test): ... this.
33626 (TEST_FUNCTION): New macro.
33627 Include test-skeleton.c.
33628 * inet/tst-ether_aton.c (main): Converted to ...
33629 (do_test): ... this.
33630 (TEST_FUNCTION): New macro.
33631 Include test-skeleton.c.
33632 * misc/tst-mntent.c (main): Converted to ...
33633 (do_test): ... this.
33634 (TEST_FUNCTION): New macro.
33635 Include test-skeleton.c.
33636 * misc/tst-tsearch.c (main): Converted to ...
33637 (do_test): ... this.
33638 (TEST_FUNCTION): New macro.
33639 Include test-skeleton.c.
33640 * posix/tst-regexloc.c (main): Converted to ...
33641 (do_test): ... this.
33642 (TEST_FUNCTION): New macro.
33643 Include test-skeleton.c.
33644 * resolv/tst-aton.c (main): Converted to ...
33645 (do_test): ... this.
33646 (TEST_FUNCTION): New macro.
33647 Include test-skeleton.c.
33648 * stdio-common/test-fwrite.c (main): Converted to ...
33649 (do_test): ... this.
33650 (TEST_FUNCTION): New macro.
33651 Include test-skeleton.c.
33652 * stdio-common/tst-ferror.c (main): Converted to ...
33653 (do_test): ... this.
33654 (TEST_FUNCTION): New macro.
33655 Include test-skeleton.c.
33656 * stdio-common/tst-printf.c (main): Converted to ...
33657 (do_test): ... this.
33658 (TEST_FUNCTION): New macro.
33659 Include test-skeleton.c.
33660 * stdio-common/tst-printfsz.c (main): Converted to ...
33661 (do_test): ... this.
33662 (TEST_FUNCTION): New macro.
33663 Include test-skeleton.c.
33664 * stdlib/tst-strtod.c (main): Converted to ...
33665 (do_test): ... this.
33666 (TEST_FUNCTION): New macro.
33667 Include test-skeleton.c.
33668 * string/tst-strlen.c (main): Converted to ...
33669 (do_test): ... this.
33670 (TEST_FUNCTION): New macro.
33671 Include test-skeleton.c.
33672 * string/tst-svc.c (main): Converted to ...
33673 (do_test): ... this.
33674 (TEST_FUNCTION): New macro.
33675 Include test-skeleton.c.
33676 * time/tst-strptime.c (main): Converted to ...
33677 (do_test): ... this.
33678 (TEST_FUNCTION): New macro.
33679 Include test-skeleton.c.
33680 * timezone/tst-timezone.c (main): Converted to ...
33681 (do_test): ... this.
33682 (TEST_FUNCTION): New macro.
33683 Include test-skeleton.c.
33684
33685 2015-08-05 Zack Weinberg <zackw@panix.com>
33686
33687 * misc/regexp.h: Update comments.
33688
33689 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33690
33691 [BZ #18635]
33692 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33693 before return label.
33694
33695 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33696
33697 [BZ #18661]
33698 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33699 when calling __errno_location.
33700 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33701 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33702
33703 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33704
33705 [BZ #18661]
33706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33707 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33708 __gettimeofday.
33709
33710 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33711
33712 [BZ #18661]
33713 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33714 (__start_context): Don't use pop to restore %rdi so that stack
33715 is aligned to 16 bytes when calling __setcontext.
33716
33717 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33718
33719 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33720 only for libc.
33721 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33722
33723 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33724
33725 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33726 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33727 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33728
33729 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33730
33731 * string/memccpy.c (memccpy):
33732 Improve performance by using memchr/memcpy/__mempcpy.
33733
33734 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33735
33736 * string/strncpy.c (strncpy):
33737 Improve performance by using __strnlen/memcpy.
33738
33739 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33740
33741 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33742 Optimize to avoid an unnecessary FPCR read.
33743
33744 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33745
33746 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33747 Optimize to reduce FPCR/FPSR accesses.
33748
33749 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33750
33751 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33752 dead->data[category] != NULL.
33753
33754 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33755
33756 [BZ #18647]
33757 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33758 and |x| close to 1, use absolute value of x when computing log.
33759 * math/auto-libm-test-in: Add more tests of pow.
33760 * math/auto-libm-test-out: Regenerated.
33761
33762 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33763
33764 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33765 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33766 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33767
33768 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33769
33770 [BZ #18525]
33771 * locales/km_KH: Remove timezone definition.
33772 * locales/lo_LA: Likewise.
33773 * locales/my_MM: Likewise.
33774 * locales/nan_TW@latin: Likewise.
33775 * locales/th_TH: Likewise.
33776 * locales/uk_UA: Likewise.
33777
33778 2015-08-05 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
33779
33780 [BZ #18265]
33781 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33782 (wcsncat): Likewise.
33783 (wcscmp): Likewise.
33784 (wcsncmp): Likewise.
33785
33786 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33787
33788 * test-skeleton.c (usage): New function.
33789 (main): Call usage when opt is '?'.
33790
33791 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33792
33793 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33794 before first use.
33795
33796 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33797
33798 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33799 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33800 in there too.
33801
33802 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33803
33804 * version.h (RELEASE): Set to "development".
33805 (VERSION): Set to "2.22.90"
33806
33807 * version.h (RELEASE): Set to "stable".
33808 (VERSION): Set to "2.22"
33809 * include/features.h (__GLIBC_MINOR__): Set to 22.
33810
33811 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33812
33813 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33814 Restructure macro to avoid "value computed is not used" warning.
33815 (atomic_compare_and_exchange_val_acq): Likewise.
33816
33817 2015-08-04 Andreas Schwab <schwab@suse.de>
33818
33819 [BZ #18635]
33820 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33821 ret.
33822 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33823
33824 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33825
33826 * po/pl.po: Updated translation.
33827 * po/uk.po: Likewise.
33828 * po/fi.po: Likewise.
33829 * po/ko.po: Likewise.
33830 * po/ru.po: Likewise.
33831 * po/vi.po: Likewise.
33832
33833 2015-07-31 Zack Weinberg <zackw@panix.com>
33834
33835 [BZ #18681]
33836 * regexp.h: Add unconditional #warning stating that this header
33837 will be removed soon. Revise banner comment to match.
33838 (compile): Consistently use ERROR instead of RETURN to report
33839 errors (partial fix for BZ #18681).
33840 * regexp.c: Don't include regexp.h. Remove some unnecessary
33841 declarations.
33842
33843 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33844
33845 * po/libc.pot: Regenerated.
33846
33847 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33848
33849 [BZ #18740]
33850 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33851 float-vlen4-arch-ext-cflags): Removed.
33852 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33853 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33854
33855 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33856
33857 [BZ #14113]
33858 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33859 aligned to __aligned__.
33860 (pthread_cond_t, pthread_rwlock_t): Likewise.
33861
33862 2015-07-30 Torvald Riegel <triegel@redhat.com>
33863
33864 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33865
33866 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33867
33868 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33869 (struct sigaction): Change sa_flags from a long to an int, and add
33870 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33871
33872 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33873
33874 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33875 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33876 sysdeps/generic/sysdep.h include.
33877 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33878 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33879 sysdeps/hppa/sysdep.h.
33880 (ENTRY, PSEUDO): Undefine before defining.
33881
33882 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33883
33884 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33885 from scratch to use INTERNAL_SYSCALL.
33886
33887 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33888
33889 [BZ #18078]
33890 * scripts/check-localplt.awk: Support alternate relocations.
33891 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33892 sections.
33893 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33894 malloc entries with + REL R_386_GLOB_DAT.
33895 * sysdeps/x86_64/localplt.data: New file.
33896
33897 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33898
33899 [BZ #18731]
33900 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33901 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33902 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33903
33904 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33905
33906 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33907
33908 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33909
33910 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33911 directly in terms of __sync_fetch_and_add and delete (int) cast.
33912
33913 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33914
33915 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33916 the -D_ASM_IA64_CURRENT_H flag.
33917
33918 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33919
33920 [BZ #18641]
33921 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33922
33923 2015-07-27 Andreas Schwab <schwab@suse.de>
33924
33925 * conform/conformtest.pl (checknamespace): Filter out string
33926 literals while tokenizing.
33927
33928 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33929
33930 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33931 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33932 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33933
33934 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33935
33936 * nptl/tst-join7mod.c: Add #include <string.h>.
33937
33938 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33939
33940 * sysdeps/nios2/libm-test-ulps: Update.
33941
33942 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33943
33944 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33945 Fix order of arguments to the rt_sigprocmask syscall.
33946 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33947 Likewise.
33948
33949 2015-07-24 Roland McGrath <roland@hack.frob.com>
33950
33951 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33952
33953 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33954
33955 [BZ #18457]
33956 * nptl/Makefile (tests): New test case tst-join7.
33957 (modules-names): New test case module tst-join7mod.
33958 * nptl/tst-join7.c: New file.
33959 * nptl/tst-join7mod.c: New file.
33960 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33961 all translation units in libc.so, libpthread.so and rtld.
33962
33963 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33964
33965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33966
33967 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33968
33969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33971 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33973 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33974 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33975 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33976 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33977 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33978 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33979 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33980 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33981 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33982 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33983 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33984 implementation.
33985
33986 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33987
33988 [BZ #17711]
33989 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33990 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33991 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33992 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33993 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33994 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33995
33996 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33997
33998 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33999 instead of just saying load lock in the comments.
34000
34001 2015-07-23 Roland McGrath <roland@hack.frob.com>
34002
34003 * sysdeps/unix/Subdirs: Moved ...
34004 * sysdeps/posix/Subdirs: ... here.
34005 * login/pty.h (struct termios, struct winsize): Add forward decls.
34006 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34007 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34008 * sysdeps/arm/nacl/libc.abilist: Updated.
34009 * sysdeps/nacl/libutil.abilist: New file.
34010
34011 * bits/signum.h: Update comments to mention 1003.1-2013 too.
34012 (SIGWINCH): New macro.
34013
34014 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34015 * sysdeps/arm/nacl/libc.abilist: Add it.
34016
34017 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34018
34019 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34020
34021 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34022
34023 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34024 Swap __glibc_reserved0 and sa_flags order.
34025
34026 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34027
34028 [BZ #18657]
34029 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34030 are pending TLS destructor calls.
34031 * include/link.h (struct link_map): Add concurrency note for
34032 L_TLS_DTOR_COUNT.
34033 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34034 Don't touch the link map flag. Atomically increment
34035 l_tls_dtor_count.
34036 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34037 Avoid taking the load lock and don't touch the link map flag.
34038 * stdlib/tst-tls-atexit-nodelete.c: New test case.
34039 * stdlib/Makefile (tests): Use it.
34040 * stdlib/tst-tls-atexit.c (do_test): dlopen
34041 tst-tls-atexit-lib.so again before dlclose. Add conditionals
34042 to allow tst-tls-atexit-nodelete test case to use it.
34043
34044 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34045
34046 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34047 to bits/types.h.
34048 (msgqnum_t): New typedef.
34049 (msglen_t): Likewise.
34050 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
34051 and msg_qbytes type to msglen_t.
34052
34053 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34054
34055 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34056 pad0 to __glibc_reserved0.
34057 (struct stat64): Likewise.
34058
34059 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34060
34061 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34062 Change sa_flags from a long to an int and add __glibc_reserved0 before
34063 it for padding.
34064
34065 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34066
34067 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34068 anonymous by deleting "siginfo" name.
34069
34070 2015-07-21 Roland McGrath <roland@hack.frob.com>
34071
34072 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34073 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34074 rather than __nacl_irt_filename.
34075 * sysdeps/nacl/xstat.c (__xstat): Likewise.
34076
34077 * NEWS: New item for arm-nacl port.
34078 * sysdeps/arm/nacl/libc.abilist: New file.
34079 * sysdeps/nacl/ld.abilist: New file.
34080 * sysdeps/nacl/libBrokenLocale.abilist: New file.
34081 * sysdeps/nacl/libanl.abilist: New file.
34082 * sysdeps/nacl/libcrypt.abilist: New file.
34083 * sysdeps/nacl/libdl.abilist: New file.
34084 * sysdeps/nacl/libm.abilist: New file.
34085 * sysdeps/nacl/libpthread.abilist: New file.
34086 * sysdeps/nacl/libresolv.abilist: New file.
34087 * sysdeps/nacl/librt.abilist: New file.
34088
34089 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
34090
34091 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34092 __startcontext to initialize the new context.
34093 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34094 up CFI directive to forbid further backtracing.
34095
34096 2015-07-21 Marko Myllynen <myllynen@redhat.com>
34097
34098 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34099 reference.
34100 * charmaps/ANSI_X3.4-1968: Likewise.
34101 * charmaps/BS_4730: Likewise.
34102 * charmaps/BS_VIEWDATA: Likewise.
34103 * charmaps/CP1250: Likewise.
34104 * charmaps/CP1251: Likewise.
34105 * charmaps/CP1252: Likewise.
34106 * charmaps/CP1253: Likewise.
34107 * charmaps/CP1254: Likewise.
34108 * charmaps/CP1255: Likewise.
34109 * charmaps/CP1256: Likewise.
34110 * charmaps/CSN_369103: Likewise.
34111 * charmaps/EBCDIC-DK-NO: Likewise.
34112 * charmaps/GB_1988-80: Likewise.
34113 * charmaps/GREEK-CCITT: Likewise.
34114 * charmaps/GREEK7: Likewise.
34115 * charmaps/INIS-8: Likewise.
34116 * charmaps/ISIRI-3342: Likewise.
34117 * charmaps/ISO_2033-1983: Likewise.
34118 * charmaps/ISO_5427-EXT: Likewise.
34119 * locales/POSIX: Likewise.
34120 * locales/ar_SA: Likewise.
34121 * locales/be_BY: Likewise.
34122 * locales/be_BY@latin: Likewise.
34123 * locales/ca_ES: Likewise.
34124 * locales/cs_CZ: Likewise.
34125 * locales/da_DK: Likewise.
34126 * locales/de_BE: Likewise.
34127 * locales/de_CH: Likewise.
34128 * locales/de_LU: Likewise.
34129 * locales/en_AU: Likewise.
34130 * locales/en_BW: Likewise.
34131 * locales/en_CA: Likewise.
34132 * locales/en_DK: Likewise.
34133 * locales/en_GB: Likewise.
34134 * locales/en_IE: Likewise.
34135 * locales/en_NZ: Likewise.
34136 * locales/en_ZA: Likewise.
34137 * locales/en_ZW: Likewise.
34138 * locales/es_AR: Likewise.
34139 * locales/es_BO: Likewise.
34140 * locales/es_CL: Likewise.
34141 * locales/es_CO: Likewise.
34142 * locales/es_DO: Likewise.
34143 * locales/es_EC: Likewise.
34144 * locales/es_ES: Likewise.
34145 * locales/es_HN: Likewise.
34146 * locales/es_MX: Likewise.
34147 * locales/es_PA: Likewise.
34148 * locales/es_PE: Likewise.
34149 * locales/es_PY: Likewise.
34150 * locales/es_SV: Likewise.
34151 * locales/es_US: Likewise.
34152 * locales/es_UY: Likewise.
34153 * locales/es_VE: Likewise.
34154 * locales/et_EE: Likewise.
34155 * locales/fa_IR: Likewise.
34156 * locales/fo_FO: Likewise.
34157 * locales/fr_CA: Likewise.
34158 * locales/fr_CH: Likewise.
34159 * locales/gv_GB: Likewise.
34160 * locales/he_IL: Likewise.
34161 * locales/hr_HR: Likewise.
34162 * locales/id_ID: Likewise.
34163 * locales/is_IS: Likewise.
34164 * locales/it_CH: Likewise.
34165 * locales/iw_IL: Likewise.
34166 * locales/kl_GL: Likewise.
34167 * locales/ko_KR: Likewise.
34168 * locales/kw_GB: Likewise.
34169 * locales/lg_UG: Likewise.
34170 * locales/lt_LT: Likewise.
34171 * locales/lv_LV: Likewise.
34172 * locales/mi_NZ: Likewise.
34173 * locales/nhn_MX: Likewise.
34174 * locales/nl_BE: Likewise.
34175 * locales/pl_PL: Likewise.
34176 * locales/sk_SK: Likewise.
34177 * locales/sl_SI: Likewise.
34178 * locales/sv_FI: Likewise.
34179 * locales/tl_PH: Likewise.
34180 * locales/tr_TR: Likewise.
34181 * locales/vi_VN: Likewise.
34182
34183 2015-07-21 Khem Raj <raj.khem@gmail.com>
34184
34185 [BZ #17475]
34186 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34187 of tu_IN and bh_IN.
34188
34189 2015-07-21 Mike Frysinger <vapier@gentoo.org>
34190
34191 [BZ #18694]
34192 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34193 bits/wordsize.h.
34194 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34195
34196 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34197
34198 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34199 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34200 (spawn_thread): New function.
34201 (load): Rename to reg_dtor_and_close. Move dlopen to...
34202 (do_test): ... here. Use IS_LOADED to test for its
34203 availability.
34204
34205 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34206
34207 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34208
34209 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34210
34211 [BZ #18696]
34212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34213 si_addr_bnd.
34214 (si_lower): New.
34215 (si_upper): Likewise.
34216
34217 2015-07-16 David S. Miller <davem@davemloft.net>
34218
34219 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34220
34221 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34222
34223 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34224 buffer.
34225 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34226 fail output information.
34227
34228 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34229
34230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34231 and strstr-ppc64..
34232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34233 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34234 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34235 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34236 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34237
34238 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34239
34240 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34241 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34242 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34243 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34244
34245 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34246
34247 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34248 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34249 rtld_hidden_proto.
34250 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34251
34252 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34253
34254 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34255 the test can fail.
34256
34257 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34258
34259 [BZ #18676]
34260 * elf/tst-nodelete-opened.c: New test case.
34261 * elf/tst-nodelete-opened-lib.c: New test case module.
34262 * elf/Makefile (tests, modules-names): Use them.
34263 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34264 early.
34265
34266 2015-07-15 David S. Miller <davem@davemloft.net>
34267
34268 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34269 futex-intenal.h
34270 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34271 * sysdeps/sparc/sparc64/Makefile: Likewise.
34272 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34273 Remove space from macro define.
34274 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34275
34276 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34277
34278 [BZ #17475]
34279 * locale/iso-639.def: Update Bhili and Tulu language codes as
34280 per iso639-3.
34281
34282 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34283
34284 * elf/tst-leaks1.c (main): Converted to ...
34285 (do_test): ... this.
34286 (TEST_FUNCTION): New macro.
34287 Include test-skeleton.c.
34288 * localedata/tst-langinfo.c (main): Converted to ...
34289 (do_test): ... this.
34290 (TEST_FUNCTION): New macro.
34291 Include test-skeleton.c.
34292 * math/test-fpucw.c (main): Converted to ...
34293 (do_test): ... this.
34294 (TEST_FUNCTION): New macro.
34295 Include test-skeleton.c.
34296 * math/test-tgmath.c (main): Converted to ...
34297 (do_test): ... this.
34298 (TEST_FUNCTION): New macro.
34299 Include test-skeleton.c.
34300 * math/test-tgmath2.c (main): Converted to ...
34301 (do_test): ... this.
34302 (TEST_FUNCTION): New macro.
34303 Include test-skeleton.c.
34304 * setjmp/tst-setjmp.c (main): Converted to ...
34305 (do_test): ... this.
34306 (TEST_FUNCTION): New macro.
34307 Include test-skeleton.c.
34308 * stdio-common/tst-sscanf.c (main): Converted to ...
34309 (do_test): ... this.
34310 (TEST_FUNCTION): New macro.
34311 Include test-skeleton.c.
34312 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34313 (do_test): ... this.
34314 (TEST_FUNCTION): New macro.
34315 Include test-skeleton.c.
34316
34317 * elf/tst-audit9.c (main): Converted to ...
34318 (do_test): ... this.
34319 (TEST_FUNCTION): New macro.
34320 Include test-skeleton.c.
34321
34322 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34323
34324 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34325
34326 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34327
34328 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34329 New variable.
34330
34331 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34332
34333 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34334
34335 2015-07-14 Roland McGrath <roland@hack.frob.com>
34336
34337 * sysdeps/generic/dl-fileid.h: New file.
34338 * sysdeps/posix/dl-fileid.h: New file.
34339 * sysdeps/nacl/dl-fileid.h: New file.
34340 * include/link.h: Include <dl-fileid.h>.
34341 (struct link_map): Replace l_dev and l_ino with l_file_id.
34342 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34343 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34344 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34345
34346 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34347
34348 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34349
34350 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34351
34352 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34353 Add iff $CXX is set.
34354 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34355 Likewise.
34356 (tst-nodelete-zmodiff): Likewise.
34357 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34358
34359 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34360
34361 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34362
34363 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34364
34365 * sysdeps/aarch64/fpu/math_private.h
34366 (define math_opt_barrier): Add AArch64 version.
34367 (math_force_eval): Likewise.
34368
34369 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34370
34371 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34372
34373 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34374
34375 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34376 %ld with %jd and cast to intmax_t.
34377 (do_test_length_zero): Likewise.
34378
34379 2015-07-10 Roland McGrath <roland@hack.frob.com>
34380
34381 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34382
34383 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34384
34385 * sysdeps/tile/libm-test-ulps: Regenerated.
34386
34387 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34388 Comment out the whole function, not just its body.
34389
34390 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34391
34392 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34393 locks.
34394
34395 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34396
34397 2015-07-10 Torvald Riegel <triegel@redhat.com>
34398
34399 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34400 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34401
34402 2015-07-10 Torvald Riegel <triegel@redhat.com>
34403
34404 * sysdeps/nptl/futex-internal.h: New file.
34405 * sysdeps/nacl/futex-internal.h: New file.
34406 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34407 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34408 error checking.
34409 (setxid_unmark_thread): Likewise.
34410 (__nptl_setxid): Likewise.
34411 (__wait_lookup_done): Likewise.
34412 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34413 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34414 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34415 * nptl/pthread_once.c (clear_once_control): Likewise.
34416 (__pthread_once_slow): Likewise.
34417 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34418 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34419 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34420 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34421 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34422 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34423 Likewise.
34424 (__pthread_rwlock_rdlock): Likewise.
34425 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34426 Likewise.
34427 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34428 Likewise.
34429 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34430 Likewise.
34431 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34432 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34433 Likewise.
34434 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34435 __ASSUME_PRIVATE_FUTEX check.
34436 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34437 Check that shared futexes are supported.
34438 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34439 wrappers with error checking.
34440 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34441 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34442 * nptl/pthread_barrierattr_setpshared.c
34443 (pthread_barrierattr_setpshared): Check that shared futexes are
34444 supported.
34445 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34446 Likewise.
34447 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34448 Likewise.
34449 * nptl/sem_init.c (futex_private_if_supported): Remove.
34450 (__new_sem_init): Adapt and check that shared futexes are supported.
34451 * nptl/sem_open.c (sem_open): Likewise.
34452 * nptl/sem_post.c (futex_wake): Remove.
34453 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34454 (do_futex_wait): Use futex wrappers with error checking.
34455 * nptl/sem_wait.c: Include lowlevellock.h.
34456 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34457 Use futex_supports_pshared.
34458 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34459 Use futex wrappers with error checking.
34460 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34461 Likewise.
34462 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34463 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34464 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34465 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34466 (futex_wake): Likewise.
34467 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34468 (do_futex_wait): Use futex wrappers with error checking.
34469 (__new_sem_wait_slow): Update EINTR handling.
34470 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34471
34472 2015-07-09 Martin Sebor <msebor@redhat.com>
34473
34474 [BZ #18435]
34475 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34476 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34477 * nptl/Makefile (test-xfail-tst-once5): Define.
34478
34479 2015-07-09 Roland McGrath <roland@hack.frob.com>
34480
34481 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34482 * elf/dl-minimal.c: For readability, reorder some definitions and
34483 introduce more page breaks. Include <stdio.h>.
34484 (__libc_fatal): New function.
34485
34486 * include/unistd.h: Add rtld_hidden_proto for _exit.
34487 * posix/_exit.c: Add rtld_hidden_def.
34488 * sysdeps/mach/hurd/_exit.c: Likewise.
34489 * sysdeps/nacl/_exit.c: Likewise.
34490 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34491 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34492
34493 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34494
34495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34496 bndmov encoding with zero displacement.
34497
34498 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34499 H.J. Lu <hongjiu.lu@intel.com>
34500
34501 [BZ #18134]
34502 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34503 * sysdeps/i386/configure: Regenerated.
34504 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34505 (_dl_runtime_profile): Save and restore Intel MPX return bound
34506 registers when calling _dl_call_pltexit. Add
34507 PRESERVE_BND_REGS_PREFIX before return.
34508 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34509 (LRV_BND1_OFFSET): Likewise.
34510 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34511 lrv_bnd1.
34512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34513 typo in bndmov encoding.
34514 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34515 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34516 branch instructions to preserve bounds.
34517
34518 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34519
34520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34521 [GLIBC_2.22]: Add fmemopen.
34522
34523 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34524
34525 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34526 returns an error, also try to use host port from __mach_host_self for
34527 the __vm_wire call.
34528 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34529
34530 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34531
34532 [BZ #18400]
34533 [BZ #18648]
34534 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34535 Fix pr_uid and pr_gid members.
34536 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34537 definition to elf_greg_t.
34538
34539 2015-07-08 Roland McGrath <roland@hack.frob.com>
34540
34541 [BZ #18383]
34542 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34543 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34544 * sysdeps/arm/configure: Regenerated.
34545 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34546 (test-xfail-tst-tlsalign-static): Variable removed.
34547
34548 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34549 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34550 rather than explicit 'ln -s'.
34551
34552 * resolv/rpc/netdb.h: New file.
34553 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34554
34555 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34556
34557 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34558 length buffers.
34559 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34560 test-skeleton.c.
34561
34562 [BZ #6544]
34563 [BZ #11216]
34564 [BZ #12836]
34565 [BZ #13151]
34566 [BZ #13152]
34567 [BZ #14292]
34568 * include/stdio.h (fmemopen): Remove hidden prototype.
34569 (__fmemopen): Add new hidden prototype.
34570 * libio/Makefile: Add oldfmemopen object.
34571 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34572 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34573 compliance.
34574 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34575 symbol compatibility.
34576 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34577 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34578 fmemopen.
34579 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34580 on append and read mode.
34581 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34582 fmemopen.
34583 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34584 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34585 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34586 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34587 Likewise.
34588 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34589 [GLIBC_2.22]: Likewise.
34590 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34591 Likewise.
34592 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34593 Likewise.
34594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34595 [GLIBC_2.22]: Likewise.
34596 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34597 [GLIBC_2.22]: Likewise.
34598 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34599 [GLIBC_2.22]: Likewise.
34600 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34601 [GLIBC_2.22]: Likewise.
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34603 [GLIBC_2.22]: Likewise.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34605 [GLIBC_2.22]: Likewise.
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34607 [GLIBC_2.22]: Likewise.
34608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34609 Likewise.
34610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34611 Likewise.
34612 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34613 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34614 [GLIBC_2.22]: Likewise.
34615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34616 [GLIBC_2.22]: Likewise.
34617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34618 [GLIBC_2.22]: Likewise.
34619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34620 [GLIBC_2.22]: Likewise.
34621 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34622 Likewise.
34623 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34624 Likewise.
34625 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34626 Likewise.
34627 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34628 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34629
34630 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34631
34632 [BZ #18643]
34633 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34634 IPV6_PATHMTU, and IPV6_DONTFRAG.
34635
34636 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34637
34638 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34639 and _IO_UNBUFFERED.
34640 * libio/oldfileops.c: Likewise.
34641 * libio/wfileops.c: Likewise.
34642
34643 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34644
34645 * nscd/selinux.c: Delete selinux/flask.h include.
34646
34647 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34648
34649 [BZ #18641]
34650 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34651 (putpwent): Likewise.
34652 (getpwnam): Likewise.
34653 (getpwent_r): Likewise.
34654 (getpwuid_r): Likewise.
34655 (getpwnam_r): Likewise.
34656 (fgetpwent_r): Likewise.
34657
34658 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34659
34660 [BZ #18557]
34661 * inet/rcmd.c (__validuser2_sa): Check user first to
34662 short-circuit host check.
34663
34664 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34665 Mikhail Ilin <m.ilin@samsung.com>
34666
34667 [BZ #17833]
34668 * elf/Makefile (tests): Add tst-nodelete.
34669 (modules-names): Add tst-nodelete-uniquemod.
34670 (tst-nodelete-uniquemod.so-no-z-defs): New.
34671 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34672 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34673 ($(objpfx)tst-nodelete): Likewise.
34674 ($(objpfx)tst-nodelete.out): Likewise.
34675 (LDFLAGS-tst-nodelete): Likewise.
34676 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34677 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34678 implement forced object deletion.
34679 (_dl_close): Pass false to _dl_close_worker.
34680 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34681 * elf/tst-nodelete.cc: New file.
34682 * elf/tst-nodeletelib.cc: Likewise.
34683 * elf/tst-znodeletelib.cc: Likewise.
34684 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34685
34686 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34687
34688 [BZ #18508]
34689 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34690 Depend on $(libdl).
34691 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34692 is not called infinitely times.
34693 (backtrace_helper): New function.
34694 (trace_arg): New struct.
34695 (st1): Enlarge stack size.
34696 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34697 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34698 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34699 Likewise.
34700
34701 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34702
34703 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34704
34705 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34706
34707 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34708 Include sys/types.h instead of bits/types.h.
34709 Remove inclusion of bits/wordsize.h.
34710
34711 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34714 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34715 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34716 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34717 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34718 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34719
34720 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34721
34722 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34723 link-defines.sym.
34724 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34725 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34726 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34727 and LR_SIZE.
34728 * sysdeps/i386/link-defines.sym: New file.
34729
34730 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34731
34732 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34733 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34734 ($(objpfx)tst-audit3): New rule.
34735 ($(objpfx)tst-audit3.out): Likewise.
34736 * sysdeps/i386/tst-audit3.c: New file.
34737 * sysdeps/i386/tst-audit3.h: Likewise.
34738 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34739 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34740
34741 2015-07-07 Torvald Riegel <triegel@redhat.com>
34742
34743 [BZ #18633]
34744 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34745 pointer in C code.
34746 (__strcat_c): Likewise.
34747 (__strcat_g): Likewise.
34748
34749 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34750
34751 [BZ #18592]
34752 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34753
34754 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34755
34756 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34757 New function. (__ieee754_sqrtf): New function.
34758 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34759 New function.
34760 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34761 New function.
34762
34763 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34764
34765 * sysdeps/ieee754/support.c: Remove unused file.
34766
34767 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34768
34769 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34770 registers instead of d ones so the layout is kernel abi compatible.
34771 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34772 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34773 Likewise.
34774
34775 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34776
34777 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34778
34779 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34780
34781 [BZ #18619]
34782 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34783 and return argument in case of subnormal argument.
34784
34785 2015-07-01 Martin Sebor <msebor@redhat.com>
34786
34787 [BZ #18435]
34788 * nptl/Makefile: Add tst-once5.cc.
34789 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34790 Remove macro redefinitions.
34791 * nptl/tst-once5.cc: New test.
34792
34793 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34794
34795 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34796
34797 * sysdeps/arm/libm-test-ulps: Regenerated.
34798
34799 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34800 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34801
34802 2015-06-30 Torvald Riegel <triegel@redhat.com>
34803
34804 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34805 lll_lock_wait_private and lll_futex_wake probes.
34806
34807 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34808 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34809 Likewise.
34810 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34811 atomic_spin_nop.
34812 * sysdeps/x86_64/bits/atomic.h: Likewise.
34813 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34814 to atomic_spin_nop and move ...
34815 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34816 ... here and ...
34817 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34818 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34819 atomic_spin_nop instead of BUSY_WAIT_NOP.
34820 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34821 Likewise.
34822 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34823 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34824 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34825 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34826 instead of atomic_delay.
34827
34828 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34829
34830 [BZ #18613]
34831 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34832 X_ADJ not X when adjusting exponent.
34833 (__ieee754_gamma_r): Do intermediate computations in
34834 round-to-nearest then adjust overflowing and underflowing results
34835 as needed.
34836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34837 of X_ADJ not X when adjusting exponent.
34838 (__ieee754_gammaf_r): Do intermediate computations in
34839 round-to-nearest then adjust overflowing and underflowing results
34840 as needed.
34841 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34842 log of X_ADJ not X when adjusting exponent.
34843 (__ieee754_gammal_r): Do intermediate computations in
34844 round-to-nearest then adjust overflowing and underflowing results
34845 as needed. Use 1.0L not 1.0f as numerator of division.
34846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34847 log of X_ADJ not X when adjusting exponent.
34848 (__ieee754_gammal_r): Do intermediate computations in
34849 round-to-nearest then adjust overflowing and underflowing results
34850 as needed. Use 1.0L not 1.0f as numerator of division.
34851 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34852 of X_ADJ not X when adjusting exponent.
34853 (__ieee754_gammal_r): Do intermediate computations in
34854 round-to-nearest then adjust overflowing and underflowing results
34855 as needed. Use 1.0L not 1.0f as numerator of division.
34856 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34857 to auto-libm-test-in.
34858 (tgamma_test): Use ALL_RM_TEST.
34859 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34860 tests of tgamma with spurious-overflow.
34861 * math/auto-libm-test-out: Regenerated.
34862 * math/gen-libm-have-vector-test.sh: Do not check for START.
34863 * sysdeps/i386/fpu/libm-test-ulps: Update.
34864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34865
34866 [BZ #18612]
34867 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34868 arguments, just return 0.5 times the argument, with underflow
34869 forced as needed.
34870 * math/auto-libm-test-in: Add more tests of j1.
34871 * math/auto-libm-test-out: Regenerated.
34872
34873 [BZ #16559]
34874 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34875 (__ieee754_j1): Force underflow exception for small results.
34876 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34877 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34878 (__ieee754_j1f): Force underflow exception for small results.
34879 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34880 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34883 (__ieee754_j1l): Force underflow exception for small results.
34884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34885 * math/auto-libm-test-in: Add more tests of j1 and jn.
34886 * math/auto-libm-test-out: Regenerated.
34887
34888 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34889 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34890 (PF_MPLS): Likewise.
34891 (AF_IB): Likewise.
34892 (AF_MPLS): Likewise.
34893 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34894 value and macro.
34895 (MS_RMT_MASK): Include MS_LAZYTIME.
34896
34897 2015-06-26 Mel Gorman <mgorman@suse.de>
34898
34899 [BZ #18502]
34900 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34901 already minimal.
34902
34903 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34904
34905 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34906 (DT_MIPS_NUM): Update.
34907 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34908 DT_MIPS_RLD_MAP_REL.
34909
34910 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34911
34912 [BZ #16559]
34913 [BZ #18602]
34914 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34915 round-to-nearest internally then recompute results that
34916 underflowed to zero in the original rounding mode.
34917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34921 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34922 * sysdeps/i386/fpu/libm-test-ulps: Update.
34923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34924
34925 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34926
34927 * NEWS: Fixed description of link with vector math library.
34928
34929 2015-06-25 Andreas Schwab <schwab@suse.de>
34930
34931 [BZ #18549]
34932 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34933 * libio/test-fmemopen.c (do_test): Add test for it.
34934
34935 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34936
34937 [BZ #17841]
34938 * Makeconfig (no-pie-ldflag): New.
34939 (+link): Set to $(+link-pie) if default to PIE.
34940 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34941 * config.make.in (build-pie-default): New.
34942 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34943 is default. AC_SUBST.
34944 * configure: Regenerated.
34945 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34946
34947 2015-06-24 Roland McGrath <roland@hack.frob.com>
34948
34949 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34950 to 'unsigned int'.
34951
34952 * resolv/gai_misc.h (struct waitlist): Change type of field
34953 counterp to 'volatile unsigned int *'.
34954 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34955 FUTEXADDR and OLDVAL.
34956 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34957 Give local variable TOTAL type 'volatile unsigned int'.
34958 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34959 * resolv/gai_suspend.c (gai_suspend):
34960 Give local variable CNTR type 'unsigned int'.
34961
34962 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34963 counterp to 'volatile unsigned int *'.
34964 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34965 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34966 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34967 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34968 Give local variable TOTAL type 'volatile unsigned int'.
34969 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34970
34971 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34972
34973 [BZ #18383]
34974 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34975 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34976 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34977 comment for i386/x86-64.
34978 (test-xfail-tst-tlsalign-extern-static): Removed.
34979
34980 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34981
34982 * math/test-double.h: New file.
34983 * math/test-float.h: Likewise.
34984 * math/test-ldouble.h: Likewise.
34985 * math/test-math-inline.h: Likewise.
34986 * math/test-math-no-inline.h: Likewise.
34987 * math/test-math-scalar.h: Likewise.
34988 * math/test-math-vector.h: Likewise.
34989 * math/test-vec-loop.h: Remove file. Contents moved into
34990 test-math-vector.h.
34991 * math/libm-test.inc (MATHCONST): Do not document macro.
34992 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34993 and test-math-scalar.h.
34994 (FUNC): Remove macro.
34995 (FUNC_TEST): Likewise.
34996 (FLOAT): Likewise.
34997 (MATHCONST): Likewise.
34998 (PRINTF_EXPR): Likewise.
34999 (PRINTF_XEXPR): Likewise.
35000 (PRINTF_NEXPR): Likewise.
35001 (TEST_DOUBLE): Likewise.
35002 (TEST_MATHVEC): Likewise.
35003 (__NO_MATH_INLINES): Likewise.
35004 * math/test-float.c: Include test-float.h, test-math-no-inline.h
35005 and test-math-scalar.h.
35006 (FUNC): Remove macro.
35007 (FUNC_TEST): Likewise.
35008 (FLOAT): Likewise.
35009 (MATHCONST): Likewise.
35010 (PRINTF_EXPR): Likewise.
35011 (PRINTF_XEXPR): Likewise.
35012 (PRINTF_NEXPR): Likewise.
35013 (TEST_FLOAT): Likewise.
35014 (TEST_MATHVEC): Likewise.
35015 (__NO_MATH_INLINES): Likewise.
35016 * math/test-idouble.c: Include test-double.h, test-math-inline.h
35017 and test-math-scalar.h.
35018 (FUNC): Remove macro.
35019 (FUNC_TEST): Likewise.
35020 (FLOAT): Likewise.
35021 (MATHCONST): Likewise.
35022 (PRINTF_EXPR): Likewise.
35023 (PRINTF_XEXPR): Likewise.
35024 (PRINTF_NEXPR): Likewise.
35025 (TEST_DOUBLE): Likewise.
35026 (TEST_MATHVEC): Likewise.
35027 (TEST_INLINE): Likewise.
35028 (__NO_MATH_INLINES): Likewise.
35029 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35030 test-math-scalar.h.
35031 (FUNC): Remove macro.
35032 (FUNC_TEST): Likewise.
35033 (FLOAT): Likewise.
35034 (MATHCONST): Likewise.
35035 (PRINTF_EXPR): Likewise.
35036 (PRINTF_XEXPR): Likewise.
35037 (PRINTF_NEXPR): Likewise.
35038 (TEST_FLOAT): Likewise.
35039 (TEST_MATHVEC): Likewise.
35040 (TEST_INLINE): Likewise.
35041 (__NO_MATH_INLINES): Likewise.
35042 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35043 and test-math-scalar.h.
35044 (FUNC): Remove macro.
35045 (FUNC_TEST): Likewise.
35046 (FLOAT): Likewise.
35047 (MATHCONST): Likewise.
35048 (PRINTF_EXPR): Likewise.
35049 (PRINTF_XEXPR): Likewise.
35050 (PRINTF_NEXPR): Likewise.
35051 (TEST_LDOUBLE): Likewise.
35052 (TEST_MATHVEC): Likewise.
35053 (TEST_INLINE): Likewise.
35054 (__NO_MATH_INLINES): Likewise.
35055 * math/test-ldouble.c: Include test-ldouble.h,
35056 test-math-no-inline.h and test-math-scalar.h.
35057 (FUNC): Remove macro.
35058 (FUNC_TEST): Likewise.
35059 (FLOAT): Likewise.
35060 (MATHCONST): Likewise.
35061 (PRINTF_EXPR): Likewise.
35062 (PRINTF_XEXPR): Likewise.
35063 (PRINTF_NEXPR): Likewise.
35064 (TEST_LDOUBLE): Likewise.
35065 (TEST_MATHVEC): Likewise.
35066 (__NO_MATH_INLINES): Likewise.
35067 * math/test-double-vlen2.h: Include test-double.h,
35068 test-math-no-inline.h and test-math-vector.h.
35069 (FLOAT): Remove macro.
35070 (FUNC): Likewise.
35071 (MATHCONST): Likewise.
35072 (PRINTF_EXPR): Likewise.
35073 (PRINTF_XEXPR): Likewise.
35074 (PRINTF_NEXPR): Likewise.
35075 (TEST_DOUBLE): Likewise.
35076 (TEST_MATHVEC): Likewise.
35077 (__NO_MATH_INLINES): Likewise.
35078 (CNCT): Likewise.
35079 (CONCAT): Likewise.
35080 (WRAPPER_NAME): Likewise.
35081 (WRAPPER_DECL): Likewise.
35082 (WRAPPER_DECL_ff): Likewise.
35083 (WRAPPER_DECL_fFF): Likewise.
35084 (VECTOR_WRAPPER): Likewise.
35085 (VECTOR_WRAPPER_ff): Likewise.
35086 (VECTOR_WRAPPER_fFF): Likewise.
35087 (VEC_LEN): New macro.
35088 * math/test-double-vlen4.h: Include test-double.h,
35089 test-math-no-inline.h and test-math-vector.h.
35090 (FLOAT): Remove macro.
35091 (FUNC): Likewise.
35092 (MATHCONST): Likewise.
35093 (PRINTF_EXPR): Likewise.
35094 (PRINTF_XEXPR): Likewise.
35095 (PRINTF_NEXPR): Likewise.
35096 (TEST_DOUBLE): Likewise.
35097 (TEST_MATHVEC): Likewise.
35098 (__NO_MATH_INLINES): Likewise.
35099 (CNCT): Likewise.
35100 (CONCAT): Likewise.
35101 (WRAPPER_NAME): Likewise.
35102 (WRAPPER_DECL): Likewise.
35103 (WRAPPER_DECL_ff): Likewise.
35104 (WRAPPER_DECL_fFF): Likewise.
35105 (VECTOR_WRAPPER): Likewise.
35106 (VECTOR_WRAPPER_ff): Likewise.
35107 (VECTOR_WRAPPER_fFF): Likewise.
35108 (VEC_LEN): New macro.
35109 * math/test-double-vlen8.h: Include test-double.h,
35110 test-math-no-inline.h and test-math-vector.h.
35111 (FLOAT): Remove macro.
35112 (FUNC): Likewise.
35113 (MATHCONST): Likewise.
35114 (PRINTF_EXPR): Likewise.
35115 (PRINTF_XEXPR): Likewise.
35116 (PRINTF_NEXPR): Likewise.
35117 (TEST_DOUBLE): Likewise.
35118 (TEST_MATHVEC): Likewise.
35119 (__NO_MATH_INLINES): Likewise.
35120 (CNCT): Likewise.
35121 (CONCAT): Likewise.
35122 (WRAPPER_NAME): Likewise.
35123 (WRAPPER_DECL): Likewise.
35124 (WRAPPER_DECL_ff): Likewise.
35125 (WRAPPER_DECL_fFF): Likewise.
35126 (VECTOR_WRAPPER): Likewise.
35127 (VECTOR_WRAPPER_ff): Likewise.
35128 (VECTOR_WRAPPER_fFF): Likewise.
35129 (VEC_LEN): New macro.
35130 * math/test-float-vlen4.h: Include test-float.h,
35131 test-math-no-inline.h and test-math-vector.h.
35132 (FLOAT): Remove macro.
35133 (FUNC): Likewise.
35134 (MATHCONST): Likewise.
35135 (PRINTF_EXPR): Likewise.
35136 (PRINTF_XEXPR): Likewise.
35137 (PRINTF_NEXPR): Likewise.
35138 (TEST_FLOAT): Likewise.
35139 (TEST_MATHVEC): Likewise.
35140 (__NO_MATH_INLINES): Likewise.
35141 (CNCT): Likewise.
35142 (CONCAT): Likewise.
35143 (WRAPPER_NAME): Likewise.
35144 (WRAPPER_DECL): Likewise.
35145 (WRAPPER_DECL_ff): Likewise.
35146 (WRAPPER_DECL_fFF): Likewise.
35147 (VECTOR_WRAPPER): Likewise.
35148 (VECTOR_WRAPPER_ff): Likewise.
35149 (VECTOR_WRAPPER_fFF): Likewise.
35150 (VEC_LEN): New macro.
35151 * math/test-float-vlen8.h: Include test-float.h,
35152 test-math-no-inline.h and test-math-vector.h.
35153 (FLOAT): Remove macro.
35154 (FUNC): Likewise.
35155 (MATHCONST): Likewise.
35156 (PRINTF_EXPR): Likewise.
35157 (PRINTF_XEXPR): Likewise.
35158 (PRINTF_NEXPR): Likewise.
35159 (TEST_FLOAT): Likewise.
35160 (TEST_MATHVEC): Likewise.
35161 (__NO_MATH_INLINES): Likewise.
35162 (CNCT): Likewise.
35163 (CONCAT): Likewise.
35164 (WRAPPER_NAME): Likewise.
35165 (WRAPPER_DECL): Likewise.
35166 (WRAPPER_DECL_ff): Likewise.
35167 (WRAPPER_DECL_fFF): Likewise.
35168 (VECTOR_WRAPPER): Likewise.
35169 (VECTOR_WRAPPER_ff): Likewise.
35170 (VECTOR_WRAPPER_fFF): Likewise.
35171 (VEC_LEN): New macro.
35172 * math/test-float-vlen16.h: Include test-float.h,
35173 test-math-no-inline.h and test-math-vector.h.
35174 (FLOAT): Remove macro.
35175 (FUNC): Likewise.
35176 (MATHCONST): Likewise.
35177 (PRINTF_EXPR): Likewise.
35178 (PRINTF_XEXPR): Likewise.
35179 (PRINTF_NEXPR): Likewise.
35180 (TEST_FLOAT): Likewise.
35181 (TEST_MATHVEC): Likewise.
35182 (__NO_MATH_INLINES): Likewise.
35183 (CNCT): Likewise.
35184 (CONCAT): Likewise.
35185 (WRAPPER_NAME): Likewise.
35186 (WRAPPER_DECL): Likewise.
35187 (WRAPPER_DECL_ff): Likewise.
35188 (WRAPPER_DECL_fFF): Likewise.
35189 (VECTOR_WRAPPER): Likewise.
35190 (VECTOR_WRAPPER_ff): Likewise.
35191 (VECTOR_WRAPPER_fFF): Likewise.
35192 (VEC_LEN): New macro.
35193 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35194 test-vec-loop.h.
35195 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35196 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35197 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35198 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35199 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35200 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35201 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35202
35203 2015-06-24 Roland McGrath <roland@hack.frob.com>
35204
35205 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35206 (__getlogin_r): ... this.
35207
35208 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35209
35210 [BZ #18594]
35211 * math/s_ccosh.c (__ccosh): Compare with least normal value
35212 instead of comparing class with FP_SUBNORMAL.
35213 * math/s_ccoshf.c (__ccoshf): Likewise.
35214 * math/s_ccoshl.c (__ccoshl): Likewise.
35215 * math/s_cexp.c (__cexp): Likewise.
35216 * math/s_cexpf.c (__cexpf): Likewise.
35217 * math/s_cexpl.c (__cexpl): Likewise.
35218 * math/s_csin.c (__csin): Likewise.
35219 * math/s_csinf.c (__csinf): Likewise.
35220 * math/s_csinh.c (__csinh): Likewise.
35221 * math/s_csinhf.c (__csinhf): Likewise.
35222 * math/s_csinhl.c (__csinhl): Likewise.
35223 * math/s_csinl.c (__csinl): Likewise.
35224 * math/s_ctan.c (__ctan): Likewise.
35225 * math/s_ctanf.c (__ctanf): Likewise.
35226 * math/s_ctanh.c (__ctanh): Likewise.
35227 * math/s_ctanhf.c (__ctanhf): Likewise.
35228 * math/s_ctanhl.c (__ctanhl): Likewise.
35229 * math/s_ctanl.c (__ctanl): Likewise.
35230 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35231 csin, csinh, ctan and ctanh.
35232 * math/auto-libm-test-out: Regenerated.
35233 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35234 * sysdeps/i386/fpu/libm-test-ulps: Update.
35235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35236
35237 2015-06-24 Roland McGrath <roland@hack.frob.com>
35238
35239 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35240 return value is wrong, print the expected value too.
35241
35242 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35243
35244 [BZ #18585]
35245 * elf/readlib.c (is_gdb_python_file): New.
35246 (process_file): Don't issue errors on filenames with -gdb.py
35247 suffix.
35248
35249 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35250
35251 * math/auto-libm-test-in: Add more tests of csin and csinh.
35252 * math/auto-libm-test-out: Regenerated.
35253 * math/libm-test.inc (csin_test_data): Remove tests moved to
35254 auto-libm-test-in.
35255 (csinh_test_data): Likewise.
35256
35257 [BZ #18593]
35258 * math/s_csin.c (__csin): Negate before rather than after possibly
35259 overflowing multiplication.
35260 * math/s_csinf.c (__csinf): Likewise.
35261 * math/s_csinh.c (__csinh): Likewise.
35262 * math/s_csinhf.c (__csinhf): Likewise.
35263 * math/s_csinhl.c (__csinhl): Likewise.
35264 * math/s_csinl.c (__csinl): Likewise.
35265 * math/auto-libm-test-in: Add some tests of csin and csinh.
35266 * math/auto-libm-test-out: Regenerated.
35267 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35268 (csinh_test_data): Likewise.
35269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35270
35271 [BZ #18586]
35272 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35273 underflow exception for small results.
35274
35275 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35276
35277 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35278 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35279 variable and included header.
35280 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35281 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35282 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35283 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35284 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35285 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35286 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35287 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35288 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35289 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35290 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35291 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35292 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35293 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35294 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35295 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35296
35297 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35298
35299 [BZ #16526]
35300 [BZ #16538]
35301 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35302 (__sin): Force underflow exception for arguments with small
35303 absolute value.
35304 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35305 (__kernel_sinf): Force underflow exception for arguments with
35306 small absolute value.
35307 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35308 (__kernel_sincosl): Force underflow exception for arguments with
35309 small absolute value.
35310 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35311 (__kernel_sinl): Force underflow exception for arguments with
35312 small absolute value.
35313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35314 (__kernel_sincosl): Force underflow exception for arguments with
35315 small absolute value.
35316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35317 (__kernel_sinl): Force underflow exception for arguments with
35318 small absolute value.
35319 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35320 (__kernel_sinl): Force underflow exception for arguments with
35321 small absolute value.
35322 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35323 (__kernel_sinf): Force underflow exception for arguments with
35324 small absolute value.
35325 * math/auto-libm-test-in: Add more tests of sin and sincos.
35326 * math/auto-libm-test-out: Regenerated.
35327
35328 [BZ #18245]
35329 [BZ #18583]
35330 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35331 (__kernel_standard_l): Use feholdexcept and fesetenv around
35332 conversion to double instead of special-casing overflow and
35333 underflow.
35334 * math/libm-test.inc (fmod_test_data): Add more tests.
35335 (remainder_test_data): Likewise.
35336 (sqrt_test_data): Likewise.
35337
35338 2015-06-23 Torvald Riegel <triegel@redhat.com>
35339
35340 [BZ #17403]
35341 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35342 atomic_read_barrier, atomic_write_barrier): Define.
35343 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35344 atomic_read_barrier, atomic_write_barrier): Define.
35345
35346 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35347
35348 * math/Makefile [$(PERL) != no]
35349 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35350 dependency on libm-test.stmp below the inclusion of Rules.
35351
35352 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35353
35354 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35355 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35356 and included header.
35357 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35358 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35360 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35362 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35363 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35365 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35366 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35367 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35368 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35369 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35370 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35371 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35372 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35373 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35374 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35375 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35376
35377 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35378
35379 [BZ #18371]
35380 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35381 intermediate but not final result might underflow.
35382 * math/s_csqrtf.c (__csqrtf): Likewise.
35383 * math/s_csqrtl.c (__csqrtl): Likewise.
35384 * math/auto-libm-test-in: Add more tests of csqrt.
35385 * math/auto-libm-test-out: Regenerated.
35386 * sysdeps/i386/fpu/libm-test-ulps: Update.
35387
35388 [BZ #18219]
35389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35390 threshold on absolute value of exponent for which scaling is used.
35391 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35392 * math/auto-libm-test-in: Add more tests of exp2.
35393 * math/auto-libm-test-out: Regenerated.
35394
35395 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35396
35397 [BZ #17977]
35398 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35399 when initializing interface list, based on the bug analysis
35400 and the patch proposed by Eric Newton.
35401 * resolv/tst-res_hconf_reorder.c: New test.
35402 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35403 tst-res_hconf_reorder.
35404 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35405 and $(shared-thread-library).
35406 (tst-res_hconf_reorder-ENV): New variable.
35407
35408 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35409 in comment.
35410
35411 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35412
35413 [BZ #16353]
35414 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35415 (__expm1): Force underflow exception for arguments with small
35416 absolute value.
35417 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35418 (__expm1f): Force underflow exception for arguments with small
35419 absolute value.
35420 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35421 (__expm1): Force underflow exception for arguments with small
35422 absolute value.
35423 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35424 (__expm1f): Force underflow exception for arguments with small
35425 absolute value.
35426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35427 Check for small arguments before calling __expm1.
35428 * math/auto-libm-test-in: Do not mark underflow exceptions as
35429 possibly missing for bug 16353.
35430 * math/auto-libm-test-out: Regenerated.
35431
35432 2015-06-22 Andreas Schwab <schwab@suse.de>
35433
35434 [BZ #18513]
35435 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35436 PTR queries.
35437
35438 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35439
35440 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35441
35442 * string/strcoll_l.c: Remove unused struct element idxnow.
35443
35444 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35445
35446 [BZ #18569]
35447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35448 underflow and return argument in case of subnormal argument.
35449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35450 Likewise.
35451 * math/auto-libm-test-in: Add more tests of expm1.
35452 * math/auto-libm-test-out: Regenerated.
35453
35454 [BZ #16361]
35455 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35456 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35457 tiny results.
35458 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35459 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35460 tiny results.
35461 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35462 mark underflow exceptions as possibly missing for bug 16361.
35463 * math/auto-libm-test-out: Regenerated.
35464
35465 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35466
35467 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35468 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35469 Remove variable.
35470 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35471 (test-xfail-XOPEN2K8/utmpx.h/conform).
35472
35473 * conform/conformtest.pl ($xerrors): New variable.
35474 (note_error): New function.
35475 (compiletest): New argument $xfail. Use not_error.
35476 (runtest): Likewise.
35477 (top level): Handle xfail- lines. Update calls to compiletest and
35478 runtest. Handle xfail- and optional- in headers listed with
35479 allow-header.
35480 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35481 (O_EXEC): Likewise.
35482 (O_SEARCH): Likewise.
35483 * conform/data/stropts.h-data (ioctl): Likewise.
35484 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35485 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35486 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35487 (msghdr.msg_controllen): Likewise.
35488 (cmsghdr.cmsg_len): Likewise.
35489 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35490 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35491 variable.
35492 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35493 (test-xfail-XPG4/stropts.h/conform): Likewise.
35494 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35495 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35496 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35497 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35498 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35499 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35500 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35501 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35502 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35503 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35504 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35505 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35506 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35507 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35508 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35509 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35510 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35511 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35512 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35513
35514 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35515
35516 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35517 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35518 definitions for proper unfolding of __MATHDECL_VEC.
35519
35520 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35521
35522 * benchtests/bench-strcoll.c:
35523 Include string.h.
35524 (main): Remove unused variable res.
35525
35526 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35527
35528 * timezone/Makefile (%/UTC %/Universal):
35529 Generate test-result files for UTC and Universal.
35530
35531 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35532
35533 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35534
35535 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35536
35537 [BZ #16350]
35538 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35539 for arguments with small absolute value.
35540 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35541 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35542 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35543 (__asinh): Force underflow exception for arguments with small
35544 absolute value.
35545 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35546 (__asinhf): Force underflow exception for arguments with small
35547 absolute value.
35548 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35549 (__asinhl): Force underflow exception for arguments with small
35550 absolute value.
35551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35552 (__asinhl): Force underflow exception for arguments with small
35553 absolute value.
35554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35555 (__asinhl): Force underflow exception for arguments with small
35556 absolute value.
35557 * math/auto-libm-test-in: Do not mark underflow exceptions as
35558 possibly missing for bug 16350.
35559 * math/auto-libm-test-out: Regenerated.
35560
35561 * include/bits/ipc.h: Remove file.
35562 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35563 variable.
35564 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35565 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35566 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35567 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35568 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35569 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35570 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35571 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35572 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35573
35574 * math/auto-libm-test-in: Remove spurious underflow allowance for
35575 tests of cexp.
35576 * math/auto-libm-test-out: Regenerated.
35577
35578 [BZ #18558]
35579 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35580 unconditional definition.
35581 (MCAST_BLOCK_SOURCE): Likewise.
35582 (MCAST_UNBLOCK_SOURCE): Likewise.
35583 (MCAST_LEAVE_GROUP): Likewise.
35584 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35585 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35586 (MCAST_MSFILTER): Likewise.
35587 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35588 Remove variable.
35589 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35590 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35591 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35592 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35593 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35594
35595 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35596
35597 * NEWS: Mention addition of x86_64 vector sincosf.
35598 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35599 * math/test-float-vlen4.h: Likewise.
35600 * math/test-float-vlen8.h: Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35602 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35603 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35604 * sysdeps/x86_64/fpu/Versions: New versions added.
35605 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35606 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35607 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35608 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35609 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35610 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35611 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35612 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35613 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35614 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35615 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35616 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35617 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35618 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35619 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35620 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35621 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35622 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35623 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35624 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35625 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35626 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35627 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35628 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35629
35630 * NEWS: Mention addition of x86_64 vector sincos.
35631 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35632 * math/math.h (__MATHDECL_VEC): New macro.
35633 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35634 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35635 declaration under condition.
35636 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35637 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35638 TEST_VEC_LOOP change.
35639 * math/test-double-vlen4.h: Likewise.
35640 * math/test-double-vlen8.h: Likewise.
35641 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35642 * math/test-float-vlen4.h: Likewise.
35643 * math/test-float-vlen8.h: Likewise.
35644 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35645 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35646 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35647 * sysdeps/x86_64/fpu/Versions: New versions added.
35648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35649 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35650 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35652 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35655 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35657 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35658 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35659 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35660 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35661 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35662 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35663 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35664 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35665 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35666 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35667 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35668 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35669 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35670 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35671 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35672
35673 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35674 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35675 redirections for powf.
35676 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35677 * sysdeps/x86_64/fpu/Versions: New versions added.
35678 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35679 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35680 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35681 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35682 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35683 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35684 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35685 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35686 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35687 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35688 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35689 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35690 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35691 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35692 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35693 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35694 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35695 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35696 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35697 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35698 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35699 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35700 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35701 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35702 * math/test-float-vlen16.h: Fixed 2 argument macro.
35703 * math/test-float-vlen4.h: Likewise.
35704 * math/test-float-vlen8.h: Likewise.
35705 * NEWS: Mention addition of x86_64 vector powf.
35706
35707 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35708
35709 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35710 and redefine.
35711 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35712 and redefine.
35713 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35714 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35716
35717 [BZ #18553]
35718 * resource/getpriority.c (getpriority): Rename to __getpriority
35719 and define as weak alias of __getpriority.
35720 * resource/setpriority.c (setpriority): Rename to __setpriority
35721 and define as weak alias of __setpriority.
35722 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35723 __getpriority and define as weak alias of __getpriority.
35724 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35725 __setpriority and define as weak alias of __setpriority.
35726 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35727 strong name.
35728 (setpriority): Use __setpriority as strong name.
35729 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35730 __getpriority and define as weak alias of __getpriority.
35731 * include/sys/resource.h (__getpriority): Declare. Use
35732 libc_hidden_proto.
35733 (__setpriority): Likewise.
35734 (getpriority): Don't use libc_hidden_proto.
35735 (setpriority): Likewise.
35736 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35737 getpriority. Call __setpriority instead of setpriority.
35738 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35739 Remove variable.
35740
35741 [BZ #18547]
35742 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35743 as weak alias of __getttynam. Use prototype function definition.
35744 Call __setttyent, __getttyent and __endttyent instead of
35745 setttyent, getttyent and endttyent.
35746 (getttyent): Rename to __getttyent and define as weak alias of
35747 __getttyent. Call __setttyent instead of setttyent. Call
35748 __fgets_unlocked instead of fgets_unlocked.
35749 (setttyent): Rename to __setttyent and define as weak alias of
35750 __setttyent.
35751 (endttyent): Rename to __endttyent and define as weak alias of
35752 __endttyent.
35753 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35754 (__setttyent): Likewise.
35755 (__endttyent): Likewise.
35756 (getttyent): Don't use libc_hidden_proto.
35757 (setttyent): Likewise.
35758 (endttyent): Likewise.
35759 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35760 __endttyent instead of setttyent, getttyent and endttyent.
35761 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35762 Remove variable.
35763
35764 [BZ #18546]
35765 * socket/recv.c (__recv): Use libc_hidden_def.
35766 * socket/socket.c (__socket): Likewise.
35767 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35768 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35769 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35770 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35771 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35772 libc_hidden_def.
35773 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35774 libc_hidden_weak.
35775 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35776 Use libc_hidden_proto.
35777 (__recv): Likewise.
35778 * socket/Versions (libc): Export __recv and __socket at version
35779 GLIBC_PRIVATE.
35780 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35781 instead of recv.
35782 (init_mq_netlink): Call __socket instead of socket.
35783 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35784 Remove variable.
35785
35786 [BZ #18545]
35787 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35788 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35789 hidden_weak.
35790 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35791 define as alias of __mq_timedsend. Use hidden_weak.
35792 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35793 __mq_timedsend as strong name.
35794 (mq_timedreceive): Use __mq_timedreceive as strong name.
35795 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35796 (__mq_timedreceive): Likewise.
35797 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35798 __mq_timedreceive instead of mq_timedreceive.
35799 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35800 instead of mq_timedsend.
35801 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35802 Remove variable.
35803
35804 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35805 hidden_def and hidden_weak instead of libc_hidden_def and
35806 libc_hidden_weak.
35807 (top level): Refer to hidden_def in comment.
35808 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35809 macro. Use it instead of libc_hidden_def.
35810 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35811 specify __GI_* name explicitly.
35812 (mq_timedreceive): Likewise.
35813 (mq_setattr): Likewise.
35814
35815 [BZ #18544]
35816 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35817 __pthread_barrier_init and define as weak alias of
35818 __pthread_barrier_init.
35819 * sysdeps/sparc/nptl/pthread_barrier_init.c
35820 (pthread_barrier_init): Likewise.
35821 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35822 __pthread_barrier_wait and define as weak alias of
35823 __pthread_barrier_wait.
35824 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35825 (pthread_barrier_wait): Likewise.
35826 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35827 (pthread_barrier_wait): Likewise.
35828 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35829 (pthread_barrier_wait): Likewise.
35830 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35831 (pthread_barrier_wait): Likewise.
35832 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35833 __pthread_barrier_wait at version GLIBC_PRIVATE.
35834 * include/pthread.h (__pthread_barrier_init): Declare.
35835 (__pthread_barrier_wait): Likewise.
35836 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35837 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35838 (helper_thread): Likewise.
35839 (init_mq_netlink): Call __pthread_barrier_init instead of
35840 pthread_barrier_init.
35841
35842 [BZ #18542]
35843 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35844 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35845 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35846 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35847 vswscanf.
35848 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35849 Remove variable.
35850
35851 [BZ #18540]
35852 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35853 strong alias of _IO_fflush. Use libc_hidden_def.
35854 * libio/iofflush_u.c (fflush_unlocked): Rename to
35855 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35856 Use libc_hidden_weak.
35857 * include/stdio.h (__fflush_unlocked): Declare. Use
35858 libc_hidden_proto.
35859 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35860 fflush_unlocked.
35861 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35862 Remove variable.
35863
35864 [BZ #18539]
35865 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35866 define as weak alias of __addseverity.
35867 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35868 Remove variable.
35869 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35870 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35871 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35872
35873 [BZ #18536]
35874 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35875 (__tfind): Likewise.
35876 (__tdelete): Likewise.
35877 (__twalk): Likewise.
35878 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35879 __twalk to GLIBC_PRIVATE.
35880 * include/search.h (__tsearch): Use libc_hidden_proto.
35881 (__tfind): Likewise.
35882 (__tdelete): Likewise.
35883 (__twalk): Likewise.
35884 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35885 Call __tdelete instead of tdelete.
35886 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35887 tfind. Call __tsearch instead of tsearch.
35888 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35889 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35890 Remove variable.
35891 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35892
35893 [BZ #18534]
35894 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35895 (dprintf): Define as a weak alias of __dprintf, not a strong
35896 alias.
35897 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35898 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35899 dprintf.
35900 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35901 Remove variable.
35902 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35903 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35904
35905 [BZ #18533]
35906 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35907 not a strong alias.
35908 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35909 Remove variable.
35910
35911 [BZ #18532]
35912 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35913 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35914 (in6addr_loopback): Rename to __in6addr_loopback and define as
35915 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35916 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35917 libc_hidden_proto.
35918 (__in6addr_any): Likewise.
35919 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35920 in6addr_any.
35921 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35922 variable.
35923 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35924
35925 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35926
35927 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35928 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35929 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35930 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35931 redirections for pow.
35932 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35933 * sysdeps/x86_64/fpu/Versions: New versions added.
35934 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35935 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35936 build of SSE, AVX2 and AVX512 IFUNC versions.
35937 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35938 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35939 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35940 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35941 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35942 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35943 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35944 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35945 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35946 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35947 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35948 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35949 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35950 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35951 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35952 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35953 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35954 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35955 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35956 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35957 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35958 * NEWS: Mention addition of x86_64 vector pow.
35959
35960 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35961 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35962 redirections for expf.
35963 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35964 * sysdeps/x86_64/fpu/Versions: New versions added.
35965 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35966 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35967 build of SSE, AVX2 and AVX512 IFUNC versions.
35968 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35969 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35970 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35971 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35972 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35973 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35974 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35975 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35976 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35977 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35978 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35979 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35980 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35981 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35982 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35983 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35984 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35985 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35986 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35987 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35988 * NEWS: Mention addition of x86_64 vector expf.
35989
35990 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35991 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35992 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35993 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35994 redirections for exp.
35995 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35996 * sysdeps/x86_64/fpu/Versions: New versions added.
35997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35998 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35999 build of SSE, AVX2 and AVX512 IFUNC versions.
36000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36001 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36002 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36003 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36006 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36007 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36008 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36009 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36010 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36011 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36012 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36013 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36014 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36015 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36016 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36017 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36018 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36019 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36020 * NEWS: Mention addition of x86_64 vector exp.
36021
36022 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36023 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36024 redirections for logf.
36025 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36026 * sysdeps/x86_64/fpu/Versions: New versions added.
36027 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36028 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36029 build of SSE, AVX2 and AVX512 IFUNC versions.
36030 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36031 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36032 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36033 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36034 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36035 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36036 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36037 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36038 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36039 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36040 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36041 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36042 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36043 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36044 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36045 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36046 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36047 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36048 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36049 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36050 * NEWS: Mention addition of x86_64 vector logf.
36051
36052 * bits/libm-simd-decl-stubs.h: Added stubs for log.
36053 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36054 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36055 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36056 redirections for log.
36057 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36058 * sysdeps/x86_64/fpu/Versions: New versions added.
36059 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36060 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36061 build of SSE, AVX2 and AVX512 IFUNC versions.
36062 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36063 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36064 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36065 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36066 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36067 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36068 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36069 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36070 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36071 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36072 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36073 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36074 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36075 test.
36076 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36077 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36078 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36079 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36080 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36081 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36082 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36083 * NEWS: Mention addition of x86_64 vector log.
36084
36085 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
36086
36087 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36088 cfi_adjust_cfa_offset argument.
36089 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36090 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36091
36092 [BZ #18034]
36093 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36094 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36095 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36096 ordering using ldar.
36097 (_dl_tlsdesc_dynamic): Likewise.
36098 (_dl_tlsdesc_return_lazy): Likewise.
36099 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36100 relaxed atomics instead of volatile and synchronize with release store.
36101 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36102 volatile.
36103 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36104
36105 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
36106
36107 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36108 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36109 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36110 * sysdeps/x86_64/fpu/Versions: New versions added.
36111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36112 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36113 build of SSE, AVX2 and AVX512 IFUNC versions.
36114 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36115 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36116 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36117 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36118 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36119 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36120 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36121 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36122 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36123 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36124 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36125 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36126 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36127 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36128 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36129 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36130 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36131 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36132 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36133 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36134 * NEWS: Mention addition of x86_64 vector sinf.
36135
36136 2015-06-14 Joseph Myers <joseph@codesourcery.com>
36137
36138 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36139 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36140 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36141 Remove variable.
36142 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36143 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36144
36145 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36146
36147 [BZ #18530]
36148 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36149 strong alias of _IO_fputs. Use libc_hidden_def.
36150 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36151 and define as weak alias of __fputs_unlocked. Use
36152 libc_hidden_weak.
36153 * include/stdio.h (__fputs_unlocked): Declare. Use
36154 libc_hidden_proto.
36155 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36156 fputs_unlocked.
36157
36158 [BZ #18529]
36159 * resolv/netdb.h [__USE_POSIX]: Change condition to
36160 [__USE_XOPEN2K].
36161 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36162 not expect.
36163 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36164 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36165 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36166 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36167 [XPG4 || UNIX98] (AI_ALL): Likewise.
36168 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36169 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36170 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36171 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36172 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36173 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36174 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36175 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36176 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36177 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36178 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36179 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36180 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36181 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36182 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36183 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36184 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36185 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36186 [XPG4 || UNIX98] (gai_strerror): Likewise.
36187 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36188 [XPG4 || UNIX98] (getnameinfo): Likewise.
36189
36190 [BZ #18528]
36191 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36192 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36193 __USE_XOPEN2K8].
36194 (getgrent): Likewise.
36195 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36196 expect.
36197 [XPG3 || POSIX2008] (endgrent): Likewise.
36198 [XPG3] (setgrent): Likewise.
36199 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36200 variable.
36201 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36202
36203 [BZ #18527]
36204 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36205 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36206 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36207 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36208 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36209 * include/unistd.h (__getlogin_r): Declare. Use
36210 libc_hidden_proto.
36211 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36212 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36213 variable.
36214 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36215 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36216 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36217
36218 2015-06-12 Martin Sebor <msebor@redhat.com>
36219
36220 [BZ #18512]
36221 * Makerules (check-install-supported): New target.
36222 (install): Add check-install-supported as a dependency.
36223 * manual/install.texi (Installing the C Library): Document
36224 that overriding prefix and exec_prefix is not supported.
36225 Mention DESTDIR.
36226 * INSTALL: Regenerate from the above.
36227
36228 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36229
36230 [BZ #18519]
36231 * posix/Versions (libc): Export __libc_pread at version
36232 GLIBC_PRIVATE.
36233 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36234 instead of pread.
36235 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36236 variable.
36237
36238 [BZ #18522]
36239 * misc/efgcvt_r.c
36240 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36241 (cvt_symbol): Use weak_alias instead of strong_alias.
36242 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36243 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36244 Remove variable.
36245 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36246 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36247
36248 [BZ #18520]
36249 * inet/herrno.c (h_errno): Rename to __h_errno.
36250 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36251 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36252 to __h_errno instead of h_errno.
36253 * nptl/herrno.c (h_errno): Rename to __h_errno.
36254 (__h_errno_location): Refer to __h_errno not h_errno.
36255 * resolv/Versions (h_errno): Rename to __h_errno.
36256 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36257 Remove variable.
36258 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36259
36260 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36261
36262 * configure.ac: More strict check for AVX512 assembler support.
36263 * configure: Regenerated.
36264
36265 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36266 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36267 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36268 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36269 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36270 * sysdeps/x86_64/fpu/Versions: New versions added.
36271 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36272 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36273 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36275 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36276 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36277 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36278 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36280 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36281 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36282 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36283 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36284 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36285 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36286 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36287 test.
36288 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36289 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36290 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36291 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36292 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36293 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36294 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36295 * NEWS: Mention addition of x86_64 vector sin.
36296
36297 2015-06-11 Florian Weimer <fweimer@redhat.com>
36298
36299 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36300 comment.
36301
36302 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36303
36304 [BZ #18479]
36305 * nptl/pt-interp.c: New file.
36306 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36307 Add pt-interp.
36308 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36309 $(common-objpfx)runtime-linker.h.
36310
36311 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36312
36313 * Makeconfig (+interp): Remove unused variable.
36314 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36315 only. Depend on $(common-objpfx)runtime-linker.h instead of
36316 $(elf-objpfx)runtime-linker.h.
36317 ($(elf-objpfx)runtime-linker.h): Rename to
36318 $(common-objpfx)runtime-linker.h and move ...
36319 * Makerules [$(build-shared) = yes]: ... here.
36320 * elf/interp.c: Include <runtime-linker.h> instead of
36321 <elf/runtime-linker.h>.
36322
36323 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36324
36325 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36326 (__gettimeofday_syscall): Remove vsyscall fallback.
36327 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36328 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36329 Add syscall fallback function.
36330 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36331 if vDSO is not present.
36332 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36333 fallback function.
36334 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36335 present.
36336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36337 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36338
36339 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36340
36341 [BZ #18497]
36342 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36343 of wcscmp.
36344 (wcscmp): Define as weak alias of WCSCMP.
36345 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36346 wcscoll.
36347 (USE_HIDDEN_DEF): Define.
36348 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36349 __wcscoll. Don't use libc_hidden_weak.
36350 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36351 wcscmp.
36352 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36353 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36354 __GI_wcscmp.
36355 (weak_alias): Undefine and redefine.
36356 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36357 __wcscmp and define as weak alias of __wcscmp.
36358 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36359 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36360 (__wcscoll): Likewise.
36361 (wcscmp): Don't use libc_hidden_proto.
36362 (wcscoll): Likewise.
36363 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36364 wcscoll.
36365 * posix/regexec.c (check_node_accept_bytes): Likewise.
36366 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36367 variable.
36368 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36369 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36370
36371 [BZ #18507]
36372 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36373 __fstatvfs and define as weak alias of __fstatvfs. Use
36374 libc_hidden_weak.
36375 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36376 and define as weak alias of __statvfs. Use libc_hidden_weak.
36377 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36378 Define as alias of __fstatvfs, not fstatvfs.
36379 (fstatvfs64): Likewise.
36380 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36381 Define as alias of __statvfs, not statvfs.
36382 (statvfs64): Likewise.
36383 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36384 Remove variable.
36385
36386 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36387
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36389 (HAVE_GETCPU_VSYSCALL): Define.
36390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36391 (HAVE_GETCPU_VSYSCALL): Likewise.
36392 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36393 * sysdeps/unix/sysv/linux/sched_getcpu.c
36394 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36395 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36396 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36397 prototype.
36398 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36399 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36400 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36402 Define.
36403 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36404 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36405 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36407
36408 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36409
36410 * sysdeps/x86_64/fpu/Makefile: New file.
36411 * sysdeps/x86_64/fpu/Versions: New file.
36412 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36413 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36414 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36415 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36416 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36417 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36418 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36419 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36421 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36423 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36424 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36425 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36426 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36427 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36428 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36429 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36430 * sysdeps/x86_64/configure: Regenerated.
36431 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36432 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36433 * manual/install.texi (Configuring and compiling): Document
36434 --disable-mathvec.
36435 * INSTALL: Regenerated.
36436 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36437
36438 * math/Makefile: Added rules for vector tests.
36439 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36440 declaration under condition.
36441 * math/test-double-vlen2.h: New file.
36442 * math/test-double-vlen4.h: New file.
36443 * math/test-double-vlen8.h: New file.
36444 * math/test-vec-loop.h: Added initialization macro.
36445 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36447 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36448 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36449 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36450 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36451 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36452 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36453 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36454 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36455 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36456
36457 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36458 * sysdeps/x86_64/fpu/Versions: New versions added.
36459 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36460 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36461 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36462 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36463 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36464 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36465 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36466 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36467 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36468 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36469 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36470 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36471 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36472 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36473 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36474 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36475 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36476 * NEWS: Mention addition of x86_64 vector cosf.
36477
36478 * math/Makefile: Added CFLAGS for new tests.
36479 * math/test-float-vlen16.h: New file.
36480 * math/test-float-vlen4.h: New file.
36481 * math/test-float-vlen8.h: New file.
36482 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36483 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36485 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36486 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36487 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36488 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36489 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36490 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36491 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36492 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36493
36494 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36495
36496 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36497 * locale/programs/ld-ctype.c: Likewise.
36498
36499 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36500
36501 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36502 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36503 bit_ZMM16_31_state): New macro.
36504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36505 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36506
36507 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36508
36509 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36510
36511 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36512
36513 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36514
36515 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36516
36517 [BZ #18498]
36518 * libio/memstream.c (open_memstream): Rename to __open_memstream
36519 and define as weak alias of __open_memstream.
36520 * include/stdio.h (__open_memstream): Declare. Use
36521 libc_hidden_proto.
36522 (open_memstream): Don't use libc_hidden_proto.
36523 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36524 open_memstream.
36525 * posix/getopt.c (_getopt_internal_r): Likewise.
36526 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36527 variable.
36528 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36529 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36530 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36531
36532 [BZ #18496]
36533 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36534 instead of wcrtomb.
36535
36536 [BZ #18483]
36537 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36538 [__USE_XOPEN2K8]. Remove redundant #endif.
36539 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36540 Remove redundant #if.
36541 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36542 Remove variable.
36543 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36544 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36545
36546 [BZ #18495]
36547 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36548 (__iswlower): Likewise.
36549 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36550 (__iswlower): Likewise.
36551 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36552 instead of towlower.
36553 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36554 instead of iswlower. Call __towupper instead of towupper.
36555 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36556 instead of iswalnum.
36557
36558 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36559
36560 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36561 errors to stderr.
36562
36563 2015-06-05 Florian Weimer <fweimer@redhat.com>
36564
36565 [BZ #15661]
36566 [BZ #17322]
36567 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36568 Check for overflow properly. Check for O_APPEND. Ignore large
36569 file system block sizes. Add comments about problems.
36570 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36571 * manual/filesys.texi (Storage Allocation): New node.
36572
36573 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36574
36575 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36576 cancellable syscalls.
36577 (SYS_ify): Add guard to no redefine it.
36578 (INLINE_SYSCALL): Likewise.
36579 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36580 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36581 SYSCALL_CANCEL instead.
36582 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36583 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36584 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36585 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36586 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36587 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36588 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36589 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36590 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36591 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36592 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36593 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36594 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36595 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36596 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36598 Likewise.
36599 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36600 (__libc_pread64): Likewise.
36601 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36602 (__libc_preadv): Likewise.
36603 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36604 (__libc_readv64): Likewise.
36605 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36606 (__libc_pwrite): Likewise.
36607 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36608 (__libc_pwrite64): Likewise.
36609 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36610 (__libc_pwritev): Likewise.
36611 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36612 (__libc_pwritev64): Likewise.
36613 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36614 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36615 (sync_file_range): Likewise.
36616 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36617 Likewise.
36618 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36619 Likewise.
36620 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36621 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36622 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36623 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36624 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36625 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36626 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36627 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36629 Likewise.
36630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36631 (__libc_read64): Likewise.
36632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36633 Likewise.
36634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36635 Likewise.
36636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36637 Likewise.
36638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36639 Likewise.
36640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36641 (__libc_pread64): Likewise.
36642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36643 Likewise.
36644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36645 (__libc_pwrite64): Likewise.
36646 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36647 (sync_file_range): Likewise.
36648 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36649 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36650 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36651 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36652 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36653 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36654 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36655 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36656 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36657 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36658 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36659 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36660 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36661 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36662 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36663 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36664 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36665 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36666 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36667 Likewise.
36668 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36669 Likewise.
36670 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36671 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36672 Likewise.
36673 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36674 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36675 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36676 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36677 Likewise.
36678 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36679 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36680 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36681 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36682 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36683
36684 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36685
36686 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36687 Include dl-vdso.
36688 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36689 Use VDSO routines for gettimeofday, clock_gettime if
36690 available.
36691 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36692 Declare VDSO symbols.
36693 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36694 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36695 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36696 * sysdeps/unix/sysv/linux/arm/Versions: Add
36697 __vdso_clock_gettime.
36698
36699 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36700
36701 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36702 be an inline implementation regardless of library is built within.
36703 (open_not_cancel_2): Likewise.
36704 (__read_nocancel): Likewise.
36705 (__write_nocancel): Likewise.
36706 (openat_not_cancel): Likewise.
36707 (openat_not_cancel_3): Likewise.
36708 (openat64_not_cancel): Likewise.
36709 (openat64_not_cancel_3): Likewise.
36710 (__close_nocancel): Likewise.
36711 (pause_not_cancel): Likewise.
36712 (nanosleep_not_cancel): Likewise.
36713 (sigsuspend_not_cancel): Likewise.
36714
36715 2015-06-04 Torvald Riegel <triegel@redhat.com>
36716
36717 [BZ #14958]
36718 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36719 wake-up.
36720 (__pthread_rwlock_rdlock_slow): Likewise.
36721 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36722 Likewise.
36723 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36724 Likewise.
36725 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36726 * nptl/tst-rwlock16.c: New file.
36727 * nptl/Makefile (tests): Add new test.
36728
36729 2015-06-04 Torvald Riegel <triegel@redhat.com>
36730
36731 [BZ #18324]
36732 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36733 missing wake-up of readers.
36734 * nptl/tst-rwlock15.c: New file.
36735 * nptl/Makefile (tests): Add new test.
36736
36737 2015-06-03 Roland McGrath <roland@hack.frob.com>
36738
36739 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36740 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36741 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36742 and __nacl_supply_interface_rtld.
36743 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36744 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36745 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36746 Add __nacl_supply_interface_rtld.
36747 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36748
36749 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36750
36751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36752 isfinite.
36753 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36754 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36755
36756 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36757
36758 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36759 __signbit* with standard C99 macros.
36760 * math/e_exp10l.c: Likewise.
36761 * math/e_exp2l.c: Likewise.
36762 * math/e_scalb.c: Likewise.
36763 * math/e_scalbf.c: Likewise.
36764 * math/e_scalbl.c: Likewise.
36765 * math/s_ldexp.c: Likewise.
36766 * math/s_ldexpf.c: Likewise.
36767 * math/s_ldexpl.c: Likewise.
36768 * math/w_atan2.c: Likewise.
36769 * math/w_atan2f.c: Likewise.
36770 * math/w_atan2l.c: Likewise.
36771 * math/w_cosh.c: Likewise.
36772 * math/w_coshf.c: Likewise.
36773 * math/w_coshl.c: Likewise.
36774 * math/w_exp10.c: Likewise.
36775 * math/w_exp10f.c: Likewise.
36776 * math/w_exp10l.c: Likewise.
36777 * math/w_exp2.c: Likewise.
36778 * math/w_exp2f.c: Likewise.
36779 * math/w_exp2l.c: Likewise.
36780 * math/w_fmod.c: Likewise.
36781 * math/w_fmodf.c: Likewise.
36782 * math/w_fmodl.c: Likewise.
36783 * math/w_hypot.c: Likewise.
36784 * math/w_hypotf.c: Likewise.
36785 * math/w_hypotl.c: Likewise.
36786 * math/w_jnl.c: Likewise.
36787 * math/w_lgamma.c: Likewise.
36788 * math/w_lgamma_r.c: Likewise.
36789 * math/w_lgammaf.c: Likewise.
36790 * math/w_lgammaf_r.c: Likewise.
36791 * math/w_lgammal.c: Likewise.
36792 * math/w_lgammal_r.c: Likewise.
36793 * math/w_pow.c: Likewise.
36794 * math/w_powf.c: Likewise.
36795 * math/w_powl.c: Likewise.
36796 * math/w_remainder.c: Likewise.
36797 * math/w_remainderf.c: Likewise.
36798 * math/w_remainderl.c: Likewise.
36799 * math/w_scalb.c: Likewise.
36800 * math/w_scalbf.c: Likewise.
36801 * math/w_scalbl.c: Likewise.
36802 * math/w_scalbln.c: Likewise.
36803 * math/w_scalblnf.c: Likewise.
36804 * math/w_scalblnl.c: Likewise.
36805 * math/w_sinh.c: Likewise.
36806 * math/w_sinhf.c: Likewise.
36807 * math/w_sinhl.c: Likewise.
36808 * math/w_tgamma.c: Likewise.
36809 * math/w_tgammaf.c: Likewise.
36810 * math/w_tgammal.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36815 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36817 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36818 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36819 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36821 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36822 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36823 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36828 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36842 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36843 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36844 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36845 * stdio-common/printf_fp.c: Likewise.
36846 * stdio-common/printf_fphex.c: Likewise.
36847 * stdio-common/printf_size.c: Likewise.
36848
36849 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36850
36851 [BZ #18470]
36852 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36853 strnlen.
36854 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36855 Remove variable.
36856 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36857 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36858 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36859 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36860 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36861 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36862 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36863 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36864 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36865 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36866
36867 [BZ #18468]
36868 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36869 weak alias of __wmemchr. Use libc_hidden_weak.
36870 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36871 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36872 instead of wmemchr.
36873
36874 2015-06-02 Roland McGrath <roland@hack.frob.com>
36875
36876 [BZ #18383]
36877 * elf/tst-tlsalign-extern.c: New file.
36878 * elf/tst-tlsalign-extern-static.c: New file.
36879 * elf/tst-tlsalign-vars.c: New file.
36880 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36881 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36882 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36883 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36884 (test-xfail-tst-tlsalign-extern-static): New variable.
36885
36886 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36887
36888 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36889 Use variable name _sc_err instead of err.
36890 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36891 instead of ret.
36892 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36893 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36894 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36895 (INLINE_SYSCALL): Likewise.
36896
36897 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36898 * include/string.h (__strnlen): Use libc_hidden_proto.
36899 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36900 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36901 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36902 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36903 (libc_hidden_def): Undefine and redefine.
36904 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36905 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36906 __GI_strnlen.
36907 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36908 libc_hidden_def.
36909 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36910
36911 [BZ #18469]
36912 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36913 weak alias of __towlower. Use libc_hidden_weak.
36914 (towupper): Rename to __towupper and define as weak alias of
36915 __towupper. Use libc_hidden_weak.
36916 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36917 (__towupper): Likewise.
36918 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36919 __towlower instead of towlower.
36920
36921 2015-06-02 Roland McGrath <roland@hack.frob.com>
36922
36923 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36924 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36925
36926 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36927
36928 * sysdeps/aarch64/libm-test-ulps: Update.
36929
36930 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36931
36932 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36933 Define.
36934 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36936 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36937 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36938 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36939 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36940 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36941
36942 2015-06-01 Martin Sebor <msebor@redhat.com>
36943
36944 [BZ #18116]
36945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36946 (__setcontext): Use extended four-operand version of mtsf whenever
36947 possible.
36948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36949 (__novec_swapcontext): Likewise.
36950
36951 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36952
36953 * benchtests/scripts/compare_bench.py: New file.
36954 * benchtests/scripts/import_bench.py (mean): New function.
36955 (split_list): Likewise.
36956 (do_for_all_timings): Likewise.
36957 (compress_timings): Likewise.
36958
36959 * benchtests/scripts/import_bench.py: New file.
36960 * benchtests/scripts/validate_benchout.py: Import import_bench
36961 instead of jsonschema.
36962 (validate_bench): Remove function.
36963 (main): Use import_bench.
36964
36965 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36966
36967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36968 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36969
36970 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36971
36972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36973
36974 2015-05-28 Roland McGrath <roland@hack.frob.com>
36975
36976 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36977 set THREAD_SELF->tid to a magic value and futex-wake it.
36978 Pass its address to the thread_exit system call.
36979 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36980 bit is clear.
36981 * sysdeps/nacl/lowlevellock.h: New file.
36982 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36983
36984 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36985 Add TIMEOUT to current time, don't subtract it.
36986
36987 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36988
36989 [BZ #2981]
36990 [BZ #18422]
36991 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36992 ($(objpfx)tst-audit2.out): Also depend on
36993 $(objpfx)tst-auditmod9b.so.
36994 * elf/tst-audit2.c: Include <dlfcn.h>.
36995 (calloc_called): New.
36996 (calloc): Allow to be called more than once.
36997 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36998
36999 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
37000
37001 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37002 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37003
37004 2015-05-27 Marko Myllynen <myllynen@redhat.com>
37005
37006 * stdlib/monetary.h: Fix comment.
37007
37008 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
37009
37010 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37011 Avoid using variables in #defines that might cause shadowing.
37012 (INTERNAL_VSYSCALL_CALL): Likewise.
37013
37014 2015-05-26 Roland McGrath <roland@hack.frob.com>
37015
37016 * sysdeps/nacl/lll_timedlock_wait.c: New file.
37017
37018 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37019 * nptl/lll_timedlock_wait.c: ... to this new file.
37020 * nptl/Makefile (libpthread-routines): Add it.
37021 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37022 * nptl/lll_timedwait_tid.c: ... to this new file.
37023 * nptl/Makefile (libpthread-routines): Add it.
37024 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37025 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37026 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37027 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37028 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37029 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37030 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37031 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37032 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37033 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37034
37035 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37036
37037 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37038 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37039 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37040 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37041 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37043 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37045 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37046 * sysdeps/unix/sysv/linux/tile/sysdep.h
37047 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37048 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37049 using vDSO syscall macro.
37050
37051 2015-05-26 Andriy Rysin <arysin@gmail.com>
37052
37053 [BZ #17293]
37054 * uk_UA: Fix sorting order for Ukrainian locale
37055
37056 2015-05-26 Marko Myllynen <myllynen@redhat.com>
37057
37058 * stdlib/monetary.h: Fix comment.
37059
37060 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
37061
37062 [BZ #18234]
37063 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37064 st_mtim and st_ctim members.
37065 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37066 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37067 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37068 (struct stat64): Likewise.
37069 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37070 (struct stat64): Likewise.
37071 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37072 (struct stat64): Likewise.
37073
37074 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37075
37076 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37077 Define and include sysdep-vdso.h.
37078 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37079 Likewise.
37080 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37081 Likewise.
37082 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37083 Define with VDSO_SYMBOL and use PTR_MANGLE.
37084 (__vdso_clock_gettime): Likewise.
37085 (__vdso_clock_getres): Likewise.
37086 (_libc_vdso_platform_setup): Likewise.
37087 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37088 Likewise.
37089 (_libc_vdso_platform_setup): Likewise.
37090 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37091 Likewise.
37092 (__vdso_clock_gettime): Likewise.
37093 (__vdso_clock_getres): Likewise.
37094 (__vdso_get_tbfreq): Likewise.
37095 (__vdso_getcpu): Likewise.
37096 (__vdso_time): Likewise.
37097 (__vdso_sigtramp_rt64): Likewise.
37098 (__vdso_signtramp32): Likewise.
37099 (__vdso_sigtramp_rt32): Likewise.
37100 (_libc_vdso_platform_setup): Likewise.
37101 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37102 Likewise.
37103 (__vdso_clock_gettime): Likewise.
37104 (__vdso_clock_getres): Likewise.
37105 (_libc_vdso_platform_setup): Likewise.
37106 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37107 Likewise.
37108 (__vdso_clock_gettime): Likewise.
37109 (_libc_vdso_platform_setup): Likewise.
37110 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37111 Likewise.
37112 (__vdso_getcpu): Likewise.
37113 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37114 Use VDSO_SYMBOL macro to define.
37115 (__vdso_clock_gettime): Likewise.
37116 (__vdso_clock_getres): Likewise.
37117 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37118 Likewise.
37119 (__vdso_clock_gettime): Likewise.
37120 (__vdso_clock_getres): Likewise.
37121 (__vdso_get_tbfreq): Likewise.
37122 (__vdso_getcpu): Likewise.
37123 (__vdso_time): Likewise.
37124 (__vdso_sigtramp_rt64): Likewise.
37125 (__vdso_signtramp32): Likewise.
37126 (__vdso_sigtramp_rt32): Likewise.
37127 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37128 Likewise.
37129 (__vdso_clock_gettime): Likewise.
37130 (__vdso_clock_getres): Likewise.
37131 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37132 Likewise.
37133 (__vdso_clock_gettime): Likewise.
37134 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37135 Likewise.
37136 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
37137 macro.
37138 (INTERNAL_VSYSCALL): Likewise.
37139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37140 Remove macro.
37141 (INTERNAL_VSYSCALL): Likewise.
37142 (INTERNAL_VSYSCALL_NCS): Likewise.
37143 (INTERNAL_VSYSCALL_CALL): New macro.
37144 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37146 Likewise.
37147 (INTERNAL_VSYSCALL): Likewise.
37148 (INTERNAL_VSYSCALL_NCS): Likewise.
37149 (INTERNAL_VSYSCALL_CALL): New macro.
37150 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37152 (INLINE_VSYSCALL): Remove macro.
37153 (INTERNAL_VSYSCALL): Remove macro.
37154 (INTERNAL_VSYSCALL_NCS): Remove macro.
37155 (INTERNAL_VSYSCALL_CALL): New macro.
37156 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37157 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37158 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37159 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37160 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37162 (INLINE_VSYSCALL): Remove macro.
37163 (INTERNAL_VSYSCALL): Likewise.
37164 (INTERNAL_VSYSCALL_NCS): Likewise.
37165 (INTERNAL_VSYSCALL_CALL): New macro.
37166 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37167 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37168 PTR_DEMANGLE on vDSO pointer.
37169 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37170 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37171 macro.
37172 (INTERNAL_SYSCALL): Likewise.
37173 (INTERNAL_VSYSCALL_NCS): Remove macro.
37174 (INTERNAL_VSYSCALL_CALL): New macro.
37175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37176 Remove macro.
37177 (INTERNAL_VSYSCALL): Likewise.
37178 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37179 sysdep-vdso.h instead of libc-vdso.h.
37180 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37181 definition.
37182 (INLINE_VSYSCALL): Likewise.
37183 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37184 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37185 definition.
37186 (INLINE_VSYSCALL): Likewise.
37187 (INTERNAL_VSYSCALL): Likewise.
37188 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37189 * sysdeps/unix/sysv/linux/timespec_get.c
37190 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37191 (timespec_get): Use ANSI prototype.
37192 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37193 and definition for Linux.
37194
37195 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37196
37197 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37198 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37199
37200 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37201
37202 [BZ #2981]
37203 [BZ #18410]
37204 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37205 for missing DT_PLTRELSZ.
37206
37207 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37208
37209 Remove obsolete aliases that broke 'locale -a'
37210 [BZ #18412]
37211 * intl/locale.alias: Remove obsolete aliases "bokmÄl" and "français"
37212 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37213 breaking some applications that use 'locale -a' output.
37214 Change the encoding of this file from Latin-1 to ASCII to avoid
37215 other potential problems with people grepping this file.
37216
37217 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37218
37219 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37220 -fasynchronous-unwind-tables.
37221 (CFLAGS-sendto.c): Likewise.
37222 (CFLAGS-sendmsg.c): Likewise.
37223 (CFLAGS-connect.c): Likewise.
37224 (CFLAGS-recvmsg.c): Likewise.
37225 (CFLAGS-recvfrom.c): Likewise.
37226 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37227 (SOCKETCALL): New macro: non-cancellable socketcall.
37228 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37230 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37231 * sysdeps/unix/sysv/linux/accept.c: New file.
37232 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37233 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37234 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37235 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37236 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37237 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37238 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37239 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37240 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37241 * sysdeps/unix/sysv/linux/send.c: Likewise.
37242 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37243 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37244 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37245 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37246 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37247 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37248 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37249 prototype.
37250 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37251 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37252 instead of __internal_xxx function.
37253 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37254 prototype.
37255 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37256 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37257 instead of __internal_xxx function.
37258 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37259 prototype.
37260 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37261 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37262 instead of __internal_xxx function.
37263 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37264 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37265 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37266 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37267 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37268 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37269 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37270 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37271 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37272 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37273 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37274 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37275 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37276 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37278 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37279 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37280 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37281 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37282 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37285 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37286 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37287 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37288 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37289 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37290 * sysdeps/unix/sysv/linux/send.S: Likewise.
37291 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37292 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37293 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37294 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37295 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37296 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37297 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37298 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37299 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37300 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37301 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37302 socketcall is implemented in GLIBC.
37303
37304 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37305
37306 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37307 (__fma): Ignore uninitialized warnings around packing.
37308 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37309 (__fmaf): Ignore uninitialized warnings around packing.
37310 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37311 (__fmal): Ignore uninitialized warnings around packing.
37312
37313 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37314 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37315 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37316 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37317
37318 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37319 switch statement into default case.
37320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37321
37322 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37323 a conditional in forcing "inexact".
37324 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37325 Likewise.
37326
37327 2015-05-22 Roland McGrath <roland@hack.frob.com>
37328
37329 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37330 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37331 for each INTERNAL_SYSCALL use.
37332
37333 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37334
37335 [BZ #438]
37336 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37337 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37338 variable.
37339
37340 [BZ #18444]
37341 * string/basename.c (basename): Rename to __basename and define as
37342 weak alias of __basename. Use libc_hidden_weak.
37343 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37344 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37345 __basename instead of basename.
37346 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37347 Remove variable.
37348 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37349
37350 2015-05-18 Florian Weimer <fweimer@redhat.com>
37351
37352 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37353 (_IO_JUMPS_FILE_plus): New.
37354 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37355 _IO_CAST_FIELD_ACCESS.
37356 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37357 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37358 * libio/freopen.c (freopen): Likewise.
37359 * libio/freopen64.c (freopen64): Likewise.
37360 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37361 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37362 * libio/iofwide.c (_IO_fwide): Likewise.
37363 * libio/memstream.c (open_memstream): Likewise.
37364 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37365 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37366 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37367
37368 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37369
37370 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37371 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37372 NADJ.
37373 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37374 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37375 NADJ.
37376 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37377 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37378 NADJ.
37379
37380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37381 (p == 4) case.
37382
37383 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37384 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37385 Remove variable.
37386 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37387 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37388 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37389
37390 2015-05-21 Florian Weimer <fweimer@redhat.com>
37391
37392 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37393 Adjust jump table label generation macros.
37394
37395 2015-05-21 Florian Weimer <fweimer@redhat.com>
37396
37397 * stdio-common/vfprintf.c (vfprintf): Move local variables
37398 args_malloced, specs, specs_malloced, and the code after
37399 do_positional to the printf_positional function.
37400 (printf_positional): New function.
37401
37402 2015-05-21 Florian Weimer <fweimer@redhat.com>
37403
37404 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37405 function.
37406 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37407 STEP4_TABLE, process_arg): Move macro definitions
37408 out of the vfprintf function. (Cosmetic change only.)
37409
37410 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37411
37412 * benchtests/Makefile (stdio-common-bench): Define.
37413 (benchset): Add stdio-common-bench.
37414 * sprintf-inputs: New file.
37415 * sprintf-source.c: New file.
37416
37417 2015-05-21 Andreas Schwab <schwab@suse.de>
37418
37419 [BZ #13028]
37420 [BZ #17053]
37421 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37422 of struct __res_state.
37423 * resolv/res_send.c (__libc_res_nsend): Likewise.
37424 (get_nsaddr): New function.
37425 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37426 statp directly.
37427
37428 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37429
37430 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37431 -D_POSIX_C_SOURCE=199506L.
37432
37433 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37434
37435 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37436 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37437 Do not mention otherwise.
37438 [POSIX] (_XOPEN_VERSION): Do not expect.
37439 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37440 [POSIX] (_POSIX2_C_BIND): Likewise.
37441 [POSIX] (_POSIX2_VERSION): Likewise.
37442 [POSIX] (_XOPEN_XPG2): Likewise.
37443 [POSIX] (_XOPEN_XPG3): Likewise.
37444 [POSIX] (_XOPEN_XPG4): Likewise.
37445 [POSIX] (_XOPEN_UNIX): Likewise.
37446 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37447 [POSIX] (_POSIX_BARRIERS): Likewise.
37448 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37449 [POSIX] (_POSIX_CPUTIME): Likewise.
37450 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37451 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37452 [POSIX] (_POSIX_SHELL): Likewise.
37453 [POSIX] (_POSIX_SPAWN): Likewise.
37454 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37455 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37456 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37457 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37458 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37459 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37460 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37461 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37462 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37463 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37464 [POSIX] (_POSIX2_PBS): Likewise.
37465 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37466 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37467 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37468 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37469 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37470 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37471 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37472 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37473 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37474 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37475 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37476 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37477 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37478 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37479 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37480 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37481 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37482 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37483 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37484 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37485 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37486 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37487 [POSIX] (_SC_2_C_BIND): Likewise.
37488 [POSIX] (_SC_2_C_VERSION): Likewise.
37489 [POSIX] (_SC_2_PBS): Likewise.
37490 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37491 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37492 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37493 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37494 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37495 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37496 [POSIX] (_SC_BARRIERS): Likewise.
37497 [POSIX] (_SC_BASE): Likewise.
37498 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37499 [POSIX] (_SC_DEVICE_IO): Likewise.
37500 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37501 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37502 [POSIX] (_SC_FD_MGMT): Likewise.
37503 [POSIX] (_SC_FIFO): Likewise.
37504 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37505 [POSIX] (_SC_FILE_LOCKING): Likewise.
37506 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37507 [POSIX] (_SC_IOV_MAX): Likewise.
37508 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37509 [POSIX] (_SC_NETWORKING): Likewise.
37510 [POSIX] (_SC_PAGE_SIZE): Likewise.
37511 [POSIX] (_SC_PASS_MAX): Likewise.
37512 [POSIX] (_SC_PIPE): Likewise.
37513 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37514 [POSIX] (_SC_REGEXP): Likewise.
37515 [POSIX] (_SC_SHELL): Likewise.
37516 [POSIX] (_SC_SIGNALS): Likewise.
37517 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37518 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37519 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37520 [POSIX] (_SC_USER_GROUPS): Likewise.
37521 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37522 [POSIX] (_SC_STREAMS): Likewise.
37523 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37524 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37525 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37526 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37527 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37528 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37529 [POSIX] (_PC_FILESIZEBITS): Likewise.
37530 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37531 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37532 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37533 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37534 [POSIX] (uid_t): Likewise.
37535 [POSIX] (gid_t): Likewise.
37536 [POSIX] (off_t): Likewise.
37537 [POSIX] (pid_t): Likewise.
37538 [POSIX] (cuserid): Allow.
37539 (_SC_2_CHAR_TERM): Require constant.
37540 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37541 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37542 variable.
37543
37544 2015-05-20 Roland McGrath <roland@hack.frob.com>
37545
37546 * sysdeps/nacl/pthread-pids.h: New file.
37547 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37548 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37549
37550 * nptl/pthread-pids.h: New file.
37551 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37552 * nptl/nptl-init.c: Include <pthread-pids.h>.
37553 (__pthread_initialize_minimal_internal):
37554 Call __pthread_initialize_pids instead of set_tid_address syscall.
37555
37556 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37557 * sysdeps/posix/usleep.c: ... here.
37558
37559 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37560
37561 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37562 call_pselect6 object.
37563 [$(subdir) = io]: Remove call_sync_file_range object.
37564 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37565 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37566 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37567 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37568
37569 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37570
37571 * math/s_cproj.c: Add include "math_private.h".
37572 * math/s_cprojf.c: Likewise.
37573 * math/s_cprojl.c: Likewise.
37574
37575 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37576
37577 [BZ #18244]
37578 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37579 high mantissa bit when testing whether P is a NaN.
37580 * math/libm-test.inc (remainder_test_data): Add more tests.
37581 (remquo_test_data): Likewise.
37582
37583 [BZ #18049]
37584 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37585 below -32, return the argument, with underflow if subnormal.
37586 * math/auto-libm-test-in: Add more tests of atanh.
37587 * math/auto-libm-test-out: Regenerated.
37588
37589 2015-05-19 Roland McGrath <roland@hack.frob.com>
37590
37591 [BZ #18434]
37592 * nptl/tst-sem15.c: New file.
37593 * nptl/Makefile (tests): Add it.
37594 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37595 s/<</>>/ to fix typo in EOVERFLOW check.
37596 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37597
37598 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37599
37600 * manual/strings.texi (envz_remove): Fix typo in safety
37601 annotations.
37602
37603 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37604 Steve Ellcey <sellcey@imgtec.com>
37605
37606 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37607 in order to avoid strict alias warnings.
37608 (iruserok_af): Ditto for ra.
37609
37610 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37611
37612 [BZ #17581]
37613 * malloc/hooks.c
37614 (magicbyte): Convert to a function and avoid returning 0x01.
37615 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37616 (mem2chunk_check): Fix unsigned comparisons to zero.
37617 Hoist defs of sz and magic.
37618
37619 2015-05-19 Richard Henderson <rth@redhat.com>
37620
37621 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37622
37623 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37624
37625 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37626
37627 [BZ #16159]
37628 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37629 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37630 (reused_arena): Find a non-corrupt arena.
37631 (heap_trim): Pass arena to unlink.
37632 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37633 malloc_printerr.
37634 (top_check): Likewise.
37635 (free_check): Likewise.
37636 (realloc_check): Likewise.
37637 * malloc/malloc.c (malloc_printerr): Add arena argument.
37638 (unlink): Likewise.
37639 (munmap_chunk): Adjust.
37640 (ARENA_CORRUPTION_BIT): New macro.
37641 (arena_is_corrupt): Likewise.
37642 (set_arena_corrupt): Likewise.
37643 (sysmalloc): Use mmap if there are no usable arenas.
37644 (_int_malloc): Likewise.
37645 (__libc_malloc): Don't fail if arena_get returns NULL.
37646 (_mid_memalign): Likewise.
37647 (__libc_calloc): Likewise.
37648 (__libc_realloc): Adjust for additional argument to
37649 malloc_printerr.
37650 (_int_free): Likewise.
37651 (malloc_consolidate): Likewise.
37652 (_int_realloc): Likewise.
37653 (_int_memalign): Don't touch corrupt arenas.
37654 * malloc/tst-malloc-backtrace.c: New test case.
37655
37656 * Makefile (summarize-tests): Fix return value on success.
37657
37658 * manual/string.texi (Envz Functions): Add envz_remove.
37659
37660 2015-05-18 Roland McGrath <roland@hack.frob.com>
37661
37662 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37663 (invalid_name): New function, broken out of ...
37664 (__opendirat): ... here. Call it.
37665 (need_isdir_precheck): New function, broken out of ...
37666 (__opendirat): ... here. Call it.
37667 Use __fxstatat64, not __xstatat64.
37668 (opendir_oflags): New function, broken out of ...
37669 (__opendirat): ... here. Call it.
37670 (opendir_tail): New function, broken out of ...
37671 (__opendirat): ... here. Call it.
37672 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37673 opendir_tail, rather than punting to __opendirat.
37674 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37675
37676 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37677
37678 * .gitignore: Ignore generated *.pyc.
37679
37680 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37681
37682 * include/stdio.h: Define __need_wint_t.
37683 * test-skeleton.c: Avoid `for' loop initial declaration.
37684 * nptl/tst-initializers1.c: Use test-skeleton.c.
37685
37686 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37687
37688 [BZ #18418]
37689 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37690
37691 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37692
37693 [BZ #16352]
37694 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37695 (__ieee754_atanh): Force underflow exception for results with
37696 small absolute value.
37697 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37698 (__ieee754_atanhf): Force underflow exception for results with
37699 small absolute value.
37700 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37701 (__ieee754_atanh): Force underflow exception for results with
37702 small absolute value.
37703 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37704 (__ieee754_atanhf): Force underflow exception for results with
37705 small absolute value.
37706 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37707 (__ieee754_atanhl): Force underflow exception for results with
37708 small absolute value.
37709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37710 (__ieee754_atanhl): Force underflow exception for results with
37711 small absolute value.
37712 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37713 (__ieee754_atanhl): Force underflow exception for results with
37714 small absolute value.
37715 * math/auto-libm-test-in: Do not allow missing underflow
37716 exceptions from atanh.
37717 * math/auto-libm-test-out: Regenerated.
37718
37719 [BZ #18221]
37720 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37721 2**-28 as threshold for returning x or +/- 1/x.
37722 * math/auto-libm-test-in: Add more tests of tan.
37723 * math/auto-libm-test-out: Regenerated.
37724
37725 [BZ #18220]
37726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37727 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37728 * math/auto-libm-test-in: Add another test of lgamma.
37729 * math/auto-libm-test-out: Regenerated.
37730
37731 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37732
37733 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37734 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37735 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37736 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37737 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37738 (ADD2A): Use fabs. (SUB2A): Use fabs.
37739 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37742 (log1): Use fabs. (my_log2): Use fabs.
37743 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37744 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37746 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37748 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37749 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37750 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37751 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37752 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37753 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37754
37755 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37756
37757 [BZ #18217]
37758 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37759 as threshold for returning 1 - x.
37760 * math/auto-libm-test-in: Add more tests of erfc.
37761 * math/auto-libm-test-out: Regenerated.
37762
37763 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37764
37765 [BZ #18196]
37766 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37767 threshold for large arguments.
37768 * math/auto-libm-test-in: Add another test of atan.
37769 * math/auto-libm-test-out: Regenerated.
37770
37771 [BZ #16339]
37772 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37773 (__log1p): Force underflow exception for results with small
37774 absolute value.
37775 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37776 (__log1pf): Force underflow exception for results with small
37777 absolute value.
37778 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37779 (__log1p): Force underflow exception for results with small
37780 absolute value.
37781 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37782 (__log1pf): Force underflow exception for results with small
37783 absolute value.
37784 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37785 (__log1pl): Force underflow exception for results with small
37786 absolute value.
37787 * math/auto-libm-test-in: Do not allow missing underflow
37788 exceptions from log1p.
37789 * math/auto-libm-test-out: Regenerated.
37790
37791 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37792 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37793
37794 [BZ #16704]
37795 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37796
37797 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37798
37799 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37800 (libmvec): New variable.
37801 * configure.ac: Added option for mathvec build.
37802 * configure: Regenerated.
37803 * mathvec/Depend: New file.
37804 * mathvec/Makefile: New file.
37805 * shlib-versions: Added libmvec.
37806 * math/Makefile: Added rule for libm.so installation.
37807
37808 * bits/math-vector.h: New file.
37809 * bits/libm-simd-decl-stubs.h: New header.
37810 * math/Makefile (headers): Added new header
37811 libm-simd-decl-stubs.h.
37812 * math/math.h (__MATHCALL_VEC): New macro.
37813
37814 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37815 for conditions in testing functions.
37816 * math/Makefile: Added call of libm-have-vector-test.sh.
37817 * math/libm-test.inc (HAVE_VECTOR): New macros.
37818
37819 * math/libm-test.inc: START refactored.
37820 * math/test-double.c (TEST_MATHVEC): Add define.
37821 * math/test-float.c: Likewise.
37822 * math/test-idouble.c: Likewise.
37823 * math/test-ifloat.c: Likewise.
37824 * math/test-ildoubl.c: Likewise.
37825 * math/test-ldouble.c: Likewise.
37826 * sysdeps/generic/math-tests-arch.h
37827 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37828 architecture check.
37829
37830 * math/test-double.c (FUNC_TEST): New macro.
37831 * math/test-float.c: Likewise.
37832 * math/test-idouble.c: Likewise.
37833 * math/test-ifloat.c: Likewise.
37834 * math/test-ildoubl.c: Likewise.
37835 * math/test-ldouble.c: Likewise.
37836 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37837
37838 2015-05-13 Roland McGrath <roland@hack.frob.com>
37839
37840 * sysdeps/nacl/fdopendir.c: New file.
37841
37842 * dirent/scandir-tail.c: New file.
37843 * dirent/scandir64-tail.c: New file.
37844 * dirent/Makefile (routines): Add them.
37845 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37846 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37847 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37848 [!SCANDIR] (SCANDIR_TAIL): New macro.
37849 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37850 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37851 (SCANDIRAT): Macro removed.
37852 (SCANDIR_TAIL): New macro.
37853 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37854 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37855 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37856 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37857 (READDIR): Macro removed.
37858 (SCANDIR_TAIL): New macro.
37859 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37860 (SCANDIR_TAIL): New macro.
37861
37862 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37863 * dirent/scandir-cancel.c: ... to this new file.
37864 * dirent/Makefile (routines): Add it.
37865 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37866 * sysdeps/unix/sysv/linux/i386/scandir64.c
37867 (SKIP_SCANDIR_CANCEL): Macro removed.
37868 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37869
37870 * dirent/tst-scandir.c: New file.
37871 * dirent/tst-scandir64.c: New file.
37872 * dirent/Makefile (tests): Add them.
37873
37874 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37875
37876 [BZ #18409]
37877 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37878
37879 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37880
37881 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37882 list.
37883
37884 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37885
37886 * benchtests/bench-strcoll.c: New benchmark.
37887 * benchtests/Makefile: Generate locales and run benchmark.
37888 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37889 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37890 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37891 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37892 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37893 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37894 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37895 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37896 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37897 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37898 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37899 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37900 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37901 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37902 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37903 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37904 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37905 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37906 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37907 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37908 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37909 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37910 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37911 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37912
37913 2015-05-12 Ondƙej Bílka <neleai@seznam.cz>
37914
37915 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37916 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37917
37918 2015-05-12 Roland McGrath <roland@hack.frob.com>
37919
37920 * posix/uname-values.h: New file.
37921 * posix/uname.c: Include that instead of <config-name.h>.
37922 * sysdeps/nacl/uname-values.h: New file.
37923 * sysdeps/arm/nacl/uname-values.h: New file.
37924
37925 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37926
37927 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37928 splitting into fields.
37929
37930 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37931
37932 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37933 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37934 * locale/localeinfo.h: Add enum collation_encoding_type.
37935 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37936 * programs/ld-collate.c (collate_output): Add encoding type info.
37937 * string/strcoll_l.c (STRDIFF): New function.
37938 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37939 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37940
37941 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37942
37943 [BZ #18397]
37944 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37945 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37946 <fpu_control.h> instead of <math/fpu_control.c>.
37947 * sysdeps/mips/mips32/fpu/Makefile: New file.
37948
37949 2015-05-11 Andreas Schwab <schwab@suse.de>
37950
37951 [BZ #18007]
37952 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37953 nss_endgrent.
37954 (_nss_compat_endgrent): Call nss_endgrent.
37955 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37956 nss_endpwent.
37957 (_nss_compat_endpwent): Call nss_endpwent.
37958 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37959 needent, call nss_setspent only if non-zero.
37960 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37961 (internal_endspent): Don't call nss_endspent.
37962 (_nss_compat_endspent): Call nss_endspent.
37963 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37964 Remove. All uses removed.
37965 (internal_setent): Remove parameter stayopen, add parameter
37966 stream. Use it instead of global variable.
37967 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37968 (internal_endent, internal_getent): Add parameter stream. Use it
37969 instead of global variable.
37970 (CONCAT(_nss_files_end,ENTNAME))
37971 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37972 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37973 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37974 uses removed.
37975 (internal_setent, internal_endent): Add parameter stream. Use it
37976 instead of global variable.
37977 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37978 stream.
37979 (get_next_alias): Add parameter stream.
37980 (_nss_files_getaliasent_r): Pass global stream.
37981 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37982 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37983 (_nss_files_gethostbyname4_r): Pass local stream to
37984 internal_setent, internal_getent and internal_endent. Remove
37985 locking.
37986
37987 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37988
37989 * tst-strfmon1.c (tests): Update expected currency symbol.
37990
37991 2015-05-08 Roland McGrath <roland@hack.frob.com>
37992
37993 * sysdeps/nacl/gethostname.c: New file.
37994
37995 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37996
37997 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37998 and sinh.
37999 * math/auto-libm-test-out: Regenerated.
38000 * sysdeps/i386/fpu/libm-test-ulps: Update.
38001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38002
38003 2015-05-08 Carlos O'Donell <carlos@redhat.com>
38004
38005 [BZ #18125]
38006 * stdlib/tst-setcontext3.c: New file.
38007 * stdlib/tst-setcontext3.sh: New file.
38008 * stdlib/Makefile (tests): Add tst-setcontext3.
38009 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38010 to verify test program created output file.
38011 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38012 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38013 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38014 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38015
38016 2015-05-06 Roland McGrath <roland@hack.frob.com>
38017
38018 [BZ #18383]
38019 * elf/tst-tlsalign.c: New file.
38020 * elf/tst-tlsalign-static.c: New file.
38021 * elf/tst-tlsalign-lib.c: New file.
38022 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38023 (tests-static): Add tst-tlsalign-static.
38024 (modules-names): Add tst-tlsalign-lib.
38025 (test-xfail-tst-tlsalign): New variable.
38026 (test-xfail-tst-tlsalign-static): New variable.
38027
38028 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38029 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38030
38031 2015-05-06 Joseph Myers <joseph@codesourcery.com>
38032
38033 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38034 csqrt, erfc, sin and sincos.
38035 * math/auto-libm-test-out: Regenerated.
38036 * sysdeps/i386/fpu/libm-test-ulps: Update.
38037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38038
38039 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
38040
38041 * sysdeps/aarch64/libm-test-ulps: Update.
38042
38043 2015-05-05 Joseph Myers <joseph@codesourcery.com>
38044
38045 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38046 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38047 * math/auto-libm-test-out: Regenerated.
38048 * sysdeps/i386/fpu/libm-test-ulps: Update.
38049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38050
38051 2015-04-30 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
38052
38053 [BZ #18265]
38054 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38055 (wcsncpy): Likewise.
38056
38057 2015-05-05 Florian Weimer <fweimer@redhat.com>
38058
38059 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38060 Assume __ASSUME_FALLOCATE is always true.
38061 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38062 (__posix_fallocate64_l64): Likewise.
38063 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38064 (posix_fallocate): Likewise.
38065 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38066 (__posix_fallocate64_l64): Likewise.
38067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38068 [!__ASSUME_FALLOCATE]: Add comment.
38069
38070 2015-05-05 Florian Weimer <fweimer@redhat.com>
38071
38072 * sysdeps/unix/sysv/linux/i386/Makefile
38073 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38074 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38075 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38076 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38077 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38078 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38079 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38080
38081 2015-05-02 Joseph Myers <joseph@codesourcery.com>
38082
38083 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38084 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38085 tgamma.
38086 * math/auto-libm-test-out: Regenerated.
38087 * sysdeps/i386/fpu/libm-test-ulps: Update.
38088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38089
38090 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38091
38092 * math/auto-libm-test-in: Add more tests of tgamma.
38093 * math/auto-libm-test-out: Regenerated.
38094 * sysdeps/i386/fpu/libm-test-ulps: Update.
38095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38096
38097 * math/auto-libm-test-in: Add more tests of tanh.
38098 * math/auto-libm-test-out: Regenerated.
38099 * sysdeps/i386/fpu/libm-test-ulps: Update.
38100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38101
38102 * math/auto-libm-test-in: Add more tests of tan.
38103 * math/auto-libm-test-out: Regenerated.
38104 * sysdeps/i386/fpu/libm-test-ulps: Update.
38105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38106
38107 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38108 * math/auto-libm-test-out: Regenerated.
38109 * sysdeps/i386/fpu/libm-test-ulps: Update.
38110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38111
38112 * math/auto-libm-test-in: Add another test of pow.
38113 * math/auto-libm-test-out: Regenerated.
38114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38115
38116 * math/auto-libm-test-in: Add more tests of lgamma.
38117 * math/auto-libm-test-out: Regenerated.
38118 * sysdeps/i386/fpu/libm-test-ulps: Update.
38119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38120
38121 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38122 log1p.
38123 * math/auto-libm-test-out: Regenerated.
38124 * sysdeps/i386/fpu/libm-test-ulps: Update.
38125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38126
38127 2015-05-01 Mark Wielaard <mjw@redhat.com>
38128
38129 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38130 Elf64_Chdr structs and ELFCOMPRESS constants.
38131
38132 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38133
38134 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38135 expm1.
38136 * math/auto-libm-test-out: Regenerated.
38137 * sysdeps/i386/fpu/libm-test-ulps: Update.
38138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38139
38140 * math/auto-libm-test-in: Add more tests of erf and erfc.
38141 * math/auto-libm-test-out: Regenerated.
38142 * sysdeps/i386/fpu/libm-test-ulps: Update.
38143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38144
38145 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
38146
38147 * config.h.in (HAVE_AARCH64_BE): Add.
38148
38149 2015-04-30 Joseph Myers <joseph@codesourcery.com>
38150
38151 * math/auto-libm-test-in: Add more tests of csqrt.
38152 * math/auto-libm-test-out: Regenerated.
38153 * sysdeps/i386/fpu/libm-test-ulps: Update.
38154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38155
38156 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38157 * math/auto-libm-test-out: Regenerated.
38158 * sysdeps/i386/fpu/libm-test-ulps: Update.
38159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38160
38161 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38162
38163 2015-04-29 Roland McGrath <roland@hack.frob.com>
38164
38165 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38166 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38167
38168 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38169 (euidaccess, eaccess): Define as weak aliases.
38170
38171 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38172 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
38173 but __suseconds_t is often 'long int' so some sources assume that
38174 type is being used (e.g. they use %ld to print tv_usec).
38175
38176 2015-04-29 Florian Weimer <fweimer@redhat.com>
38177
38178 [BZ #18007]
38179 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38180 (CVE-2014-8121)
38181 * nss/tst-nss-getpwent.c: New file.
38182 * nss/Makefile (tests): Add new test.
38183
38184 2015-04-28 Joseph Myers <joseph@codesourcery.com>
38185
38186 [BZ #18346]
38187 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38188 exponents less than 48 as cases where high part of mantissa needs
38189 examining to determine whether argument is integral.
38190 * math/libm-test.inc (round_test_data): Add more tests.
38191
38192 2015-04-28 Mark Wielaard <mjw@redhat.com>
38193
38194 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38195
38196 2015-04-27 David S. Miller <davem@davemloft.net>
38197
38198 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38199 __tls_get_addr.
38200 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38201
38202 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38203
38204 [BZ #18333]
38205 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38206
38207 2015-04-27 Florian Weimer <fweimer@redhat.com>
38208
38209 [BZ #18333]
38210 * time/tzset.c (parse_tzname): Return error on memory allocation
38211 failure.
38212 * test-skeleton.c (struct temp_name_list): Change type of name
38213 member to non-const.
38214 (add_temp_file): Create a copy of the file name.
38215 (delete_temp_files): Deallocate memory.
38216 (create_temp_file): Add comment.
38217
38218 2015-04-24 Florian Weimer <fweimer@redhat.com>
38219
38220 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38221 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38222
38223 2015-04-24 Roland McGrath <roland@hack.frob.com>
38224
38225 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38226 * sysdeps/arm/configure: Regenerated.
38227
38228 2015-04-24 Florian Weimer <fweimer@redhat.com>
38229
38230 [BZ #17715]
38231 * time/tzfile.c (__tzfile_read): Check for large values of
38232 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38233 * time/tzset.c (__tzstring_len): New function, based on the old
38234 __tzstring function.
38235 (__tzstring): Call __tzstring_len.
38236 (parse_tzname): New helper function extracted from
38237 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38238 the input string.
38239 (parse_offset): New helper function extracted from
38240 __tzset_parse_tz. Replace switch with fallthrough with
38241 initialization before sscanf.
38242 (parse_rule): Likewise.
38243 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38244 new-style function definition.
38245 * timezone/Makefile (tests): Add tst-tzset.
38246 (tst-tzset.out): Dependencies on time zone files.
38247 (tst-tzset-ENV): Set TZDIR.
38248 (testdata/XT%): Copy crafted time zone files.
38249 * timezone/README: Mention crafted time zone files.
38250 * timezone/testdata/XT1, timezone/testdata/XT2,
38251 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38252 files.
38253 * timezone/tst-tzset.c: New test.
38254
38255 2015-04-24 Florian Weimer <fweimer@redhat.com>
38256
38257 * Makeconfig (+gccwarn): Remove -Winline.
38258
38259 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38260
38261 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38262
38263 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38264
38265 * NEWS: Mention sysconf() cache information support for s390.
38266 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38267
38268 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38269
38270 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38271 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38272 (__nearbyint): Likewise.
38273 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38274 (copysignl): Likewise.
38275
38276 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38277
38278 [BZ #18287]
38279 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38280 based on padding. (CVE-2015-1781)
38281
38282 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38283
38284 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38285 libc-vdso.h.
38286 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38287 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38288 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38289 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38290 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38291 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38292 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38294 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38295 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38296 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38297 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38298 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38299 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38300 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38301 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38302 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38304 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38305 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38306 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38307 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38308 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38309
38310 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38311
38312 * stdlib/setenv.c (__add_to_environ):
38313 Dump core quickly if setenv (..., NULL, ...) is called.
38314 This time, do it the right way, and pacify GCC with a pragma.
38315
38316 2015-04-17 Roland McGrath <roland@hack.frob.com>
38317
38318 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38319 IMAP->l_prev cannot be null, and #if out the code for the contrary
38320 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38321 believe that NS (&_dl_ns[NSID]) could point outside the array.
38322
38323 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38324 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38325 before using NSID as an index.
38326
38327 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38328
38329 [BZ #17825]
38330 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38331 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38332 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38333
38334 2015-04-17 Roland McGrath <roland@hack.frob.com>
38335
38336 Add preliminary port to Google Native Client on ARM.
38337 * abi-tags (.*-.*-nacl.*): New entry.
38338 * sysdeps/arm/nacl: New directory.
38339 * sysdeps/nacl: New directory.
38340
38341 2015-04-16 David S. Miller <davem@davemloft.net>
38342
38343 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38344 lowlevellock-futex.h
38345
38346 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38347
38348 * sysdeps/tile/configure.ac: New file.
38349 * sysdeps/tile/configure: Regenerated.
38350
38351 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38352
38353 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38354 conditionals for weak_alias and libc_hidden_weak.
38355 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38356 libc_hidden_weak and weak_alias.
38357 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38358 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38359 and weak_alias for static one.
38360
38361 2015-04-15 David S. Miller <davem@davemloft.net>
38362
38363 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38364
38365 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38366
38367 [BZ #18206]
38368 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38369 Use signed comparision instead of substraction to avoid
38370 overflow bug.
38371 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38372 Take the sign of ret.
38373 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38374 Do not expect precise return values. Only the sign matters.
38375 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38376 * wcsmbs/test-wcsncmp.c: New File.
38377 * string/test-strncmp.c: Add wcsncmp support.
38378
38379 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38380
38381 [BZ #6792]
38382 * math/w_log1p.c: New file.
38383 * math/w_log1pf.c: Likewise.
38384 * math/w_log1pl.c: Likewise.
38385 * math/Makefile (libm-calls): Add w_log1p.
38386 * math/s_log1pl.c (log1pl): Remove weak_alias.
38387 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38388 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38389 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38390 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38391 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38392 [NO_LONG_DOUBLE] (log1pl): Likewise.
38393 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38394 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38395 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38396 (log1p): Remove long_double_symbol.
38397 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38398 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38399 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38400 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38401 remove weak_alias for corresponding log1p function.
38402 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38403 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38404 * sysdeps/ia64/fpu/w_log1p.c: New file.
38405 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38406 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38407 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38408
38409 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38410
38411 [BZ #18247]
38412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38413 decimal exponent by 1.
38414 * stdlib/tst-strtod-round-data: Add more tests.
38415 * stdlib/tst-strtod-round.c (tests): Regenerated.
38416
38417 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38418
38419 * math/auto-libm-test-in: Add more tests of clog and clog10.
38420 * math/auto-libm-test-out: Regenerated.
38421 * sysdeps/i386/fpu/libm-test-ulps: Update.
38422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38423
38424 2015-04-09 Roland McGrath <roland@hack.frob.com>
38425
38426 * Makeconfig (module-cppflags): Exclude all .v.i files.
38427 (skip-module-cppflags): Variable removed.
38428
38429 * configure.ac (libc_config_ok): Initialize before reading
38430 preconfigure scripts, not after.
38431 * configure: Regenerated.
38432
38433 * test-skeleton.c (TIMEOUT): Move #define to top level.
38434 (main): Grok environment variable TEST_DIRECT. If set, print
38435 test expectation details into that file and then behave as if
38436 given --direct.
38437
38438 2015-04-09 Florian Weimer <fweimer@redhat.com>
38439
38440 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38441 warning on 32-bit.
38442
38443 2015-04-08 David S. Miller <davem@davemloft.net>
38444
38445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38446
38447 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38448
38449 * math/auto-libm-test-in: Add more tests of atanh.
38450 * math/auto-libm-test-out: Regenerated.
38451 * sysdeps/i386/fpu/libm-test-ulps: Update.
38452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38453
38454 * math/auto-libm-test-in: Add more tests of atan.
38455 * math/auto-libm-test-out: Regenerated.
38456 * sysdeps/i386/fpu/libm-test-ulps: Update.
38457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38458
38459 2015-04-08 Florian Weimer <fweimer@redhat.com>
38460
38461 * elf/pldd.c (main): Rewrite to use struct
38462 scratch_buffer instead of extend_alloca.
38463 * elf/pldd-xx.c (find_maps): Likewise.
38464 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38465 <alloca.h>.
38466 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38467 scratch_buffer instead of extend_alloca.
38468 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38469 grp/compat-initgroups.c.
38470 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38471 Rewrite to use struct scratch_buffer instead of extend_alloca.
38472 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38473 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38474
38475 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38476
38477 * math/auto-libm-test-in: Add more tests of cbrt.
38478 * math/auto-libm-test-out: Regenerated.
38479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38480
38481 * math/auto-libm-test-in: Add more tests of cabs.
38482 * math/auto-libm-test-out: Regenerated.
38483 * sysdeps/i386/fpu/libm-test-ulps: Update.
38484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38485
38486 [BZ #18210]
38487 [BZ #18211]
38488 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38489 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38490 computations.
38491 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38492 clog10.
38493 * math/auto-libm-test-out: Regenerated.
38494 * sysdeps/i386/fpu/libm-test-ulps: Update.
38495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38496
38497 [BZ #18197]
38498 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38499 (atan): Set FE_TONEAREST mode for internal computations.
38500 * math/auto-libm-test-in: Add more tests of atan.
38501 * math/auto-libm-test-out: Regenerated.
38502
38503 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38504
38505 [BZ #17930]
38506 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38507
38508 2015-04-07 Florian Weimer <fweimer@redhat.com>
38509
38510 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38511
38512 2015-04-07 Florian Weimer <fweimer@redhat.com>
38513
38514 * include/scratch_buffer.h: New file.
38515 * malloc/scratch_buffer_grow.c: Likewise.
38516 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38517 * malloc/scratch_buffer_set_array_size.c: Likewise.
38518 * malloc/tst-scratch_buffer.c: Likewise.
38519 * malloc/Makefile (routines): Add scratch_buffer_grow.
38520 (tests): Add test case.
38521 * malloc/Versions (GLIBC_PRIVATE): Export
38522 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38523 __libc_scratch_buffer_set_array_size.
38524
38525 2015-04-06 Richard Henderson <rth@redhat.com>
38526
38527 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38528 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38529
38530 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38531 unsigned int before printing.
38532
38533 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38534
38535 [BZ #17596]
38536 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38537 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38538
38539 2015-04-02 Florian Weimer <fweimer@redhat.com>
38540
38541 * include/libc-internal.h (libc_max_align_t): Define.
38542
38543 2015-04-02 Andreas Schwab <schwab@suse.de>
38544
38545 [BZ #16850]
38546 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38547
38548 2015-04-02 Mel Gorman <mgorman@suse.de>
38549
38550 [BZ #17195]
38551 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38552 as well as the main arena.
38553
38554 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38555
38556 [BZ #18185]
38557 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38558 sharing L2 cache to 2 for Silvermont/Knights Landing.
38559
38560 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38561
38562 [BZ #17711]
38563 * config.make.in (have-protected-data): New.
38564 * configure.ac: Check linker support for protected data symbol.
38565 * configure: Regenerated.
38566 * elf/Makefile (modules-names): Add tst-protected1moda and
38567 tst-protected1modb if $(have-protected-data) is yes.
38568 (tests): Add tst-protected1a and tst-protected1b if
38569 $(have-protected-data) is yes.
38570 ($(objpfx)tst-protected1a): New.
38571 ($(objpfx)tst-protected1b): Likewise.
38572 (tst-protected1modb.so-no-z-defs): Likewise.
38573 * elf/tst-protected1a.c: New file.
38574 * elf/tst-protected1b.c: Likewise.
38575 * elf/tst-protected1mod.h: Likewise.
38576 * elf/tst-protected1moda.c: Likewise.
38577 * elf/tst-protected1modb.c: Likewise.
38578
38579 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38580
38581 [BZ #17711]
38582 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38583 indicates it is called from do_lookup_x on relocation against
38584 protected data, skip the data definion in the executable from
38585 copy reloc.
38586 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38587 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38588 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38589 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38590 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38591 otherwise to 0.
38592 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38593 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38594 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38595 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38596 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38597 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38598
38599 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38600
38601 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38602 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38603
38604 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38605
38606 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38607 THREAD_SETMEM_NC.
38608 * sysdeps/x86_64/nptl/tls.h: Ditto.
38609
38610 2015-03-27 Roland McGrath <roland@hack.frob.com>
38611
38612 * dlfcn/tststatic.c (main): Converted to ...
38613 (do_test): ... this.
38614 (TEST_FUNCTION): New macro.
38615 Include test-skeleton.c.
38616
38617 2015-03-26 Alan Modra <amodra@gmail.com>
38618
38619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38620 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38621 zero for undefined weak.
38622 (elf_machine_plt_conflict): Similarly.
38623
38624 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38625
38626 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38627 atanh.
38628 * math/auto-libm-test-out: Regenerated.
38629 * sysdeps/i386/fpu/libm-test-ulps: Update.
38630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38631
38632 * math/auto-libm-test-in: Add another test of asin.
38633 * math/auto-libm-test-out: Regenerated.
38634 * sysdeps/i386/fpu/libm-test-ulps: Update.
38635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38636
38637 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38638 Remove macro.
38639 (LLL_EBX_REG): Likewise.
38640 (LLL_ENTER_KERNEL): Likewise.
38641
38642 * math/auto-libm-test-in: Add more tests of asin.
38643 * math/auto-libm-test-out: Regenerated.
38644 * sysdeps/i386/fpu/libm-test-ulps: Update.
38645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38646
38647 [BZ #18138]
38648 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38649 libc_do_syscall_args): New structure.
38650 (INTERNAL_SYSCALL_MAIN_0): New macro.
38651 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38652 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38653 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38654 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38655 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38656 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38657 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38658 Replace conditional definitions by conditional definitions of ....
38659 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38660 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38661 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38662 (libpthread-sysdep_routines): Add libc-do-syscall.
38663 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38664 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38665 to __NR_futex not 240.
38666
38667 2015-03-25 Alan Modra <amodra@gmail.com>
38668
38669 * NEWS: Advertise TLS optimization.
38670 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38671 (DT_PPC_NUM): Increment.
38672 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38673 (CHECK_STATIC_TLS): Use here.
38674 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38675 TLS descriptors.
38676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38677 * sysdeps/powerpc/dl-tls.c: New file.
38678 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38679 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38680 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38681 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38685
38686 2015-03-25 Alan Modra <amodra@gmail.com>
38687
38688 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38689 for overlapping .opd entries" to "support...".
38690 * sysdeps/powerpc/powerpc64/configure: Regenerate
38691
38692 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38693
38694 * math/auto-libm-test-in: Add more tests of acos.
38695 * math/auto-libm-test-out: Regenerated.
38696 * sysdeps/i386/fpu/libm-test-ulps: Update.
38697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38698
38699 * math/auto-libm-test-in: Add more tests of expm1.
38700 * math/auto-libm-test-out: Regenerated.
38701 * sysdeps/i386/fpu/libm-test-ulps: Update.
38702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38703
38704 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38705
38706 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38707 * math/auto-libm-test-out: Regenerated.
38708 * sysdeps/i386/fpu/libm-test-ulps: Update.
38709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710
38711 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38713
38714 * math/auto-libm-test-in: Add more tests of log2.
38715 * math/auto-libm-test-out: Regenerated.
38716 * sysdeps/i386/fpu/libm-test-ulps: Update.
38717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38718
38719 2015-03-23 Roland McGrath <roland@hack.frob.com>
38720
38721 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38722 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38723 _IO_IS_APPENDING bit in READ_WRITE instead.
38724
38725 2015-03-23 Florian Weimer <fweimer@redhat.com>
38726
38727 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38728 (__determine_cpumask_size): Replace extend_alloca with a
38729 variable-length array. Do not treat res == 0 as an error.
38730
38731 2015-03-23 Florian Weimer <fweimer@redhat.com>
38732
38733 [BZ #18100]
38734 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38735 and integer overflow.
38736 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38737 (main): Add integer overflow tests.
38738 * manual/pattern.texi (Calling Wordexp): Document additional use
38739 for WRDE_SYNTAX.
38740
38741 2015-03-23 Alan Modra <amodra@gmail.com>
38742
38743 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38744 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38745 and false branch of conditional.
38746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38747 Likewise.
38748
38749 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38750
38751 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38752 libc-modules.h
38753 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38754 unused declaration of _hurd_intr_rpc_msg_in_trap.
38755 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38756 defined instead of whether it is non-zero.
38757 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38758 input constraint instead of both input and output constraint. Use ecx
38759 clobber instead of %ecx.
38760 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38761 mutex_unlock): Use a statement expression instead of an expression list.
38762 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38763 type to vm_size_t instead of vm_address_t.
38764 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38765 defined instead of whether it is non-zero.
38766 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38767 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38768 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38769 comparisons with mapaddr.
38770 * nscd/nscd-client.h: Include <time.h>.
38771 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38772 9th parameter to __vm_region instead of int.
38773 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38774 * scripts/check-local-headers.sh (exclude): Add device/,
38775 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38776 cthreads.h.
38777
38778 2015-03-19 Roland McGrath <roland@hack.frob.com>
38779
38780 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38781 to account for alignment padding.
38782 * sysdeps/arm/memmove.S: Likewise.
38783
38784 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38785
38786 * sysdeps/unix/sysv/linux/generic/README: New file.
38787
38788 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38789
38790 [BZ #18138]
38791 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38792 (futex_abstimed_wait)
38793 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38794 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38795 of lll_futex_timed_wait.
38796
38797 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38798
38799 [BZ #17542]
38800 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38801
38802 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38803
38804 [BZ #17090]
38805 [BZ #17620]
38806 [BZ #17621]
38807 [BZ #17628]
38808 * NEWS: Update.
38809 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38810 entries with Static TLS too. Skip entries past the end of the
38811 allocated DTV, from Alan Modra.
38812 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38813 Static TLS DTV entry set up from...
38814 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38815 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38816 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38817 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38818 for Static TLS.
38819 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38820 that the slot we find is associated with the given map before
38821 using its generation count.
38822 * nptl_db/db_info.c: Include ldsodefs.h.
38823 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38824 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38825 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38826 (link_map::l_tls_offset): New struct field.
38827 (dtv_t::counter): Likewise.
38828 (rtld_global): New struct.
38829 (_rtld_global): New rtld variable.
38830 (dl_tls_dtv_slotinfo_list): New rtld global field.
38831 (dtv_slotinfo_list): New struct.
38832 (dtv_slotinfo): Likewise.
38833 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38834 (td_lookup): Rename to...
38835 (td_mod_lookup): ... this. Use new mod parameter instead of
38836 LIBPTHREAD_SO.
38837 * nptl_db/td_thr_tlsbase.c: Include link.h.
38838 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38839 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38840 addresses even if the DTV is out of date or missing them.
38841 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38842 index zero-length arrays.
38843 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38844 (td_lookup): Make it a macro implemented in terms of...
38845 (td_mod_lookup): ... this declaration.
38846 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38847 (DB_MAIN_VARIABLE): Likewise.
38848
38849 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38850
38851 [BZ #18134]
38852 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38853
38854 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38855
38856 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38857
38858 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38859
38860 [BZ #18128]
38861 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38862 (atomic_add, atomic_increment_and_test)
38863 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38864
38865 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38866
38867 * stdlib/setenv.c (__add_to_environ):
38868 Dump core quickly if setenv (..., NULL, ...) is called.
38869
38870 2015-03-13 Roland McGrath <roland@hack.frob.com>
38871
38872 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38873 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38874 all the necessary asm magic in one place.
38875 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38876 using those.
38877
38878 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38879
38880 [BZ #14906]
38881 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38882 traced file mtime. Use consistent log message.
38883 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38884 (register_traced_file): Call install_watches. Always set mtime.
38885 (invalidate_cache): Iterate over all trace files. Call install_watches.
38886 (inotify_check_files): Don't inline. Handle watching parent
38887 directories and configuration file movement in and out.
38888 (handle_inotify_events): New function.
38889 (main_loop_poll): Call handle_inotify_events.
38890 (main_loop_epoll): Likewise.
38891 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38892 (struct traced_file): Use array of inotify fds. Add parent directory,
38893 and basename.
38894 (struct database_dyn): Remove unused file_mtime.
38895 (init_traced_file): New inline function.
38896 (define_traced_file): New macro.
38897 * nss/nss_db/db-init.c: Use define_traced_file.
38898 (_nss_db_init): Use init_traced_file.
38899 * nss/nss_files/files-init.c: Use define_traced_file.
38900 (_nss_files_init): Use init_traced_file.
38901
38902 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38903
38904 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38905 [_LIBC]: Do not include <stdlib.h>.
38906 [!_LIBC] (abort): Remove declaration.
38907 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38908 _FP_STATIC_ASSERT instead of conditionally calling abort.
38909 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38910 (_FP_EXTEND_CNAN): Likewise.
38911 (FP_TRUNC): Likewise.
38912 (__FP_CLZ): Likewise.
38913 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38914
38915 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38916
38917 * manual/string.texi (XPG basename): Fix prototype.
38918
38919 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38920
38921 [BZ #18080]
38922 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38923 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38924 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38925 (__setcontext): Likewise.
38926 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38927 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38928 Call rt_sigprocmask syscall one time to set new signal mask
38929 and retrieve the current signal mask instead of two calls.
38930 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38931 (__swapcontext): Likewise.
38932 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38933 * stdlib/tst-setcontext2.c: New file.
38934
38935 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38936
38937 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38938
38939 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38940
38941 [BZ #18093]
38942 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38943 the wrong size.
38944
38945 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38946
38947 [BZ #18043]
38948 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38949
38950 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38951
38952 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38953 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38954 Remove define.
38955 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38956 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38957 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38958 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38959 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38960 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38961 define.
38962 * nptl_db/td_symbol_list.c (td_lookup): Remove
38963 HAVE_ASM_GLOBAL_DOT_NAME code.
38964 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38965 HAVE_ASM_GLOBAL_DOT_NAME check.
38966 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38967 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38968 (DOT_LABEL): Remove define.
38969 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38970 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38971 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38972 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38973 (__TLS_GET_ADDR): Likewise.
38974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38975 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38976
38977 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38978
38979 [BZ #18111]
38980 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38981 (_FPU_SETCW): Initialize cw from fpsr before storing.
38982 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38983 (fesetexceptflag): Rewrite using fpu_control.h.
38984 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38985
38986 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38987
38988 [BZ #18110]
38989 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38990 asms.
38991 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38992
38993 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38994
38995 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38996 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38997 abort.
38998 (_FP_FMA): Likewise.
38999 (_FP_DIV): Likewise.
39000
39001 2015-03-10 Roland McGrath <roland@hack.frob.com>
39002
39003 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39004 with 0 in that case.
39005 * Makefile (summarize-tests): New canned sequence, factored out of
39006 commands for targets tests and xtests. Display summary lines that
39007 don't start with PASS: or XFAIL: rather than ones that do start with
39008 ERROR: or FAIL:. Make the commands fail if any summary lines fail
39009 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39010 do start with ERROR: or FAIL:.
39011 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39012 (except for [$(build-shared) = yes]).
39013 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39014 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39015 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39016 * nptl/Makefile: Revert 2015-03-04 changes.
39017 [$(CXX) empty] (tests-unsupported): New variable.
39018 * debug/Makefile: Likewise.
39019
39020 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39021 gnulib file. Replace __attribute with __attribute__ throughout.
39022
39023 2015-03-10 Carlos O'Donell <carlos@redhat.com>
39024
39025 * sysdeps/hppa/fpu/libm-test-ulps: Update.
39026
39027 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39028
39029 [BZ #18104]
39030 * math/auto-libm-test-in: Add another test of pow.
39031 * math/auto-libm-test-out: Regenerated.
39032
39033 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39034
39035 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39036 $(config-cflags-nofma).
39037
39038 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39039
39040 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39041 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39042 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39043 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39044 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39045 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39046 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39047 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39048 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39049 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39050 Add comment on closing #endif.
39051
39052 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39053
39054 * posix/wordexp.c (CHAR_IN_SET): New macro.
39055 (parse_param): Use it.
39056
39057 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39058
39059 * sysdeps/powerpc/fpu/libm-test-ulps: update.
39060
39061 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39062
39063 [BZ #18043]
39064 * posix/wordexp.c (parse_param): Fix buffer overflow.
39065 * posix/wordexp-test.c (test_case): Add test case.
39066
39067 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39068
39069 [BZ #18042]
39070 * posix/wordexp.c (parse_backtick): Fix off-by-one.
39071 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39072
39073 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39074
39075 [BZ #18043]
39076 * posix/wordexp-test.c (test_case): Add test for BZ #18043
39077 (do_bz18043): Delete.
39078 (at_page_end): New.
39079 (testit): Refactor to have words at the edge of unreadable page.
39080
39081 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39082
39083 [BZ #16734]
39084 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39085 Cleanup read-only streams as well.
39086 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39087
39088 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39089
39090 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39091 <bits/libc-lockP.h>
39092
39093 2015-03-07 Joseph Myers <joseph@codesourcery.com>
39094
39095 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
39096 on [__KERNEL__].
39097 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39098 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39099 * soft-fp/op-common.h (_FP_DECL): Likewise.
39100
39101 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
39102
39103 * elf/ifuncdep2.c (global): Replace
39104 __attribute__((visibility("protected"))) with
39105 asm (".protected global").
39106 * elf/ifuncmod1.c (global): Likewise.
39107 * elf/ifuncmod5.c (global): Likewise.
39108
39109 2015-03-06 Joseph Myers <joseph@codesourcery.com>
39110
39111 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39112 <asm/sfp-machine.h> instead of <sfp-machine.h>.
39113
39114 2015-03-06 Roland McGrath <roland@hack.frob.com>
39115
39116 * manual/install.texi (Configuring and compiling):
39117 Document test-wrapper-env-only.
39118 * INSTALL: Regenerated.
39119
39120 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39121
39122 [BZ #18043]
39123 * posix/wordexp.c (parse_param): Fix buffer overflow.
39124 * posix/wordexp-test.c (do_bz18043): Add test case.
39125
39126 2015-03-06 Vincent Bernat <vincent@bernat.im>
39127
39128 * time/tst-strptime2.c (do_test): Ensure failing tests are
39129 reported correctly.
39130 * time/tst-strptime3.c (do_test): Likewise.
39131
39132 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
39133
39134 Fix aio_error thread-safety.
39135 * sysdeps/pthread/aio_error.c: New file
39136 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39137 synchronization.
39138
39139 2015-03-06 Florian Weimer <fweimer@redhat.com>
39140
39141 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39142 (group_number, vfprintf): Use it.
39143 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39144 (JUMP, REF): Use it.
39145 (WORK_BUFFER_SIZE): New enum constant.
39146 (process_arg, vfprintf): Use it.
39147
39148 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
39149
39150 * manual/errno.texi (Error Messages): Complete example function
39151 by adding missing #define.
39152 (program_invocation_name): Add statement indicating GNU
39153 extension and reference which header file declares the variable.
39154 (program_invocation_short_name): Likewise.
39155
39156 2015-03-06 Mike Frysinger <vapier@gentoo.org>
39157
39158 * manual/errno.texi (Error Messages): Delete strerror ISO C89
39159 compatibility note.
39160
39161 2015-03-05 Roland McGrath <roland@hack.frob.com>
39162
39163 * Makeconfig (test-wrapper-env-only): New variable.
39164 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39165 then use that with $(test-wrapper-env-only) rather than using
39166 $(test-wrapper-env) $(run-program-env) $($*-ENV).
39167
39168 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
39169
39170 [BZ #18082]
39171 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39172 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39173 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39174 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39175 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39176 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39177 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39178 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39179 Likewise.
39180 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39181 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39182 Likewise.
39183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39184 Likewise.
39185 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39186 Likewise.
39187 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39188 Likewise.
39189 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39191 Likewise.
39192 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39193 Likewise.
39194 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39195 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39196
39197 2015-03-04 Roland McGrath <roland@hack.frob.com>
39198
39199 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39200 (ETH_ALEN): New macro.
39201 (struct ether_addr): Use it for length of ether_addr_octet.
39202
39203 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39204 (setdb): Don't call __nss_configure_lookup for "rpc".
39205 (do_test): Don't call test_rpc.
39206 (output_rpcent, test_rpc): Functions moved ...
39207 * sunrpc/test-rpcent.c: ... to this new file.
39208 * sunrpc/Makefile (tests): Add it.
39209
39210 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39211 __xpg_sigpause.
39212 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39213 * nptl/tst-signal6.c: Likewise.
39214 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39215 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39216
39217 * configure.ac (libc_cv_cxx_link_ok): New check.
39218 Reset CXX to empty if it fails to link.
39219 * configure: Regenerated.
39220 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39221 bug-atexit3-lib only if $(CXX) is nonempty.
39222 * nptl/Makefile (tests): Likewise for tst-cancel24.
39223 (tests, tests-static): Likewise for tst-cancel24-static.
39224 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39225 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39226 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39227 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39228
39229 2015-03-04 Andreas Schwab <schwab@suse.de>
39230
39231 [BZ #17631]
39232 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39233 for non-GCC compilers.
39234 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39235 Likewise.
39236
39237 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39238
39239 [BZ #17776]
39240 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39241 integer before bitwise and assembly operations.
39242 (feclearexcept): Likewise.
39243 * math/test-fenvinline.c: New file.
39244 * math/Makefile: Add test-fenvinline test.
39245
39246 2015-03-03 Alan Modra <amodra@gmail.com>
39247
39248 [BZ #16512]
39249 * scripts/localplt.awk: Strip off symbol version.
39250 * NEWS: Mention bug fix.
39251
39252 2015-03-02 Roland McGrath <roland@hack.frob.com>
39253
39254 * sysdeps/pthread/timer_routines.c
39255 (timer_free_list, thread_free_list, thread_active_list): Make static.
39256
39257 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39258
39259 [BZ #17779]
39260 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39261 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39262 Undefine.
39263 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39264 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39265 Likewise.
39266 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39267 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39268 Likewise.
39269
39270 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39271
39272 [BZ #18036]
39273 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39274 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39275
39276 2015-03-02 Andreas Schwab <schwab@suse.de>
39277
39278 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39279 variable name.
39280
39281 2015-03-02 Florian Weimer <fweimer@redhat.com>
39282
39283 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39284 Return error status.
39285
39286 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39287
39288 [BZ #15969]
39289 * locale/findlocale.c (_nl_find_locale): Introduce const
39290 version of loc_name and drop unsafe type casts.
39291
39292 2015-02-27 Roland McGrath <roland@hack.frob.com>
39293
39294 * dlfcn/tststatic2.c (main): Converted to ...
39295 (do_test): ... this.
39296 (TEST_FUNCTION): New macro.
39297 Include test-skeleton.c.
39298
39299 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39300
39301 [BZ #17711]
39302 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39303 (tests-pie): Add vismain.
39304 (CFLAGS-vismain.c): New.
39305 * elf/vismain.c: Add comments for PIE requirement.
39306
39307 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39308
39309 [BZ #18046]
39310 [BZ #18047]
39311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39312 0x1p-56L as threshold for just returning the argument.
39313 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39314 0x1p-32L as threshold for just returning the argument.
39315 * math/auto-libm-test-in: Add more tests of atanh.
39316 * math/auto-libm-test-out: Regenerated.
39317 * sysdeps/i386/fpu/libm-test-ulps: Update.
39318 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39319
39320 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39321
39322 * string/bcopy.c (bcopy): Call memmove for performance.
39323
39324 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39325
39326 * string/bzero.c (__bzero): Call memset for performance.
39327
39328 2015-02-27 John David Anglin <dave.anglin@bell.net>
39329
39330 [BZ #18068]
39331 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39332 to 00100000.
39333
39334 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39335
39336 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39337
39338 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39339
39340 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39341 (__kernel_standard): Use CSTR macro when setting exc.name.
39342 * sysdeps/ieee754/Makefile [$(subdir) = math]
39343 (CFLAGS-k_standard.c): Remove variable.
39344
39345 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39346 setting p and q from "else if" to "else".
39347 (qzero): Likewise.
39348 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39349 (qone): Likewise.
39350 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39351 (qzerof): Likewise.
39352 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39353 (qonef): Likewise.
39354 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39355 (qzero): Likewise.
39356 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39357 (qone): Likewise.
39358
39359 [BZ #18038]
39360 [BZ #18039]
39361 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39362 return pi/2 for arguments below 0x1p-113L.
39363 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39364 return pi/2 for arguments below 0x1p-106L.
39365 * math/auto-libm-test-in: Add more tests of acos.
39366 * math/auto-libm-test-out: Regenerated.
39367
39368 [BZ #16351]
39369 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39370 (MO): New macro.
39371 (__ieee754_asin): Force underflow exception for results with small
39372 absolute value.
39373 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39374 (MO): New macro.
39375 (__ieee754_asinf): Force underflow exception for results with
39376 small absolute value.
39377 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39378 (__ieee754_asin): Force underflow exception for results with small
39379 absolute value.
39380 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39381 (__ieee754_asinf): Force underflow exception for results with
39382 small absolute value.
39383 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39384 (__ieee754_asinl): Force underflow exception for results with
39385 small absolute value.
39386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39387 (__ieee754_asinl): Force underflow exception for results with
39388 small absolute value.
39389 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39390 (__ieee754_asinl): Force underflow exception for results with
39391 small absolute value.
39392 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39393 Include <math.h>.
39394 * math/auto-libm-test-in: Do not mark underflow exceptions as
39395 possibly missing for bug 16351.
39396 * math/auto-libm-test-out: Regenerated.
39397
39398 [BZ #18030]
39399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39400 of power of 2 down when low part has opposite sign.
39401 * math/libm-test.inc (logb_test_data): Add more tests.
39402
39403 2015-02-26 Andreas Schwab <schwab@suse.de>
39404
39405 [BZ #18032]
39406 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39407 over collating symbol inside a bracket expression. Minor cleanup.
39408 * posix/tst-fnmatch3.c (do_test): Add test case.
39409
39410 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39411
39412 [BZ #18029]
39413 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39414 Adjust exponent of power of 2 down when low part has opposite
39415 sign.
39416 * math/libm-test.inc (ilogb_test_data): Add more tests.
39417
39418 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39419
39420 [BZ #15969]
39421 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39422 the previous change.
39423
39424 [BZ #15969]
39425 * locale/findlocale.c (_nl_find_locale): Retry archive search
39426 after alias expansion.
39427
39428 2015-02-25 Roland McGrath <roland@hack.frob.com>
39429
39430 * iconv/tst-iconv3.c (main): Converted to ...
39431 (do_test): ... this.
39432 (TEST_FUNCTION): New macro.
39433 Include test-skeleton.c.
39434
39435 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39436 (convert): Make function static.
39437 (test_unalign): Likewise. Add const to argument pointee types.
39438 (main): Replace with static function do_test.
39439 Print "Succeeded." only if RET is zero.
39440 (TEST_FUNCTION): New macro.
39441 Include test-skeleton.c.
39442
39443 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39444 returns a null pointer.
39445
39446 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39447
39448 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39449 to __memcpy_ppc only for static builds.
39450
39451 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39452
39453 [BZ #18020]
39454 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39455 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39456 * math/auto-libm-test-in: Add more tests of asinh.
39457 * math/auto-libm-test-out: Regenerated.
39458 * sysdeps/i386/fpu/libm-test-ulps: Update.
39459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39460
39461 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39462
39463 [BZ #15850]
39464 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39465 and ip6_mtuinfo definitions here.
39466 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39467 in this define too. Update comment.
39468
39469 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39470
39471 * elf/sprof.c (load_shobj): Tweak error message to match others.
39472
39473 2015-02-24 Kevin Easton <kevin@guarana.org>
39474
39475 [BZ #16145] (partial fix)
39476 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39477 to reduce lock contention.
39478
39479 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39480
39481 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39482 (struct timex): Update time comment.
39483 (ADJ_SETOFFSET): Define.
39484
39485 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39486
39487 [BZ #18019]
39488 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39489 2**56 not 2**28 as threshold for log (2x) formula.
39490 * math/auto-libm-test-in: Add more tests of acosh.
39491 * math/auto-libm-test-out: Regenerated.
39492 * sysdeps/i386/fpu/libm-test-ulps: Update.
39493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39494
39495 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39496
39497 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39498 parenthesis around the buf assignment.
39499 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39500
39501 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39502
39503 [BZ #16783]
39504 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39505 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39506 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39507 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39508 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39509 * math/libm-test.inc (scalb_test_data): Add more tests.
39510
39511 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39512
39513 [BZ #17916]
39514 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39515 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39516
39517 2015-02-24 Eric Rannaud <e@nanocritical.com>
39518
39519 [BZ #17523]
39520 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39521 * io/bits/fcntl2.h (open): Use it.
39522 (openat): Likewise.
39523 * io/open.c (__libc_open): Likewise.
39524 * io/open64.c (__libc_open64): Likewise.
39525 * io/open64_2.c (__open64_2): Likewise.
39526 * io/open_2.c (__open_2): Likewise.
39527 * io/openat.c (__openat): Likewise.
39528 * io/openat64.c (__openat64): Likewise.
39529 * io/openat64_2.c (__openat64_2): Likewise.
39530 * io/openat_2.c (__openat_2): Likewise.
39531 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39532 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39533 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39534 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39535 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39536 (__open_nocancel): Likewise.
39537 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39538 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39539 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39540
39541 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39542
39543 [BZ #14841]
39544 * resolv/gethnamaddr.c (getanswer): Skip logging if
39545 RES_USE_DNSSEC is set.
39546 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39547
39548 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39549
39550 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39551
39552 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39553
39554 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39555 201304L, for Unicode 7.
39556
39557 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39558
39559 [BZ #17836]
39560 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39561 shared library. Add gmon-start.os otherwise.
39562 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39563 $(objpfx)gmon-start.os if builing shared library.
39564 ($(objpfx)g$(static-start-installed-name)): Likewise.
39565
39566 2015-02-23 Andreas Schwab <schwab@suse.de>
39567
39568 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39569
39570 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39571
39572 [BZ #17269]
39573 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39574 (enlarge_userbuf): Likewise.
39575
39576 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39577
39578 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39579 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39580 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39581 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39582
39583 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39584
39585 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39586 expression inside statement expression.
39587
39588 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39589
39590 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39591 <sysdeps/nptl/lowlevellock.h> and remove macros and
39592 functions that are now defined there.
39593 (SYS_futex): Remove.
39594 (lll_compare_and_swap): Remove.
39595 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39596
39597 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39598
39599 [BZ #17999]
39600 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39601 instead of scandirat.
39602 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39603 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39604 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39605 __scandirat.
39606 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39607 (__scandirat): Declare. Use libc_hidden_proto.
39608 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39609 Remove variable.
39610 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39611
39612 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39613
39614 [BZ #15319]
39615 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39616 (MO): New macro.
39617 (__ieee754_atan2): For results with small absolute value, force
39618 underflow exception and remove excess range and precision from
39619 return value.
39620 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39621 (MO): New macro.
39622 (__ieee754_atan2f): For results with small absolute value, force
39623 underflow exception and remove excess range and precision from
39624 return value.
39625 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39626 (MO): New macro.
39627 (__atan): For results with small absolute value, force underflow
39628 exception and remove excess range and precision from return value.
39629 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39630 (MO): New macro.
39631 (__atanf): For results with small absolute value, force underflow
39632 exception and remove excess range and precision from return value.
39633 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39634 <math.h>.
39635 (__ieee754_atan2): Force underflow exception for results with
39636 small absolute value.
39637 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39638 <math_private.h>.
39639 (atan): Force underflow exception for results with small absolute
39640 value.
39641 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39642 (__atanf): Force underflow exception for results with small
39643 absolute value.
39644 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39645 <math.h>.
39646 (__atanl): Force underflow exception for results with small
39647 absolute value.
39648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39649 (__atanl): Force underflow exception for results with small
39650 absolute value.
39651 * sysdeps/x86/fpu/bits/mathinline.h
39652 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39653 (__ieee754_atan2): Only define inline for long double.
39654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39655 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39656 * math/auto-libm-test-in: Do not mark underflow exceptions as
39657 possibly missing for bug 15319. Add more tests of atan2.
39658 * math/auto-libm-test-out: Regenerated.
39659 * math/libm-test.inc (casin_test_data): Do not mark underflow
39660 exceptions as possibly missing for bug 15319.
39661 (casinh_test_data): Likewise.
39662 * sysdeps/i386/fpu/libm-test-ulps: Update.
39663
39664 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39665
39666 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39667 * sysdeps/mips/bits/endian.h: Fix comments.
39668
39669 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39670
39671 [BZ #17996]
39672 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39673 (hdestroy_r): Likewise.
39674 (hsearch_r): Likewise.
39675 (__hcreate_r): Declare and use libc_hidden_proto.
39676 (__hdestroy_r): Likewise.
39677 (__hsearch_r): Likewise.
39678 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39679 (hcreate): Call __hcreate_r instead of hcreate_r.
39680 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39681 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39682 as weak alias of __hcreate_r.
39683 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39684 __hdestroy_r.
39685 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39686 __hsearch_r.
39687 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39688 Remove variable.
39689 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39690 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39691 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39692 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39693
39694 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39695
39696 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39697 arena_lock into a single arena_get.
39698
39699 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39700
39701 * dl-reloc.c: Inlucde libc-internal.h.
39702 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39703 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39704 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39705 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39706 (grow_heap): Likewise.
39707 * malloc/malloc.c: Include libc-internal.h.
39708 (do_check_malloc): Call powerof2.
39709 (sysmalloc): Use pagesize. Call ALIGN_UP.
39710 (systrim): Use pagesize.
39711 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39712 (__libc_valloc): Use pagesize.
39713 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39714
39715 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39716
39717 [BZ #17991]
39718 * include/sys/resource.h (__getrlimit64): Declare. Use
39719 libc_hidden_proto.
39720 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39721 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39722 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39723 getrlimit64.
39724 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39725 __getrlimit64.
39726 [!getrlimit64] (getrlimit64): Define as weak alias of
39727 __getrlimit64. Use libc_hidden_weak.
39728 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39729 using __getrlimit64 not __new_getrlimit64.
39730 (__GI_getrlimit64): Likewise.
39731 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39732 Likewise.
39733 (__GI_getrlimit64): Likewise.
39734 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39736 (getrlimit): Add __getrlimit64 alias.
39737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39738 Likewise.
39739 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39740 Remove variable.
39741 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39742 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39743
39744 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39745
39746 * libio/fileops.c: Add missing sys/mman.h
39747 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39748
39749 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39750
39751 * manual/math.texi (Errors in Math Functions): Clarify goals
39752 regarding inexact and underflow exceptions.
39753
39754 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39755
39756 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39757 * sysdeps/mips/memset.S: Ditto.
39758
39759 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39760
39761 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39762
39763 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39764
39765 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39766 (__v1longjmp): Remove versioned symbol.
39767 (__v1siglongjmp): Remove alias and versioned symbol.
39768 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39769 (__v2siglongjmp): Likewise.
39770
39771 2015-02-16 Torvald Riegel <triegel@redhat.com>
39772
39773 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39774
39775 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39776
39777 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39778
39779 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39780
39781 [BZ #17987]
39782 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39783 zero result does not depend on the sign resulting from
39784 subtraction.
39785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39786 Likewise.
39787 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39788 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39789 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39790 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39791 * math/libm-test.inc (remquo_test_data): Add more tests.
39792
39793 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39794
39795 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39796 Problem reported by J William Piggott.
39797
39798 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39799
39800 [BZ #17978]
39801 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39802 products 4 * y and 2 * y where those would overflow.
39803 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39804 Likewise.
39805 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39806 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39807 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39808 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39809 * math/libm-test.inc (remquo_test_data): Add more tests.
39810
39811 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39812
39813 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39814 [defined _COMPILING_NEWLIB].
39815 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39816 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39817
39818 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39819 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39820
39821 2015-02-16 Torvald Riegel <triegel@redhat.com>
39822
39823 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39824 acquired.
39825
39826 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39827
39828 [BZ #17792]
39829 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39830 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39831 HOST_STACK_END_ADDR): Likewise.
39832
39833 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39834
39835 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39836 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39837 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39838
39839 2015-02-13 Roland McGrath <roland@hack.frob.com>
39840
39841 * sysdeps/generic/c++-types.data: New file.
39842 * sysdeps/generic/ld.abilist: New file.
39843 * sysdeps/generic/libBrokenLocale.abilist: New file.
39844 * sysdeps/generic/libanl.abilist: New file.
39845 * sysdeps/generic/libc.abilist: New file.
39846 * sysdeps/generic/libcrypt.abilist: New file.
39847 * sysdeps/generic/libdl.abilist: New file.
39848 * sysdeps/generic/libm.abilist: New file.
39849 * sysdeps/generic/libpthread.abilist: New file.
39850 * sysdeps/generic/libresolv.abilist: New file.
39851 * sysdeps/generic/librt.abilist: New file.
39852
39853 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39854
39855 [BZ #17569]
39856 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39857 Compute absolute value of x as modified by fmod, not original
39858 value of x.
39859 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39860 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39861 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39862 RUN_TEST_ffI_f1_mod8.
39863 (remquo_test_data): Add more tests.
39864
39865 2015-02-13 Roland McGrath <roland@hack.frob.com>
39866
39867 * sysdeps/init_array/pt-crti.S: New file.
39868
39869 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39870
39871 [BZ #17967]
39872 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39873 __builtin_fmaf instead of relying on contraction of a * b + c.
39874
39875 2015-02-12 J William Piggott <elseifthen@gmx.com>
39876
39877 [BZ #17969]
39878 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39879 node.
39880
39881 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39882
39883 [BZ #17964]
39884 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39885 __builtin_fma instead of relying on contraction of a * b + c.
39886
39887 2015-02-12 Roland McGrath <roland@hack.frob.com>
39888
39889 * Makeconfig (ASFLAGS): Add -Werror=undef.
39890 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39891 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39892 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39893
39894 * Makeconfig (after-link): New variable.
39895 (+link-pie, +link-pie-tests): Use it.
39896 (+link-static, +link-static-tests): Likewise.
39897 (+link, +link-tests): Likewise.
39898 * Makerules (build-module, build-module-asneeded): Likewise.
39899 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39900 Likewise.
39901 * elf/Makefile ($(objpfx)ld.so): Likewise.
39902
39903 2015-02-12 RĂŒdiger Sonderfeld <ruediger@c-plusplus.net>
39904
39905 [BZ #17965]
39906 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39907 both struct timeval and struct timespec.
39908
39909 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39910
39911 [BZ #16560]
39912 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39913 and redefine.
39914 (__ieee754_exp2l): Do not multiply small fractional parts by
39915 M_LN2l.
39916 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39917 small argument.
39918 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39919 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39920 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39921 * math/auto-libm-test-in: Add more tests of exp2.
39922 * math/auto-libm-test-out: Regenerated.
39923
39924 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39925
39926 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39927 unaligned path.
39928
39929 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39930
39931 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39932 little endian.
39933
39934 2015-02-12 Andreas Schwab <schwab@suse.de>
39935
39936 [BZ #15790]
39937 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39938 Filter out elision flags from value returned in kind.
39939 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39940 * nptl/tst-pthread-mutexattr.c: New file.
39941
39942 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39943
39944 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39945 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39946 into gnu-gnu, and update comment to refer to abi-tags.
39947
39948 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39949
39950 [BZ #15467]
39951 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39952 (__sincos): Set errno to EDOM for infinite argument.
39953 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39954 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39955 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39956 (__sincosl): Set errno to EDOM for infinite argument.
39957 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39958 (__sincosl): Set errno to EDOM for infinite argument.
39959 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39960 (__sincosl): Set errno to EDOM for infinite argument.
39961 * math/libm-test.inc (sincos_test_data): Test errno setting.
39962
39963 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39964
39965 * string/strxfrm_l.c: Remove #define STRCMP.
39966 * string/strcoll_l.c: Remove #define STRLEN.
39967 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39968 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39969
39970 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39971
39972 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39973 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39974 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39975 * sysdeps/mips/mips64/Makefile: ... here.
39976 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39977 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39978 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39979 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39980 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39981 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39982 * sysdeps/mips/mips64/n64/Implies: Likewise.
39983
39984 2015-02-10 Roland McGrath <roland@hack.frob.com>
39985
39986 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39987 <sys/time.h>, <string.h>, and <errno.h>.
39988 (dest_offset, dest_address, value, zero): Remove unused variables.
39989 (ldouble): Remove typedef.
39990 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39991 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39992 1). Fix code style.
39993 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39994 (check): Function removed.
39995 (CHECK): New macro.
39996 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39997 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39998 Don't call set_sigaction_FP and remove_sigaction_FP here.
39999 (ldouble_test): Just use 'long double' as macro argument, no need for
40000 the 'ldouble' typedef.
40001 (do_test): Set up SIGFPE handler at start, using plain signal rather
40002 than sigaction. Fix code style.
40003
40004 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
40005
40006 [BZ #17949]
40007 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40008 jump label.
40009
40010 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40011
40012 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40014
40015 * sysdeps/powerpc/configure.ac: Remove file.
40016 * sysdeps/powerpc/configure: Likewise.
40017
40018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40019 [sysdep_routines]: Remove wordcopy-power6 object.
40020 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40021 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40022 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40023 (__memmove_ppc32): Likewise.
40024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40025 file.
40026 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40027 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40028 Remove preprocessor.
40029
40030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40031 [sysdep_routines]: Remove wide chars objects.
40032 [wcsmbs]: New rule for wide char objects.
40033
40034 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40035 Remove wordcopy-power6 obejct.
40036 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40037 Use local call for wordcopy and memcpy symbols.
40038 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40039 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40040 implementation for loader.
40041 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40042
40043 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40044 Remove wordcopy-power7 object.
40045 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40046 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40047 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40048 (_wordcopy_fwd_dest_aligned): Likewise.
40049 (_wordcopy_bwd_aligned): Likewise.
40050 (_wordcopy_bwd_dest_aligned): Likewise.
40051
40052 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40053 Rewrite to call __memmove_ppc instead of include default
40054 implementation.
40055
40056 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40057 Remove wide chars objects.
40058 [wcsmbs]: New rule for wide char objects.
40059
40060 2015-02-09 Andreas Schwab <schwab@suse.de>
40061
40062 [BZ #17912]
40063 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40064 in terms of __O_DIRECTORY.
40065
40066 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
40067
40068 * time/getdate.c: Include <stdbool.h>.
40069 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40070 call PTR_MANGLE.
40071 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40072 PTR_DEMANGLE.
40073
40074 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
40075
40076 Add ersatz _Static_assert on older C hosts
40077 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40078 pre-C11 C platform that is not known to support _Static_assert.
40079
40080 2015-02-07 Richard Braun <rbraun@sceen.net>
40081
40082 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40083 sigstate.
40084 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40085
40086 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
40087
40088 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40089 priority against unexistent AIO_PRIO_DELTA_MAX.
40090 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40091 instead of int.
40092 * misc/fchflags.c (fchflags): Likewise.
40093 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40094 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40095 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40096 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40097 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40098 Declare macros.
40099 [__USE_MISC] (chflags, fchflags): Declare functions.
40100 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40101 EINVAL when nfds is greater than FD_SETSIZE.
40102 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40103 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40104 45.
40105 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40106 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40107 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40108 MACH_RCV_TIMED_OUT.
40109 * hurd/hurd/signal.h (_hurd_self_sigstate,
40110 _hurd_critical_section_lock, _hurd_critical_section_unlock):
40111 Explicit casts from void *.
40112 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40113 * abi-tags: Rename gnu-gnu os into gnu.
40114
40115 [BZ #4719]
40116 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40117 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40118 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40119 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40120 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40121 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40122
40123 [BZ #17944]
40124 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40125 duplicates ADDR->sun_path with sockaddr LEN limitation.
40126 * sysdeps/mach/hurd/connect.c: Include <string.h>
40127 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40128 * sysdeps/mach/hurd/sendmsg.c: Likewise.
40129 * sysdeps/mach/hurd/sendto.c: Likewise.
40130 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40131 implementing it by hand.
40132
40133 2015-02-06 Roland McGrath <roland@hack.frob.com>
40134
40135 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40136 Use sfi_breg on ldr.
40137 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40138 Likewise.
40139
40140 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40141 it's defined.
40142 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40143 Test SIGSETXID only if it's defined.
40144
40145 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40146
40147 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40148 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
40149
40150 * nptl/tst-align2.c: Moved ...
40151 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40152 * nptl/Makefile (tests): Remove tst-align2.
40153 * sysdeps/unix/sysv/linux/Makefile
40154 [$(subdir) = nptl] (tests): Add tst-align-clone.
40155 * nptl/tst-getpid1.c: Moved ...
40156 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40157 * nptl/tst-getpid2.c: Moved ...
40158 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40159 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40160 * sysdeps/unix/sysv/linux/Makefile
40161 [$(subdir) = nptl] (tests): ... here.
40162 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40163 * sysdeps/unix/sysv/linux/Makefile
40164 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40165
40166 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40167 Drop trailing \n from perror argument. Use return rather than exit.
40168
40169 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40170 on [SA_SIGINFO].
40171 * nptl/tst-cancel21.c (do_test): Likewise.
40172 * debug/tst-backtrace6.c: Include <signal.h> first thing.
40173 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40174 [!SA_SIGINFO]: Make it a stub test.
40175
40176 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40177 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40178
40179 * posix/tst-getlogin.c: Move to ...
40180 * login/tst-getlogin.c: ... here.
40181 * posix/Makefile (tests): Move tst-getlogin to ...
40182 * login/Makefile (tests): ... here.
40183
40184 * libio/tst-atime.c (do_test): Move local variables SV and E
40185 inside [ST_NOATIME] conditional.
40186
40187 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40188
40189 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40190
40191 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40192 (wait_code): New function replaces macro.
40193 Call nanosleep rather than syscall.
40194
40195 * nptl/pt-system.c: Rewritten. Put everything under
40196 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40197 Use IFUNC to redirect when possible.
40198
40199 * nptl/pt-longjmp.c: Rewritten. Put everything under
40200 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40201 Use IFUNC to redirect when possible.
40202
40203 * nptl/pt-fork.c: Rewritten. Put everything under
40204 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40205 Use IFUNC to redirect when possible.
40206 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40207
40208 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40209 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40210 unconditionally nowadays. This included the only reference to
40211 __vdso_clock_gettime that appears outside libc proper.
40212 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40213 Remove version set (containing only __vdso_clock_gettime).
40214 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40215 Add attribute_hidden.
40216 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40217 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40218 libc_hidden_data_def.
40219 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40220 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40221
40222 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40223 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40224 setrpcent, and getrpcport to ...
40225 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40226 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40227 getrpcbynumber_r, and getrpcent_r to ...
40228 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40229 * inet/getrpcbyname.c: Moved ...
40230 * sunrpc/getrpcbyname.c: ... here.
40231 * inet/getrpcbyname_r.c: Moved ...
40232 * sunrpc/getrpcbyname_r.c: ... here.
40233 * inet/getrpcbynumber.c: Moved ...
40234 * sunrpc/getrpcbynumber.c: ... here.
40235 * inet/getrpcbynumber_r.c: Moved ...
40236 * sunrpc/getrpcbynumber_r.c: ... here.
40237 * inet/getrpcent.c: Moved ...
40238 * sunrpc/getrpcent.c: ... here.
40239 * inet/getrpcent_r.c: Moved ...
40240 * sunrpc/getrpcent_r.c: ... here.
40241 * inet/Makefile (routines): Move those to ...
40242 * sunrpc/Makefile (routines): ... here.
40243 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40244 the $(subdirs) list.
40245 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40246 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40247 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40248 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40249
40250 * elf/Makefile (routines): Include $(all-dl-routines), not just
40251 $(dl-routines).
40252 (rtld-routines): Likewise. Use = rather than :=.
40253 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40254 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40255 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40256 * sysdeps/arm/Makefile: Likewise.
40257 * sysdeps/i386/Makefile: Likewise.
40258 * sysdeps/x86_64/Makefile: Likewise.
40259 * sysdeps/hppa/Makefile [$(subdir) = elf]
40260 (sysdep_routines, sysdep-rtld-routines): Don't add
40261 $(sysdep-dl-routines) to these.
40262 * sysdeps/ia64/Makefile: Likewise.
40263 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40264 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40265 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40266 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40267 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40268 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40269 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40270 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40271 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40272 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40273 these; sysdep-dl-routines alone is enough.
40274
40275 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40276
40277 [BZ #17932]
40278 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40279 where multiplication results in zero and third argument is finite
40280 and nonzero.
40281 * math/auto-libm-test-in: Add more tests of fma.
40282 * math/auto-libm-test-out: Regenerated.
40283
40284 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40285 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40286 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40287 (_FP_CMP_EQ): Likewise.
40288 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40289
40290 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40291 extra argument CHECK_NAN. Redefine as wrapper around
40292 _FP_EXTEND_CNAN.
40293
40294 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40295
40296 * version.h (RELEASE): Set to "stable".
40297 (VERSION): Set to "2.21"
40298 * include/features.h (__GLIBC_MINOR__): Set to 21.
40299
40300 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40301
40302 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40303 Paul Eggert <eggert@cs.ucla.edu>
40304
40305 [BZ #16618]
40306 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40307 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40308 size in bytes. Store needed elements in wpmax. Use needed size
40309 in bytes for extend_alloca.
40310
40311 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40312
40313 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40314 binutls 2.25, and texinfo 5.2.
40315 * INSTALL: Regenerate.
40316 * sysdeps/nios2/configure: Regenerate.
40317 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40318 * manual/contrib.texi: Update.
40319 * po/be.po: Update.
40320 * po/bg.po: Update.
40321 * po/ca.po: Update.
40322 * po/cs.po: Update.
40323 * po/da.po: Update.
40324 * po/de.po: Update.
40325 * po/el.po: Update.
40326 * po/eo.po: Update.
40327 * po/es.po: Update.
40328 * po/fi.po: Update.
40329 * po/fr.po: Update.
40330 * po/gl.po: Update.
40331 * po/hr.po: Update.
40332 * po/hu.po: Update.
40333 * po/ia.po: Update.
40334 * po/id.po: Update.
40335 * po/it.po: Update.
40336 * po/ja.po: Update.
40337 * po/ko.po: Update.
40338 * po/lt.po: Update.
40339 * po/nb.po: Update.
40340 * po/nl.po: Update.
40341 * po/pl.po: Update.
40342 * po/pt_BR.po: Update.
40343 * po/ru.po: Update.
40344 * po/rw.po: Update.
40345 * po/sk.po: Update.
40346 * po/sl.po: Update.
40347 * po/sv.po: Update.
40348 * po/tr.po: Update.
40349 * po/uk.po: Update.
40350 * po/vi.po: Update.
40351 * po/zh_CN.po: Update.
40352 * po/zh_TW.po: Update.
40353
40354 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40355 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40356 * sysdeps/hppa/dl-irel.h: Remove #warning.
40357 * sysdeps/hppa/entry.h: Provide prototype for
40358 __canonicalize_funcptr_for_compare and cast argument.
40359 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40360 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40361 * sysdeps/hppa/sotruss-lib.c: New file.
40362 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40363 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40364 (atomic_compare_and_exchange_bool_acq): Likewise.
40365 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40366 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40367
40368 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40369 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40370 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40371
40372 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40373
40374 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40375 called function in non-PIC case.
40376
40377 2015-01-31 David S. Miller <davem@davemloft.net>
40378
40379 * sysdeps/sparc/sparc32/bits/atomic.h
40380 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40381 unlock not after it.
40382 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40383 volatile register usage warnings from the compiler.
40384
40385 * sysdeps/sparc/nptl/sem_init.c: Delete.
40386 * sysdeps/sparc/nptl/sem_post.c: Delete.
40387 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40388 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40389 * sysdeps/sparc/sparc32/sem_init.c: New file.
40390 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40391 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40392 padding explicitly initialized.
40393 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40394 padding for in-semaphore spinlock.
40395 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40396 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40397 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40398 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40399 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40400 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40401 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40402 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40403 version.
40404 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40405 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40406
40407 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40408
40409 [BZ #17801]
40410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40411 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40412 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40413 New.
40414 (index_AVX_Fast_Unaligned_Load): Likewise.
40415 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40416 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40417 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40418 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40419 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40420 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40421 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40422 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40423 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40424
40425 2015-01-29 Andreas Schwab <schwab@suse.de>
40426
40427 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40428
40429 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40430
40431 [BZ #17892]
40432 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40433
40434 2015-01-28 Martin Sebor <msebor@redhat.com>
40435
40436 * math/README.libm-test: Clarify. Add "How to read the test output."
40437
40438 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40439
40440 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40441 Define to 0.
40442
40443 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40444
40445 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40446 (__HAVE_64B_ATOMICS): Define to 0.
40447
40448 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40449
40450 [BZ #17885]
40451 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40452 value to set as new flag.
40453
40454 [BZ #16576]
40455 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40456 and use _ARCH_PPCSQ instead.
40457 (__ieee754_sqrt): Likewise.
40458 (__ieee754_sqrtf): Likewise.
40459 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40460 _ARCH_PPCSQ is defined.
40461 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40462 fsqrt instruction.
40463 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40464 _ARCH_PPCSQ is defined.
40465 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40466 fsqrts instruction.
40467 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40468
40469 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40470
40471 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40472 bug (GCC BZ #64739).
40473
40474 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40475
40476 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40477 Mark _retval as used.
40478 (lll_futex_wake_unlock): Likewise.
40479 (lll_futex_timed_wait_requeue_pi): Likewise.
40480
40481 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40482 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40483 register variables.
40484
40485 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40486 libm_hidden_def.
40487
40488 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40489 (__bswap_64): Mark as __always_inline.
40490
40491 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40492
40493 [BZ #15378]
40494 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40495 when none of the search directories exist.
40496
40497 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40498
40499 [BZ #17869]
40500 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40501 power8 in .machine directive.
40502
40503 [BZ #17868]
40504 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40505 set dependency from opd value.
40506
40507 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40508
40509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40510 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40511 architecture.
40512
40513 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40514
40515 [BZ #17870]
40516 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40517 with uint64_t.
40518 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40519 (uint64_t) 1.
40520 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40521 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40522 Replace 1UL with (uint64_t) 1.
40523 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40524 int with uint64_t.
40525
40526 2015-01-23 Roland McGrath <roland@hack.frob.com>
40527
40528 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40529 (if_freenameindex): Likewise.
40530
40531 * resource/getrlimit64.c: Add missing libc_hidden_def.
40532
40533 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40534
40535 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40536 __label__.
40537 (_FP_FMA): Likewise.
40538 (_FP_TO_INT_ROUND): Likewise.
40539 (_FP_FROM_INT): Likewise.
40540
40541 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40542
40543 [BZ #16418]
40544 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40545 Make code racy and cancel safe.
40546
40547 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40548
40549 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40550 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40551 attribution.
40552
40553 * pwd/tst-getpw.c: Rewrite.
40554
40555 [BZ #17702]
40556 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40557 (modules-names): Add moddummy1 and moddummy2.
40558 ($(objpfx)tst-rec-dlopen): Define.
40559 * dlfcn/moddummy1.c: New file.
40560 * dlfcn/moddummy2.c: New file.
40561 * dlfcn/tst-rec-dlopen.c: New file.
40562 * elf/dl-cache.c (_dl_load_cache_lookup):
40563 Return char*. Copy result with alloca/strcpy/strdup.
40564 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40565 returns char*. Free cached. If not saving realname
40566 free cached.
40567 * elf/dl-open.c (dl_open_worker): Do not assert that
40568 _r_debug->r_state is RT_CONSISTENT.
40569 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40570 returns char*.
40571
40572 2015-01-21 Torvald Riegel <triegel@redhat.com>
40573 Carlos O'Donell <carlos@redhat.com>
40574
40575 [BZ #12674]
40576 * nptl/sem_waitcommon.c: New file.
40577 * nptl/sem_wait.c: Include sem_waitcommon.c.
40578 (__sem_wait_cleanup, do_futex_wait): Remove.
40579 (__new_sem_wait): Adapt.
40580 (__new_sem_trywait): New function.
40581 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40582 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40583 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40584 (sem_timedwait): Adapt.
40585 * nptl/sem_post.c (__new_sem_post): Adapt.
40586 (futex_wake): New function.
40587 (__old_sem_post): Add release MO fence.
40588 * nptl/sem_open.c (sem_open): Adapt.
40589 * nptl/sem_init.c (__new_sem_init): Adapt.
40590 (futex_private_if_supported): New function.
40591 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40592 (__old_sem_getvalue): Add using previous code.
40593 * sysdeps/nptl/internaltypes.h: Adapt.
40594 * nptl/tst-sem13.c (do_test): Adapt.
40595 * nptl/tst-sem11.c (main): Adapt.
40596 * nptl/sem_trywait.c: Remove.
40597 * nptl/DESIGN-sem.txt: Remove.
40598 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40599 (gen-as-const-headers): Remove structsem.sym.
40600 * nptl/structsem.sym: Remove.
40601 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40602 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40603 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40604 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40605 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40606 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40607 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40608 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40609 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40610 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40611 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40612 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40613 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40614 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40615 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40616 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40617 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40618 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40619 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40620 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40621 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40622 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40623
40624 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40625
40626 * INSTALL: Regenerated.
40627
40628 * po/libc.pot: Regenerated.
40629
40630 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40631 Sandra Loosemore <sandra@codesourcery.com>
40632 Andrew Jenner <andrew@codesourcery.com>
40633 Joseph Myers <joseph@codesourcery.com>
40634 Nathan Sidwell <nathan@codesourcery.com>
40635
40636 * NEWS: Mention new Nios II port.
40637 * sysdeps/nios2/Implies: New file.
40638 * sysdeps/nios2/Makefile: New file.
40639 * sysdeps/nios2/Subdirs: New file.
40640 * sysdeps/nios2/Versions: New file.
40641 * sysdeps/nios2/__longjmp.S: New file.
40642 * sysdeps/nios2/abort-instr.h: New file.
40643 * sysdeps/nios2/backtrace.c: New file.
40644 * sysdeps/nios2/bits/endian.h: New file.
40645 * sysdeps/nios2/bits/fenv.h: New file.
40646 * sysdeps/nios2/bits/link.h: New file.
40647 * sysdeps/nios2/bits/setjmp.h: New file.
40648 * sysdeps/nios2/bsd-_setjmp.S: New file.
40649 * sysdeps/nios2/bsd-setjmp.S: New file.
40650 * sysdeps/nios2/configure: New generated file.
40651 * sysdeps/nios2/configure.ac: New file.
40652 * sysdeps/nios2/crti.S: New file.
40653 * sysdeps/nios2/crtn.S: New file.
40654 * sysdeps/nios2/dl-init.c: New file.
40655 * sysdeps/nios2/dl-machine.h: New file.
40656 * sysdeps/nios2/dl-sysdep.h: New file.
40657 * sysdeps/nios2/dl-tls.h: New file.
40658 * sysdeps/nios2/dl-trampoline.S: New file.
40659 * sysdeps/nios2/gccframe.h: New file.
40660 * sysdeps/nios2/gmp-mparam.h: New file.
40661 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40662 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40663 * sysdeps/nios2/ldsodefs.h: New file.
40664 * sysdeps/nios2/libc-tls.c: New file.
40665 * sysdeps/nios2/libm-test-ulps: New file.
40666 * sysdeps/nios2/machine-gmon.h: New file.
40667 * sysdeps/nios2/math-tests.h: New file.
40668 * sysdeps/nios2/math_private.h: New file.
40669 * sysdeps/nios2/memusage.h: New file.
40670 * sysdeps/nios2/nptl/Makefile: New file.
40671 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40672 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40673 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40674 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40675 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40676 * sysdeps/nios2/nptl/tls.h: New file.
40677 * sysdeps/nios2/preconfigure: New file.
40678 * sysdeps/nios2/s_fma.c: New file.
40679 * sysdeps/nios2/s_fmaf.c: New file.
40680 * sysdeps/nios2/setjmp.S: New file.
40681 * sysdeps/nios2/sfp-machine.h: New file.
40682 * sysdeps/nios2/sotruss-lib.c: New file.
40683 * sysdeps/nios2/stackguard-macros.h: New file.
40684 * sysdeps/nios2/stackinfo.h: New file.
40685 * sysdeps/nios2/start.S: New file.
40686 * sysdeps/nios2/sysdep.h: New file.
40687 * sysdeps/nios2/tls-macros.h: New file.
40688 * sysdeps/nios2/tst-audit.h: New file.
40689 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40690 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40691 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40692 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40693 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40694 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40695 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40696 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40697 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40698 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40699 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40700 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40701 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40702 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40703 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40704 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40705 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40706 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40707 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40708 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40709 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40710 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40711 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40712 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40713 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40714 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40715 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40716 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40717 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40718 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40719 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40720 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40721 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40722 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40723 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40724 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40725 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40726 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40727 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40728 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40729 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40730 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40731 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40732 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40733
40734 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40735
40736 [BZ #17844]
40737 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40738 (getutent): Use weak_alias in non SHARED case
40739 and default_symbol_version in SHARED case.
40740 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40741 (getutent_r, pututline): Likewise.
40742 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40743 (getutid): Likewise.
40744 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40745 (getutid_r): Likewise.
40746 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40747 (getutline): Likewise.
40748 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40749 (getutline_r): Likewise.
40750 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40751 (updwtmp): Likewise.
40752
40753 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40754
40755 [BZ #17848]
40756 * sysdeps/s390/s390-32/memcmp.S
40757 (memcmp_g5): Rename to __memcmp_g5.
40758 * sysdeps/s390/s390-32/memcpy.S
40759 (memcpy_g5): Rename to __memcpy_g5.
40760 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40761 (memcpy_mvcle) Rename to __memcpy_mvcle.
40762 * sysdeps/s390/s390-32/memset.S
40763 (memset_g5): Rename to __memset_g5.
40764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40765 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40766 and use prefixed functions.
40767 * sysdeps/s390/s390-32/multiarch/memcmp.S
40768 (memcmp_z196): Rename to __memcmp_z196.
40769 (memcmp_z10): Rename to __memcmp_z10.
40770 (memcmp): Set alias to __memcmp_g5.
40771 (bcmp): Set alias to __memcmp_g5.
40772 * sysdeps/s390/s390-32/multiarch/memcpy.S
40773 (memcpy_z196): Rename to __memcpy_z196.
40774 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40775 (memcpy_z10): Rename to __memcpy_z10.
40776 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40777 (memcpy): Set alias to __memcpy_g5.
40778 * sysdeps/s390/s390-32/multiarch/memset.S
40779 (memset_z196): Rename to __memset_z196.
40780 Jump to __memset_mvcle instead of memset_mvcle.
40781 (memset_z10): Rename to __memset_z10.
40782 Jump to __memset_mvcle instead of memset_mvcle.
40783 (memset_mvcle) Rename to __memset_mvcle.
40784 (memset): Set alias to __memset_g5.
40785 * sysdeps/s390/s390-64/memcmp.S
40786 (memcmp_z900): Rename to __memcmp_z900.
40787 * sysdeps/s390/s390-64/memcpy.S
40788 (memcpy_z900): Rename to __memcpy_z900.
40789 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40790 (memcpy_mvcle) Rename to __memcpy_mvcle.
40791 * sysdeps/s390/s390-64/memset.S
40792 (memset_z900): Rename to __memset_z900.
40793 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40794 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40795 and use prefixed functions.
40796 * sysdeps/s390/s390-64/multiarch/memcmp.S
40797 (memcmp_z196): Rename to __memcmp_z196.
40798 (memcmp_z10): Rename to __memcmp_z10.
40799 (memcmp): Set alias to __memcmp_z900.
40800 (bcmp): Set alias to __memcmp_z900.
40801 * sysdeps/s390/s390-64/multiarch/memcpy.S
40802 (memcpy_z196): Rename to __memcpy_z196.
40803 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40804 (memcpy_z10): Rename to __memcpy_z10.
40805 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40806 (memcpy): Set alias to __memcpy_z900.
40807 * sysdeps/s390/s390-64/multiarch/memset.S
40808 (memset_z196): Rename to __memset_z196.
40809 Jump to __memset_mvcle instead of memset_mvcle.
40810 (memset_z10): Rename to __memset_z10.
40811 Jump to __memset_mvcle instead of memset_mvcle.
40812 (memset_mvcle) Rename to __memset_mvcle.
40813 (memset): Set alias to __memset_z900.
40814
40815 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40816
40817 [BZ #17748]
40818 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40819 __fesetenv instead of fesetenv.
40820
40821 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40822
40823 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40824 macro.
40825
40826 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40827
40828 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40829 regression on LE.
40830
40831 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40832 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40833 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40834 strncmp-power8 object.
40835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40836 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40837 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40838 * NEWS: Update.
40839
40840 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40841 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40842
40843 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40844 trailing byte check.
40845
40846 2015-01-13 David S. Miller <davem@davemloft.net>
40847
40848 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40849
40850 2015-01-13 Roland McGrath <roland@hack.frob.com>
40851
40852 * login/logout.c (logout): Use memset rather than bzero.
40853 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40854 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40855 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40856 (_gethtbyaddr): Likewise.
40857 * locale/programs/simple-hash.c (bcopy): Macro removed.
40858
40859 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40860
40861 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40862 Add strcmp-power8 object.
40863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40864 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40865 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40866 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40867 __strcmp_power8 implementation.
40868 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40869 * NEWS: Update.
40870
40871 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40872 Add strncpy-power8 and stpncpy-power8 objects.
40873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40874 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40875 implementations.
40876 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40877 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40878 __stpncpy_power8 implementation.
40879 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40880 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40881 __strncpy_power8 implementation.
40882 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40883 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40884 * NEWS: Update.
40885
40886 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40887 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40888 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40889
40890 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40891 strncat-power8 object.
40892 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40893 __strcat_power8 implementation.
40894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40895 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40896 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40897 optimized strcat for power8.
40898
40899 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40900 strcpy-power8 and stpcpy-power8 objects.
40901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40902 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40903 implementations.
40904 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40905 multiarch stpcpy implementation for POWER8.
40906 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40907 multiarch strcpy implementation for POWER8.
40908 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40909 __strcpy_power8 function.
40910 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40911 stpcpy for POWER8.
40912 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40913 strcpy for POWER8.
40914 * NEWS: Update.
40915
40916 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40917
40918 [BZ #16009]
40919 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40920 weights and rules. Use do_xfrm_cached if data fits in cache,
40921 do_xfrm otherwise. Moved former main loop to...
40922 * (do_xfrm_cached): New function.
40923 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40924 find_idx, find_position and stack_push.
40925 * (find_idx): New function.
40926 * (find_position): Likewise.
40927 * localedata/sort-test.sh: Added test run for do_xfrm.
40928 * localedata/xfrm-test.c (main): Added command line option
40929 -nocache to run the test with strings that are too large for
40930 the STRXFRM cache.
40931
40932 2015-01-13 Torvald Riegel <triegel@redhat.com>
40933
40934 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40935 variable to lll_futex_wake call, not the value itself.
40936
40937 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40938
40939 [BZ #17803]
40940 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40941 twom64. Adjust value to 0x1p-64L.
40942 (__scalblnl): Only return standard underflowing result for K <=
40943 -64 not K <= -63; adjust exponent for underflowing result by 64
40944 not 63.
40945 * math/libm-test.inc (scalbn_test_data): Add more tests.
40946 (scalbln_test_data): Likewise.
40947
40948 [BZ #17834]
40949 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40950 0x1p63L.
40951 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40952 not HX.
40953 * math/libm-test.inc (scalbn_test_data): Add more tests.
40954 (scalbln_test_data): Likewise.
40955
40956 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40957 Stefani Seibold <stefani@seibold.net>
40958
40959 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40960 (sysdep_routines): Add dl-vdso here, ...
40961 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40962 (sysdep_routines): ... not here.
40963 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40964 fallback when vDSO is not presented.
40965 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40966 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40967 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40968 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40969 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40970 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40971 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40972 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40973 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40975 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40976 fallback configurable symbol when vDSO is not available.
40977 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40978 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40979 be able to redefine fallback symbol when vDSO is not available.
40980 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40981 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40982
40983 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40984
40985 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40986 (TLS_INIT_TP): Add tm_capable initialization.
40987 (TLS_DEFINE_INIT_TP): Likewise.
40988 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40989 TCB.
40990 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40991 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40992 calculation.
40993 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40994 transactoion is lock elision is built and TCB tm_capable is set.
40995 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40997 (INTERNAL_SYSCALL_NCS): Likewise.
40998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40999 (INTERNAL_SYSCALL_NCS): Likewise.
41000 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41001
41002 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41003 for powerpc.
41004 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41005 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41006 and remove it for 32 bits case.
41007 [pthread_rwlock_t] (__rwelision): New field for lock elision.
41008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41009 initialization.
41010 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41011 Disable lock elision with rdlocks if elision is not available.
41012
41013 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41014 (sysdep_routines): Add lock elision objects.
41015 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41016 [pthread_mutex_t] (__spins): Rework to add lock elision field.
41017 [pthread_mutex_t] (__elision): Add field.
41018 [__PTHREAD_SPINS]: Adjust to init lock elision field.
41019 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41020 elision definitions for powerpc.
41021 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41022 implementation of lock elision for powerpc.
41023 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41024 implementation of timed lock elision for powerpc.
41025 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41026 implementation of trylock with lock elision for powerpc.
41027 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41028 implementaion of unlock for lock elision for powerpc.
41029 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41030 automatic enable lock elision for mutexes.
41031 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41032 transaction execution definitions for powerpc.
41033 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41034 definitions.
41035 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41036 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41037 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41038 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41039 * NEWS: Update.
41040
41041 2015-01-09 Roland McGrath <roland@hack.frob.com>
41042
41043 * sysdeps/posix/shm-directory.c: Use <> rather than ""
41044 for #include of <shm-directory.h>.
41045
41046 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
41047
41048 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41049 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41050
41051 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
41052
41053 [BZ #17791]
41054 * NEWS: Mention bug fix.
41055 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41056 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41057 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41058
41059 2015-01-09 Torvald Riegel <triegel@redhat.com>
41060
41061 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41062
41063 2015-01-09 Torvald Riegel <triegel@redhat.com>
41064
41065 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41066
41067 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41068
41069 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41070 pointer and cast to uintptr_t.
41071
41072 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41073
41074 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41075 removed.
41076 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41077
41078 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41079
41080 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41081 of 0.
41082
41083 2015-01-08 Roland McGrath <roland@hack.frob.com>
41084
41085 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41086 <nptl/pthreadP.h> instead.
41087 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41088
41089 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41090 already defined.
41091 [__SIGRTMIN] (init): Function removed.
41092 [__SIGRTMIN] (initialized): Variable removed.
41093 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41094 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41095 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41096 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41097 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41098 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41099 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41100 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41101 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41102 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41103 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41104 * sysdeps/nptl/allocrtsig.c: New file.
41105 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41106 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41107 * sysdeps/generic/testrtsig.h: File removed.
41108
41109 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41110 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41111
41112 * nptl/nptl-init.c (pthread_functions): Conditionalize
41113 .ptr__nptl_setxid initialization on [SIGSETXID].
41114
41115 * sysdeps/nptl/sys/procfs.h: New file.
41116 * nptl_db/Makefile (headers): Add it.
41117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41118
41119 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41120 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41121 * nptl/pthread_attr_setaffinity.c: Include it.
41122 * nptl/pthread_setattr_default_np.c: Likewise.
41123 * nptl/check-cpuset.h: New file.
41124
41125 2015-01-08 Richard Henderson <rth@redhat.com>
41126
41127 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41128 (CFLAGS-tst-execstack-prog.c): Likewise.
41129 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41130
41131 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
41132 Sandra Loosemore <sandra@codesourcery.com>
41133 Andrew Jenner <andrew@codesourcery.com>
41134 Joseph Myers <joseph@codesourcery.com>
41135 Nathan Sidwell <nathan@codesourcery.com>
41136
41137 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41138 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41139 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41140 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41141 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41142 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41143 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41144 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41145 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41146 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41147 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41148 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41149 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41150 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41151 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41152 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41153 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41154
41155 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41156
41157 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41158 timespec struct member in syscall macro.
41159 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41160 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41161 first timeval struct member in syscall macro.
41162 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41163
41164 2015-01-07 Joseph Myers <joseph@codesourcery.com>
41165
41166 [BZ #17748]
41167 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41168 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41169 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41170 __feupdateenv and define as weak alias of __feupdateenv. Use
41171 libm_hidden_weak.
41172 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41173 libm_hidden_def.
41174 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41175 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
41176 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41177 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41178 libm_hidden_def.
41179 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41180 __feupdateenv and define as weak alias of __feupdateenv. Use
41181 libm_hidden_weak.
41182 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41183 libm_hidden_def.
41184 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41185 __feupdateenv and define as weak alias of __feupdateenv. Use
41186 libm_hidden_weak.
41187 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41188 libm_hidden_def.
41189 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41190 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41191 (__feupdateenv): Likewise.
41192 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41193 __feupdateenv and define as weak alias of __feupdateenv. Use
41194 libm_hidden_weak.
41195 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41196 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41197 libm_hidden_def.
41198 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41199 function.
41200 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41201 libm_hidden_def.
41202 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41203 __feupdateenv instead of feupdateenv.
41204 (default_libc_feupdateenv_test): Likewise.
41205 (libc_feresetround_ctx): Likewise.
41206
41207 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41208
41209 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41210 prototype.
41211
41212 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41213
41214 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41215 COLL_SYM in a couple of places to avoid uninitialized variable
41216 wanings on tilegx gcc 4.8.2.
41217
41218 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41219
41220 * sysdeps/aarch64/strcpy.S: New file.
41221 * sysdeps/aarch64/stpcpy.S: New file.
41222 * NEWS: Updated.
41223
41224 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41225
41226 * sysdeps/aarch64/strrchr.S: New file.
41227 * NEWS: Updated.
41228
41229 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41230
41231 [BZ #17658]
41232 * stdlib/setenv.c: Fix memory leak when setting large,
41233 duplicate string.
41234
41235 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41236
41237 [BZ #17273]
41238 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41239 and tabs from buffer before parsing fstab entry.
41240 * misc/tst-mntent.c (main): Add test for mount entry with
41241 trailing spaces and tabs.
41242
41243 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41244
41245 [BZ #17748]
41246 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41247 * math/fesetround.c (fesetround): Rename to __fesetround and
41248 define as weak alias of __fesetround. Use libm_hidden_weak.
41249 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41250 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41251 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41252 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41253 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41254 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41255 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41256 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41257 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41258 __fesetround_inline.
41259 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41260 __fesetround_inline instead of __fesetround.
41261 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41262 __fesetround and define as weak alias of __fesetround. Use
41263 libm_hidden_weak. Call __fesetround_inline instead of
41264 __fesetround.
41265 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41266 __fesetround and define as weak alias of __fesetround. Use
41267 libm_hidden_weak.
41268 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41269 Likewise.
41270 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41271 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41272 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41273 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41274 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41275 __fesetround and define as weak alias of __fesetround. Use
41276 libm_hidden_weak.
41277 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41278 __fesetround instead of fesetround.
41279 (default_libc_feholdexcept_setround): Likewise.
41280 (libc_feholdsetround_ctx): Likewise.
41281 (libc_feholdsetround_noex_ctx): Likewise.
41282
41283 [BZ #17748]
41284 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41285 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41286 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41287 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41288 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41289 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41290 define as weak alias of __fesetenv. Use libm_hidden_weak.
41291 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41292 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41293 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41294 define as weak alias of __fesetenv. Use libm_hidden_weak.
41295 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41296 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41297 define as weak alias of __fesetenv. Use libm_hidden_weak.
41298 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41299 libm_hidden_def.
41300 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41301 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41302 Likewise.
41303 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41304 define as weak alias of __fesetenv. Use libm_hidden_weak.
41305 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41306 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41307 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41308 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41309 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41310 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41311 __fesetenv instead of fesetenv.
41312 (libc_feresetround_noex_ctx): Likewise.
41313 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41314 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41315 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41316 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41317 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41318 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41319 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41320 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41321 (__feupdateenv): Likewise.
41322 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41323 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41324 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41325 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41326
41327 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41328
41329 [BZ #17806]
41330 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41331 addresses have been freed.
41332
41333 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41334
41335 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41336 and nservall.
41337
41338 2015-01-06 Ondƙej Bílka <neleai@seznam.cz>
41339
41340 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41341 Clean up check_pf allocation pattern. addresses
41342
41343 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41344
41345 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41346 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41347 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41348 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41349 * nptl/pthread_join.c (pthread_join): Likewise.
41350 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41351 * sysdeps/posix/waitid.c (__waitid): Likewise.
41352 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41353 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41354 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41355 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41357 Likewise.
41358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41359 (__libc_pread64): Likewise.
41360 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41361 (__libc_pwrite): Likewise.
41362 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41363 (__libc_pwrite64): Likewsie.
41364 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41365 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41366 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41367 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41368 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41369 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41370 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41372 Likewise.
41373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41374 (__libc_pread64): Likewise.
41375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41376 Likewise.
41377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41378 (__libc_pwrite64): Likewise.
41379 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41380 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41381 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41382 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41383 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41384 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41385 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41386 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41387 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41388 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41389 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41390 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41391 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41392 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41393 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41394 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41395 Likewise.
41396
41397 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41398
41399 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41400 (CFLAGS-test-double.c): Likewise.
41401 (CFLAGS-test-ldouble.c): Likewise.
41402 (CPPFLAGS-test-ifloat.c): Likewise.
41403 (CPPFLAGS-test-idouble.c): Likewise.
41404 (CPPFLAGS-test-ildoubl.c): Likewise.
41405 (CFLAGS-test-test-fenv.c): Remove variable.
41406 (CFLAGS-test-misc.c): Likewise.
41407
41408 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41409
41410 [BZ #17797]
41411 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41412 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41413 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41414 CLOCKS_PER_SEC == 1000000.
41415 * time/clocktest.c (main): Replace %ld with %jd and cast to
41416 intmax_t.
41417
41418 2015-01-05 Roland McGrath <roland@hack.frob.com>
41419
41420 * sysdeps/generic/unwind-resume.h: New file.
41421 * sysdeps/gnu/unwind-resume.c: Include it.
41422 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41423 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41424 argument list.
41425 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41426 global rather than static.
41427 (_Unwind_Resume): Update user.
41428 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41429 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41430 rather than static. Add __attribute__ ((cold)).
41431 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41432 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41433 * sysdeps/arm/arm-unwind-resume.S: New file.
41434 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41435 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41436 * sysdeps/arm/Makefile [$(subdir) = csu]
41437 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41438 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41439 Add rt-arm-unwind-resume.
41440 [$(subdir) = nptl]
41441 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41442 Add pt-arm-unwind-resume.
41443 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41444 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41445
41446 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41447
41448 [BZ #17748]
41449 * include/fenv.h (__feholdexcept): Declare. Use
41450 libm_hidden_proto.
41451 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41452 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41453 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41454 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41455 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41456 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41457 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41458 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41459 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41460 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41461 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41462 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41463 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41464 (feholdexcept): Likewise.
41465 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41466 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41467 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41468 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41469 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41470 __feholdexcept instead of feholdexcept.
41471 (default_libc_feholdexcept_setround): Likewise.
41472
41473 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41474
41475 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41476 to avoid using stl/str to align destination.
41477
41478 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41479
41480 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41481
41482 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41483
41484 [BZ #17796]
41485 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41486 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41487 Define as weak alias not strong alias.
41488
41489 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41490
41491 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41492 bltzal with addiupc.
41493 (RTLD_START): Ditto.
41494
41495 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41496
41497 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41498 for __vdso_* functions in declarations.
41499 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41500 definitions.
41501 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41502 INTERNAL_VSYSCALL): Use struct return types to check for error.
41503
41504 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41505 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41506 function with cast from llround().
41507 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41508 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41509 Define.
41510
41511 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41512
41513 [BZ #17793]
41514 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41515 Define as weak alias not strong alias.
41516
41517 [BZ #17635]
41518 * ctype/ctype-c99.c: New file. isblank implementation moved from
41519 ...
41520 * ctype/ctype-extn.c: ... here.
41521 (__isblank_l): Move to ...
41522 * ctype/ctype-c99_l.c: ... here. New file.
41523 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41524 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41525 Remove variable.
41526 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41527 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41528 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41529 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41530 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41531
41532 [BZ #17777]
41533 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41534 (posix_fadvise64): Define as weak alias not strong alias.
41535 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41536 (posix_fallocate64): Likewise.
41537 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41538 Remove variable.
41539 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41540 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41541 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41542 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41543 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41544
41545 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41546
41547 [BZ #16191]
41548 * NEWS: Mention bug fix.
41549 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41550 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41551 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41552 (HOST_STACK_END_ADDR): Likewise.
41553
41554 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41555
41556 [BZ #17748]
41557 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41558 * math/fegetround.c (fegetround): Rename to __fegetround and
41559 define as weak alias of __fegetround. Use libm_hidden_weak.
41560 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41561 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41562 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41563 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41564 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41565 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41566 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41567 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41568 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41569 Undefine after rather than before function definition; use
41570 parentheses around function name in definition.
41571 (__fegetround): Also undefine macro after function definition.
41572 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41573 __fegetround and define as weak alias of __fegetround. Use
41574 libm_hidden_weak. Do not undefine as macro.
41575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41576 Likewise.
41577 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41578 __fegetround and define as weak alias of __fegetround. Use
41579 libm_hidden_weak.
41580 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41581 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41582 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41583 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41584 __fegetround and define as weak alias of __fegetround. Use
41585 libm_hidden_weak.
41586 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41587 __fegetround instead of fegetround.
41588
41589 [BZ #17782]
41590 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41591 Condition macro definition on [__USE_MISC].
41592
41593 [BZ #17781]
41594 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41595 (struct sigaction): Change type of sa_flags field to int.
41596
41597 [BZ #17780]
41598 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41599 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41600 __glibc_reserved0.
41601
41602 * nptl/version.c (banner): Use single year in copyright notice.
41603
41604 * NEWS: Update copyright dates.
41605 * catgets/gencat.c (print_version): Likewise.
41606 * csu/version.c (banner): Likewise.
41607 * debug/catchsegv.sh: Likewise.
41608 * debug/pcprofiledump.c (print_version): Likewise.
41609 * debug/xtrace.sh (do_version): Likewise.
41610 * elf/ldconfig.c (print_version): Likewise.
41611 * elf/ldd.bash.in: Likewise.
41612 * elf/pldd.c (print_version): Likewise.
41613 * elf/sotruss.sh: Likewise.
41614 * elf/sprof.c (print_version): Likewise.
41615 * iconv/iconv_prog.c (print_version): Likewise.
41616 * iconv/iconvconfig.c (print_version): Likewise.
41617 * locale/programs/locale.c (print_version): Likewise.
41618 * locale/programs/localedef.c (print_version): Likewise.
41619 * login/programs/pt_chown.c (print_version): Likewise.
41620 * malloc/memusage.sh (do_version): Likewise.
41621 * malloc/memusagestat.c (print_version): Likewise.
41622 * malloc/mtrace.pl: Likewise.
41623 * manual/libc.texinfo: Likewise.
41624 * nptl/version.c (banner): Likewise.
41625 * nscd/nscd.c (print_version): Likewise.
41626 * nss/getent.c (print_version): Likewise.
41627 * nss/makedb.c (print_version): Likewise.
41628 * posix/getconf.c (main): Likewise.
41629 * scripts/test-installation.pl: Likewise.
41630 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41631
41632 2015-01-02 Will Newton <will.newton@linaro.org>
41633
41634 * sysdeps/arm/armv7/configure: Removed.
41635 * sysdeps/arm/armv7/configure.ac: Likewise.
41636
41637 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41638
41639 * All files with FSF copyright notices: Update copyright dates
41640 using scripts/update-copyrights.
41641 * intl/plural.c: Regenerated.
41642 * locale/programs/charmap-kw.h: Likewise.
41643 * locale/programs/locfile-kw.h: Likewise.
41644
41645 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41646
41647 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41648
41649 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41650
41651 [BZ #17748]
41652 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41653 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41654 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41655 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41656 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41657 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41658 define as weak alias of __fegetenv. Use libm_hidden_weak.
41659 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41660 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41661 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41662 define as weak alias of __fegetenv. Use libm_hidden_weak.
41663 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41664 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41665 define as weak alias of __fegetenv. Use libm_hidden_weak.
41666 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41667 libm_hidden_def.
41668 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41670 Likewise.
41671 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41672 define as weak alias of __fegetenv. Use libm_hidden_weak.
41673 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41674 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41675 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41676 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41677 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41678 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41679 __fegetenv instead of fegetenv.
41680 (libc_feholdsetround_noex_ctx): Likewise.
41681
41682 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41683
41684 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41685 (Elf_MIPS_ABIFlags_v0): New structure.
41686 (EF_MIPS_FP64): Define.
41687 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41688 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41689 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41690 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41691 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41692 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41693 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41694 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41695 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41696 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41697 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41698 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41699 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41700 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41701 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41702 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41703 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41704 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41705 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41706 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41707 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41708 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41709 field.
41710 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41711 EF_MIPS_FP64.
41712 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41713 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41714 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41715 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41716 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41717 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41718 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41719 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41720 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41721 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41722 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41723 record the current FP ABI extension.
41724 (mips-mode-switch): Define to show if kernel headers support mode
41725 switching.
41726 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41727 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41728 supported SYSV ABI version to 3.
41729 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41730 feature.
41731
41732 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41733 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41734
41735 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41736 path.
41737 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41738
41739 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41740
41741 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41742 __fegetround and redefine to call __fegetround. Remove condition
41743 on [!__NO_MATH_INLINES].
41744 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41745 function.
41746 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41747 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41748 Remove macro.
41749 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41750 instead of <fenv_libc.h>.
41751 (__llrintl): Call fegetround instead of __fegetround.
41752 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41753 instead of <fenv_libc.h>.
41754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41755 (__lrintl): Call fegetround instead of __fegetround.
41756 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41757 instead of <fenv_libc.h>.
41758 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41759 (__rintl): Call fegetround instead of __fegetround.
41760
41761 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41762
41763 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41764 arrays.
41765
41766 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41767
41768 [BZ #17775]
41769 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41770 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41771 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41772
41773 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41774
41775 * sysdeps/i386/tls-macros.h: Include <features.h>.
41776 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41777 (TLS_IE): Likewise.
41778 (TLS_LD): Likewise.
41779 (TLS_GD): Likewise.
41780 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41781 define for GCC >= 5.0.
41782
41783 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41784
41785 * math/test-fenv.c (test_single_exception, set_single_exc,
41786 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41787 feexcp_mask_test, feenable_test, fe_single_test): Add
41788 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41789 case where they are not used.
41790 * math/libm-test.inc: Likewise.
41791 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41792 unused in the absence of FP rounding/exception support.
41793 * stdio-common/tst-printf-round.c: Likewise.
41794 * stdlib/tst-strtod-round.c: Likewise.
41795 * stdlib/tst-strtod-underflow.c: Likewise.
41796
41797 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41798
41799 [BZ #17723]
41800 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41801 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41802 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41803 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41804 libm_hidden_weak.
41805 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41806 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41807 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41808 libm_hidden_def.
41809 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41810 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41811 libm_hidden_weak.
41812 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41813 Likewise.
41814 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41815 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41816 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41817 libm_hidden_weak.
41818 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41819 libm_hidden_def.
41820 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41821 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41822 (__feraiseexcept): Likewise.
41823 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41824 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41825 libm_hidden_weak.
41826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41827 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41828 libm_hidden_def.
41829 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41830 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41831 Use libm_hidden_def.
41832 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41833 libm_hidden_def.
41834 (feraiseexcept): Define as weak not strong alias. Use
41835 libm_hidden_weak.
41836 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41837 New inline function. Factored out of ...
41838 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41839 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41840 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41841 feraiseexcept.
41842 * math/w_acos.c (__acos): Likewise.
41843 * math/w_asin.c (__asin): Likewise.
41844 * math/w_ilogb.c (__ilogb): Likewise.
41845 * math/w_j0.c (y0): Likewise.
41846 * math/w_j1.c (y1): Likewise.
41847 * math/w_jn.c (yn): Likewise.
41848 * math/w_log.c (__log): Likewise.
41849 * math/w_log10.c (__log10): Likewise.
41850 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41851 * sysdeps/aarch64/fpu/math_private.h
41852 (libc_feupdateenv_test_aarch64): Likewise.
41853 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41854 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41855 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41856 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41857 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41858 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41859 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41860 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41861 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41862 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41863
41864 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41865
41866 [BZ #17732]
41867 * io/test-utime.c (main): Replace %ld with %jd and cast to
41868 intmax_t.
41869 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41870 * nptl/tst-mutex5.c: Include <stdint.h>.
41871 (do_test): Replace %ld with %jd and cast to intmax_t.
41872 * posix/tst-regex.c (run_test): Likewise.
41873 (run_test_backwards): Likewise.
41874 * rt/tst-clock.c: Include <stdint.h>.
41875 (clock_test): Replace %ld with %jd and cast to intmax_t.
41876 * rt/tst-cpuclock1.c: Include <stdint.h>.
41877 (do_test): Replace %lu with %ju and cast to uintmax_t.
41878 * rt/tst-cpuclock2.c: Include <stdint.h>.
41879 (do_test): Replace %lu with %ju and cast to uintmax_t.
41880 * rt/tst-mqueue1.c: Include <stdint.h>.
41881 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41882 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41883 intmax_t.
41884 * rt/tst-mqueue4.c (do_test): Likewise.
41885 * rt/tst-timer4.c: Include <stdint.h>.
41886 (check_ts): Replace %ld with %jd and cast to intmax_t.
41887 (do_test): Likewise.
41888 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41889 and cast to intmax_t.
41890 * sysdeps/pthread/tst-timer.c (main): Likewise.
41891 * time/clocktest.c (main): Likewise.
41892 * time/tst-posixtz.c (do_test): Likewise.
41893 * timezone/tst-timezone.c (main): Likewise.
41894
41895 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41896 H.J. Lu <hongjiu.lu@intel.com>
41897
41898 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41899 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41900 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41901 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41902 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41903 version if bit_Fast_Unaligned_Load is set.
41904 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41905 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41906 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41907 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41908 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41909 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41911 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41912 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41913 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41914 to 4.
41915 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41916 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41917 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41918 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41919
41920 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41921
41922 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41923 instead of #if to avoid a Wundef warning.
41924 * stdlib/tst-limits.c (do_test): Likewise.
41925
41926 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41927 parallel other exception macros.
41928 (fegetenv): Convert from macro to extern inline so that it applies
41929 retroactively to inline functions already seen by the compiler.
41930 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41931
41932 * posix/Makefile (before-compile): Use $(objpfx) for
41933 posix-conf-vars-def.h.
41934
41935 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41936
41937 * posix/getconf.c (main): Use size_t for type of I.
41938 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41939 NSPEC.
41940
41941 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41942 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41943 * posix/posix-envs.def: Likewise.
41944 * sysdeps/posix/sysconf.c: Likewise.
41945 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41946 (specs): Remove array.
41947 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41948 array.
41949
41950 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41951 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41952 (__sysconf): Use CONF_IS_* macros.
41953
41954 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41955 ($(objpfx)posix-conf-vars-def.h): New target.
41956 * posix/posix-conf-vars.list: New file.
41957 * posix/posix-conf-vars.h: New file.
41958 * posix/confstr.c: Include posix-conf-vars.h.
41959 (confstr): Use CONF_IS_* macros.
41960 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41961 CONF_IS_* macros.
41962 * scripts/gen-posix-conf-vars.awk: New file.
41963
41964 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41965
41966 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41967 fegetround): Add no-op macros to avoid linknamespace issues.
41968
41969 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41970 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41971
41972 * sysdeps/unix/sysv/linux/tile/sysdep.h
41973 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41974 assembly-specific section to avoid a redefinition warning.
41975
41976 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41977 long before casting to pointer to avoid a cast warning.
41978
41979 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41980
41981 * sysdeps/tile/tilegx/Implies: New file.
41982
41983 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41984
41985 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41986
41987 2014-12-23 Florian Weimer <fweimer@redhat.com>
41988
41989 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41990
41991 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41992
41993 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41994 not define.
41995 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41996 <kernel-features.h>.
41997 (__utimes) [__NR_utimes]: Make code unconditional.
41998 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41999 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42000 (__ASSUME_UTIMES): Do not undefine.
42001 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42002 (__ASSUME_UTIMES): Likewise.
42003 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42004 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42005 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42006 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42007
42008 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42009
42010 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42011
42012 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
42013
42014 [BZ #17747]
42015 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42016 alias to weak alias for j0l, y0l.
42017 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42018 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42019
42020 [BZ #17746]
42021 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42022 conversion.
42023
42024 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42025
42026 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42027 to zero if not already defined.
42028
42029 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42030
42031 [BZ #17724]
42032 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42033 (__kernel_standard_f): Remove. Moved to k_standardf.c.
42034 (__kernel_standard_l): Remove. Moved to k_standardl.c with
42035 (char *) casts added.
42036 * sysdeps/ieee754/k_standardf.c: New file.
42037 * sysdeps/ieee754/k_standardl.c: Likewise.
42038 * math/Makefile (libm-support): Remove k_standard.
42039 (libm-calls): Add k_standard.
42040
42041 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42042
42043 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42044 Optimize to avoid an unnecessary FPCR read.
42045
42046 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42047
42048 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42049 Optimize to reduce FPCR/FPSR accesses.
42050
42051 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42052
42053 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42054 Call libc_fetestexcept_aarch64.
42055
42056 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42057
42058 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42059 Call libc_fesetround_aarch64.
42060
42061 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42062
42063 [BZ #17733]
42064 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42065 (__bind): Do not define as weak alias.
42066 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42067 define.
42068 (__getsockname): Do not define as weak alias.
42069
42070 2014-12-22 Will Newton <will.newton@linaro.org>
42071
42072 * manual/install.texi: Document that we require bison 2.7
42073 or above.
42074 * INSTALL: Regenerate.
42075 * configure.ac: Use AC_CHECK_PROG_VER instead of
42076 AC_PATH_PROG when checking for bison and check for
42077 version 2.7 or above.
42078 * configure: Regenerate.
42079
42080 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
42081
42082 [BZ #17745]
42083 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42084 * sysdeps/tile/ffsll.c (ffsll): To here.
42085
42086 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42087
42088 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42089
42090 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42091 if not defined.
42092 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42093 definition.
42094 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42095 hidden ___tls_get_addr.
42096 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42097 hidden __tls_get_addr.
42098 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42099 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42100 Likewise.
42101
42102 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
42103
42104 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42105 _dl_init call.
42106
42107 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42108
42109 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42110 from "call _dl_init@PLT".
42111 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42112
42113 2014-12-21 Anders Kaseorg <andersk@mit.edu>
42114
42115 * manual/search.texi: (Array Sort Function): Clarify stable sorting
42116 guarantees.
42117
42118 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
42119
42120 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42121
42122 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42123
42124 [BZ #17744]
42125 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42126 strnlen.
42127
42128 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42129
42130 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42131 of multu on MIPSr6.
42132 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42133 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42134 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42135 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42136 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42137
42138 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42139
42140 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42141 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42142 (PTR_SUBU): Use subu for mips32r6/mips64r6.
42143 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42144 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42145 mips32r6/mips64r6.
42146 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42147
42148 2014-12-19 Ondƙej Bílka <neleai@seznam.cz>
42149
42150 * string/strncat.c (STRNCAT): Simplify implementation.
42151
42152 2014-12-19 David S. Miller <davem@davemloft.net>
42153
42154 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42155 access the quad as both a long double and as a series of 4 words.
42156
42157 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42158 link_map->l_info array access.
42159
42160 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42161
42162 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42163
42164 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42165 * math/atest-exp2.c (TIMEOUT): Likewise.
42166 * math/atest-sincos.c (TIMEOUT): Likewise.
42167
42168 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42169
42170 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42171 -Wno-error with -fno-builtin-lround.
42172
42173 2014-12-19 Torvald Riegel <triegel@redhat.com>
42174
42175 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42176 Contains futex constants and functions moved over from ...
42177 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
42178 <lowlevellock-futex.h>.
42179 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42180 (lll_timedwait_tid): Add comments and parentheses around macro
42181 arguments.
42182
42183 2014-12-19 Torvald Riegel <triegel@redhat.com>
42184
42185 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42186 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42187 (__lll_private_flag): Remove.
42188 (lll_futex_wait): Likewise.
42189 (lll_futex_timed_wait): Likewise.
42190 (lll_futex_wake): Likewise.
42191 (lll_futex_requeue): Likewise.
42192 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42193 (__lll_timedwait_tid): Spell out argument names.
42194 (lll_timedwait_tid): Add comments and parentheses around macro
42195 arguments.
42196 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42197 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42198
42199 2014-12-19 Torvald Riegel <triegel@redhat.com>
42200
42201 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42202 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42203 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42204 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42205 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42206 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42207 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42208 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42209 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42211 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42213 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42214 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42215 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42216 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42217 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42218 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42219 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42220
42221 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42222
42223 * sysdeps/x86_64/x32/Makefile: New file.
42224
42225 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42226
42227 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42228 1L with (mp_limb_t) 1.
42229
42230 2014-12-17 Roland McGrath <roland@hack.frob.com>
42231
42232 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42233 * nptl/libc_pthread_init.c: ... here.
42234 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42235 * nptl/register-atfork.c: ... here.
42236
42237 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42238 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42239 Use assert_perror to check its return value.
42240 (__gai_create_helper_thread): Likewise.
42241
42242 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42243
42244 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42245
42246 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42247
42248 [BZ #17725]
42249 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42250 __profil_counter.
42251 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42252 Likewise.
42253 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42254 Likewise.
42255 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42256 Likewise.
42257 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42258 (profil_counter): Likewise.
42259 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42260 (profil_counter): Likewise.
42261 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42262 Likewise.
42263 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42264 Likewise.
42265 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42266 (profil_counter): Likewise.
42267 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42268 Likewise.
42269 [!__profil_counter] (profil_counter): Define as weak alias of
42270 __profil_counter.
42271 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42272 (profil_counter): Rename to __profil_counter.
42273 [!__profil_counter] (profil_counter): Define as weak alias of
42274 __profil_counter.
42275 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42276 (profil_counter): Rename to __profil_counter.
42277 [!__profil_counter] (profil_counter): Define as weak alias of
42278 __profil_counter.
42279 * sysdeps/posix/profil.c: Update comment referring to
42280 profil_counter.
42281 (__profil): Use __profil_counter instead of profil_counter.
42282 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42283 __profil_counter. Use __profil_counter_ushort and
42284 __profil_counter_uint in definitions.
42285 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42286 instead of profil_counter_uint and profil_counter_ushort.
42287
42288 [BZ #17722]
42289 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42290 define as weak alias of __inet_makeaddr.
42291 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42292 as weak alias of __inet_addr.
42293 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42294 as weak alias of __inet_pton. Use libc_hidden_weak.
42295 * include/arpa/inet.h (__inet_pton): Declare. Use
42296 libc_hidden_proto.
42297 (inet_makeaddr): Don't use libc_hidden_proto.
42298 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42299 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42300 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42301 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42302 Remove variable.
42303 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42304 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42305
42306 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42307
42308 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42309
42310 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42311
42312 * stdio-common/bug-vfprintf-nargs.c (do_test):
42313 Cast value to intptr_t to avoid format warning
42314 for usage with PRIdPTR printing macro.
42315
42316 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42317
42318 * libio/tst-widetext.c (do_test):
42319 Use format type %td instead of %Zd for ptrdiff_t
42320 in order to avoid format warning.
42321
42322 2014-12-17 Andreas Schwab <schwab@suse.de>
42323
42324 * nscd/mem.c (gc): Add size_t cast to match printf format.
42325
42326 2014-12-16 Roland McGrath <roland@hack.frob.com>
42327
42328 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42329 (init): Apply PTR_MANGLE to pointers before storing them.
42330 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42331 before using them.
42332
42333 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42334
42335 [BZ #17719]
42336 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42337 define as weak alias of __memrchr.
42338 (__memrchr): Do not define as strong alias of memrchr.
42339 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42340 Remove variable.
42341 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42342 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42343 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42344
42345 [BZ #17717]
42346 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42347 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42348 (if_indextoname): Rename to __if_indextoname and define as weak
42349 alias of __if_indextoname. Use libc_hidden_weak.
42350 (if_freenameindex): Rename to __if_freenameindex and define as
42351 weak alias of __if_freenameindex.
42352 (if_nameindex): Rename to __if_nameindex and define as weak alias
42353 of __if_nameindex.
42354 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42355 __if_nametoindex and define as weak alias of __if_nametoindex.
42356 Use libc_hidden_weak.
42357 (if_freenameindex): Rename to __if_freenameindex and define as
42358 weak alias of __if_freenameindex.
42359 (if_nameindex): Rename to __if_nameindex and define as weak alias
42360 of __if_nameindex.
42361 (if_indextoname): Rename to __if_indextoname and define as weak
42362 alias of __if_indextoname. Use libc_hidden_weak.
42363 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42364 __if_nametoindex and define as weak alias of __if_nametoindex.
42365 Use libc_hidden_weak.
42366 (if_freenameindex): Rename to __if_freenameindex and define as
42367 weak alias of __if_freenameindex. Use libc_hidden_weak.
42368 (if_nameindex_netlink): Use __if_freenameindex instead of
42369 if_freenameindex.
42370 (if_nameindex): Rename to __if_nameindex and define as weak alias
42371 of __if_nameindex. Use libc_hidden_weak.
42372 (if_indextoname): Rename to __if_indextoname and define as weak
42373 alias of __if_indextoname. Use libc_hidden_weak.
42374 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42375 libc_hidden_proto.
42376 [!_ISOMAC] (__if_freenameindex): Likewise.
42377 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42378 if_nametoindex.
42379 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42380 variable.
42381 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42382 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42383 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42384 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42385 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42386 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42387 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42388
42389 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42390 Remove variable.
42391 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42392 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42393
42394 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42395
42396 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42397 subscript above bounds'
42398
42399 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42400 bounds.
42401
42402 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42403
42404 * libio/tst-fopenloc.c: Use test-skeleton.c.
42405
42406 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42407 (entry): Rename to ITEM.
42408 (do_test, comp): Adjust.
42409
42410 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42411
42412 2014-12-16 Torvald Riegel <triegel@redhat.com>
42413
42414 * string/tester.c: Include <libc-internal.h>.
42415 (test_memset): Ignore -Wmemset-transposed-args.
42416
42417 2014-12-16 Torvald Riegel <triegel@redhat.com>
42418
42419 * misc/tst-mntent2.c (do_test): Fix warning.
42420
42421 2014-12-16 Torvald Riegel <triegel@redhat.com>
42422
42423 * elf/tst-unique4lib.cc(a): Mark as used.
42424
42425 2014-12-16 Florian Weimer <fweimer@redhat.com>
42426
42427 [BZ #17630]
42428 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42429 names.
42430
42431 2014-12-16 Allan McRae <allan@archlinux.org>
42432
42433 * stdio-common/Makefile (tests): Re-add bug26.
42434
42435 2014-12-15 Ondƙej Bílka <neleai@seznam.cz>
42436
42437 [BZ #17657]
42438 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42439 static array.
42440
42441 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42442
42443 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42444 (__lll_lock_wait): Likewise.
42445 (__lll_timedlock_wait): Likewise.
42446 (__lll_timedwait_tid): Likewise.
42447 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42448 (__lll_robust_timedlock_wait): Likewise.
42449 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42450 (lll_cond_trylock): Likewise.
42451 (__lll_lock): Likewise.
42452 (__lll_robust_lock): Likewise.
42453 (__lll_cond_lock): Likewise.
42454 (lll_robust_cond_lock): Likewise.
42455 (__lll_timedlock): Likewise.
42456 (__lll_robust_timedlock): Likewise.
42457 (__lll_unlock): Likewise.
42458 (__lll_robust_unlock): Likewise.
42459 (lll_wait_tid): Likewise.
42460 (lll_timedwait_tid): Likewise.
42461
42462 2014-12-15 Torvald Riegel <triegel@redhat.com>
42463
42464 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42465
42466 2014-12-15 Torvald Riegel <triegel@redhat.com>
42467
42468 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42469
42470 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42471
42472 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42473 * stdio-common/tst-sprintf.c: Likewise.
42474
42475 2014-12-15 Torvald Riegel <triegel@redhat.com>
42476
42477 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42478
42479 2014-12-15 Jeff Law <law@redhat.com>
42480
42481 [BZ #16617]
42482 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42483 on the heap. (CVE-2012-3406)
42484 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42485 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42486 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42487
42488 2014-12-15 Will Newton <will.newton@linaro.org>
42489
42490 * manual/install.texi: Bump required version of texinfo
42491 to 4.7 from 4.5.
42492 * INSTALL: Regenerated.
42493 * configure.ac: Check for makeinfo version 4.7 and above.
42494 * configure: Regenerated.
42495
42496 2014-12-12 Roland McGrath <roland@hack.frob.com>
42497
42498 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42499 PREFIX, string constant to insert between directory and name.
42500 * sysdeps/posix/shm_open.c: Update caller.
42501 * sysdeps/posix/shm_unlink.c: Likewise.
42502 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42503 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42504 (SEM_SHM_PREFIX): New macro.
42505 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42506 [$(have-thread-library) = no].
42507 * nptl/Makefile (libpthread-routines): Add shm-directory.
42508 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42509 * sysdeps/nptl/shm-directory.h: New file.
42510 * sysdeps/posix/shm-directory.c
42511 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42512 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42513 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42514 INTERNAL_SYSCALL.
42515 (__where_is_shmfs): Function removed.
42516 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42517 Variables removed.
42518 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42519 Use SHM_GET_NAME.
42520 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42521
42522 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42523 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42524 unconditional for use inside libpthread.
42525 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42526
42527 2014-12-12 Roland McGrath <roland@hack.frob.com>
42528
42529 * nptl/pthread_getaffinity.c: New file.
42530 * nptl/pthread_setaffinity.c: New file.
42531 * nptl/pthread_getname.c: New file.
42532 * nptl/pthread_setname.c: New file.
42533
42534 * nptl/pthread_create.c (START_THREAD_DEFN)
42535 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42536
42537 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42538 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42539
42540 * resolv/res_send.c (send_vc): Disable warning resplen may
42541 be used uninitialized.
42542
42543 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42544
42545 * nptl/tst-mutex6.c
42546 (ATTR_NULL): New define checks ATTR against NULL.
42547 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42548 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42549
42550 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42551
42552 [BZ #17581]
42553 * malloc/hooks.c
42554 (mem2mem_check): Revert my previous change.
42555 (malloc_check_get_size): Revert my previous change.
42556 (mem2chunk_check): Revert my previous change.
42557
42558 2014-12-11 Roland McGrath <roland@hack.frob.com>
42559
42560 * sysdeps/posix/shm-directory.c: New file.
42561 * sysdeps/posix/shm-directory.h: New file.
42562 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42563 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42564 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42565 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42566 Transmute EPERM to EACCES.
42567 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42568 from ...
42569 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42570 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42571
42572 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42573
42574 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42575 pointer and cast to uintptr_t.
42576 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42577 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42578 Add cast to avoid warning.
42579 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42580
42581 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42582
42583 * nptl/semaphore.h: Move to ...
42584 * sysdeps/pthread/semaphore.h: ... here.
42585 * Makefile (installed-headers): Change nptl/semaphore.h to
42586 sysdeps/pthread/semaphore.h.
42587
42588 2014-12-11 Roland McGrath <roland@hack.frob.com>
42589
42590 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42591 generated error format strings.
42592
42593 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42594 -Wformat-extra-args warnings for scanf formats.
42595 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42596 test of zero-length format (duh).
42597 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42598 corner-case scanf format test.
42599 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42600 generated fprintf format string.
42601 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42602 corner-case sprintf format tests.
42603 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42604 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42605 -Wformat-extra-args warnings throughout.
42606 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42607 (CFLAGS-scanf4.c): Likewise.
42608 (CFLAGS-scanf7.c): Likewise.
42609 (CFLAGS-tst-sprintf.c): Likewise.
42610 (CFLAGS-tst-printf.c): Likewise.
42611 (CFLAGS-tst-printfsz.c): Likewise.
42612
42613 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42614
42615 * include/cpio.h: New file.
42616 * include/fmtmsg.h: Likewise.
42617
42618 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42619 corresponding format argument to size_t.
42620 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42621 arguments.
42622 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42623 corresponding format argument to size_t.
42624 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42625 arguments.
42626 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42627 corresponding format argument to size_t.
42628 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42629 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42630 (CFLAGS-tst-mbswcs2.c): Likewise.
42631 (CFLAGS-tst-mbswcs3.c): Likewise.
42632 (CFLAGS-tst-mbswcs4.c): Likewise.
42633 (CFLAGS-tst-mbswcs5.c): Likewise.
42634 (CFLAGS-tst-trans.c): Likewise.
42635
42636 2014-12-11 Roland McGrath <roland@hack.frob.com>
42637
42638 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42639 rather than assuming they won't contain any '%'s.
42640
42641 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42642
42643 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42644 inhibit_loop_to_libcall to avoid recursive calls.
42645 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42646 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42647
42648 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42649
42650 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42651 prototype.
42652
42653 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42654
42655 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42656 integer value instead of boolean.
42657
42658 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42659
42660 * malloc/malloc.c: Fix powerof2 check.
42661
42662 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42663
42664 * locale/programs/locfile.h (maybe_swap_uint32):
42665 Remove inline and add unused attribute.
42666
42667 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42668
42669 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42670 Truncating assembler expression to a .long expression.
42671
42672 2014-12-11 Andreas Schwab <schwab@suse.de>
42673
42674 * elf/rtld.c (struct map_args): Constify str member.
42675 (do_preload): Constify fname argument.
42676
42677 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42678
42679 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42680 constants definition.
42681
42682 2014-12-11 Andreas Schwab <schwab@suse.de>
42683
42684 [BZ #16657]
42685 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42686 FORCE_ELISION instead of DO_ELISION.
42687 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42688 Remove.
42689 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42690 Likewise.
42691
42692 * iconvdata/gconv-modules: Remove duplicate entry.
42693
42694 2014-12-11 Will Newton <will.newton@linaro.org>
42695
42696 Merge gettext 0.19.3 into intl/.
42697
42698 This involves a number of cosmetic changes to comments
42699 and ANSI function definitions and prototypes throughout
42700 all the files. The gettext copyright header is used but
42701 with the date ranges taken from the glibc copy.
42702
42703 * NEWS: Add gettext merge to 2.21.
42704 * intl/bindtextdom.c: Switch to gettext copyright.
42705 Use ANSI definitions and prototypes.
42706 Use gl_* locking primitives rather than __libc_* ones.
42707 Use __builtin_expect rather than __glibc_likely/unlikely.
42708 * intl/dcgettext.c: Switch to gettext copyright.
42709 Use ANSI definitions and prototypes.
42710 * intl/dcigettext.c: Switch to gettext copyright.
42711 Use ANSI definitions and prototypes.
42712 (INTDIV0_RAISES_SIGFPE): New define.
42713 Use gl_* locking primitives rather than __libc_* ones.
42714 Include eval-plural.h instead of plural-eval.c.
42715 Use __builtin_expect rather than __glibc_likely/unlikely.
42716 * intl/dcngettext.c: Switch to gettext copyright.
42717 Use ANSI definitions and prototypes.
42718 * intl/dgettext.c: Likewise.
42719 * intl/dngettext.c: Likewise.
42720 * intl/plural-eval.c: Renamed to...
42721 * intl/eval-plural.h: ...this.
42722 * intl/explodename.c: Switch to gettext copyright.
42723 Use ANSI definitions and prototypes.
42724 (_nl_explode_name): Use strchr instead of __rawmemchr.
42725 * intl/finddomain.c: Switch to gettext copyright.
42726 Use ANSI definitions and prototypes.
42727 Use gl_* locking primitives rather than __libc_* ones.
42728 (_nl_find_domain): Use malloc rather than alloca for
42729 allocation of temporary locale name.
42730 * intl/gettext.c: Switch to gettext copyright.
42731 Use ANSI definitions and prototypes.
42732 * intl/gettextP.h: Switch to gettext copyright.
42733 Use ANSI definitions and prototypes.
42734 Use gl_* locking primitives rather than __libc_* ones.
42735 * intl/gmo.h: Switch to gettext copyright.
42736 (struct sysdep_string): Move struct segment_pair outside of
42737 struct definition.
42738 * intl/hash-string.c: Use ANSI definitions and prototypes.
42739 * intl/hash-string.h: Switch to gettext copyright.
42740 Use ANSI definitions and prototypes.
42741 * intl/l10nflist.c: Switch to gettext copyright.
42742 Use ANSI definitions and prototypes.
42743 (_nl_normalize_codeset): Avoid integer overflow.
42744 * intl/loadinfo.h: Switch to gettext copyright.
42745 Use ANSI definitions and prototypes.
42746 (LIBINTL_DLL_EXPORTED): New define.
42747 (PATH_SEPARATOR): New define.
42748 * intl/loadmsgcat.c: Switch to gettext copyright.
42749 * intl/localealias.c: Switch to gettext copyright.
42750 Use ANSI definitions and prototypes.
42751 (_nl_expand_alias): Use PATH_SEPARATOR.
42752 * intl/ngettext.c: Switch to gettext copyright.
42753 Use ANSI definitions and prototypes.
42754 * intl/plural-exp.c: Likewise.
42755 * intl/plural-exp.h: Switch to gettext copyright.
42756 Use ANSI definitions and prototypes.
42757 (struct expression): Move definition of enum operator outside
42758 of struct definition.
42759 * intl/plural.c: Regenerate.
42760 * intl/plural.y: Switch to gettext copyright.
42761 Use ANSI definitions and prototypes.
42762 Port to bison 3.0.
42763 * intl/textdomain.c: Switch to gettext copyright.
42764 Use ANSI definitions and prototypes.
42765 Use gl_* locking primitives rather than __libc_* ones.
42766
42767 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42768
42769 * debug/warning-nop.c: Add used atrribute.
42770
42771 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42772
42773 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42774
42775 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42776 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42777 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42778
42779 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42780 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42781
42782 [BZ #17634]
42783 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42784 Undefine after defining function. Define as weak alias of
42785 __wcschr. Use libc_hidden_weak.
42786 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42787 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42788 (libc_hidden_def): Also define __GI___wcschr alias.
42789 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42790 __wcschr and define as weak alias of __wcschr.
42791 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42792 __wcschr.
42793 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42794 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42795 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42796 libc_hidden_weak. Do not use libc_hidden_def.
42797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42798 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42799 __GI___wcschr alias.
42800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42801 [IS_IN (libc)] (wcschr): Define as macro expanding to
42802 __redirect_wcschr.
42803 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42804 [IS_IN (libc)] (__wcschr_power6): Likewise.
42805 [IS_IN (libc)] (__wcschr_power7): Likewise.
42806 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42807 instead of wcschr.
42808 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42809 __libc_wcschr.
42810 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42811 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42812 __wcschr and define as weak alias of __wcschr. Use
42813 libc_hidden_builtin_def.
42814 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42815 as weak alias of __wcschr. Use libc_hidden_weak.
42816 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42817 wcschr.
42818 * time/era.c (_nl_init_era_entries): Likewise.
42819 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42820 variable.
42821 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42822 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42823
42824 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42825
42826 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42827 format for long int variable.
42828
42829 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42830
42831 [BZ #10672]
42832 * manual/search.texi: (Array Sort Function): Remove claim how to make
42833 qsort stable.
42834
42835 2014-12-10 Andreas Schwab <schwab@suse.de>
42836
42837 [BZ #12847]
42838 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42839 user-controlled locks.
42840
42841 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42842
42843 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42844 register.
42845
42846 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42847
42848 * configure.ac (--disable-werror): New configure option.
42849 (enable_werror): New AC_SUBST.
42850 * configure: Regenerated.
42851 * config.make.in (enable-werror): New variable.
42852 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42853 -Wno-error=undef.
42854 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42855 * manual/install.texi (Configuring and compiling): Document
42856 --disable-werror.
42857 * INSTALL: Regenerated.
42858 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42859 (CFLAGS-tst-chk2.c): Likewise.
42860 (CFLAGS-tst-chk3.c): Likewise.
42861 (CFLAGS-tst-chk4.cc): Likewise.
42862 (CFLAGS-tst-chk5.cc): Likewise.
42863 (CFLAGS-tst-chk6.cc): Likewise.
42864 (CFLAGS-tst-lfschk1.c): Likewise.
42865 (CFLAGS-tst-lfschk2.c): Likewise.
42866 (CFLAGS-tst-lfschk3.c): Likewise.
42867 (CFLAGS-tst-lfschk4.cc): Likewise.
42868 (CFLAGS-tst-lfschk5.cc): Likewise.
42869 (CFLAGS-tst-lfschk6.cc): Likewise.
42870
42871 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42872 (main): Disable -Wdeprecated-declarations around calls to
42873 register_printf_function.
42874
42875 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42876 (do_test): Disable -Wdiv-by-zero around some calls to
42877 fwrite_unlocked and fread_unlocked.
42878
42879 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42880 (DIAG_POP_NEEDS_COMMENT): Likewise.
42881 (_DIAG_STR1): Likewise.
42882 (_DIAG_STR): Likewise.
42883 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42884 * stdio-common/bug21.c: Include <libc-internal.h>.
42885 (do_test): Disable -Wformat around call to sscanf.
42886 * stdio-common/scanf14.c: Include <libc-internal.h>.
42887 (main): Disable -Wformat around some calls to scanf functions.
42888
42889 2014-12-09 Torvald Riegel <triegel@redhat.com>
42890
42891 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42892
42893 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42894
42895 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42896 stack variable alignment.
42897
42898 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42899
42900 [BZ #17682]
42901 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42902 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42903 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42904 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42905 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42906 __getrlimit instead of getrlimit.
42907 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42908 __gettimeofday instead of gettimeofday.
42909 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42910 Likewise.
42911 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42912 Likewise.
42913 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42914 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42915 Remove variable.
42916 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42917 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42918
42919 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42920
42921 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42922 for wide-character tests.
42923
42924 2014-12-04 Roland McGrath <roland@hack.frob.com>
42925
42926 * io/openat64.c: #include <libc-internal.h>
42927 (__openat64): Prototypify. Use ignore_value on MODE.
42928 * io/openat.c: Likewise.
42929 * misc/reboot.c: #include <libc-internal.h>
42930 (reboot): Prototypify. Use ignore_value on HOWTO.
42931 * misc/ptrace.c: #include <libc-internal.h>
42932 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42933
42934 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42935
42936 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42937 XPG4, UNIX98 and XOPEN2K.
42938 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42939 Remove variable.
42940 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42941
42942 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42943
42944 * libio/fileops.c: Use ISO C style for function definitions.
42945 * libio/iofopen.c: Likewise.
42946 * libio/wfileops.c: Likewise.
42947
42948 [BZ #17653]
42949 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42950 offset on EOF.
42951 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42952 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42953 (fgets_func): Function pointer to fgets and fgetws.
42954 (do_ftell_test): Add test to verify ftell value after read
42955 EOF.
42956 (do_test): Set fgets_func.
42957
42958 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42959 O_TRUNC flag for w and w+ modes.
42960 (do_rewind_test): Likewise.
42961 (do_ftell_test): Likewise.
42962 (do_write_test): Likewise.
42963
42964 [BZ #17647]
42965 * libio/fileops.c (do_ftell): Seek only when there are
42966 unflushed writes.
42967 * libio/wfileops.c (do_ftell_wide): Likewise.
42968 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42969 test case.
42970 (do_one_test): Call it.
42971
42972 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42973
42974 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42975 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42976 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42977 Remove variable.
42978 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42979 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42980 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42981
42982 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42983
42984 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42985 Remove variable.
42986 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42987
42988 [BZ #17668]
42989 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42990 as weak alias of __getifaddrs. Use libc_hidden_weak.
42991 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42992 __freeifaddrs. Use libc_hidden_weak.
42993 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42994 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42995 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42996 __freeifaddrs. Use libc_hidden_weak.
42997 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42998 __getifaddrs and define as weak alias of __getifaddrs. Use
42999 libc_hidden_weak.
43000 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43001 __freeifaddrs. Use libc_hidden_weak.
43002 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43003 Remove variable.
43004 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43005 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43006
43007 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
43008
43009 [BZ #17601]
43010 * sysdeps/mips/start.S (__start): Use indirect jump to call
43011 __libc_start_main.
43012
43013 2014-12-02 Joseph Myers <joseph@codesourcery.com>
43014
43015 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43016
43017 * nptl/tst-mutex1.c: Include <stdbool.h>.
43018 [!ATTR] (ATTR_NULL): New macro.
43019 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43020 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43021 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43022
43023 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43024 to char *.
43025
43026 [BZ #17665]
43027 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43028 Change conditional to [__USE_MISC].
43029
43030 [BZ #17664]
43031 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43032 fgets_unlocked.
43033 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43034 __fgets_unlocked.
43035 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43036 fgets_unlocked.
43037 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43038 Remove variable.
43039 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43040 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43041 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43042 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43043 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43044 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43045 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43046 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43047 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43048
43049 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43050
43051 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43052
43053 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43054 Remove strpbrk objects.
43055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43056 (__libc_ifunc_impl_list): Remove strpbrk implementation.
43057 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43058 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43059 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43060 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43061
43062 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43063 Remove strcspn objects.
43064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43065 (__libc_ifunc_impl_list): Remove strcspn implementation.
43066 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43067 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43068 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43069 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43070
43071 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43072 Remove strspn objetcs.
43073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43074 (__libc_ifunc_impl_list): Remove strspn implementation.
43075 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43076 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43077 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43078 * sysdeps/powerpc/powerpc64/strspn.S: New file.
43079
43080 2014-12-01 James Lemke <jwlemke@codesourcery.com>
43081
43082 [BZ #17581]
43083 * malloc/hooks.c
43084 (mem2mem_check): Add a terminator to the chain of checking blocks.
43085 (malloc_check_get_size): Use it here.
43086 (mem2chunk_check): Ditto.
43087
43088 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43089
43090 * sysdeps/powerpc/powerpc64/strtok.S: New file.
43091 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43092
43093 2014-11-29 Carlos O'Donell <carlos@redhat.com>
43094
43095 * bits/ioctl-types.h: Indent preprocessor directives correctly.
43096
43097 * nptl/nptl-init.c: Include libc-internal.h.
43098 (__pthread_initialize_minimal_internal): Use ROUND_UP.
43099
43100 * elf/ldconfig.c (search_dir): Expand comment.
43101
43102 2014-11-29 Joseph Myers <joseph@codesourcery.com>
43103
43104 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43105 variable.
43106 (linknamespace-symlist-stdlibs-tests): Likewise.
43107 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43108 instead of $(objpfx)symlist-stdlibs.
43109 (linknamespace-libs-isoc): New variable.
43110 (linknamespace-libs): Use $(linknamespace-libs-isoc).
43111 (linknamespace-libs-ISO): New variable.
43112 (linknamespace-libs-ISO99): Likewise.
43113 (linknamespace-libs-ISO11): Likewise.
43114 (linknamespace-libs-XPG3): Likewise.
43115 (linknamespace-libs-XPG4): Likewise.
43116 (linknamespace-libs-POSIX): Likewise.
43117 (linknamespace-libs-UNIX98): Likewise.
43118 (linknamespace-libs-XOPEN2K): Likewise.
43119 (linknamespace-libs-POSIX2008): Likewise.
43120 (linknamespace-libs-XOPEN2K8): Likewise.
43121 ($(objpfx)symlist-stdlibs): Replace by
43122 $(linknamespace-symlist-stdlibs-tests). Use
43123 $(linknamespace-libs-$*) as set of libraries.
43124 ($(linknamespace-header-tests)): Update dependencies. Use
43125 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43126 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43127 * conform/linknamespace.pl: Remove comment about considering
43128 definitions of symbols from irrelevant libraries.
43129
43130 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
43131
43132 [BZ #13862]
43133 * elf/dl-tls.c: Include <atomic.h>.
43134 (oom): Remove #ifdef SHARED/#endif.
43135 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43136 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
43137 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43138 big enough.
43139 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43140 * nptl/Makefile (tests): Add tst-stack4.
43141 (modules-names): Add tst-stack4mod.
43142 ($(objpfx)tst-stack4): New.
43143 (tst-stack4mod.sos): Likewise.
43144 ($(objpfx)tst-stack4.out): Likewise.
43145 ($(tst-stack4mod.sos)): Likewise.
43146 (clean): Likewise.
43147 * nptl/tst-stack4.c: New file.
43148 * nptl/tst-stack4mod.c: Likewise.
43149
43150 2014-11-27 J. Brown <jb999@gmx.de>
43151
43152 * sysdeps/x86/bits/string.h: Add recent CPUs.
43153
43154 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43155
43156 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43157 sigblock.
43158
43159 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43160 feof.
43161
43162 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43163 variable.
43164
43165 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
43166
43167 * nscd/connections.c: Include libc-internal.h because of macro
43168 usage ignore_value.
43169
43170 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43171
43172 * string/bits/string3.h (__warn_memset_zero_len): Don't
43173 declare for gcc newer than 5.0.
43174 (memset): Don't test for zero-length __LEN for gcc newer than
43175 5.0.
43176
43177 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43178
43179 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43180 size_t for %zu format.
43181
43182 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43183 difference, not %ju.
43184
43185 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43186
43187 * include/libc-internal.h (ignore_value): New macro.
43188 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43189 with ignore_value.
43190
43191 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43192 definition.
43193
43194 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43195 pthread_cleanup_push to void *.
43196
43197 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43198 Undefine.
43199
43200 [BZ #16619]
43201 [BZ #16740]
43202 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43203 instead of 1L << 52.
43204
43205 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43206 * libio/bug-rewind2.c (do_test): Likewise.
43207
43208 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43209 * debug/test-strcpy_chk-ifunc.c: Likewise.
43210 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43211 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43212 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43213 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43214 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43215 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43216 * Rules [$(multi-arch) = no] (tests): Do not filter out
43217 $(tests-ifunc).
43218 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43219 * debug/Makefile (tests-ifunc): Remove variable.
43220 (tests): Do not add $(tests-ifunc).
43221 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43222 (tests): Do not add $(tests-ifunc).
43223 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43224 [TEST_IFUNC]: Remove conditionals.
43225 * string/test-string.h (TEST_IFUNC): Remove macro.
43226 [TEST_IFUNC]: Remove conditionals.
43227
43228 * string/test-strchr.c [!WIDE] (L): New macro.
43229 [WIDE] (L): Likewise.
43230 (check1): Use CHAR instead of char. Use L on string and character
43231 constants.
43232
43233 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43234
43235 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43236 tests.
43237 * sysdeps/powerpc/bits/atomic.h
43238 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43239 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43240 (atomic_exchange_and_add_acq): Likewise.
43241 (atomic_exchange_and_add_rel): Likewise.
43242 * sysdeps/powerpc/powerpc32/bits/atomic.h
43243 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43244 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43245 * sysdeps/powerpc/powerpc64/bits/atomic.h
43246 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43247 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43248
43249 2014-11-26 Torvald Riegel <triegel@redhat.com>
43250
43251 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43252 Change synchronization of __sched_fifo_min_prio and
43253 __sched_fifo_max_prio.
43254 * nptl/pthread_mutexattr_getprioceiling.c
43255 (pthread_mutexattr_getprioceiling): Likewise.
43256 * nptl/pthread_mutexattr_setprioceiling.c
43257 (pthread_mutexattr_setprioceiling): Likewise.
43258 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43259 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43260 Likewise.
43261
43262 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43263
43264 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43265 void.
43266
43267 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43268
43269 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43270 third argument const.
43271
43272 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43273
43274 fnmatch: work around GCC compiler warning bug with uninit var
43275 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43276 This works around a bug with x86-64 GCC 4.9.2 and earlier
43277 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43278 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43279 used uninitialized in this function [-Wmaybe-uninitialized]".
43280
43281 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43282
43283 * posix/bug-regex31.c (main): Return RES not 0.
43284
43285 2014-11-25 Anton Blanchard <anton@samba.org>
43286
43287 * sysdeps/powerpc/bits/atomic.h
43288 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43289
43290 2014-11-24 Sterling Augustine <saugustine@google.com>
43291
43292 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43293
43294 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43295
43296 [BZ #17608]
43297 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43298
43299 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43300
43301 [BZ #17633]
43302 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43303 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43304 variable.
43305 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43306 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43307
43308 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43309
43310 * string/strncpy.c (strncpy): Improve performance by using memset.
43311
43312 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43313
43314 * string/strcpy.c (strcpy):
43315 Improve performance by using strlen and memcpy.
43316
43317 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43318
43319 * string/strcoll_l.c (get_next_seq): __always_inline.
43320 * string/strcoll_l.c (do_compare): __always_inline.
43321
43322 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43323
43324 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43325 defined.
43326 * include/mqueue.h: Likewise.
43327 * include/stdlib.h: Likewise.
43328
43329 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43330 (get_null_defines): Adjust.
43331 * sunrpc/Makefile: Adjust comment.
43332 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43333 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43334 (CFLAGS-interp.c): Likewise.
43335 (CFLAGS-ldconfig.c): Likewise.
43336 (CPPFLAGS-.os): Likewise.
43337 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43338 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43339 * extra-modules.mk (extra-modules.mk): Likewise.
43340 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43341 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43342 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43343 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43344 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43345 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43346 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43347 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43348 * iconvdata/Makefile (CPPFLAGS): Likewise.
43349 (cpp-srcs-left): Add libof for all iconvdata routines.
43350 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43351 * include/assert.h: Likewise.
43352 * include/ctype.h: Likewise.
43353 * include/errno.h: Likewise.
43354 * include/libc-symbols.h: Likewise.
43355 * include/math.h: Likewise.
43356 * include/netdb.h: Likewise.
43357 * include/resolv.h: Likewise.
43358 * include/stdio.h: Likewise.
43359 * include/stdlib.h: Likewise.
43360 * include/string.h: Likewise.
43361 * include/sys/stat.h: Likewise.
43362 * include/wctype.h: Likewise.
43363 * intl/l10nflist.c: Likewise.
43364 * libidn/idn-stub.c: Likewise.
43365 * libio/libioP.h: Likewise.
43366 * nptl/libc_multiple_threads.c: Likewise.
43367 * nptl/pthreadP.h: Likewise.
43368 * posix/regex_internal.h: Likewise.
43369 * resolv/res_hconf.c: Likewise.
43370 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43371 * sysdeps/arm/memmove.S: Likewise.
43372 * sysdeps/arm/sysdep.h: Likewise.
43373 * sysdeps/generic/_itoa.h: Likewise.
43374 * sysdeps/generic/symbol-hacks.h: Likewise.
43375 * sysdeps/gnu/errlist.awk: Likewise.
43376 * sysdeps/gnu/errlist.c: Likewise.
43377 * sysdeps/i386/i586/memcpy.S: Likewise.
43378 * sysdeps/i386/i586/memset.S: Likewise.
43379 * sysdeps/i386/i686/memcpy.S: Likewise.
43380 * sysdeps/i386/i686/memmove.S: Likewise.
43381 * sysdeps/i386/i686/mempcpy.S: Likewise.
43382 * sysdeps/i386/i686/memset.S: Likewise.
43383 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43384 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43385 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43386 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43387 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43388 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43389 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43390 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43391 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43392 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43393 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43394 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43395 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43396 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43397 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43398 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43399 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43400 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43402 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43403 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43404 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43405 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43406 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43407 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43409 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43410 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43411 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43412 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43413 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43416 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43417 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43419 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43420 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43421 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43422 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43423 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43424 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43426 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43427 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43428 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43429 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43430 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43431 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43432 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43434 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43435 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43436 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43437 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43438 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43439 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43440 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43441 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43442 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43443 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43445 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43446 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43447 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43448 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43449 * sysdeps/posix/closedir.c: Likewise.
43450 * sysdeps/posix/opendir.c: Likewise.
43451 * sysdeps/posix/readdir.c: Likewise.
43452 * sysdeps/posix/rewinddir.c: Likewise.
43453 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43454 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43455 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43456 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43457 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43461 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43463 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43464 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43465 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43466 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43467 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43469 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43470 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43471 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43472 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43473 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43474 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43475 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43476 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43481 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43488 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43489 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43490 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43491 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43492 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43493 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43494 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43495 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43497 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43498 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43499 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43500 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43501 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43502 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43503 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43504 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43505 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43506 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43507 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43508 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43510 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43511 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43512 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43513 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43514 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43515 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43516 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43517 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43518 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43519 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43520 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43521 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43522 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43524 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43525 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43526 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43527 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43528 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43529 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43530 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43531 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43532 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43533 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43534 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43535 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43536 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43537 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43539 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43540 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43541 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43543 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43544 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43545 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43549 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43551 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43552 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43553 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43554 * sysdeps/unix/alpha/sysdep.S: Likewise.
43555 * sysdeps/unix/alpha/sysdep.h: Likewise.
43556 * sysdeps/unix/make-syscalls.sh: Likewise.
43557 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43558 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43559 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43560 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43561 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43562 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43563 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43564 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43565 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43566 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43567 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43568 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43571 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43572 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43573 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43574 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43575 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43576 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43577 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43578 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43579 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43580 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43581 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43582 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43583 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43586 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43587 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43591 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43595 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43596 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43597 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43598 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43599 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43600 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43601 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43604 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43607 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43608 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43609 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43610 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43611 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43613 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43615 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43616 * sysdeps/x86_64/memcpy.S: Likewise.
43617 * sysdeps/x86_64/memmove.c: Likewise.
43618 * sysdeps/x86_64/memset.S: Likewise.
43619 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43621 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43622 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43623 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43626 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43627 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43628 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43629 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43630 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43631 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43632 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43633 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43634 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43635 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43636 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43637 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43638 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43639 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43640 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43641 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43643 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43644 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43645 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43646 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43647 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43648 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43649 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43650 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43651 * sysdeps/x86_64/strcmp.S: Likewise.
43652
43653 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43654
43655 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43656 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43657 * elf/rtld-Rules: Likewise.
43658 * elf/setup-vdso.h: Likewise.
43659 * include/assert.h: Likewise.
43660 * include/bits/stdlib-float.h: Likewise.
43661 * include/errno.h: Likewise.
43662 * include/sys/stat.h: Likewise.
43663 * include/unistd.h: Likewise.
43664 * sysdeps/aarch64/setjmp.S: Likewise.
43665 * sysdeps/alpha/setjmp.S: Likewise.
43666 * sysdeps/arm/__longjmp.S: Likewise.
43667 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43668 * sysdeps/arm/setjmp.S: Likewise.
43669 * sysdeps/arm/sysdep.h: Likewise.
43670 * sysdeps/generic/_itoa.h: Likewise.
43671 * sysdeps/generic/dl-sysdep.h: Likewise.
43672 * sysdeps/generic/ldsodefs.h: Likewise.
43673 * sysdeps/i386/dl-tls.h: Likewise.
43674 * sysdeps/i386/setjmp.S: Likewise.
43675 * sysdeps/m68k/setjmp.c: Likewise.
43676 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43677 * sysdeps/mach/hurd/opendir.c: Likewise.
43678 * sysdeps/posix/getcwd.c: Likewise.
43679 * sysdeps/posix/opendir.c: Likewise.
43680 * sysdeps/posix/profil.c: Likewise.
43681 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43682 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43683 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43684 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43685 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43686 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43687 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43688 * sysdeps/s390/dl-tls.h: Likewise.
43689 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43690 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43691 * sysdeps/sh/sh3/setjmp.S: Likewise.
43692 * sysdeps/sh/sh4/setjmp.S: Likewise.
43693 * sysdeps/unix/alpha/sysdep.h: Likewise.
43694 * sysdeps/unix/arm/sysdep.S: Likewise.
43695 * sysdeps/unix/i386/sysdep.S: Likewise.
43696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43697 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43698 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43700 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43701 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43702 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43703 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43704 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43705 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43706 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43707 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43708 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43711 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43714 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43715 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43716 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43720 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43723 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43724 * sysdeps/x86_64/setjmp.S: Likewise.
43725
43726 * include/math.h: Use IS_IN instead of IS_IN_libm.
43727 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43728 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43729 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43730 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43731 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43732 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43733 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43735 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43736 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43737 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43738 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43739 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43740 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43741 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43742 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43743 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43745 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43746 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43747 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43748 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43749 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43750 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43751 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43752 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43753 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43754 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43755 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43756 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43757 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43758 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43759 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43761 Likewise.
43762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43763 Likewise.
43764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43765 Likewise.
43766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43767 Likewise.
43768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43769 Likewise.
43770 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43772 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43773 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43774 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43775 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43781 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43782 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43783 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43784 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43786 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43787 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43788 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43789 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43790 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43791 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43794 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43796 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43797
43798 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43799 * nptl/pthreadP.h: Likewise.
43800 * nptl_db/structs.def: Likewise.
43801 * sysdeps/arm/sysdep.h: Likewise.
43802 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43803 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43804 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43805 * sysdeps/unix/alpha/sysdep.h: Likewise.
43806 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43807 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43808 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43809 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43810 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43811 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43813 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43814 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43815 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43816 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43817 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43818 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43819 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43824 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43827 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43828 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43829 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43830 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43831 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43832
43833 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43834 * nptl/pthreadP.h: Likewise.
43835 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43836 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43837 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43838 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43839 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43840 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43841 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43842 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43843 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43844 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43845 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43846 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43848 Likewise.
43849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43850 Likewise.
43851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43853 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43856 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43857 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43858 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43859
43860 * dlfcn/dladdr.c: Use IS_IN.
43861 * dlfcn/dladdr1.c: Likewise.
43862 * dlfcn/dlclose.c: Likewise.
43863 * dlfcn/dlerror.c: Likewise.
43864 * dlfcn/dlinfo.c: Likewise.
43865 * dlfcn/dlmopen.c: Likewise.
43866 * dlfcn/dlopen.c: Likewise.
43867 * dlfcn/dlsym.c: Likewise.
43868 * dlfcn/dlvsym.c: Likewise.
43869
43870 * include/ifaddrs.h: Use IS_IN.
43871 * inet/check_pf.c: Likewise.
43872 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43873 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43874
43875 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43876 IS_IN_ldconfig.
43877 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43878 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43879
43880 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43881 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43882 IS_IN (libc).
43883
43884 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43885
43886 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43887 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43888 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43889 * include/libc-symbols.h (IS_IN_LIB): New macro.
43890 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43891 * include/netdb.h: Likewise.
43892 * include/stap-probe.h: Remove all uses of IN_LIB.
43893
43894 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43895 instead of IN_MODULE.
43896 * include/libc-symbols.h (IN_MODULE): Define using
43897 MODULE_NAME.
43898 (PASTE_NAME, PASTE_NAME1): New macros.
43899 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43900 of IN_LIB.
43901 (STAP_PROBE_ASM): Likewise.
43902
43903 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43904
43905 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43906 __mach_init in dlopened libc.
43907
43908 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43909
43910 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43911 * sysdeps/arm/preconfigure: Regenerate.
43912
43913 2014-11-21 Roland McGrath <roland@hack.frob.com>
43914
43915 * nptl/pthread_create.c (__pthread_create_2_1): Set
43916 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43917 when copying values from IATTR into PD.
43918
43919 2014-11-21 Will Newton <will.newton@linaro.org>
43920 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43921
43922 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43923 Refactor inline-asm. Also add comment.
43924
43925 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43926 ElfW macro instead of hardcoded Elf64 types.
43927 (la_aarch64_gnu_pltenter): Likewise.
43928 * sysdeps/aarch64/dl-machine.h
43929 (elf_machine_runtime_setup): Use ElfW(Addr).
43930
43931 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43932 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43933 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43934 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43935 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43936 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43937 (R_AARCH64_TLS_DTPMOD): This.
43938 (R_AARCH64_TLS_DTPREL64): Rename to ...
43939 (R_AARCH64_TLS_DTPREL): This.
43940 (R_AARCH64_TLS_TPREL64): Rename to ...
43941 (R_AARCH64_TLS_TPREL): This.
43942 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43943 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43944 R_AARCH64_TLS_TPREL64.
43945 (elf_machine_rela): Likewise.
43946
43947 2014-11-21 Torvald Riegel <triegel@redhat.com>
43948
43949 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43950 by setting it to 0. 64b atomics are not supported currently.
43951
43952 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43953
43954 [BZ #16469]
43955 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43956 search domain names.
43957
43958 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43959
43960 [BZ #16469]
43961 * NEWS: Update.
43962 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43963 trailing dot.
43964 * posix/tst-getaddrinfo5.c: New.
43965 * posix/Makefile (tests): Add it.
43966
43967 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43968
43969 [BZ #14498]
43970 * NEWS: Fixed.
43971 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43972 after parsing line but before break_if_match.
43973 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43974 if there is a protocol mismatch.
43975
43976 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43977
43978 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43979 because the potential race is on the user-supplied stream.
43980
43981 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43982
43983 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43984 string literal if not passed a buffer.
43985 * manual/job.texi (ctermid): Update reasoning, note deviation
43986 from posix, suggest mtasurace when not passed a buffer, for
43987 future non-preliminary safety notes.
43988
43989 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43990
43991 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43992 of not passing it a buffer.
43993 Reported by Peng Haitao.
43994
43995 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43996
43997 * manual/Makefile ($(objpfx)stamp-summary): Require
43998 check-safety.sh to pass.
43999 * manual/check-safety.sh: Wish for verification that every
44000 @deftypefn and @deftypefun is followed by a @safety remark.
44001
44002 2014-11-20 Roland McGrath <roland@hack.frob.com>
44003
44004 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44005
44006 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44007 PTHREAD_CANCEL_ASYNCHRONOUS.
44008 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44009 send SIGCANCEL.
44010
44011 * nptl/default-sched.h: New file.
44012 * sysdeps/unix/sysv/linux/default-sched.h: New file.
44013 * nptl/pthread_create.c: Include it.
44014 (__pthread_create_2_1): Use collect_default_sched instead of making
44015 Linux syscalls here directly.
44016
44017 2014-11-20 Torvald Riegel <triegel@redhat.com>
44018
44019 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44020 __pthread_once): Use C11 atomics.
44021
44022 2014-11-20 Torvald Riegel <triegel@redhat.com>
44023
44024 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44025
44026 2014-11-20 Torvald Riegel <triegel@redhat.com>
44027
44028 * include/atomic.h (__atomic_link_error, __atomic_check_size,
44029 atomic_thread_fence_acquire, atomic_thread_fence_release,
44030 atomic_thread_fence_seq_cst, atomic_load_relaxed,
44031 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44032 atomic_compare_exchange_weak_relaxed,
44033 atomic_compare_exchange_weak_acquire,
44034 atomic_compare_exchange_weak_release,
44035 atomic_exchange_acquire, atomic_exchange_release,
44036 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44037 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44038 atomic_fetch_and_acquire,
44039 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44040
44041 2014-11-20 Torvald Riegel <triegel@redhat.com>
44042
44043 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44044 USE_ATOMIC_COMPILER_BUILTINS): Define.
44045 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44046 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44047 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44048 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44049 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44050 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44051 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44053 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44055 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44056 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44057 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44058 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44059 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44060 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44061 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44062 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44063 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44064 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44065 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44066 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44067 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44068 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44069 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44070 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44071 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44072 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44073 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44074 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44075 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44076 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44077 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44078 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44079 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44080 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44082 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44083 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44084 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44085
44086 2014-11-19 Roland McGrath <roland@hack.frob.com>
44087
44088 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44089 the sched_priority value here. It was already checked when the user
44090 called pthread_attr_setschedparam.
44091
44092 * nptl/tst-bad-schedattr.c: New file.
44093 * nptl/Makefile (tests): Add it.
44094
44095 2014-11-19 Carlos O'Donell <carlos@redhat.com>
44096 Florian Weimer <fweimer@redhat.com>
44097 Joseph Myers <joseph@codesourcery.com>
44098 Adam Conrad <adconrad@0c3.net>
44099 Andreas Schwab <schwab@suse.de>
44100 Brooks <bmoses@google.com>
44101
44102 [BZ #17625]
44103 * wordexp-test.c (__dso_handle): Add prototype.
44104 (__register_atfork): Likewise.
44105 (__app_register_atfork): New function.
44106 (registered_forks): New global.
44107 (register_fork): New function.
44108 (test_case): Add 3 new tests for WRDE_CMDSUB.
44109 (main): Call __app_register_atfork.
44110 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44111 fork count is non-zero fail the test.
44112 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44113 is set.
44114 (parse_dollars): Remove check for WRDE_NOCMD.
44115 (parse_dquote): Likewise.
44116
44117 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44118
44119 * Makeconfig (built-modules): List non-library modules to be
44120 built.
44121 (module-cppflags): Include libc-modules.h for
44122 everything except shlib-versions.v.i.
44123 (CPPFLAGS): Use it.
44124 (before-compile): Add libc-modules.h.
44125 ($(common-objpfx)libc-modules.h,
44126 $(common-objpfx)libc-modules.stmp): New targets.
44127 (common-generated): Add libc-modules.h and libc-modules.stmp.
44128 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44129 * include/libc-symbols.h: Don't include libc-modules.h.
44130 * include/libc-modules.h: Remove file.
44131 * scripts/gen-libc-modules.awk: New script to generate
44132 libc-modules.h.
44133 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44134 Depend on libc-modules.stmp.
44135
44136 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44137
44138 * Makeconfig (in-module): Get value of libof set for the
44139 translation unit.
44140 (CPPFLAGS): Use $(in-module).
44141 * Makerules: Don't suffix routine names for nonlib.
44142 * include/libc-modules.h: New file.
44143 * include/libc-symbols.h: Include libc-modules.h
44144 (IS_IN): New macro to replace IS_IN_* macros.
44145 * elf/Makefile: Set libof-* for each routine.
44146 * elf/rtld-Rules: Likewise.
44147 * extra-modules.mk: Likewise.
44148 * iconv/Makefile: Likewise.
44149 * iconvdata/Makefile: Likewise.
44150 * locale/Makefile: Likewise.
44151 * malloc/Makefile: Likewise.
44152 * nss/Makefile: Likewise.
44153 * sysdeps/gnu/Makefile: Likewise.
44154 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44155 * sysdeps/unix/sysv/linux/Makefile: Likewise.
44156 * sysdeps/s390/s390-64/Makefile: Likewise.
44157 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
44158 CPPFLAGS for nscd instead of nonlib.
44159
44160 2014-11-18 Roland McGrath <roland@hack.frob.com>
44161
44162 * nptl/createthread.c: New file.
44163
44164 * nptl/createthread.c: Moved ...
44165 * sysdeps/unix/sysv/linux/createthread.c: ... here.
44166
44167 * nptl/createthread.c: Add proper top-line comment.
44168 (do_clone): Folded into ...
44169 (create_thread): ... here. Take new arguments STOPPED_START and
44170 THREAD_RAN. Always set PD->stopped_start to something here. Don't
44171 increment __nptl_threads, do event-reporting logic, do
44172 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44173 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
44174 resource cleanup if sched_setaffinity or sched_setscheduler fails,
44175 just send SIGCANCEL.
44176 * nptl/pthread_create.c: Forward-declare create_thread before
44177 including createthread.c.
44178 (start_thread): Use new macro START_THREAD_DEFN to replace defining
44179 declaration, and new macro START_THREAD_SELF to replace argument.
44180 Remove return statement.
44181 (report_thread_creation): New function.
44182 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44183 synchronization logic, and __nptl_nthreads increment here, around
44184 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44185 PD->parent_cancelhandling here, before create_thread. When
44186 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44187 __deallocate_stack, and ENOMEM translation here.
44188
44189 2014-11-18 Joseph Myers <joseph@codesourcery.com>
44190
44191 [BZ #17616]
44192 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44193 (mptwo): Rename to __mptwo.
44194 (__inv): Use __mptwo instead of mptwo.
44195 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44196 (mptwo): Rename to __mptwo.
44197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44198 of mpone and __mptwo instead of mptwo.
44199 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44200 instead of mpone.
44201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44202 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44203 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44204 of mpone and __mptwo instead of mptwo.
44205 (__mpranred): Use __mpone instead of mpone.
44206 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44207 variable.
44208 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44209 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44210 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44211 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44212 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44213 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44214 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44215 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44216 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44217 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44218 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44219 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44220 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44221 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44222 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44223 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44224 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44225 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44226 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44227
44228 2014-11-18 Tom de Vries <tom@codesoucery.com>
44229
44230 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44231 replace BSD Handler xref with BSD Signal Handling.
44232
44233 2014-11-17 Richard Henderson <rth@redhat.com>
44234
44235 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44236 (_FP_PACK_RAW_2): Remove.
44237 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44238 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44239 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44240 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44241 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44242 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44243 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44244 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44245 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44246 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44247 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44248 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44249 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44250 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44251 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44252 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44253
44254 2014-11-14 Roland McGrath <roland@hack.frob.com>
44255
44256 * signal/signal.h [__USE_MISC]
44257 (struct sigvec): Remove type.
44258 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44259 (sigvec): Remove declaration.
44260 * sysdeps/posix/sigvec.c: Moved ...
44261 * signal/sigvec.c: ... here, replacing old file.
44262 (struct sigvec): New type, copied from old signal.h definition.
44263 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44264 (__sigvec): Convert definition to prototype.
44265 (sigvec): Replace weak_alias with compat_symbol.
44266 * signal/Versions (libc: GLIBC_2.21): New version set.
44267 * include/signal.h: Remove __sigvec declaration.
44268 * sysdeps/unix/bsd/sigvec.c: Remove file.
44269 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44270 * manual/signal.texi (BSD Handler): Remove subsection.
44271 Move siginterrupt up to ...
44272 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44273 (Blocking in BSD): Fold subsection into its parent.
44274 * NEWS: Mention sigvec removal.
44275
44276 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44277
44278 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44279 (DLA_FMS): Make definition conditional only on [__FMA4__].
44280 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44281 definition.
44282
44283 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44284 Make definition conditional only on [PROF].
44285 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44286 definition.
44287 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44288 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44289
44290 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44291 !__GNUC__].
44292 * include/signal.h (__sigpause): Move declaration above call to
44293 libc_hidden_proto.
44294 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44295 variable.
44296 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44297 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44298
44299 2014-11-14 David S. Miller <davem@davemloft.net>
44300
44301 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44302 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44303
44304 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44305
44306 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44307 * configure: Regenerated.
44308 * manual/install.texi (Tools for Compilation): Document a
44309 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44310 compiler verified to work.
44311 * INSTALL: Regenerated.
44312
44313 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44314 redeclare with asm name.
44315 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44316 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44317 including <string.h>.
44318 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44319 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44320 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44321 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44322 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44323 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44324 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44325
44326 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44327
44328 * stdlib/strtol.c (__strtol): Use prototype definition.
44329
44330 [BZ #17594]
44331 * stdlib/strtol.c (SYM__): New macro.
44332 (SYM__1): Likewise.
44333 (__strtol): Likewise.
44334 (strtol): Rename to __strtol and define as weak alias of
44335 __strtol. Use libc_hidden_weak.
44336
44337 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44338
44339 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44340 Use numbered labels in inline assembly.
44341
44342 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44343
44344 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44345 Add setjmp LIBC_PROBE.
44346 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44347 Likewise.
44348 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44349 Add longjmp, longjmp_target LIBC_PROBE.
44350 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44351 Likewise.
44352
44353 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44354
44355 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44356 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44357 to get rid of unused variable warning.
44358
44359 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44360
44361 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44362 Check for unwind_backtrace == NULL only in SHARED case.
44363 (__backchain_backtrace): Compile only in SHARED case.
44364 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44365 Likewise.
44366 (__backchain_backtrace): Declare as static.
44367
44368 2014-11-12 Roland McGrath <roland@hack.frob.com>
44369
44370 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44371 (__libc_multiple_threads_ptr): Variable moved ...
44372 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44373
44374 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44375
44376 * conform/GlibcConform.pm: New file.
44377 * conform/conformtest.pl: Use GlibcConform module.
44378 * conform/linknamespace.pl: New file.
44379 * conform/list-header-symbols.pl: Likewise.
44380 * conform/Makefile (linknamespace-symlists-base): New variable.
44381 (linknamespace-symlists-tests): Likewise.
44382 (linknamespace-header-base): Likewise.
44383 (linknamespace-header-tests): Likewise.
44384 (tests-special): Add new tests.
44385 ($(linknamespace-symlists-tests)): New rule.
44386 (linknamespace-libs): New variable.
44387 ($(objpfx)symlist-stdlibs): New rule.
44388 ($(linknamespace-header-tests)): Likewise.
44389 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44390 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44391 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44392 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44393 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44394 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44395 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44396 (test-xfail-ISO/math.h/linknamespace): Likewise.
44397 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44398 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44399 (test-xfail-ISO/time.h/linknamespace): Likewise.
44400 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44401 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44402 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44403 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44404 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44405 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44406 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44407 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44408 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44409 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44410 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44411 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44412 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44413 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44414 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44415 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44416 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44417 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44418 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44419 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44420 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44421 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44422 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44423 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44424 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44425 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44426 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44427 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44428 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44429 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44430 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44431 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44432 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44433 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44434 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44435 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44436 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44437 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44438 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44439 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44440 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44441 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44442 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44443 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44444 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44445 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44446 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44447 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44448 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44449 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44450 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44451 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44452 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44453 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44454 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44455 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44456 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44457 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44458 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44459 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44460 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44461 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44462 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44463 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44464 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44465 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44466 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44467 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44468 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44469 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44470 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44471 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44472 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44473 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44474 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44475 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44476 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44477 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44478 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44479 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44480 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44481 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44482 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44483 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44484 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44485 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44486 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44487 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44488 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44489 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44490 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44491 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44492 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44493 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44494 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44495 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44496 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44497 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44498 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44499 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44500 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44501 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44502 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44503 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44504 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44505 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44506 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44507 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44508 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44509 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44510 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44511 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44512 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44513 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44514 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44515 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44516 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44517 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44518 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44519 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44520 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44521 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44522 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44523 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44524 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44525 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44526 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44527 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44528 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44529 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44530 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44531 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44532 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44533 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44534 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44535 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44536 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44537 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44538 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44539 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44540 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44541 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44542 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44543 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44544 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44545 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44546 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44547 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44548 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44549 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44550
44551 [BZ #17589]
44552 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44553 of fgets_unlocked.
44554
44555 [BZ #17585]
44556 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44557 (memmem): Rename to __memmem and define as weak alias of
44558 __memmem. Use libc_hidden_weak.
44559 (__memmem): Use libc_hidden_def.
44560 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44561 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44562 memmem.
44563
44564 [BZ #17582]
44565 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44566 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44567 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44568 and define as weak alias of __fgets_unlocked. Use
44569 libc_hidden_weak.
44570 (__fgets_unlocked): Use libc_hidden_def.
44571 * include/stdio.h (__fgets_unlocked): Declare. Use
44572 libc_hidden_proto.
44573 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44574 __fgets_unlocked instead of fgets_unlocked.
44575 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44576 (GET_NPROCS_CONF_PARSER): Likewise.
44577 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44578 (GET_NPROCS_CONF_PARSER): Likewise.
44579
44580 [BZ #17574]
44581 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44582 weak alias of __wmemset. Use libc_hidden_weak.
44583 (__wmemset): Use libc_hidden_def.
44584 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44585 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44586 of wmemset.
44587
44588 [BZ #17573]
44589 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44590 with asm name __mempcpy.
44591 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44592
44593 [BZ #17572]
44594 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44595 and define as weak alias of __rawmemchr.
44596 (__rawmemchr): Do not define as strong alias of rawmemchr.
44597
44598 [BZ #17571]
44599 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44600 alias of __qsort_r.
44601 (qsort): Call __qsort_r instead of qsort_r.
44602 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44603 (__qsort_r): Declare. Call libc_hidden_proto.
44604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44605 instead of qsort_r.
44606 * nscd/gai.c (__qsort_r): Define to qsort_r.
44607 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44608 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44609 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44610
44611 [BZ #17570]
44612 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44613 define as weak alias of __malloc_info.
44614
44615 [BZ #17584]
44616 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44617 as weak alias of __rewinddir. Don't use libc_hidden_def.
44618 (__rewinddir): Use libc_hidden_def.
44619 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44620 as weak alias of __rewinddir. Don't use libc_hidden_def.
44621 (__rewinddir): Use libc_hidden_def.
44622 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44623 weak alias of __rewinddir. Don't use libc_hidden_def.
44624 (__rewinddir): Use libc_hidden_def.
44625 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44626 (__rewinddir): Use libc_hidden_proto.
44627 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44628 rewinddir.
44629 (__getcwd): Use __rewinddir instead of rewinddir.
44630
44631 [BZ #17583]
44632 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44633 alias of __fileno. Use libc_hidden_weak.
44634 (__fileno): Use libc_hidden_def.
44635 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44636 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44637 alias of __ftello.
44638 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44639 __ftello.
44640 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44641 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44642 libc_hidden_def.
44643 (fread_unlocked): Don't use libc_hidden_ver.
44644 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44645 and define as weak alias of __fread_unlocked. Don't use
44646 libc_hidden_def.
44647 (__fread_unlocked): Use libc_hidden_def.
44648 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44649 (ftello): Don't use libc_hidden_proto.
44650 (__ftello): Declare. Use libc_hidden_proto.
44651 (fread_unlocked): Don't use libc_hidden_proto.
44652 (__fread_unlocked): Declare. Use libc_hidden_proto.
44653 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44654 and __ftello instead of fileno, fread_unlocked and ftello.
44655
44656 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44657
44658 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44659 GOT12.
44660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44661 Likewise.
44662 (_dl_start_user): Likewise.
44663 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44664
44665 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44666 Siddhesh Poyarekar <siddhesh@redhat.com>
44667
44668 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44669 Move argv and envp down instead of moving argc up.
44670 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44671
44672 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44673
44674 [BZ #17506]
44675 * test-skeleton.c (main): Return successful if one of
44676 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44677 * string/tst-strcoll-overflow.c: Define expected status.
44678
44679 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44680
44681 [BZ #17475]
44682 * locale/iso-639.def: Define Bhili and Tulu language codes.
44683
44684 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44685
44686 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44687
44688 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44689
44690 [BZ #17555]
44691 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44692
44693 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44694
44695 * configure.ac: Updated check of minimal required version to
44696 2.22.
44697 * manual/install.texi (Tools for Compilation): Updated version
44698 number.
44699 * configure: Regenerated.
44700 * INSTALL: Likewise.
44701
44702 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44703
44704 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44705 __tls_get_addr.
44706
44707 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44708
44709 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44710 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44711 (__waitpid): Don't define as alias. Use libc_hidden_def not
44712 libc_hidden_weak.
44713 (waitpid): Define as alias of __waitpid.
44714 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44715 __waitpid.
44716 (__waitpid): Don't define as alias. Use libc_hidden_def not
44717 libc_hidden_weak.
44718 (waitpid): Define as alias of __waitpid.
44719 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44720 __libc_waitpid alias.
44721 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44722 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44723 Likewise.
44724 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44725 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44726 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44727 alias.
44728 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44729 __waitpid.
44730 (__waitpid): Don't define as alias. Use libc_hidden_def not
44731 libc_hidden_weak.
44732 (waitpid): Define as alias of __waitpid.
44733
44734 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44735
44736 * manual/llio.texi: Add comment that write safety has been
44737 fixed in Linux.
44738
44739 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44740 (localplt-build-dso): Add elf/ld.so.
44741 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44742 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44743 and free for ld.so.
44744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44745 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44747 Likewise.
44748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44749 Likewise.
44750 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44751 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44752 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44753 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44754 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44755 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44756 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44757 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44758 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44759 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44760 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44761
44762 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44763
44764 [BZ #14132]
44765 * include/libc-symbols.h (INTUSE): Remove macro.
44766 (INTDEF): Likewise.
44767 (INTVARDEF): Likewise.
44768 (_INTVARDEF): Likewise.
44769 (INTDEF2): Likewise.
44770 (INTVARDEF2): Likewise.
44771 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44772 rtld_hidden_def instead of INTVARDEF.
44773 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44774 (_dl_starting_up_internal): Remove declaration.
44775 (_dl_starting_up): Use rtld_hidden_proto.
44776 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44777 declaration.
44778 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44779 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44780 _dl_starting_up.
44781 * elf/dl-writev.h (_dl_writev): Likewise.
44782 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44783 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44784 _dl_starting_up_internal.
44785
44786 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44787
44788 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44789 test-skeleton.c.
44790
44791 2014-11-05 Will Newton <will.newton@linaro.org>
44792
44793 * benchtests/Makefile: (bench-malloc): Add malloc thread
44794 scalability benchmark.
44795 * benchtests/bench-malloc-threads.c: New file.
44796
44797 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44798
44799 * sysdeps/aarch64/strchrnul.S: New file.
44800
44801 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44802
44803 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44804 definition.
44805 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44806 Likewise.
44807 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44808 Likewise.
44809 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44810 Likewise.
44811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44812 Likewise.
44813 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44814 Likewise.
44815
44816 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44817
44818 * catgets/test-gencat.c: Use test-skeleton.c.
44819 * catgets/tst-catgets.c: Likewise.
44820 * csu/tst-empty.c: Likewise.
44821 * elf/tst-audit2.c: Likewise.
44822 * elf/tst-global1.c: Likewise.
44823 * elf/tst-pathopt.c: Likewise.
44824 * elf/tst-piemod1.c: Likewise.
44825 * elf/tst-tls10.c: Likewise.
44826 * elf/tst-tls11.c: Likewise.
44827 * elf/tst-tls12.c: Likewise.
44828 * gnulib/tst-gcc.c: Likewise.
44829 * iconvdata/tst-e2big.c: Likewise.
44830 * iconvdata/tst-loading.c: Likewise.
44831 * iconv/tst-iconv1.c: Likewise.
44832 * iconv/tst-iconv2.c: Likewise.
44833 * inet/test-inet6_opt.c: Likewise.
44834 * inet/tst-gethnm.c: Likewise.
44835 * inet/tst-network.c: Likewise.
44836 * inet/tst-ntoa.c: Likewise.
44837 * intl/tst-codeset.c: Likewise.
44838 * intl/tst-gettext2.c: Likewise.
44839 * intl/tst-gettext3.c: Likewise.
44840 * intl/tst-ngettext.c: Likewise.
44841 * intl/tst-translit.c: Likewise.
44842 * io/test-stat.c: Likewise.
44843 * libio/test-fmemopen.c: Likewise.
44844 * libio/tst-freopen.c: Likewise.
44845 * libio/tst-sscanf.c: Likewise.
44846 * libio/tst-ungetwc1.c: Likewise.
44847 * libio/tst-ungetwc2.c: Likewise.
44848 * libio/tst-widetext.c: Likewise.
44849 * localedata/tst-ctype.c: Likewise.
44850 * localedata/tst-digits.c: Likewise.
44851 * localedata/tst-leaks.c: Likewise.
44852 * localedata/tst-mbswcs1.c: Likewise.
44853 * localedata/tst-mbswcs2.c: Likewise.
44854 * localedata/tst-mbswcs3.c: Likewise.
44855 * localedata/tst-mbswcs4.c: Likewise.
44856 * localedata/tst-mbswcs5.c: Likewise.
44857 * localedata/tst-setlocale.c: Likewise.
44858 * localedata/tst-trans.c: Likewise.
44859 * localedata/tst-wctype.c: Likewise.
44860 * localedata/tst-xlocale1.c: Likewise.
44861 * login/tst-grantpt.c: Likewise.
44862 * malloc/tst-calloc.c: Likewise.
44863 * malloc/tst-malloc.c: Likewise.
44864 * malloc/tst-mallocstate.c: Likewise.
44865 * malloc/tst-mcheck.c: Likewise.
44866 * malloc/tst-mtrace.c: Likewise.
44867 * malloc/tst-obstack.c: Likewise.
44868 * math/atest-exp2.c: Likewise.
44869 * math/atest-exp.c: Likewise.
44870 * math/atest-sincos.c: Likewise.
44871 * math/test-matherr.c: Likewise.
44872 * math/test-misc.c: Likewise.
44873 * math/test-powl.c: Likewise.
44874 * math/tst-definitions.c: Likewise.
44875 * misc/tst-dirname.c: Likewise.
44876 * misc/tst-efgcvt.c: Likewise.
44877 * misc/tst-fdset.c: Likewise.
44878 * misc/tst-hsearch.c: Likewise.
44879 * misc/tst-mntent2.c: Likewise.
44880 * nptl/tst-sem7.c: Likewise.
44881 * nptl/tst-sem8.c: Likewise.
44882 * nptl/tst-sem9.c: Likewise.
44883 * nss/test-netdb.c: Likewise.
44884 * posix/tst-fnmatch.c: Likewise.
44885 * posix/tst-getlogin.c: Likewise.
44886 * posix/tst-gnuglob.c: Likewise.
44887 * posix/tst-mmap.c: Likewise.
44888 * pwd/tst-getpw.c: Likewise.
44889 * resolv/tst-inet_ntop.c: Likewise.
44890 * rt/tst-timer.c: Likewise.
44891 * stdio-common/test-fseek.c: Likewise.
44892 * stdio-common/test-popen.c: Likewise.
44893 * stdio-common/test-vfprintf.c: Likewise.
44894 * stdio-common/tst-cookie.c: Likewise.
44895 * stdio-common/tst-fileno.c: Likewise.
44896 * stdio-common/tst-gets.c: Likewise.
44897 * stdio-common/tst-obprintf.c: Likewise.
44898 * stdio-common/tst-perror.c: Likewise.
44899 * stdio-common/tst-sprintf2.c: Likewise.
44900 * stdio-common/tst-sprintf3.c: Likewise.
44901 * stdio-common/tst-sprintf.c: Likewise.
44902 * stdio-common/tst-swprintf.c: Likewise.
44903 * stdio-common/tst-tmpnam.c: Likewise.
44904 * stdio-common/tst-unbputc.c: Likewise.
44905 * stdio-common/tst-wc-printf.c: Likewise.
44906 * stdlib/tst-environ.c: Likewise.
44907 * stdlib/tst-fmtmsg.c: Likewise.
44908 * stdlib/tst-limits.c: Likewise.
44909 * stdlib/tst-rand48-2.c: Likewise.
44910 * stdlib/tst-rand48.c: Likewise.
44911 * stdlib/tst-random2.c: Likewise.
44912 * stdlib/tst-random.c: Likewise.
44913 * stdlib/tst-strtol.c: Likewise.
44914 * stdlib/tst-strtoll.c: Likewise.
44915 * stdlib/tst-tls-atexit.c: Likewise.
44916 * stdlib/tst-xpg-basename.c: Likewise.
44917 * string/test-ffs.c: Likewise.
44918 * string/tst-bswap.c: Likewise.
44919 * string/tst-inlcall.c: Likewise.
44920 * string/tst-strtok.c: Likewise.
44921 * string/tst-strxfrm.c: Likewise.
44922 * sysdeps/x86_64/tst-audit10.c: Likewise.
44923 * sysdeps/x86_64/tst-audit3.c: Likewise.
44924 * sysdeps/x86_64/tst-audit4.c: Likewise.
44925 * sysdeps/x86_64/tst-audit5.c: Likewise.
44926 * time/tst-ftime_l.c: Likewise.
44927 * time/tst-getdate.c: Likewise.
44928 * time/tst-mktime3.c: Likewise.
44929 * time/tst-mktime.c: Likewise.
44930 * time/tst-posixtz.c: Likewise.
44931 * time/tst-strptime2.c: Likewise.
44932 * time/tst-strptime3.c: Likewise.
44933 * wcsmbs/tst-btowc.c: Likewise.
44934 * wcsmbs/tst-mbrtowc.c: Likewise.
44935 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44936 * wcsmbs/tst-wchar-h.c: Likewise.
44937 * wcsmbs/tst-wcpncpy.c: Likewise.
44938 * wcsmbs/tst-wcrtomb.c: Likewise.
44939 * wcsmbs/tst-wcsnlen.c: Likewise.
44940 * wcsmbs/tst-wcstof.c: Likewise.
44941
44942 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44943
44944 [BZ #14132]
44945 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44946 INTDEF.
44947 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44948 declaration.
44949 (_dl_mcount): Use rtld_hidden_proto.
44950 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44951 _dl_mcount.
44952 * elf/rtld.c (_rtld_global_ro): Likewise.
44953
44954 [BZ #14132]
44955 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44956 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44957 of _dl_init_internal.
44958 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44959 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44960 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44961 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44962 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44963 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44964 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44965 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44966 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44967 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44968 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44969 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44970 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44971 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44972 * sysdeps/tile/dl-start.S (_start): Likewise.
44973 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44974 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44975
44976 [BZ #14132]
44977 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44978 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44979 (rtld_progname): Make macro definition unconditional.
44980 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44981 INTDEF.
44982 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44983 (dl_main): Likewise.
44984 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44985 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44986 instead of _dl_argv_internal.
44987 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44988 __GI__dl_argv instead of INTUSE(_dl_argv).
44989 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44990 __GI__dl_argv instead of _dl_argv_internal.
44991
44992 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44993 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44994 macro.
44995 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44996 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44997 New macro.
44998 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44999 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45000 macro.
45001 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45002 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45003
45004 2014-11-04 Andreas Schwab <schwab@suse.de>
45005
45006 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45007
45008 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45009
45010 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45011 mtvsrd instruction in binary form.
45012
45013 2014-11-03 Andreas Schwab <schwab@suse.de>
45014
45015 [BZ #17522]
45016 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45017 for less than MB_LEN_MAX use a local buffer of that size.
45018 * libio/tst-fputws.c: New file.
45019 * libio/Makefile (tests): Add tst-fputws.
45020
45021 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
45022
45023 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45024 the size of the fpu_fr.fpu_dregs[] array.
45025
45026 2014-11-01 Joseph Myers <joseph@codesourcery.com>
45027
45028 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45029 (__nanosleep): Do not define as alias.
45030 (nanosleep): Define as alias of __nanosleep.
45031 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45032 __libc_nanosleep name.
45033
45034 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45035
45036 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45037 install.texi in comment.
45038
45039 2014-10-31 Torvald Riegel <triegel@redhat.com>
45040
45041 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45042 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45043 ... add here and use lwsync or sync ...
45044 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45045 ... and add here using lwsync.
45046
45047 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
45048
45049 * elf/dl-machine-reject-phdr.h: New file.
45050 * elf/dl-load.c: #include that.
45051 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45052 if that returned true.
45053
45054 2014-10-31 Roland McGrath <roland@hack.frob.com>
45055
45056 [BZ #17496]
45057 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45058 gen-as-const-headers chunk. Add a big scare comment after the last
45059 safe place to touch before-compile.
45060
45061 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45062
45063 * manual/install.texi (Tools for Compilation): Update autoconf
45064 version requirements.
45065 * INSTALL: Regenerated.
45066
45067 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45068 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45069 (__libc_pselect): Likewise.
45070
45071 [BZ #14138]
45072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45076
45077 2014-10-31 Torvald Riegel <triegel@redhat.com>
45078
45079 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45080 correct barrier instruction.
45081 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45082 Likewise.
45083 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45084 Likewise.
45085
45086 2014-10-30 Roland McGrath <roland@hack.frob.com>
45087
45088 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45089 after defining inlines. Instead, just use parens to defeat macro
45090 expansion of __isctype in its declaration.
45091
45092 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45093
45094 * include/sys/uio.h (__libc_readv): Remove declaration.
45095 (__libc_writev): Likewise.
45096 * misc/readv.c (__libc_readv): Rename to __readv.
45097 (__readv): Do not define as alias.
45098 (readv): Define as alias of __readv.
45099 * misc/writev.c (__libc_writev): Rename to __writev.
45100 (__writev): Do not define as alias.
45101 (writev): Define as alias of __writev.
45102 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45103 (__readv): Do not define as alias.
45104 (readv): Define unconditionally as alias of __readv.
45105 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45106 (__writev): Do not define as alias.
45107 (writev): Define unconditionally as alias of __writev.
45108 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45109 name.
45110 (writev): Do not define __libc_writev name.
45111
45112 2014-10-30 Roland McGrath <roland@hack.frob.com>
45113
45114 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45115 (convert_charseq): New function, broken out of ...
45116 (use_from_charmap): ... here. Call it.
45117 (use_to_charmap): Use convert_charseq and free instead of duplicating
45118 its code with a variable-length stack struct.
45119
45120 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45121
45122 * include/fcntl.h (__libc_creat): Remove declaration.
45123 * io/creat.c (__libc_creat): Rename to creat.
45124 (creat): Do not define as alias.
45125 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45126 of creat instead of __libc_creat.
45127 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45128 to creat.
45129 (creat): Do not define as alias.
45130 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45131 __libc_creat.
45132 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45133 __libc_creat name.
45134 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45135 Likewise.
45136
45137 2014-10-29 Carlos O'Donell <carlos@redhat.com>
45138
45139 * manual/llio.texi: Add comments discussing why write() may be
45140 considered MT-unsafe on Linux.
45141
45142 2014-10-28 Carlos O'Donell <carlos@redhat.com>
45143
45144 * dl-load.c (local_strdup): Remove.
45145 (expand_dynamic_string_token): Use __strdup.
45146 (decompose_rpath): Likewise.
45147 (_dl_map_object): Likewise.
45148
45149 2014-10-28 Joseph Myers <joseph@codesourcery.com>
45150
45151 [BZ #14132]
45152 * sysdeps/generic/unwind-dw2-fde.c
45153 (__register_frame_info_bases_internal): Do not declare.
45154 (__register_frame_info_table_bases_internal): Likewise.
45155 (__deregister_frame_info_bases_internal): Likewise.
45156 (__register_frame_info_bases): Declare and use hidden_proto before
45157 definition. Use hidden_def instead of INTDEF.
45158 (__register_frame_info_table_bases): Likewise.
45159 (__deregister_frame_info_bases): Likewise.
45160 (__register_frame_info): Do not use INTUSE.
45161 (__register_frame): Likewise.
45162 (__register_frame_info_table): Likewise.
45163 (__register_frame_table): Likewise.
45164 (__deregister_frame_info): Likewise.
45165 (__deregister_frame): Likewise.
45166
45167 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
45168
45169 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45170 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45171 not undefine.
45172 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45173 Likewise.
45174 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45175 Likewise.
45176
45177 2014-10-27 Joseph Myers <joseph@codesourcery.com>
45178
45179 [BZ #14138]
45180 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45181 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45182 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45183 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45184 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45185 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45186 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45187 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45188 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45189 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45190 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45191 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45192 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45193 syscall.
45194 (setfsuid): Likewise.
45195 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45196 (setfsuid): Likewise.
45197 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45198 (setfsuid): Likewise.
45199 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45200 Likewise.
45201 (setfsuid): Likewise.
45202 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45203 (setfsuid): Likewise.
45204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45205 Likewise.
45206 (setfsuid): Likewise.
45207
45208 2014-10-27 Andreas Schwab <schwab@suse.de>
45209
45210 [BZ #17501]
45211 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45212 check for Slow_SSE4_2 feature bit.
45213 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45214 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45215 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45216 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45217
45218 2014-10-24 Roland McGrath <roland@hack.frob.com>
45219
45220 * configure.ac: Validate compiler version with a empirical test of
45221 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45222 $CC -v output.
45223 * configure: Regenerated.
45224
45225 * inet/htons.c (htons): Prototypify.
45226 * inet/htonl.c (htonl): Likewise.
45227
45228 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45229
45230 * string/strncat.c (strncat): Improve performance by using strlen.
45231
45232 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45233
45234 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45235
45236 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45237
45238 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45239 Call libc_fetestexcept_aarch64.
45240
45241 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45242
45243 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45244 Call libc_feholdexcept_aarch64.
45245
45246 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45247
45248 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45249 Call get_rounding_mode.
45250
45251 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45252
45253 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45254 Simplify logic.
45255
45256 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45257
45258 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45259 Simplify logic.
45260
45261 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45262
45263 [BZ #14138]
45264 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45265 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45266 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45267 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45268 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45269 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45270 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45271 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45272 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45273 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45274 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45275 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45277 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45278 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45279 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45280 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45281 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45282 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45283 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45284 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45285 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45286 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45287 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45288 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45289 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45290 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45291 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45292 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45293 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45294 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45295 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45296 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45297 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45298 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45299 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45300 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45301 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45302 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45303 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45304 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45305 syscall.
45306 (geteuid): Likewise.
45307 (getgid): Likewise.
45308 (getuid): Likewise.
45309 (getresgid): Likewise.
45310 (getresuid): Likewise.
45311 (getgroups): Likewise.
45312 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45313 (geteuid): Likewise.
45314 (getgid): Likewise.
45315 (getuid): Likewise.
45316 (getresgid): Likewise.
45317 (getresuid): Likewise.
45318 (getgroups): Likewise.
45319 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45320 (geteuid): Likewise.
45321 (getgid): Likewise.
45322 (getuid): Likewise.
45323 (getresgid): Likewise.
45324 (getresuid): Likewise.
45325 (getgroups): Likewise.
45326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45327 Likewise.
45328 (geteuid): Likewise.
45329 (getgid): Likewise.
45330 (getuid): Likewise.
45331 (getresgid): Likewise.
45332 (getresuid): Likewise.
45333 (getgroups): Likewise.
45334 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45335 (geteuid): Likewise.
45336 (getgid): Likewise.
45337 (getuid): Likewise.
45338 (getresgid): Likewise.
45339 (getresuid): Likewise.
45340 (getgroups): Likewise.
45341 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45342 Likewise.
45343 (geteuid): Likewise.
45344 (getgid): Likewise.
45345 (getuid): Likewise.
45346 (getgroups): Likewise.
45347
45348 [BZ #14138]
45349 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45350 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45351 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45352 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45353 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45354 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45355 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45356 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45357 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45358 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45359 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45360 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45361 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45362 __chown.
45363 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45364 (lchown): Likewise.
45365 (fchown): Likewise.
45366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45367 Likewise.
45368 (lchown): Likewise.
45369 (fchown): Likewise.
45370 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45371 (lchown): Likewise.
45372 (fchown): Likewise.
45373 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45374 Likewise.
45375 (lchown): Likewise.
45376 (fchown): Likewise.
45377
45378 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45379
45380 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45381 Simplify logic.
45382
45383 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45384
45385 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45386 Cleanup logic.
45387
45388 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45389
45390 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45391 Remove unused include.
45392
45393 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45394
45395 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45396 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45397 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45398 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45399
45400 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45401 Helge Deller <deller@gmx.de>
45402
45403 [BZ #17508]
45404 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45405 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45406 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45407
45408 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45409
45410 [BZ #14132]
45411 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45412 Remove macro definition.
45413 (__ashrdi3_v_glibc20): Likewise.
45414 (__lshrdi3_v_glibc20): Likewise.
45415 (__cmpdi2_v_glibc20): Likewise.
45416 (__ucmpdi2_v_glibc20): Likewise.
45417 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45418 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45419 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45420 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45421 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45422 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45423
45424 2014-10-22 Roland McGrath <roland@hack.frob.com>
45425
45426 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45427 old GNU extension [0] syntax.
45428 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45429 alloca rather than an array member with variable length.
45430 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45431 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45432 (parse_opt): ... here. Likewise use alloca there.
45433 Validate the -i argument before checking for rootness.
45434 (send_shutdown): New function, broken out of ...
45435 (parse_opt): ... here.
45436
45437 2014-10-22 Roland McGrath <roland@hack.frob.com>
45438
45439 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45440 macro to get at the _rt_local_ro field.
45441 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45442 ([PIC] case) or _dl_hwcap ([!PIC] case).
45443 * sysdeps/arm/setjmp.S: Likewise.
45444
45445 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45446 * sysdeps/arm/configure.ac: New check to define it.
45447 * sysdeps/arm/configure: Regenerated.
45448 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45449 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45450 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45451 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45452 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45453 Use move/movt pair instead of a load.
45454 (LDST_GLOBAL): Macro removed.
45455 (LDR_GLOBAL): New macro replaces it.
45456 (LDR_HIDDEN): New macro.
45457 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45458 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45459
45460 * setjmp/tst-setjmp-static.c: New file.
45461 * setjmp/Makefile (tests): Add it.
45462 (tests-static): New variable.
45463
45464 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45465
45466 [BZ #17485]
45467 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45468
45469 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45470
45471 [BZ #14132]
45472 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45473
45474 2014-10-21 Roland McGrath <roland@hack.frob.com>
45475
45476 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45477
45478 2014-10-20 Roland McGrath <roland@hack.frob.com>
45479
45480 * io/fts.c (dirent_not_directory): New function.
45481 (fts_build): Call it.
45482
45483 2014-10-20 Roland McGrath <roland@hack.frob.com>
45484
45485 * nptl/version.c (__nptl_main): Use normal __write rather than
45486 INTERNAL_SYSCALL.
45487 (banner): Update copyright years.
45488
45489 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45490 gettimeofday.
45491 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45492 * nptl/pthread_cond_timedwait.c: Likewise.
45493 * nptl/pthread_mutex_timedlock.c: Likewise.
45494 * nptl/sem_timedwait.c: Likewise.
45495
45496 * sysdeps/nptl/bits/libc-lock.h
45497 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45498 (__libc_lock_init_recursive): Return void, not 0.
45499 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45500 (__libc_rwlock_init): Likewise.
45501 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45502
45503 2014-10-20 Torvald Riegel <triegel@redhat.com>
45504
45505 [BZ #15215]
45506 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45507 (__pthread_once_slow): ... here.
45508 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45509 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45510
45511 2014-10-20 Torvald Riegel <triegel@redhat.com>
45512
45513 [BZ #15215]
45514 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45515 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45516 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45517 * nptl/pthread_once.c (__pthread_once): Likewise.
45518 Update comments.
45519
45520 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45521
45522 [BZ #14138]
45523 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45524 name.
45525 (writev): Use __libc_writev as strong name.
45526 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45527 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45528
45529 2014-10-17 Roland McGrath <roland@hack.frob.com>
45530
45531 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45532
45533 * sysdeps/i386/nptl/tls.h
45534 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45535 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45536 New macros.
45537 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45538 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45539 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45540 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45541 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45542 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45543
45544 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45545 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45546 on [__NR_futex].
45547 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45548 broken out of ...
45549 (__pthread_mutex_init): ... here. Call it.
45550 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45551 Conditionalize PI cases on [__NR_futex].
45552 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45553 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45554 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45555
45556 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45557 conditional on [SIGSETXID].
45558 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45559 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45560 is defined. Likewise for SIGSETXID.
45561 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45562 Conditionalize definitions on [SIGSETXID].
45563 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45564 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45565 unblocking on [SIGCANCEL].
45566
45567 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45568 [__NR_set_robust_list].
45569
45570 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45571
45572 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45573 (do_compare): Likewise.
45574
45575 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45576
45577 [BZ #15884]
45578 * string/strcoll_l.c: Don't include stdio.h.
45579 (coll_seq): Remove members idxarr and rulearr.
45580 (get_next_seq_cached): Remove function.
45581 (get_next_seq): Likewise.
45582 (get_next_seq_nocache): Rename to get_next_seq.
45583 (do_compare): Remove function.
45584 (do_compare_nocache): Rename to do_compare.
45585 (STRCOLL): Remove weight and rules cache.
45586
45587 2014-10-16 Roland McGrath <roland@hack.frob.com>
45588
45589 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45590 * sysdeps/arm/sfp-machine.h: ... to here.
45591 * sysdeps/arm/Implies: Remove arm/soft-fp.
45592
45593 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45594
45595 * conform/data/sys/utsname.h-data (*_t): Allow.
45596 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45597 [POSIX] (WEXITED): Do not expect constant.
45598 [POSIX] (WSTOPPED): Likewise.
45599 [POSIX] (WNOHANG): Likewise.
45600 [POSIX] (WNOWAIT): Likewise.
45601 [POSIX] (siginfo_t): Do not expect type or elements.
45602 [POSIX] (pid_t): Do not expect type.
45603 [POSIX] (signal.h): Do not allow header.
45604 [POSIX] (sys/resource.h): Likewise.
45605 [POSIX] (si_*): Do not allow pattern.
45606 [POSIX] (W*): Likewise.
45607 [POSIX] (P_*): Likewise.
45608 [POSIX] (BUS_*): Likewise.
45609 [POSIX] (CLD_*): Likewise.
45610 [POSIX] (FPE_*): Likewise.
45611 [POSIX] (ILL_*): Likewise.
45612 [POSIX] (POLL_*): Likewise.
45613 [POSIX] (SEGV_*): Likewise.
45614 [POSIX] (SI_*): Likewise.
45615 [POSIX] (TRAP_*): Likewise.
45616 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45617 variable.
45618
45619 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45620
45621 [BZ #12926]
45622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45623 infinite loop when __recvmsg returns 0.
45624
45625 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45626
45627 * CANCEL-FCT-WAIVE: Remove file.
45628 * CANCEL-FILE-WAIVE: Likewise.
45629
45630 [BZ #14132]
45631 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45632 instead of INTVARDEF.
45633 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45634 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45635 rtld_hidden_data_def instead of INTVARDEF.
45636 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45637 * elf/dl-deps.c (expand_dst): Likewise.
45638 * elf/dl-load.c (_dl_dst_count): Likewise.
45639 (_dl_dst_substitute): Likewise.
45640 (decompose_rpath): Likewise.
45641 (_dl_init_paths): Likewise.
45642 (open_path): Likewise.
45643 (_dl_map_object): Likewise.
45644 * elf/rtld.c (dl_main): Likewise.
45645 (process_dl_audit): Likewise.
45646 (process_envvars): Likewise.
45647 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45648 Remove declaration.
45649 (__libc_enable_secure): Use rtld_hidden_proto.
45650
45651 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45652
45653 * elf/dl-load.c
45654 (add_path): New function broken out of _dl_rtld_di_serinfo.
45655 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45656
45657 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45658
45659 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45660 parentheses around macro arguments.
45661 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45664 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45665 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45666 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45667 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45670 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45671 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45672 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45673 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45674 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45675 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45676 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45677 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45678 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45679 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45680 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45681 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45683 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45684 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45685 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45689 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45690 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45691 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45692 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45693 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45694 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45695 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45696 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45697 Likewise.
45698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45699 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45700 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45702 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45703 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45704 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45705 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45706 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45707 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45708 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45709 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45710 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45711 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45712 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45713 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45714 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45715 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45716 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45717 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45718 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45719 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45720 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45721 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45722 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45723 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45724 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45725 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45726 (_FP_FRAC_SRS_1): Likewise.
45727 (_FP_FRAC_CLZ_1): Likewise.
45728 (_FP_MUL_MEAT_1_imm): Likewise.
45729 (_FP_MUL_MEAT_1_wide): Likewise.
45730 (_FP_MUL_MEAT_1_hard): Likewise.
45731 (_FP_SQRT_MEAT_1): Likewise.
45732 (_FP_FRAC_ASSEMBLE_1): Likewise.
45733 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45734 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45735 (__FP_CLZ_2): Likewise.
45736 (_FP_MUL_MEAT_2_wide): Likewise.
45737 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45738 (_FP_MUL_MEAT_2_gmp): Likewise.
45739 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45740 (_FP_SQRT_MEAT_2): Likewise.
45741 (_FP_FRAC_ASSEMBLE_2): Likewise.
45742 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45743 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45744 (_FP_FRAC_CLZ_4): Likewise.
45745 (_FP_MUL_MEAT_4_wide): Likewise.
45746 (_FP_MUL_MEAT_4_gmp): Likewise.
45747 (_FP_SQRT_MEAT_4): Likewise.
45748 (_FP_FRAC_ASSEMBLE_4): Likewise.
45749 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45750 * soft-fp/op-common.h (_FP_CMP): Likewise.
45751 (_FP_CMP_EQ): Likewise.
45752 (_FP_CMP_UNORD): Likewise.
45753 (_FP_TO_INT): Likewise.
45754 (_FP_FROM_INT): Likewise.
45755 [!__FP_CLZ] (__FP_CLZ): Likewise.
45756 (_FP_DIV_HELP_imm): Likewise.
45757 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45758 Likewise.
45759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45764 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45765 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45769 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45770 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45771 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45772 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45773 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45774 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45775 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45780 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45781 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45782 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45783 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45786 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45787 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45788 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45789 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45790 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45791 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45792 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45793 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45794 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45795 (FP_UNPACK_RAW_SP): Likewise.
45796 (FP_PACK_RAW_S): Likewise.
45797 (FP_PACK_RAW_SP): Likewise.
45798 (FP_UNPACK_S): Likewise.
45799 (FP_UNPACK_SP): Likewise.
45800 (FP_UNPACK_SEMIRAW_S): Likewise.
45801 (FP_UNPACK_SEMIRAW_SP): Likewise.
45802 (FP_PACK_S): Likewise.
45803 (FP_PACK_SP): Likewise.
45804 (FP_PACK_SEMIRAW_S): Likewise.
45805 (FP_PACK_SEMIRAW_SP): Likewise.
45806 (_FP_SQRT_MEAT_S): Likewise.
45807 (FP_CMP_S): Likewise.
45808 (FP_CMP_EQ_S): Likewise.
45809 (FP_CMP_UNORD_S): Likewise.
45810 (FP_TO_INT_S): Likewise.
45811 (FP_FROM_INT_S): Likewise.
45812
45813 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45814
45815 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45816 (FP_EX_INVALID_IMZ): Likewise.
45817 (FP_EX_INVALID_IMZ_FMA): Likewise.
45818 (FP_EX_INVALID_ISI): Likewise.
45819 (FP_EX_INVALID_ZDZ): Likewise.
45820 (FP_EX_INVALID_IDI): Likewise.
45821 (FP_EX_INVALID_SQRT): Likewise.
45822 (FP_EX_INVALID_CVI): Likewise.
45823 (FP_EX_INVALID_VC): Likewise.
45824 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45825 "invalid" exceptions.
45826 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45827 (_FP_ADD_INTERNAL): Likewise.
45828 (_FP_MUL): Likewise.
45829 (_FP_FMA): Likewise.
45830 (_FP_DIV): Likewise.
45831 (_FP_CMP_CHECK_NAN): Likewise.
45832 (_FP_SQRT): Likewise.
45833 (_FP_TO_INT): Likewise.
45834 (FP_EXTEND): Likewise.
45835
45836 2014-10-09 Allan McRae <allan@archlinux.org>
45837
45838 * po/fr.po: Update French translation from translation project.
45839
45840 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45841
45842 [BZ #14132]
45843 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45844 of INTDEF.
45845 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45846 (__cxa_atexit): Use libc_hidden_proto.
45847 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45848
45849 [BZ #14132]
45850 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45851 declaration.
45852 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45853 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45854 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45855 [!_ISOMAC] (__iswctype_internal): Likewise.
45856 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45857 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45858 alias.
45859 (fcntl): Remove __fcntl_internal alias.
45860 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45861 __connect_internal alias.
45862 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45863 Likewise.
45864
45865 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45866 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45867 FP_DENORM_ZERO.
45868 (_FP_CHECK_FLUSH_ZERO): New macro.
45869 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45870 (_FP_CMP): Likewise.
45871 (_FP_CMP_EQ): Likewise.
45872 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45873 FP_DENORM_ZERO.
45874 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45875 (FP_TRUNC): Likewise.
45876
45877 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45878 treated as invalid conversion, not as normal exponent.
45879
45880 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45881 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45882 (_FP_CMP_EQ): Likewise.
45883 (_FP_CMP_UNORD): Likewise.
45884 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45885 (FP_CMP_EQ_D): Likewise.
45886 (FP_CMP_UNORD_D): Likewise.
45887 * soft-fp/extended.h (FP_CMP_E): Likewise.
45888 (FP_CMP_EQ_E): Likewise.
45889 (FP_CMP_UNORD_E): Likewise.
45890 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45891 (FP_CMP_EQ_Q): Likewise.
45892 (FP_CMP_UNORD_Q): Likewise.
45893 * soft-fp/single.h (FP_CMP_S): Likewise.
45894 (FP_CMP_EQ_S): Likewise.
45895 (FP_CMP_UNORD_S): Likewise.
45896 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45897 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45898 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45899 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45900 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45901 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45902 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45903 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45904 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45905 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45906 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45907 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45908 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45909 to FP_CMP_Q.
45910 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45911 FP_CMP_Q.
45912 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45913 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45914 FP_CMP_EQ_Q.
45915 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45916 FP_CMP_Q.
45917 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45918 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45919 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45920 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45921 FP_CMP_EQ_Q.
45922 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45923 FP_CMP_Q.
45924 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45925 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45926 FP_CMP_EQ_Q.
45927 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45928 FP_CMP_Q.
45929 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45930 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45931 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45932 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45933 FP_CMP_EQ_Q.
45934
45935 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45936 a subnormal result, set the underflow exception if trapping on
45937 underflow is enabled.
45938 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45939 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45940 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45941 redefine to 0.
45942 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45943 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45944 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45945 * soft-fp/extendxftf2.c (__extendxftf2): Use
45946 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45947
45948 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45949 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45950 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45951 FP_HANDLE_EXCEPTIONS.
45952 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45953 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45954 FP_HANDLE_EXCEPTIONS.
45955 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45956 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45957 FP_HANDLE_EXCEPTIONS.
45958 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45959 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45960 FP_HANDLE_EXCEPTIONS.
45961
45962 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45963
45964 [BZ #14132]
45965 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45966 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45967 use INTUSE.
45968 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45969 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45970 Remove alias.
45971 (__adjtimex): Define using libc_hidden_ver.
45972 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45973 Remove declaration.
45974 (ntp_gettime): Call __adjtimex directly.
45975 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45976 Remove declaration.
45977 (ntp_gettimex): Call __adjtimex directly.
45978 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45979 __adjtimex_internal alias.
45980
45981 2014-10-08 Roland McGrath <roland@hack.frob.com>
45982
45983 [BZ #17460]
45984 * nscd/nscd.c (more_help): Rewrite list of tables collection
45985 using xstrdup and asprintf.
45986
45987 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45988
45989 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45990 Roland McGrath <roland@hack.frob.com>
45991
45992 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45993 (do_lookup_unique): ... local function 'enter' here; update callers.
45994
45995 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45996
45997 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45998 compat_symbol calls on [SHARED].
45999 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46000 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46001 Remove.
46002 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46003 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46004 (oldsetrlimit): Remove.
46005 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46007 (lchown): New syscall entry.
46008 (oldsetrlimit): Remove.
46009 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46010 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46011 (oldsetrlimit): Remove.
46012 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46013
46014 [BZ #14138]
46015 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46016 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46017 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46018 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46019 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46020 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46021 (fchown): Likewise.
46022 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46023 (fchown): Likewise.
46024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46025 Likewise.
46026
46027 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46028
46029 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46030 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46031 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46032 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46033 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46034 Likewise.
46035 (__old_sem_post): Likewise.
46036
46037 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
46038
46039 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46040 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46041 HAVE_CLOCK_GETTIME_VSYSCALL macros.
46042 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46043 Use INLINE_VSYSCALL macro.
46044 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46045 __vdso_clock_gettime.
46046 * sysdeps/unix/sysv/linux/tile/init-first.c
46047 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46048 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46049 __vdso_clock_gettime.
46050
46051 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46052 to set up frame more cleanly.
46053
46054 * sysdeps/tile/memcmp.c: New file.
46055
46056 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46057
46058 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46059 * sysdeps/tile/tilegx/strcasestr.c: New file.
46060 * sysdeps/tile/tilegx/strnlen.c: New file.
46061 * sysdeps/tile/tilegx/strstr.c: New file.
46062
46063 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46064
46065 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
46066
46067 * nptl/tst-setuid3.c: Write errors to stdout.
46068
46069 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46070
46071 * elf/dl-deps.c
46072 (preload): New functions broken out of _dl_map_object_deps.
46073 (_dl_map_object_deps): Remove a nested function. Update call sites.
46074
46075 2014-10-01 Joseph Myers <joseph@codesourcery.com>
46076
46077 [BZ #14138]
46078 * sysdeps/unix/sysv/linux/execve.c: Remove file.
46079 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46080
46081 2014-10-01 Steve Ellcey <sellcey@mips.com>
46082
46083 * sysdeps/mips/strcmp.S: New.
46084
46085 2014-09-30 Joseph Myers <joseph@codesourcery.com>
46086
46087 [BZ #14138]
46088 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46089 (linkat): Likewise.
46090 (mkdirat): Likewise.
46091 (readlinkat): Likewise.
46092 (renameat): Likewise.
46093 (symlinkat): Likewise.
46094 (unlinkat): Likewise.
46095 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46096 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46097 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46098 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46099 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46100 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46101 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46102
46103 2014-09-30 Will Newton <will.newton@linaro.org>
46104
46105 * math/math.h: Define long double math functions if
46106 _LIBC_TEST is defined.
46107 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46108
46109 * localedata/Makefile: Move assignment to tests-special
46110 into an ifdef testing run-built-tests.
46111 * timezone/Makefile: Likewise.
46112
46113 2014-09-29 Joseph Myers <joseph@codesourcery.com>
46114
46115 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46116 with $(BASH) not $(SHELL).
46117
46118 2014-09-29 Carlos O'Donell <carlos@redhat.com>
46119 Matthew LeGendre <legendre1@llnl.gov>
46120
46121 [BZ #17411]
46122 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46123 l_reloc_result.
46124
46125 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46126
46127 * stdio-common/printf_fp.c
46128 (hack_digit): New function, broken out of ...
46129 (__printf_fp): ... local function here. Update call sites.
46130 hack_digit now takes an additional parameter that is a pointer
46131 to a struct of the referenced locals. Those locals moved inside
46132 the struct and references updated.
46133
46134 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
46135
46136 * aclocal.m4: Require autoconf 2.69.
46137 * configure: Regenerated.
46138 * sysdeps/aarch64/configure: Likewise.
46139 * sysdeps/alpha/configure: Likewise.
46140 * sysdeps/arm/armv7/configure: Likewise.
46141 * sysdeps/arm/configure: Likewise.
46142 * sysdeps/ia64/configure: Likewise.
46143 * sysdeps/mach/configure: Likewise.
46144 * sysdeps/mips/configure: Likewise.
46145 * sysdeps/s390/configure: Likewise.
46146 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46148
46149 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46150 file.
46151 * sysdeps/ia64/configure.ac: Likewise.
46152
46153 2014-09-26 Joseph Myers <joseph@codesourcery.com>
46154
46155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46156 specify symbol version for ld.so. Do not include entry for
46157 libpthread.
46158 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46159 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46160 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46161
46162 [BZ #14171]
46163 * Makeconfig [$(build-shared) = yes]
46164 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46165 makefiles.
46166 [$(build-shared) = yes && $(soversions.mk-done) = t]
46167 ($(common-objpfx)gnu/lib-names.h): Remove rule.
46168 [$(build-shared) = yes && $(soversions.mk-done) = t]
46169 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
46170 to Makerules.
46171 [$(build-shared) = yes && $(soversions.mk-done) = t]
46172 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46173 here.
46174 [$(build-shared) = yes && $(soversions.mk-done) = t]
46175 (common-generated): Don't append gnu/lib-names.h and
46176 gnu/lib-names.stmp here.
46177 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46178 (lib-names-h-abi): New variable.
46179 [$(build-shared) = yes && $(soversions.mk-done) = t]
46180 (lib-names-stmp-abi): Likewise.
46181 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46182 abi-variants] (before-compile): Append
46183 $(common-objpfx)$(lib-names-h-abi).
46184 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46185 abi-variants] (common-generated): Append gnu/lib-names.h.
46186 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46187 abi-variants] (install-others-nosubdir): Depend on
46188 $(inst_includedir)/$(lib-names-h-abi).
46189 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46190 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46191 [$(build-shared) = yes && $(soversions.mk-done) = t]
46192 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46193 [$(build-shared) = yes && $(soversions.mk-done) = t]
46194 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46195 [$(build-shared) = yes && $(soversions.mk-done) = t]
46196 (common-generated): Append $(lib-names-h-abi) and
46197 $(lib-names-stmp-abi).
46198 * scripts/lib-names.awk: Do not handle multi being set.
46199 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46200 Remove variable.
46201 (abi-lp64_be-ld-soname): Likewise.
46202 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46203 Likewise.
46204 (abi-hard-ld-soname): Likewise.
46205 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46206 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46207 Remove variable.
46208 (abi-o32_hard-ld-soname): Likewise.
46209 (abi-o32_soft_2008-ld-soname): Likewise.
46210 (abi-o32_hard_2008-ld-soname): Likewise.
46211 (abi-n32_soft-ld-soname): Likewise.
46212 (abi-n32_hard-ld-soname): Likewise.
46213 (abi-n32_soft_2008-ld-soname): Likewise.
46214 (abi-n32_hard_2008-ld-soname): Likewise.
46215 (abi-n64_soft-ld-soname): Likewise.
46216 (abi-n64_hard-ld-soname): Likewise.
46217 (abi-n64_soft_2008-ld-soname): Likewise.
46218 (abi-n64_hard_2008-ld-soname): Likewise.
46219 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46220 Likewise.
46221 (abi-64-v2-ld-soname): Likewise.
46222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46223 ld.so entries.
46224 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46225 variable.
46226 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46227 entry.
46228 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46229 variable.
46230 (abi-64-ld-soname): Likewise.
46231 (abi-x32-ld-soname): Likewise.
46232 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46233 entry.
46234 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46235
46236 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46237
46238 [BZ #14138]
46239 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46240 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46241 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46242 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46243 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46244 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46245 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46246 syscall entry for GLIBC_2.2 symbol version.
46247 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46248 Likewise.
46249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46250 (setrlimit): Likewise.
46251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46252 Likewise.
46253
46254 2014-09-23 Will Newton <will.newton@linaro.org>
46255
46256 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46257 _LINUX_ARM_SYSDEP_H include guard too.
46258 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46259 define.
46260
46261 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46262
46263 * sysdeps/unix/sysv/linux/eventfd.c:
46264 Make first argument unsigned.
46265 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46266 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46267
46268 2014-09-20 Ondƙej Bílka <neleai@seznam.cz>
46269
46270 [BZ #16852]
46271 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46272 * socket/sys/socket.h: Likewise.
46273 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46274
46275 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46276
46277 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46278
46279 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46280
46281 * time/tst-ftime.c: New test.
46282 * time/Makefile (tests): Add tst-ftime.
46283
46284 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46285
46286 * soft-fp/extended.h: Fix comment formatting.
46287 * soft-fp/op-1.h: Likewise.
46288 * soft-fp/op-2.h: Likewise.
46289 * soft-fp/op-4.h: Likewise.
46290 * soft-fp/op-8.h: Likewise.
46291 * soft-fp/op-common.h: Likewise.
46292 * soft-fp/soft-fp.h: Likewise.
46293
46294 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46295
46296 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46297
46298 [BZ #6652]
46299 * Makeconfig (soversions-default-setname): Remove variable.
46300 ($(common-objpfx)soversions.i): Don't pass default_setname to
46301 soversions.awk.
46302 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46303 oldest_abi to abi-versions.awk.
46304 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46305 * config.make.in (oldest-abi): Remove variable.
46306 * configure.ac (--enable-oldest-abi): Remove configure option.
46307 * configure: Regenerated.
46308 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46309 text.
46310 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46311 * scripts/soversions.awk: Do not handle default_setname variable.
46312 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46313 variable.
46314 * sysdeps/mach/hurd/configure: Regenerated.
46315 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46316 variable.
46317 * sysdeps/unix/sysv/linux/configure: Regenerated.
46318
46319 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46320
46321 * elf/Makefile (CFLAGS-interp.c): Remove.
46322 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46323 path string.
46324 * elf/interp.c: Include generated runtime-linker.h
46325
46326 * Makerules (lib%.so): Don't include $(+interp) in
46327 prerequisites.
46328 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46329 * dlfcn/eval.c: Remove file.
46330
46331 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46332 macros.
46333
46334 [BZ #17266]
46335 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46336 4.2 and newer.
46337
46338 [BZ #17370]
46339 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46340
46341 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46342 Jakub Jelinek <jakub@redhat.com>
46343
46344 [BZ #17266]
46345 * libio/stdio.h: Check definition of __fortify_function
46346 instead of __extern_always_inline to include bits/stdio2.h.
46347 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46348 check if __extern_always_inline is defined.
46349 [__USE_MISC || __USE_XOPEN]: Likewise.
46350 [__USE_ISOC99] Likewise.
46351 * misc/sys/cdefs.h (__fortify_function): Define only if
46352 __extern_always_inline is defined.
46353 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46354 __extern_always_inline and __extern_inline only for g++-4.3
46355 and newer or a compatible gcc.
46356
46357 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46358
46359 [BZ #17371]
46360 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46361 last change to handle zero prefix length.
46362
46363 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46364
46365 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46366 _SC_REGEX_VERSION.
46367
46368 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46369 _POSIX_RAW_SOCKETS.
46370
46371 2014-09-13 Allan McRae <allan@archlinux.org>
46372
46373 * po/ru.po: Update Russian translation from translation project.
46374
46375 2014-09-12 Roland McGrath <roland@hack.frob.com>
46376
46377 * locale/programs/locale.c (show_locale_vars): Inline local function
46378 into its sole call site. Clean up some style nits.
46379 (print_item): New function, broken out of ...
46380 (show_info): ... local function here. Clean up style nits.
46381
46382 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46383 out of ...
46384 (set_class_defaults): ... local function set_default here.
46385 Define set_default as a macro locally to pass constant parameters.
46386 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46387 rather than a shared local.
46388
46389 * stdlib/rpmatch.c (try): New function, broken out of ...
46390 (rpmatch): ... local function here. Also, prototypify definition.
46391
46392 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46393
46394 * scripts/soversions.awk: Do not handle configuration names.
46395 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46396 vendor and os variables to soversions.awk.
46397 * configure.ac: Do not modify gnu-* host_os.
46398 * configure: Regenerated
46399 * shlib-versions: Remove first column with configuration names.
46400 * nptl/shlib-versions: Likewise.
46401 * nptl_db/shlib-versions: Likewise.
46402 * sysdeps/hppa/shlib-versions: Likewise.
46403 * sysdeps/m68k/shlib-versions: Likewise.
46404 * sysdeps/mach/hurd/shlib-versions: Likewise.
46405 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46406 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46407 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46408 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46409 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46410 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46411 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46412 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46414 Likewise.
46415 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46416 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46417 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46418 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46419 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46420 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46421 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46422 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46423
46424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46425 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46427 Regenerated.
46428 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46430 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46431
46432 * shlib-versions: Remove OS-specific entries. Moved to files in
46433 sysdeps.
46434 * sysdeps/mach/hurd/shlib-versions: New file.
46435 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46436
46437 * nptl/shlib-versions: Remove architecture-specific entries.
46438 Moved to files in sysdeps.
46439 * shlib-versions: Likewise.
46440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46441 file.
46442 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46443 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46444 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46445 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46446
46447 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46448 (UDP_NO_CHECK6_RX): Likewise.
46449
46450 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46451
46452 * sysdeps/posix/sysconf.c (__sysconf): Spell
46453 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46454
46455 2014-08-12 Florian Weimer <fweimer@redhat.com>
46456
46457 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46458 loading.
46459 * iconv/Versions (__gconv_transliterate): Export for use from
46460 gconv modules.
46461 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46462 (struct __gconv_trans_data, __gconv_trans_fct,
46463 __gconv_trans_context_fct, __gconv_trans_query_fct,
46464 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46465 definitions.
46466 (struct __gconv_step_data): Remove __trans member.
46467 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46468 longer hidden. Remove unused trans_data argument.
46469 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46470 (__gconv_translit_find): Remove declaration.
46471 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46472 prototype.
46473 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46474 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46475 trans_data argument. Add hidden definition.
46476 (__gconv_translit_find): Remove.
46477 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46478 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46479 * iconv/skeleton.c: Remove transliteration initialization.
46480 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46481 __gconv_step_data initialization.
46482 * libio/iofwide.c (__libio_translit_): Remove.
46483 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46484 * wcsmbs/btowc.c (__btowc): Likewise.
46485 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46486 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46487 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46488 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46489 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46490 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46491 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46492 * wcsmbs/wctob.c (wctob): Likewise.
46493
46494 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46495
46496 [BZ #16194]
46497 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46498 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46499 register usage.
46500 * sysdeps/x86/Makefile: Adjust.
46501
46502 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46503 Roland McGrath <roland@hack.frob.com>
46504
46505 * locale/weight.h: Add include guard.
46506 (findidx): Make static rather than auto; take new parameters
46507 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46508 * locale/weightwc.h: Likewise.
46509 * posix/fnmatch_loop.c
46510 (FCT): Change type of EXTRA from int32_t to wint_t.
46511 Don't include either header inside the function.
46512 Call FINDIDX rather than findidx, and pass new arguments.
46513 #undef FINDIDX at the end of the file.
46514 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46515 FINDIDX before including fnmatch_loop.c for the non-wide version.
46516 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46517 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46518 for the wide version.
46519 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46520 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46521 Pass new arguments to findidx.
46522 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46523 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46524 Don't #include it inside the function. Pass new arguments to findidx.
46525 * posix/regex_internal.h
46526 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46527 (re_string_elem_size_at): Don't #include it inside the function.
46528 Pass new arguments to findidx.
46529 * string/strcoll_l.c: #include WEIGHT_H at top level.
46530 (get_next_seq): Don't #include it inside the function.
46531 Pass new arguments to findidx.
46532 (get_next_seq_nocache): Likewise.
46533 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46534 (STRXFRM): Don't #include it inside the function.
46535 Pass new arguments to findidx.
46536
46537 2014-09-11 Florian Weimer <fweimer@redhat.com>
46538
46539 [BZ #17344]
46540 * malloc/malloc.c (unlink): Turn asserts into a call to
46541 malloc_printerr.
46542
46543 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46544
46545 [BZ #17370]
46546 * libio/wfileops (do_ftell_wide): Free OUT.
46547
46548 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46549
46550 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46551
46552 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46553
46554 [BZ #17363]
46555 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46556 group if the current group is empty.
46557
46558 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46559
46560 * benchtests/bench-memset.c (test_main): Add more test from size
46561 from 32 to 512 bytes.
46562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46563 Add POWER8 memset object.
46564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46565 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46566 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46567 implementation.
46568 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46569 Likewise.
46570 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46571 multiarch POWER8 memset optimization.
46572 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46573 POWER8 memset optimization.
46574
46575 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46576 Remove bzero multiarch objects.
46577 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46578 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46579 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46580 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46581 Remove define.
46582 [__bzero]: Redefine to specific name.
46583 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46584 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46585 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46586 define.
46587 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46588 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46589
46590 2014-09-10 Florian Weimer <fweimer@redhat.com>
46591
46592 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46593 warnings into errors.
46594
46595 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46596 __cxa_thread_atexit_impl prototype.
46597
46598 2014-09-09 Steve Ellcey <sellcey@mips.com>
46599
46600 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46601 Fix capitalization of error message.
46602
46603 2014-09-09 Steve Ellcey <sellcey@mips.com>
46604
46605 * sysdeps/mips/preconfigure: Modify ABI tests.
46606
46607 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46608
46609 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46610
46611 2014-09-07 Roland McGrath <roland@hack.frob.com>
46612 Carlos O'Donell <carlos@systemhalted.org>
46613
46614 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46615 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46616 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46617 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46618 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46619 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46620 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46621 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46622 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46623 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46624 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46626 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46627 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46628 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46629 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46630 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46631 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46632 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46633 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46634 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46635 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46636 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46637 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46638 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46639 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46640 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46641 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46642 Deconditionalize the code that was previously under [RESET_PID].
46643 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46644 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46645 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46646 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46647 include sysdep.h.
46648
46649 2014-09-08 Allan McRae <allan@archlinux.org>
46650
46651 * version.h (RELEASE): Set to "development".
46652 (VERSION): Set to "2.20.90"
46653
46654 2014-09-07 Allan McRae <allan@archlinux.org
46655
46656 * version.h (RELEASE): Set to "stable".
46657 (VERSION): Set to "2.20"
46658 * include/features.h (__GLIBC_MINOR__): Set to 20.
46659
46660 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46661 Liebler.
46662
46663 * po/ko.po: Update Korean translation from translation project.
46664
46665 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46666
46667 [BZ #17354]
46668 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46669 macro for handling signed relocations.
46670
46671 2014-09-03 Florian Weimer <fweimer@redhat.com>
46672
46673 [BZ #17325]
46674 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46675 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46676 assert.
46677 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46678 * iconvdata/ibm935.c (BODY): Likewise.
46679 * iconvdata/ibm937.c (BODY): Likewise.
46680 * iconvdata/ibm939.c (BODY): Likewise.
46681 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46682 assert.
46683 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46684 script.
46685 * iconvdata/run-iconv-test.sh: New test loop for checking for
46686 decoder crashers.
46687
46688 2014-09-02 Khem Raj <raj.khem@gmail.com>
46689
46690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46691 libm_hidden_ver.
46692
46693 2014-09-01 Allan McRae <allan@archlinux.org>
46694
46695 * po/eo.po: Update Esperanto translation from translation project.
46696
46697 * po/ca.po: Update Catalan translation from translation project.
46698
46699 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46700
46701 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46702 __proc_dostop call.
46703
46704 2014-08-27 Mark Wielaard <mjw@redhat.com>
46705
46706 [BZ #17319]
46707 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46708 to call set_thread_area instead of hand written asm.
46709 (__NR_set_thread_area): Removed define.
46710 (TLS_FLAG_WRITABLE): Likewise.
46711 (__ASSUME_SET_THREAD_AREA): Remove check.
46712 (TLS_EBX_ARG): Remove define.
46713 (TLS_LOAD_EBX): Likewise.
46714
46715 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46716
46717 Simplify atomicity of socket creation in bind.
46718
46719 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46720 looking up the name after linking the file.
46721
46722 2014-08-27 Allan McRae <allan@archlinux.org>
46723
46724 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46725
46726 2014-08-26 Florian Weimer <fweimer@redhat.com>
46727
46728 [BZ #17187]
46729 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46730 trans_compare, open_translit, __gconv_translit_find):
46731 Remove module loading code.
46732
46733 2014-08-26 Allan McRae <allan@archlinux.org>
46734
46735 * po/vi.po: Update Vietnamese translation from translation project.
46736
46737 * po/uk.po: Update Ukrainian translation from translation project.
46738
46739 * po/fr.po: Update French translation from translation project.
46740
46741 * po/ru.po: Update Russian translation from translation project.
46742
46743 * po/pl.po: Update Polish translation from translation project.
46744
46745 * po/cs.po: Update Czech translation from translation project.
46746
46747 * po/de.po: Update German translation from translation project.
46748
46749 * po/bg.po: Update Bulgarian translation from translation project.
46750
46751 * po/sv.po: Update Sweedish translation from translation project.
46752
46753 * po/nl.po: Update Dutch translation from translation project.
46754
46755 * po/es.po: Update Spanish translation from translation project.
46756
46757 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46758
46759 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46760
46761 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46762 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46763 (CPPFLAGS-iconvconfig): Likewise.
46764 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46765
46766 * include/libc-symbols.h: Remove unnecessary check for
46767 NOT_IN_libc.
46768 * nptl/pthreadP.h: Likewise.
46769 * sysdeps/aarch64/setjmp.S: Likewise.
46770 * sysdeps/alpha/setjmp.S: Likewise.
46771 * sysdeps/arm/sysdep.h: Likewise.
46772 * sysdeps/i386/setjmp.S: Likewise.
46773 * sysdeps/m68k/setjmp.c: Likewise.
46774 * sysdeps/posix/getcwd.c: Likewise.
46775 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46776 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46777 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46778 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46779 * sysdeps/sh/sh3/setjmp.S: Likewise.
46780 * sysdeps/sh/sh4/setjmp.S: Likewise.
46781 * sysdeps/unix/alpha/sysdep.h: Likewise.
46782 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46784 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46785 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46790 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46793 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46795 * sysdeps/x86_64/setjmp.S: Likewise.
46796
46797 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46798
46799 [BZ #17263]
46800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46801 <stdint.h>.
46802 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46803 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46804
46805 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46806
46807 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46808
46809 [BZ #17262]
46810 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46811 and __x86_64__ when disabling x87 inline functions.
46812
46813 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46814
46815 [BZ #17259]
46816 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46817 asm statement with __cpuid_count.
46818
46819 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46820
46821 * configure.ac: Change __ehdr_start code to dereference the struct.
46822 Run readelf on the output to look for relocations.
46823 * configure: Regenerated.
46824
46825 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46826
46827 [BZ #17261]
46828 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46829 value to 0.
46830 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46831
46832 2014-08-12 Roland McGrath <roland@hack.frob.com>
46833
46834 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46835
46836 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46837
46838 [BZ #16892]
46839 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46840 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46841
46842 2014-08-12 Sean Anderson <seanga2@gmail.com>
46843
46844 * malloc/malloc.c: Fix typo in comment.
46845
46846 2014-08-09 Allan McRae <allan@archlinux.org>
46847
46848 * Regenerate libc.po.
46849
46850 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46851
46852 * intl/tst-gettext2.sh: Check every lang file for creation.
46853
46854 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46855
46856 * sysdeps/aarch64/fpu/math_private.h
46857 (libc_feholdsetround_noex_aarch64_ctx): New function.
46858
46859 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46860
46861 * sysdeps/arm/armv6/strcpy.S (strcpy):
46862 Fix performance issue in misaligned cases.
46863
46864 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46865
46866 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46867 Move definition from termios.h.
46868 (struct termio): Likewise.
46869 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46870 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46871 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46872 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46873 Likewise.
46874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46875 Move definition to ioctl-types.h
46876 (struct termio): Likewise.
46877 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46878 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46879 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46880 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46881 Likewise.
46882
46883 2014-08-05 Richard Henderson <rth@redhat.com>
46884
46885 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46886 exceptions.
46887 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46888 Add fraiseexcpt.
46889 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46890 Use __feraiseexcept.
46891 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46892 Protect libm symbols with IS_IN_libm.
46893
46894 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46895
46896 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46897
46898 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46899
46900 2014-08-04 Will Newton <will.newton@linaro.org>
46901
46902 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46903 file.
46904
46905 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46906
46907 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46908 variants for each function.
46909
46910 2014-08-04 Roland McGrath <roland@hack.frob.com>
46911
46912 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46913 appended ...
46914 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46915 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46916 appended ...
46917 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46918 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46919 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46920 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46921 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46922 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46923 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46924 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46925 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46926 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46927 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46928 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46929 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46930 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46931 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46932 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46933 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46934 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46935 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46936 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46937 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46938 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46939 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46940 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46941 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46942 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46943 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46944 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46945 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46946 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46947 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46948 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46949 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46950 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46951 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46952 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46953 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46954 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46955 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46956 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46957 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46959 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46960 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46961 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46963 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46964 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46965 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46966 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46967 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46968 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46969 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46970 Update #include.
46971 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46972 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46973
46974 2014-08-04 Roland McGrath <roland@hack.frob.com>
46975
46976 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46977 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46978 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46979 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46980 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46981 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46982
46983 2014-08-04 Roland McGrath <roland@hack.frob.com>
46984
46985 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46986 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46987 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46988 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46989
46990 2014-08-04 Roland McGrath <roland@hack.frob.com>
46991
46992 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46993 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46994 (__libc_vfork): Define function under this name.
46995 (__vfork): Define as an alias.
46996 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46997 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46998
46999 2014-08-04 Roland McGrath <roland@hack.frob.com>
47000
47001 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47002 that was previously under [RESET_PID].
47003 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47004
47005 2014-08-04 Andreas Schwab <schwab@suse.de>
47006
47007 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47008
47009 2014-08-03 Mike Frysinger <vapier@gentoo.org>
47010
47011 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47012 (main): Likewise.
47013
47014 2014-08-01 Roland McGrath <roland@hack.frob.com>
47015
47016 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47017
47018 2014-08-01 Richard Henderon <rth@redhat.com>
47019
47020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47021 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47022 typo in exact zero test.
47023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47026
47027 2014-08-01 Roland McGrath <roland@hack.frob.com>
47028
47029 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47030 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47031 * sysdeps/arm/sysdep.h: ... here.
47032 [!__ASSEMBLER__]: Include <stdint.h>.
47033
47034 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47035
47036 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47037 (HAVE_WCTYPE_H): Likewise.
47038 (HAVE_ISWCTYPE): Likewise.
47039 (ENABLE_NLS): Likewise.
47040 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47041 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47042
47043 * posix/regex_internal.c: Check if DEBUG is defined and is
47044 set.
47045
47046 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47047 (HAVE_MBSRTOWCS): Likewise.
47048 * posix/fnmatch.c: Include string.h unconditionally.
47049
47050 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47051
47052 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47053 reversal.
47054
47055 2014-07-31 Roland McGrath <roland@hack.frob.com>
47056
47057 * sysdeps/generic/safe-fatal.h: New file.
47058 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47059 * nptl/forward.c: Include it.
47060 (__pthread_unwind): Use __safe_fatal as default action, rather
47061 than a bogus use of INTERNAL_SYSCALL that could never work.
47062
47063 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47064 * configure.ac (libc_cv_builtin_trap): New test.
47065 * configure: Regenerated.
47066 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47067 (ABORT_INSTRUCTION): Define using __builtin_trap.
47068
47069 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47070 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47071 * sysdeps/nptl/nptl-signals.h: New file.
47072 * nptl/pthreadP.h: Include <nptl-signals.h>.
47073
47074 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47075
47076 * sysdeps/s390/s390-64/utf16-utf32-z9.c
47077 (ONE_DIRECTION): Define.
47078 * sysdeps/s390/s390-64/utf8-utf16-z9.c
47079 (ONE_DIRECTION): Define.
47080 * sysdeps/s390/s390-64/utf8-utf32-z9.c
47081 (ONE_DIRECTION): Define.
47082
47083 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47084
47085 * sysdeps/s390/Makefile: Delete file.
47086 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47087 * sysdeps/s390/__longjmp.c: Delete file.
47088 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47089 Remove fields __flags and __reserved.
47090 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47091 and add versioning.
47092 * sysdeps/s390/rtld-__longjmp.c: Delete file.
47093 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47094 * sysdeps/s390/rtld-setjmp.S: Likewise.
47095 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47096 * sysdeps/s390/s390-32/__longjmp.c: ... here.
47097 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47098 * sysdeps/s390/s390-32/setjmp.S: ... here.
47099 Add versioning.
47100 (__sigsetjmp): Remove setting __flags field.
47101 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47102 * sysdeps/s390/s390-64/__longjmp.c: ... here.
47103 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47104 * sysdeps/s390/s390-64/setjmp.S: ... here.
47105 Add versioning.
47106 (__sigsetjmp): Remove setting __flags field.
47107 * sysdeps/s390/setjmp.S: Delete file.
47108 * sysdeps/s390/sigjmp.c: Likewise.
47109 * sysdeps/s390/v1-longjmp.c: Likewise.
47110 * sysdeps/s390/v1-setjmp.h: Likewise.
47111 * sysdeps/s390/v1-sigjmp.c: Likewise.
47112 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47113 Remove v1-longjmp_chk.
47114 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47115 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47116 Include debug/longjmp_chk.c and add versioning.
47117 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47118 Include nptl/pt-longjmp.c and add versioning.
47119 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47120 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47121 Include __longjmp.c.
47122 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47123 Move to ...
47124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47125 (__getcontext): Remove setting __flags field.
47126 Add versioning.
47127 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47128 Don't restore upper high grps.
47129 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47130 Likewise.
47131 (__swapcontext): Remove setting uc_flags field.
47132 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47133 Delete file.
47134 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47135 Include __longjmp.c.
47136 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47137 Move to ...
47138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47139 (__getcontext): Remove setting __flags field.
47140 Add versioning.
47141 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47142 (__swapcontext): Remove setting uc_flags field.
47143 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47145 Remove fields uc_high_gprs and __reserved.
47146 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47147 New file with reverted content.
47148 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47150 Regenerated.
47151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47152 Regenerated.
47153
47154 2014-07-31 Andreas Schwab <schwab@suse.de>
47155
47156 * config.h.in (HAVE_IFUNC): Define to 0.
47157 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47158 definedness.
47159
47160 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
47161
47162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47163 memmove-avx-unaligned, memcpy-avx-unaligned and
47164 mempcpy-avx-unaligned.
47165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47166 Add tests for AVX memcpy functions.
47167 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47168 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47169 memcpy_chk.
47170 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47171 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47172 memmove_chk.
47173 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47174 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47175 mempcpy_chk.
47176 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47177 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47178 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47179
47180 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47181
47182 [BZ #17213]
47183 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47184 powerpc64le.
47185
47186 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
47187
47188 [BZ #16839]
47189 * manual/llio.texi: Add section about open file description locks.
47190 * manual/examples/ofdlocks.c: Example of open file description
47191 lock usage.
47192 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47193 F_OFD_SETLK, and F_OFD_SETLKW.
47194
47195 2014-07-23 Allan McRae <allan@archlinux.org>
47196
47197 * po/es.po: Update Spanish translation from translation project.
47198
47199 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47200
47201 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47202
47203 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47204
47205 [BZ #17078]
47206 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47207 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47208 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47209
47210 2014-07-17 Joseph Myers <joseph@codesourcery.com>
47211
47212 [BZ #17088]
47213 * math/fesetenv.c (__fesetenv)
47214 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47215 * math/feupdateenv.c (__feupdateenv)
47216 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47217
47218 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47219 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47220 (__ASSUME_SOCKETCALL): Do not define.
47221
47222 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47223 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47224 (__ASSUME_SOCKETCALL): Do not define.
47225 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47226 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47227 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47228 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47229 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47230 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47231 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47232 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47233
47234 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47235 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47236 (__ASSUME_SOCKETCALL): Do not define.
47237 (__ASSUME_IPC64): Define unconditionally.
47238 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47239 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47240 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47241 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47242 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47243 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47244 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47245 Likewise.
47246
47247 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47248 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47249 (__ASSUME_SOCKETCALL): Do not define.
47250 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47251 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47252 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47253 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47254 (__ASSUME_REQUEUE_PI): Define unconditionally.
47255 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47256 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47257 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47258 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47259 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47260 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47261
47262 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47263 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47264 (__ASSUME_SOCKETCALL): Do not define.
47265 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47266 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47267 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47268 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47269 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47270 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47271
47272 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47273 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47274 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47275 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47276 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47277 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47278 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47279 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47280 (__ASSUME_GETCPU_SYSCALL): Likewise.
47281
47282 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47283 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47284 cases for individual architectures.
47285 * sysdeps/gnu/configure: Regenerated.
47286 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47287 LIBC_SLIBDIR_RTLDDIR.
47288 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47289 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47290 LIBC_SLIBDIR_RTLDDIR.
47291 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47293 LIBC_SLIBDIR_RTLDDIR.
47294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47295 Regenerated.
47296 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47297 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47298 file.
47299 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47300 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47301 file.
47302 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47303 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47304 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47305 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47306
47307 * sysdeps/aarch64/shlib-versions: Move to ...
47308 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47309 * sysdeps/alpha/shlib-versions: Move to ...
47310 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47311 * sysdeps/arm/shlib-versions: Move to ...
47312 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47313 * sysdeps/hppa/shlib-versions: Move all contents except for
47314 libgcc_s entry to ...
47315 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47316 entry from ...
47317 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47318 * sysdeps/ia64/shlib-versions: Move to ...
47319 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47320 entry from ...
47321 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47322 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47323 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47324 * sysdeps/microblaze/shlib-versions: Move to ...
47325 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47326 * sysdeps/mips/shlib-versions: Move to ...
47327 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47328 entry from ...
47329 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47330 * sysdeps/tile/shlib-versions: Move to ...
47331 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47332 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47333 from ...
47334 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47336 entry from ...
47337 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47338
47339 2014-07-17 Will Newton <will.newton@linaro.org>
47340
47341 * sysdeps/arm/bits/atomic.h
47342 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47343 (__arch_compare_and_exchange_bool_16_int): Likewise.
47344 (__arch_compare_and_exchange_bool_64_int): Likewise.
47345
47346 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47347 into an #else block.
47348
47349 2014-07-16 Roland McGrath <roland@hack.frob.com>
47350
47351 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47352 just Linux configurations. Test empirically that the compiler sets
47353 __ARM_EABI__, rather than using the tuple to decide.
47354 * sysdeps/arm/preconfigure: Regenerated.
47355 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47356 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47357 contents appended ...
47358 * sysdeps/arm/configure.ac: ... here.
47359 * sysdeps/arm/configure: Regenerated.
47360
47361 2014-07-15 Roland McGrath <roland@hack.frob.com>
47362
47363 * nptl/pthread_kill.c: New file.
47364 * nptl/pthread_sigmask.c: New file.
47365 * nptl/pthread_sigqueue.c: New file.
47366
47367 * sysdeps/nptl/lowlevellock.h: New file.
47368 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47369 * sysdeps/nptl/lowlevellock-futex.h: New file.
47370
47371 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47372 Remove dead declarations.
47373
47374 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47375
47376 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47377 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47378 config-cflags-avx2.
47379 * sysdeps/x86_64/configure.ac: Likewise.
47380 * sysdeps/i386/configure: Regenerated.
47381 * sysdeps/x86_64/configure: Likewise.
47382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47383 memset-avx2 only if config-cflags-avx2 is yes.
47384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47385 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47386 defined.
47387 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47388 only if HAVE_AVX2_SUPPORT is defined.
47389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47390
47391 2014-07-14 Alan Modra <amodra@gmail.com>
47392
47393 [BZ #17153]
47394 * elf/elf.h (DT_PPC64_NUM): Correct value.
47395 * NEWS: Add to fixed bug list.
47396
47397 2014-07-13 Jim Meyering <meyering@fb.com>
47398
47399 [BZ 17150]
47400 regex: don't deref NULL upon heap allocation failure
47401 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47402 failure in one more place.
47403 To trigger the segfault, configure grep -with-included-regex,
47404 build it, and run these commands:
47405 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47406
47407 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47408
47409 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47410
47411 2014-07-11 Richard Henderson <rth@redhat.com>
47412
47413 * sysdeps/aarch64/libm-test-ulps: Update.
47414
47415 2014-07-10 Florian Weimer <fweimer@redhat.com>
47416
47417 [BZ #17135]
47418 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47419 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47420 (__nptl_setxid): Initialize error member. Call
47421 __nptl_setxid_error.
47422 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47423 * nptl/descr.h (struct xid_command): Add error member.
47424 * nptl/tst-setuid3.c: New file.
47425 * nptl/Makefile (tests): Add it.
47426
47427 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47428
47429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47430 New define.
47431 (__lll_trylock): Use __lll_base_trylock.
47432 (__lll_cond_trylock): Likewise.
47433
47434 2014-07-10 Roland McGrath <roland@hack.frob.com>
47435
47436 * nptl/pthread_create.c (start_thread): Use atomic_or and
47437 lll_futex_wake directly rather than lll_robust_dead.
47438 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47439 (lll_robust_dead): Macro removed.
47440 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47441 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47442 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47443 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47445 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47446 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47447 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47448 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47449 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47450 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47451 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47452 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47453 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47454 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47455
47456 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47457 Use atomic_compare_and_exchange_val_acq directly rather than
47458 lll_robust_trylock.
47459 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47460 (__lll_robust_trylock, lll_robust_trylock): Removed.
47461 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47462 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47463 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47465 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47466 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47467 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47468 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47469 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47470 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47471 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47472 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47473 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47474 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47475
47476 2014-07-02 Florian Weimer <fweimer@redhat.com>
47477
47478 * manual/locale.texi (Locale Names): New section documenting
47479 locale name syntax. Adjust menu and node chaining accordingly.
47480 (Choosing Locale): Reference Locale Names, Locale Categories.
47481 Mention setting LC_ALL=C. Reflect that name syntax is now
47482 documented.
47483 (Locale Categories): New section title. Reference Locale Names.
47484 LC_ALL is an environment variable, but not a category.
47485 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47486 description, now in Locale Name. Reference that section. Locale
47487 name syntax is now documented.
47488
47489 2014-07-02 Florian Weimer <fweimer@redhat.com>
47490
47491 [BZ #17137]
47492 * locale/findlocale.c (name_present, valid_locale_name): New
47493 functions.
47494 (_nl_find_locale): Use the loc_name variable to store name
47495 candidates. Call name_present and valid_locale_name to check and
47496 validate locale names. Return an error if the locale is invalid.
47497
47498 2014-07-02 Florian Weimer <fweimer@redhat.com>
47499
47500 * locale/setlocale.c (setlocale): Use strdup for allocating
47501 composite name copy.
47502
47503 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47504
47505 Sync up with gnulib.
47506 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47507 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47508 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47509 and _GL_ARG_NONNULL.
47510 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47511 [!_LIBC]: Include code for Windows and Cygwin.
47512 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47513 Include prototype for int strerror_r.
47514 [!_LIBC] (is_open): New function.
47515 (flush_stdout): New function.
47516 (print_errno_message): Use it.
47517 (error): Likewise.
47518 (error_at_line): Likewise.
47519 (error_tail) Add function attribute macros. Use
47520 __builtin_expect.
47521
47522 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47523
47524 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47525
47526 * io/ftw.c: Include sys/param.h unconditionally.
47527
47528 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47529
47530 [BZ #17125]
47531 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47532 libc_freeres_ptr.
47533 (freecache): New function to free CACHE on exit.
47534
47535 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47536 initialization.
47537
47538 2014-07-09 David S. Miller <davem@davemloft.net>
47539
47540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47541
47542 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47543 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47544 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47545 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47546 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47547 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47548 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47549 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47550 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47551 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47552 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47553 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47554 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47555
47556 2014-07-09 Andreas Schwab <schwab@suse.de>
47557
47558 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47559 output.
47560 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47561 (do_test): Likewise.
47562
47563 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47564
47565 2014-07-09 Will Newton <will.newton@linaro.org>
47566
47567 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47568 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47569 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47570 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47571 * sysdeps/hppa/start.S (_start): Likewise.
47572
47573 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47574
47575 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47576
47577 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47578 defined.
47579
47580 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47581
47582 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47583 after checking that it is non-NULL.
47584
47585 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47586
47587 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47588
47589 * sysdeps/powerpc/memmove.c: Remove file.
47590 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47591 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47592 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47593 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47594 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47595 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47596 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47597 string memmove instead of removed powerpc one.
47598
47599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47600 [weak_alias]: Fix compiler warning due trailing data.
47601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47602 [weak_alias]: Likewise.
47603 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47604 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47605
47606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47607 (__libc_ifunc_impl_list): Add memmove functions.
47608
47609 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47610
47611 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47612 Remove code.
47613 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47614 Likewise.
47615 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47616 Likewise.
47617 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47618 Likewise.
47619 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47620 Likewise.
47621 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47622 Likewise.
47623 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47624 Likewise.
47625 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47626 Likewise.
47627 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47628 Likewise.
47629 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47630 Likewise.
47631 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47632 Likewise.
47633 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47634 Likewise.
47635 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47636 Likewise.
47637 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47638 Likewise.
47639 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47640 Likewise.
47641 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47642 Likewise.
47643 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47644 Likewise.
47645
47646 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47647
47648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47649 to avoid alignment traps in non-cacheable memory.
47650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47651
47652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47653 multiarch objects.
47654 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47655 file: multiarch power7 memmove.
47656 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47657 multiarch default memmove.
47658 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47659 multiarch memove for powerpc32/power4.
47660
47661 * string/bcopy.c: Use full path to include memmove.c.
47662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47663 multiarch objects.
47664 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47665 bcopy for powerpc64.
47666 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47667 bcopy for powerpc64.
47668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47669 and memmove implementations.
47670 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47671 optimized multiarch memmove for POWER7/powerpc64.
47672 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47673 default multiarch memmove for powerpc64.
47674 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47675 multiarch for powerpc64.
47676 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47677 for POWER7/powerpc64.
47678 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47679 memmove for POWER7/powerpc64.
47680
47681 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47682 glibc default one.
47683
47684 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47685 __ELF_NATIVE_CLASS equal to 64.
47686
47687 2014-07-07 Roland McGrath <roland@hack.frob.com>
47688
47689 * sysdeps/nptl/lowlevellock.h: File removed.
47690
47691 * NEWS: NPTL is no longer an add-on!
47692 * nptl/internaltypes.h: Moved ...
47693 * sysdeps/nptl/internaltypes.h: ... here.
47694 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47695 * sysdeps/nptl/fork.c: Likewise.
47696 * sysdeps/nptl/gai_misc.h: Likewise.
47697 * sysdeps/nptl/librt-cancellation.c: Likewise.
47698 * sysdeps/nptl/jmp-unwind.c: Likewise.
47699 * sysdeps/nptl/setxid.h: Likewise.
47700 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47701 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47702 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47703 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47704 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47705 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47706 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47707 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47708 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47709 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47710 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47711 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47712 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47713 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47714 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47715 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47716 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47717 * nptl/Makeconfig: Moved ...
47718 * sysdeps/nptl/Makeconfig: ... here.
47719 * nptl/configure: File removed.
47720 * nptl/ANNOUNCE: File removed.
47721 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47722 * sysdeps/unix/sysv/linux/configure: Regenerated.
47723
47724 * nptl/Makefile (routines): Add libc_pthread_init,
47725 libc_multiple_threads, register-atfork and unregister-atfork.
47726 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47727 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47728 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47729 pthread-pi-defines.sym, structsem.sym.
47730 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47731 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47732 [$(subdir) = nptl] (tests): Add tst-setgetname.
47733 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47734 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47735 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47736 [!LIBC_SIGACTION]: Remove aliases.
47737 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47738 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47739 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47740 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47741 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47742 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47744 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47745 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47746 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47747 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47748 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47749 __libc_allocate_rtsig_private.
47750 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47752 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47753 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47754 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47755 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47756 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47757 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47758 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47759 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47760 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47761 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47762 * nptl/internaltypes.h: ... here.
47763 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47764 * sysdeps/nptl/jmp-unwind.c: ... here.
47765 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47766 * nptl/libc-lowlevellock.c: ... here.
47767 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47768 * nptl/libc_multiple_threads.c: ... here.
47769 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47770 * nptl/libc_pthread_init.c: ... here.
47771 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47772 * nptl/lowlevelbarrier.sym: ... here.
47773 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47774 * nptl/lowlevelcond.sym: ... here.
47775 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47776 * nptl/lowlevellock.c: ... here.
47777 * nptl/lowlevellock.h: Moved ...
47778 * sysdeps/nptl/lowlevellock.h: ... here.
47779 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47780 * nptl/lowlevelrobustlock.c: ... here.
47781 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47782 * nptl/lowlevelrobustlock.sym: ... here.
47783 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47784 * nptl/lowlevelrwlock.sym: ... here.
47785 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47786 * nptl/pt-fork.c: ... here.
47787 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47788 * nptl/pthread-pi-defines.sym: ... here.
47789 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47790 * nptl/pthread_attr_getaffinity.c: ... here.
47791 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47792 * nptl/pthread_attr_setaffinity.c: ... here.
47793 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47794 * nptl/pthread_mutex_cond_lock.c: ... here.
47795 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47796 Update #include.
47797 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47798 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47799 * nptl/pthread_once.c: ... here, replacing old file.
47800 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47801 * nptl/pthread_yield.c: ... here.
47802 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47803 * nptl/register-atfork.c: ... here.
47804 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47805 * nptl/sem_post.c: ... here.
47806 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47807 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47808 * nptl/sem_timedwait.c: ... here.
47809 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47810 * nptl/sem_trywait.c: ... here.
47811 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47812 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47813 * nptl/sem_wait.c: ... here.
47814 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47815 * nptl/structsem.sym: ... here.
47816 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47817 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47818 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47819 * nptl/unregister-atfork.c: ... here.
47820 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47821 * nptl/unwindbuf.sym: ... here.
47822 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47823 * sysdeps/nptl/fork.c: ... here.
47824 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47825 * sysdeps/nptl/fork.h: ... here.
47826 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47827 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47828 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47829 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47830 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47831 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47832 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47833 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47834 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47835 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47836 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47837 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47838 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47839 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47840 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47841 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47842 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47843 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47844 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47845 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47846 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47847 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47848 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47849 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47850 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47851 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47852 * sysdeps/unix/sysv/linux/raise.c: ... here.
47853 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47854 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47855 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47856 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47857 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47858 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47859 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47860 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47861 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47862 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47863 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47864 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47865 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47866 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47867 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47868
47869 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47870
47871 * sysdeps/generic/memcopy.h: Add comment for
47872 MEMCPY_OK_FOR_FWD_MEMMOVE.
47873
47874 2014-07-04 Will Newton <will.newton@linaro.org>
47875
47876 * string/memchr.c: Merge from gnulib.
47877 [_LIBC]: Remove conditionals.
47878 (__ptr_t): Remove define.
47879 (LONG_MAX_32_BITS): Likewise.
47880 (LONG_MAX): Likewise.
47881 (MEMCHR): Use ANSI prototype and optimize algorithm.
47882
47883 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47884
47885 2014-07-03 Roland McGrath <roland@hack.frob.com>
47886
47887 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47888 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47889
47890 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47891 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47892 in a bare environment with no <stdlib.h> installed.
47893 * sysdeps/nptl/configure: Regenerated.
47894
47895 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47896
47897 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47898 AC_EGREP_CPP for kernel header checks, so they only succeed if
47899 including <linux/version.h> actually works right.
47900 * sysdeps/unix/sysv/linux/configure: Regenerated.
47901
47902 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47903 value so it's not diagnosed as unused.
47904
47905 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47906 thing) with "ifeq ($(subdir),rt)".
47907
47908 2014-07-03 Richard Henderson <rth@redhat.com>
47909
47910 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47911 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47912 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47913
47914 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47915 (math_force_eval): New.
47916
47917 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47918 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47919
47920 * sysdeps/alpha/fpu/s_round.c: Remove file.
47921 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47922
47923 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47924 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47925 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47926 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47927 (_dl_start, print_statistics): Likewise.
47928 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47929 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47930
47931 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47932 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47933 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47934 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47936 (HP_SMALL_TIMING_AVAIL): Define.
47937 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47939 (HP_SMALL_TIMING_AVAIL): Define.
47940 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47941 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47942
47943 * sysdeps/aarch64/hp-timing.h: New file.
47944
47945 * sysdeps/generic/hp-timing.h: Remove dead comment.
47946 * sysdeps/generic/hp-timing-common.h: New file.
47947 * sysdeps/alpha/hp-timing.h: Include it.
47948 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47949 * sysdeps/i386/i686/hp-timing.h: Likewise.
47950 * sysdeps/ia64/hp-timing.h: Likewise.
47951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47952 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47953 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47954 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47955 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47956 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47957 (hp_timing_t): New.
47958
47959 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47960 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47961 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47962 * elf/rtld.c (_dl_start_final): Likewise.
47963 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47964 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47965 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47966 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47967 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47968 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47969 (HP_TIMING_DIFF_INIT): Remove.
47970 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47972 (HP_TIMING_DIFF_INIT): Remove.
47973 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47974 * sysdeps/i386/i686/hp-timing.c: Remove file.
47975 * sysdeps/x86_64/hp-timing.c: Remove file.
47976 * sysdeps/ia64/hp-timing.c: Remove file.
47977 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47978 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47979 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47980 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47981
47982 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47983 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47984 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47985 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47987 (HP_TIMING_ACCUM): Remove.
47988 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47990 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47991
47992 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47993 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47994 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47995 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47997 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47999 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48000
48001 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48002
48003 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
48004
48005 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48006
48007 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48008
48009 Sync up with gettext.
48010 * intl/loadmsgcat.c: Define O_BINARY if not defined.
48011 [_MSC_VER]: Include malloc.h
48012 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48013 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48014 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
48015 TEMP_FAILURE_RETRY. Cast return of alloca.
48016 [!_LIBC] Call gl_rwlock_init.
48017 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48018
48019 2014-07-02 Roland McGrath <roland@hack.frob.com>
48020
48021 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48022 before checking its value.
48023
48024 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48025
48026 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48027
48028 * debug/memcpy_chk.c: Don't include pagecopy.h.
48029 * debug/mempcpy_chk.c: Likewise.
48030 * string/memcpy.c: Likewise.
48031 * string/memmove.c: Likewise.
48032 * sysdeps/powerpc/memmove.c: Likewise.
48033 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
48034 definition of PAGE_COPY_FWD_MAYBE here...
48035 * sysdeps/generic/pagecopy.h: ... from here.
48036 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48037
48038 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48039 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48040
48041 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48043 optimizations.
48044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48045 (__libc_ifunc_impl_list): Likewise.
48046 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48047 multiarch strcat for PPC64.
48048 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48049 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48050
48051 2014-07-02 Roland McGrath <roland@hack.frob.com>
48052
48053 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48054
48055 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48056
48057 * intl/loadmsgcat.c: Remove declaration of
48058 get_sysdep_segment_value.
48059 (get_sysdep_segment_value): Use ISO C style.
48060 (_nl_load_domain): Use ISO C style. Get rid of redundant
48061 semicolon. Fix typo and formatting in comment.
48062 (_nl_unload_domain): Use ISO C style.
48063
48064 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48065
48066 2014-07-02 Will Newton <will.newton@linaro.org>
48067
48068 * malloc/obstack.c: Merge from gnulib master.
48069 [HAVE_CONFIG_H]: Remove conditional code.
48070 [!_LIBC]: Include config.h.
48071 [!ELIDE_CODE]: Don't include inttypes.h, include
48072 stdint.h unconditionally.
48073 (print_and_abort): Mark as _Noreturn.
48074 (_obstack_allocated_p): Mark as __attribute_pure__.
48075 (obstack_free): Rename to __obstack_free.
48076 [!__attribute__]: Remove conditional code.
48077 * malloc/obstack.h: Merge from gnulib master.
48078 [__cplusplus]: Move conditional down.
48079 [!__attribute_pure__]: Define __attribute_pure__ here
48080 if it is not already defined.
48081 (_obstack_memory_used): Mark as __attribute_pure__.
48082 [!__obstack_free]: Define as obstack_free.
48083 [__GNUC__]: Remove check for ancient NeXT gcc.
48084
48085 2014-07-02 Will Newton <will.newton@linaro.org>
48086 Paul Eggert <eggert@cs.ucla.edu>
48087
48088 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48089
48090 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48091
48092 * resolv/gethnamaddr.c: Add comment warning that the file is
48093 not maintained.
48094
48095 2014-07-01 Carlos O'Donell <carlos@redhat.com>
48096
48097 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48098 entries.
48099
48100 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48101 entry for aio_cancel and aio_cancel64.
48102 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48103 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48104 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48105 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48106 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48107 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48108 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48109 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48110 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48111 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48112 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48113 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48114 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48115
48116 2014-07-01 Roland McGrath <roland@hack.frob.com>
48117
48118 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48119 * nptl/pthread_mutex_lock.c: Likewise.
48120 * nptl/pthread_mutex_timedlock.c: Likewise.
48121 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48122
48123 2014-07-01 Richard henderson <rth@redhat.com>
48124
48125 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48126 (__isnan, __isnanl): Remove.
48127 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48128
48129 * sysdeps/alpha/fpu/libm-test-ulps: Update.
48130
48131 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48132
48133 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48134
48135 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48136
48137 * resolv/nss_dns/dns-host.c (getanswer_r)
48138 [MULTI_PTRS_ARE_ALIASES]: Remove code.
48139
48140 2014-07-01 Joseph Myers <joseph@codesourcery.com>
48141
48142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48143 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48144 undefine.
48145 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48146 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48147
48148 2014-07-01 Roland McGrath <roland@hack.frob.com>
48149
48150 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48151 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48152
48153 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48154 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48155
48156 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48157 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48158 ... here.
48159 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48161
48162 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48163 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48164 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48165 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48166
48167 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48168 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48169 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48170 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48171 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48172 Moved ...
48173 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48174 ... here.
48175 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48176 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48177 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48178 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48179 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48180 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48181 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48182 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48183 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48184 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48185 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48186 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48187 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48188 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48189 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48190 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48191 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48192 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48193 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48194 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48195 ... here.
48196 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48197 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48198 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48199 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48200 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48201 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48202 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48203 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48204
48205 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48206
48207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48208 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48209 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48210 Add sysdep.
48211
48212 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48213
48214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48215
48216 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48217
48218 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48219 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48220
48221 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48222
48223 * sysdeps/arm/libm-test-ulps: Regenerated.
48224
48225 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48226 Roland McGrath <roland@hack.frob.com>
48227
48228 * test-skeleton.c (signal_handler): Kill the whole process group
48229 before killing the child individually.
48230 (main): Report any failure on `setpgid'.
48231
48232 2014-06-30 Roland McGrath <roland@hack.frob.com>
48233
48234 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48235 from _TLS_H to _ARM_NPTL_TLS_H.
48236 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48237 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48238
48239 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48240
48241 [BZ #16539]
48242 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48243 (__expm1l): Return argument unchanged when small but not
48244 subnormal.
48245
48246 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48247 include macro name.
48248 (_FP_UNPACK_RAW_1_P): Likewise.
48249 (_FP_PACK_RAW_1): Likewise.
48250 (_FP_PACK_RAW_1_P): Likewise.
48251 (_FP_MUL_MEAT_1_wide): Likewise.
48252 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48253 (_FP_MUL_MEAT_1_hard): Likewise.
48254 (_FP_DIV_MEAT_1_imm): Likewise.
48255 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48256 (_FP_DIV_MEAT_1_udiv): Likewise.
48257 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48258 (_FP_UNPACK_RAW_2): Likewise.
48259 (_FP_UNPACK_RAW_2_P): Likewise.
48260 (_FP_PACK_RAW_2): Likewise.
48261 (_FP_PACK_RAW_2_P): Likewise.
48262 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48263 (_FP_MUL_MEAT_2_wide): Likewise.
48264 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48265 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48266 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48267 (_FP_MUL_MEAT_2_gmp): Likewise.
48268 (_FP_DIV_MEAT_2_udiv): Likewise.
48269 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48270 (_FP_FRAC_SRL_4): Likewise.
48271 (_FP_FRAC_SRST_4): Likewise.
48272 (_FP_FRAC_SRS_4): Likewise.
48273 (_FP_UNPACK_RAW_4): Likewise.
48274 (_FP_UNPACK_RAW_4_P): Likewise.
48275 (_FP_PACK_RAW_4): Likewise.
48276 (_FP_PACK_RAW_4_P): Likewise.
48277 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48278 (_FP_MUL_MEAT_4_wide): Likewise.
48279 (_FP_MUL_MEAT_4_gmp): Likewise.
48280 (umul_ppppmnnn): Likewise.
48281 (_FP_DIV_MEAT_4_udiv): Likewise.
48282 (__FP_FRAC_ADD_4): Likewise.
48283 (__FP_FRAC_SUB_3): Likewise.
48284 (__FP_FRAC_SUB_4): Likewise.
48285 (__FP_FRAC_DEC_3): Likewise.
48286 (__FP_FRAC_DEC_4): Likewise.
48287 (__FP_FRAC_ADDI_4): Likewise.
48288 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48289 (_FP_FRAC_SRL_8): Likewise.
48290 (_FP_FRAC_SRS_8): Likewise.
48291
48292 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48293 include macro name.
48294 (FP_UNPACK_RAW_EP): Likewise.
48295 (FP_PACK_RAW_E): Likewise.
48296 (FP_PACK_RAW_EP): Likewise.
48297 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48298 (_FP_ISSIGNAN): Likewise.
48299 (_FP_ADD_INTERNAL): Likewise.
48300 (_FP_FMA): Likewise.
48301 (_FP_CMP): Likewise.
48302 (_FP_SQRT): Likewise.
48303 (_FP_TO_INT): Likewise.
48304 (_FP_FROM_INT): Likewise.
48305 (FP_EXTEND): Likewise.
48306 (_FP_DIV_MEAT_N_loop): Likewise.
48307
48308 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48309
48310 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48311 throughout.
48312
48313 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48314
48315 [BZ #17097]
48316 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48317 result with correct sign in case of exponents that produce
48318 overflow except for X very close to 1.
48319
48320 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48321
48322 mktime: merge #if/#ifdef usage from glibc
48323 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48324 as that works with both Glibc's and Gnulib's style.
48325 See thread starting at Siddhesh Poyarekar's bug report at:
48326 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48327
48328 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48329
48330 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48331 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48332 * sysdeps/tile/tilegx/memmove.c: Remove file.
48333
48334 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48335
48336 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48337 abi-name definition.
48338 * scripts/soversions.awk: Do not handle or generate ABI lines.
48339 * shlib-versions: Remove ABI entries.
48340 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48341 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48342
48343 2014-06-27 Roland McGrath <roland@hack.frob.com>
48344
48345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48346 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48347 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48348 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48350 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48352 Moved ...
48353 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48354 ... here.
48355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48356 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48358 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48360 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48362 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48364 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48366 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48368 Moved ...
48369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48371 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48373 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48375 Moved ...
48376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48378 Moved ...
48379 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48383 Moved ...
48384 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48386 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48388 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48390 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48392 Moved ...
48393 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48395 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48396 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48397 Moved ...
48398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48400 Moved ...
48401 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48403 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48405 Moved ...
48406 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48407 ... here.
48408 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48409 Identical file removed.
48410 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48411 Moved ...
48412 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48414 Identical file removed.
48415 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48416 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48417 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48418 Moved ...
48419 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48421 Identical file removed.
48422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48423 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48425 Identical file removed.
48426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48427 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48429 Identical file removed.
48430 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48431 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48433 Identical file removed.
48434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48435 Moved ...
48436 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48438 Identical file removed.
48439 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48440 Moved ...
48441 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48442 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48443 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48444 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48445 Identical file removed.
48446 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48447 Moved ...
48448 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48449 ... here.
48450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48451 Identical file removed.
48452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48453 Moved ...
48454 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48456 Identical file removed.
48457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48458 Moved ...
48459 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48461 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48465 Moved ...
48466 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48467 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48468 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48469
48470 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48471 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48472 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48473 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48474 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48475
48476 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48477
48478 [BZ #17092]
48479 * nscd/nscd.c (monitor_child): Return exit status of child
48480 instead of return value from wait syscall.
48481
48482 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48483
48484 * configure.ac (libc_commonpagesize): Remove variable.
48485 (libc_relro_required): Likewise.
48486 (libc_cv_z_relro): Remove configure test.
48487 * configure: Regenerated.
48488 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48489 variable.
48490 (libc_relro_required): Likewise.
48491 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48492 (libc_relro_required): Likewise.
48493 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48494 (libc_relro_required): Likewise.
48495 * sysdeps/arm/preconfigure: Regenerated.
48496 * sysdeps/ia64/preconfigure: Remove file.
48497 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48498 variable.
48499 (libc_relro_required): Likewise.
48500
48501 [BZ #16561]
48502 [BZ #16562]
48503 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48504 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48505 recompute overflowing results in original rounding mode.
48506 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48507 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48508 recompute overflowing results in original rounding mode.
48509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48510 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48511 recompute overflowing results in original rounding mode.
48512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48513 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48514 recompute overflowing results in original rounding mode.
48515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48516 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48517 recompute overflowing results in original rounding mode.
48518 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48519 (libc_feholdsetround_ctx): New macro.
48520 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48521 * sysdeps/i386/fpu/libm-test-ulps: Update.
48522 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48523
48524 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48525
48526 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48527 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48528 corresponding .cpsetup call.
48529
48530 2014-06-26 Roland McGrath <roland@hack.frob.com>
48531
48532 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48533 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48534 * sysdeps/arm/Makefile [$(subdir) = csu]
48535 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48536 (static-only-routines): Add aeabi_read_tp here.
48537 (shared-only-routines): Add libc-aeabi_read_tp here.
48538 (CFLAGS-libc-start.c): Add -fexceptions here.
48539 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48540 (sysdep_routines, static-only-routines, shared-only-routines):
48541 Don't add to these here.
48542 (CFLAGS-libc-start.c): Likewise.
48543
48544 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48545 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48546 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48547 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48548 * sysdeps/arm/Makefile [$(subdir) = rt]
48549 (librt-sysdep_routines, librt-shared-only-routines):
48550 Append rt-aeabi_unwind_cpp_pr1 here.
48551 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48552 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48553 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48554 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48555 Append nptl-aeabi_unwind_cpp_pr1 here.
48556 (tests): Filter out tst-cleanupx4 here.
48557 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48558 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48559 Don't do those here.
48560
48561 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48562
48563 * scripts/list-sources.sh: Do not handle ports specially.
48564
48565 2014-06-26 Roland McGrath <roland@hack.frob.com>
48566
48567 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48568 * sysdeps/arm/feupdateenv.c: Likewise.
48569
48570 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48571
48572 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48573
48574 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48575 trailing whitespace removed.
48576 * scripts/config.guess: Update to version 2014-03-23.
48577 * scripts/config.sub: Update to version 2014-05-01
48578 * scripts/install-sh: Update to version 2013-12-25.23.
48579 * scripts/move-if-change: Update from gnulib.
48580
48581 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48582
48583 * debug/memmove_chk.c: Remove pagecopy.h include.
48584
48585 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48586
48587 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48588 identical to gnulib mktime.
48589
48590 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48591
48592 * configure.ac: Do not test for machine being rs6000. Do not test
48593 for powerpc*-*soft.
48594 * configure: Regenerated.
48595
48596 [BZ #11505]
48597 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48598 test.
48599 * configure: Regenerated.
48600 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48601 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48602 Remove configure test.
48603 * sysdeps/arm/configure: Regenerated.
48604 * sysdeps/nptl/configure.ac: Do not check
48605 libc_cv_asm_cfi_directives.
48606 * sysdeps/nptl/configure: Regenerated.
48607 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48608 * sysdeps/x86_64/nptl/configure: Remove generated file.
48609 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48610 unconditional.
48611 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48612
48613 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48614
48615 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48616 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48617 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48618 it is defined.
48619
48620 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48621 instead of whether it is defined.
48622 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48623 * sysdeps/hppa/dl-machine.h: Likewise.
48624 * sysdeps/ia64/dl-machine.h: Likewise.
48625 * sysdeps/m68k/dl-machine.h: Likewise.
48626 * sysdeps/microblaze/dl-machine.h: Likewise.
48627 * sysdeps/mips/dl-machine.: Likewise.
48628 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48629 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48630 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48631 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48632 * sysdeps/sh/dl-machine.h: Likewise.
48633 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48634 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48635 * sysdeps/tile/dl-machine.h: Likewise.
48636 * sysdeps/x86_64/dl-machine.h: Likewise.
48637
48638 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48639 code.
48640 (verify_persistent_db): Likewise.
48641
48642 2014-06-26 Roland McGrath <roland@hack.frob.com>
48643
48644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48645 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48647 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48649 Moved ...
48650 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48651 ... here.
48652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48653 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48655 Identical file removed.
48656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48657 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48659 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48661 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48663 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48665 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48667 Moved ...
48668 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48670 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48672 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48674 Moved ...
48675 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48677 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48679 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48681 Identical file removed.
48682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48683 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48685 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48687 Moved ...
48688 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48689 ... here.
48690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48691 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48693 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48695 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48697 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48699 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48701 Moved ...
48702 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48704 Moved ...
48705 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48707 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48709 Moved ...
48710 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48712 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48713
48714 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48715 folded into ...
48716 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48717 * sysdeps/unix/sysv/linux/s390/Versions
48718 (libpthread: GLIBC_2.19): New version set.
48719 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48720 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48721 (librt: GLIBC_2.3.3): New version set.
48722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48723 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48724 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48725 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48726 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48727 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48728 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48729 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48730 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48731 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48732 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48733 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48734 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48735 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48736 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48737 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48738 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48739 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48740 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48741 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48742 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48743 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48744 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48745 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48746 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48747 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48748 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48749 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48750 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48752 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48753 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48758 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48759 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48760 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48762 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48763 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48764 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48766 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48767
48768 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48769 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48770 (__libc_vfork): Define the function under this name.
48771 [!NOT_IN_libc] (__vfork): Make this an alias.
48772 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48774 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48775 (__libc_vfork): Define the function under this name.
48776 [!NOT_IN_libc] (__vfork): Make this an alias.
48777 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48778 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48779 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48782 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48783
48784 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48785 code that was previously under [RESET_PID].
48786 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48787 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48788 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48789
48790 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48791 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48792 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48793 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48794 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48795 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48796 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48797 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48798 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48799 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48800 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48801 Moved ...
48802 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48803 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48804 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48805 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48806 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48807 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48808 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48809 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48810 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48811 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48812 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48813 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48814 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48815 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48816 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48817 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48818 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48819 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48820 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48821 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48822 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48823 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48824 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48825 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48826 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48827 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48828 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48829 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48830 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48831
48832 2014-06-25 Roland McGrath <roland@hack.frob.com>
48833
48834 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48835 that was previously under [RESET_PID].
48836 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48837
48838 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48839
48840 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48841 not undefine and redefine.
48842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48843 [O_CLOEXEC]: Make code unconditional.
48844 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48845 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48846 <kernel-features.h>.
48847 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48848 conditional variable definition.
48849 (shm_open) [O_CLOEXEC]: Make code unconditional.
48850 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48851 code.
48852
48853 * configure.ac (USE_REGPARMS): Don't define here.
48854 * configure: Regenerated.
48855 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48856 * sysdeps/i386/configure: Regenerated.
48857
48858 * nptl/createthread.c: Don't include kernel-features.h.
48859 * nptl/pthread_cancel.c: Likewise.
48860 * nptl/pthread_condattr_setclock.c: Likewise.
48861 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48862 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48863 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48864 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48865 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48866 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48867 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48869 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48870 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48871 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48872 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48873 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48874 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48875 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48876 * nscd/gai.c: Likewise.
48877 * nss/nss_db/db-open.c: Likewise.
48878 * sysdeps/generic/ldsodefs.h: Likewise.
48879 * sysdeps/sh/nptl/tls.h: Likewise.
48880 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48881 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48882 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48883 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48884 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48885 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48886 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48887 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48888 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48889 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48890 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48891 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48892 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48893 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48894 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48895 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48896 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48897 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48898 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48899 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48902 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48903 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48906 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48907 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48908 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48909 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48910 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48911 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48912 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48913 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48914 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48915 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48916 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48917 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48918 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48919 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48920 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48921 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48922 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48923 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48924 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48925 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48926 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48927 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48928 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48929 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48930 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48931 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48932 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48933 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48934 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48935 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48936 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48937 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48960 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48961 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48962 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48963 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48964 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48965 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48966 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48967 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48968 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48969 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48970 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48971 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48972 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48973 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48974 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48975 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48976 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48977 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48978 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48979 * sysdeps/unix/sysv/linux/system.c: Likewise.
48980 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48981 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48982 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48983 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48984 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48985 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48986 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48987
48988 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48989 * configure: Regenerated.
48990 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48991
48992 * configure.ac (base_machine): Do not set specially for particular
48993 machines here.
48994 * configure: Regenerated.
48995 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48996 settings from configure.ac.
48997 * sysdeps/i386/preconfigure: New file.
48998 * sysdeps/s390/preconfigure: Likewise.
48999 * sysdeps/sh/preconfigure: Likewise.
49000 * sysdeps/sparc/preconfigure: Likewise.
49001
49002 2014-06-25 Roland McGrath <roland@hack.frob.com>
49003
49004 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49005 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49006 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49007 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49008 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49009 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49010 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49011 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49012 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49013 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49014 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49015 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49016 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49017 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49018 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49019 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49021 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49022 * sysdeps/sparc/sparc64/Makefile: ... appended here.
49023
49024 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49025 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49026 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49027 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49028 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49029 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49030 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49031 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49032 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49033 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49034 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49035 * sysdeps/sparc/sparc32/sem_post.c: ... here.
49036 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49037 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49038 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49039 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49040 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49041 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49042 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49043 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49044 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49045 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49046 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49047 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49048 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49049 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49050 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49051 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49053 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49054 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49055 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49056 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49057 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49058 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49059 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49060 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49061 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49062
49063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49064 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49066 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49068 Moved ...
49069 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49070 ... here.
49071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49072 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49074 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49076 Moved ...
49077 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49079 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49081 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49083 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49085 Moved ...
49086 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49088 Moved ...
49089 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49091 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49093 Moved ...
49094 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49096 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49098 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49100 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49102 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49104 Moved ...
49105 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49106 ... here.
49107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49108 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49112 Moved ...
49113 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49115 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49117 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49119 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49121 Moved ...
49122 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49124 Moved ...
49125 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49127 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49129 Moved ...
49130 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49132 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49134 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49135
49136 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49137
49138 * timezone/checktab.awk: Update from tzcode 2014e.
49139 * timezone/private.h: Likewise.
49140 * timezone/tzfile.h: Likewise.
49141 * timezone/zdump.c: Likewise.
49142 * timezone/zic.c: Likewise.
49143
49144 * sysdeps/unix/sysv/linux/kernel-features.h
49145 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49146 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49147 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49148 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49149 Remove conditional code.
49150
49151 2014-06-25 Will Newton <will.newton@linaro.org>
49152
49153 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49154 (_dl_arm_cap_flags): Add HWCAP2 values.
49155 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49156 (_DL_HWCAP_COUNT): Increase to 37.
49157 (_DL_HWCAP_LAST): New define.
49158 (_DL_HWCAP2_LAST): New define.
49159 (_dl_procinfo): Add support for printing
49160 AT_HWCAP2 entries.
49161 (_dl_string_hwcap): Use _dl_hwcap_string.
49162
49163 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49164
49165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49166
49167 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49168
49169 * README: Do not mention ports directory.
49170
49171 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49172 Remove macro.
49173 * sysdeps/unix/sysv/linux/futimes.c: Do not include
49174 <kernel-features.h>.
49175 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49176 conditional variable definition.
49177 (__futimes): Update comment.
49178 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49179 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49180
49181 [BZ #16560]
49182 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49183 arguments close to 0.
49184 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49185 Likewise.
49186 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49187 Likewise.
49188 * math/auto-libm-test-in: Add more tests of exp10.
49189 * math/auto-libm-test-out: Regenerated.
49190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49191
49192 * sysdeps/unix/sysv/linux/kernel-features.h
49193 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49194 * sysdeps/unix/sysv/linux/readv.c: Do not include
49195 <kernel-features.h>.
49196 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49197 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49198 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49199 unconditional.
49200 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49201 conditional code.
49202 * sysdeps/unix/sysv/linux/writev.c: Do not include
49203 <kernel-features.h>.
49204 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49205 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49206 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49207 unconditional.
49208 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49209 conditional code.
49210
49211 2014-06-25 Will Newton <will.newton@linaro.org>
49212
49213 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49214 comment changes throughout the file. Remove checks
49215 for HAVE_*_H definitions that are not required.
49216 (__gen_tempname): Call abort if an unknown kind value is
49217 passed.
49218
49219 2014-06-25 Andreas Schwab <schwab@suse.de>
49220
49221 [BZ #17086]
49222 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49223 scalbln, scalblnf, scalblnl in libc.
49224
49225 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49226
49227 [BZ #17086]
49228 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49229 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49230 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49231
49232 2014-06-24 Roland McGrath <roland@hack.frob.com>
49233
49234 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49235 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49236 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49237 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49238 Update #include.
49239 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49240 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49241 Update #include.
49242 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49243 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49244 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49245 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49246 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49247 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49248 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49249 * sysdeps/x86/bits/semaphore.h: ... here.
49250 * sysdeps/x86/nptl/elide.h: Moved ...
49251 * sysdeps/x86/elide.h: ... here.
49252 * sysdeps/x86_64/nptl/Implies: File removed.
49253 * sysdeps/i386/nptl/Implies: File removed.
49254
49255 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49256
49257 [BZ #16539]
49258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49259 return the argument for normal arguments with exponent below -64.
49260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49261 Likewise.
49262 * math/auto-libm-test-in: Add another test of expm1.
49263 * math/auto-libm-test-out: Regenerated.
49264
49265 [BZ #16287]
49266 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49267 calling __erfcl for arguments at least 16.
49268 * math/auto-libm-test-in: Add more tests of erf.
49269 * math/auto-libm-test-out: Regenerated.
49270
49271 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49272 individual architectures.
49273 * sysdeps/unix/sysv/linux/configure: Regenerated.
49274 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49275 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49276 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49277 (ldd_rewrite_script): Define variable.
49278 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49280 file.
49281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49282 generated file.
49283 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49284 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49285 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49286 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49287 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49288 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49289 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49290 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49291
49292 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49293
49294 [BZ #17084]
49295 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49296 Rename member __data.d to __data.__elision_data.
49297
49298 2014-06-24 Wilco <wdijkstr@arm.com>
49299
49300 * NEWS: Add 16918 to fixed bug list.
49301
49302 2014-06-24 Wilco <wdijkstr@arm.com>
49303
49304 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49305
49306 2014-06-24 Wilco <wdijkstr@arm.com>
49307
49308 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49309 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49310 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49311 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49312 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49313 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49314 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49315 Use _FPU_MASK_RM.
49316
49317 2014-06-24 Wilco <wdijkstr@arm.com>
49318
49319 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49320
49321 2014-06-24 Wilco <wdijkstr@arm.com>
49322
49323 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49324 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49325 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49326 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49327
49328 2014-06-24 Wilco <wdijkstr@arm.com>
49329
49330 [BZ #16918]
49331 * sysdeps/arm/feupdateenv.c (feupdateenv):
49332 Rewrite to reduce FPSCR accesses and fix return value.
49333
49334 2014-06-24 Wilco <wdijkstr@arm.com>
49335
49336 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49337 Optimize to avoid unnecessary FPSCR writes.
49338 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49339 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49340 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49341 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49342
49343 2014-06-24 Wilco <wdijkstr@arm.com>
49344
49345 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49346 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49347 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49348 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49349 Call libc_fetestexcept_vfp.
49350 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49351 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49352 __SOFTFP__ ifdef so that they can be built for softfp.
49353
49354 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49355
49356 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49357 argument type signed char.
49358
49359 * Makerules (check-abi): Dump diff of symlist if the test
49360 fails.
49361
49362 2014-06-23 Roland McGrath <roland@hack.frob.com>
49363
49364 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49365 using abort.
49366
49367 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49368 Remove unused variable ST.
49369
49370 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49371
49372 [BZ #16354]
49373 [BZ #17061]
49374 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49375 small arguments before calling __expm1.
49376 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49377 small arguments before calling __expm1f.
49378 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49379 small arguments before calling __expm1l.
49380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49381 Likewise.
49382 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49383 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49384 spurious underflow for some cosh tests.
49385 * math/auto-libm-test-out: Regenerated.
49386 * sysdeps/i386/fpu/libm-test-ulps: Update.
49387
49388 [BZ #17050]
49389 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49390 (__ieee754_y1): Set errno if return value overflows.
49391 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49392 (__ieee754_y1f): Set errno if return value overflows.
49393 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49394 (__ieee754_y1l): Set errno if return value overflows.
49395 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49396 (__ieee754_y1l): Set errno if return value overflows.
49397 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49398 * math/auto-libm-test-out: Regenerated.
49399
49400 * math/gen-auto-libm-tests.c: Document use of
49401 ignore-zero-inf-sign.
49402 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49403 (input_flags): Add ignore-zero-inf-sign.
49404 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49405 * math/gen-libm-test.pl (generate_testfile): Handle
49406 ignore-zero-inf-sign.
49407 * math/auto-libm-test-in: Mark some cpow tests with
49408 ignore-zero-inf-sign and some with xfail-rounding.
49409 * math/auto-libm-test-out: Regenerated.
49410 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49411 * sysdeps/i386/fpu/libm-test-ulps: Update.
49412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49413
49414 [BZ #16315]
49415 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49416 overflowing or underflowing operations take place with sign of
49417 result.
49418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49420 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49421 (__ieee754_pow): Recompute overflowing and underflowing results in
49422 original rounding mode.
49423 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49424 (__powl_helper): Allow negative argument X and scale negated value
49425 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49426 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49427 overflowing or underflowing operations take place with sign of
49428 result.
49429 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49430 Include <math.h>.
49431 * math/auto-libm-test-in: Add more tests of pow.
49432 * math/auto-libm-test-out: Regenerated.
49433 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49434 (pow_tonearest_test_data): Remove.
49435 (pow_test_tonearest): Likewise.
49436 (pow_towardzero_test_data): Likewise.
49437 (pow_test_towardzero): Likewise.
49438 (pow_downward_test_data): Likewise.
49439 (pow_test_downward): Likewise.
49440 (pow_upward_test_data): Likewise.
49441 (pow_test_upward): Likewise.
49442 (main): Don't call removed functions.
49443 * sysdeps/i386/fpu/libm-test-ulps: Update.
49444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49445
49446 2014-06-23 Roland McGrath <roland@hack.frob.com>
49447
49448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49449 Moved ...
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49452 Moved ...
49453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49455 Moved ...
49456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49458 Moved ...
49459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49461 File removed.
49462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49463 File removed.
49464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49465 File removed.
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49467 File removed.
49468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49469 File removed.
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49471 File removed.
49472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49473 File removed.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49475 File removed.
49476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49477 File removed.
49478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49479 File removed.
49480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49481 File removed.
49482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49483 File removed.
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49485 Moved ...
49486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49488 Moved ...
49489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49490 ... here.
49491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49492 Moved ...
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49495 Moved ...
49496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49498 Moved ...
49499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49501 Moved ...
49502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49504 Moved ...
49505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49507 Moved ...
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49510 Moved ...
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49514 ... here.
49515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49516 Moved ...
49517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49519 Moved ...
49520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49521 ... here.
49522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49523 Moved ...
49524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49525 ... here.
49526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49527 Moved ...
49528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49529 ... here.
49530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49531 Moved ...
49532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49534 Moved ...
49535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49539 Moved ...
49540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49541 ... here.
49542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49543 Moved ...
49544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49545 ... here.
49546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49547 Moved ...
49548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49550 Moved ...
49551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49553 Moved ...
49554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49556 Moved ...
49557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49559 Moved ...
49560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49561 ... here.
49562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49563 Moved ...
49564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49566 Moved ...
49567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49569 Moved ...
49570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49572 Moved ...
49573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49577 Moved ...
49578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49580 Moved ...
49581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49583 Moved ...
49584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49585 ... here.
49586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49587 Moved ...
49588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49589 ... here.
49590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49591 Moved ...
49592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49593 ... here.
49594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49595 Moved ...
49596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49598 Moved ...
49599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49601 Moved ...
49602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49604 Moved ...
49605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49606 ... here.
49607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49608 Moved ...
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49610 ... here.
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49612 Moved ...
49613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49614 ... here.
49615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49616 Moved ...
49617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49619 Moved ...
49620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49621
49622 2014-06-23 Will Newton <will.newton@linaro.org>
49623 Wilco <wdijkstr@arm.com>
49624
49625 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49626 implementation. Include get-rounding-mode.h.
49627 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49628 [!libc_feholdsetround_noex_ctx]: Define
49629 libc_feholdsetround_noex_ctx.
49630 [!libc_feholdsetround_noexf_ctx]: Define
49631 libc_feholdsetround_noexf_ctx.
49632 [!libc_feholdsetround_noexl_ctx]: Define
49633 libc_feholdsetround_noexl_ctx.
49634 (libc_feholdsetround_ctx): New function.
49635 (libc_feresetround_ctx): New function.
49636 (libc_feholdsetround_noex_ctx): New function.
49637 (libc_feresetround_noex_ctx): New function.
49638
49639 2014-06-23 Roland McGrath <roland@hack.frob.com>
49640
49641 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49642 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49643 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49644 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49645 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49646 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49647
49648 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49649 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49650 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49651 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49652 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49653 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49654 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49655 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49657 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49658 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49659 Moved ...
49660 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49661 ... here.
49662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49663 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49665 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49667 Moved ...
49668 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49670 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49672 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49674 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49676 Moved ...
49677 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49679 Moved ...
49680 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49682 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49684 Moved ...
49685 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49687 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49688 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49689 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49690 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49691 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49692 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49693 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49694 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49695 Moved ...
49696 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49697 ... here.
49698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49699 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49700 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49701 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49702 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49703 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49705 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49707 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49709 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49711 Moved ...
49712 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49714 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49716 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49718 Moved ...
49719 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49720 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49721 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49722 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49723 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49724
49725 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49726 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49727 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49728 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49729 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49730 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49731 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49732 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49734 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49735 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49736 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49737 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49738 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49739 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49740 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49741 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49742 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49743 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49744 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49745 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49746 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49747 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49748 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49749 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49750 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49751 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49752 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49753
49754 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49755
49756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49757 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49758 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49759 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49760 (IPV6_PMTUDISC_INTERFACE): Likewise.
49761 (IPV6_PMTUDISC_OMIT): Likewise.
49762
49763 2014-06-23 Andreas Schwab <schwab@suse.de>
49764
49765 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49766 Remove unused errout label.
49767
49768 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49769
49770 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49771 macro: hardware supports Vector Crypto instructions.
49772
49773 2014-06-23 Will Newton <will.newton@linaro.org>
49774
49775 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49776 rather than __builtin_expect.
49777
49778 * elf/dl-lookup.c (undefined_msg): Remove variable.
49779 (_dl_lookup_symbol_x): Replace undefined_msg with string
49780 literal.
49781
49782 * elf/dl-lookup.c (do_lookup_unique): New function.
49783 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49784 to a separate function.
49785
49786 2014-06-23 Andreas Schwab <schwab@suse.de>
49787
49788 [BZ #17079]
49789 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49790 before reading the next line.
49791
49792 2014-06-23 Will Newton <will.newton@linaro.org>
49793
49794 * test-skeleton.c (signal_handler): Use printf and %m
49795 rather than perror. Use printf rather than fprintf to
49796 stderr. Use puts rather than fputs to stderr.
49797 (main): Likewise.
49798
49799 2014-06-22 Ludovic CourtĂšs <ludo@gnu.org>
49800
49801 * nscd/nscd.c (thread_info_t): Remove typedef.
49802 (thread_info): Remove variable.
49803
49804 2014-06-21 Allan McRae <allan@archlinux.org>
49805
49806 * NEWS: Mention CVE-2014-4043.
49807
49808 2014-06-20 Roland McGrath <roland@hack.frob.com>
49809
49810 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49811 * nptl/smp.h: ... here.
49812
49813 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49814
49815 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49816 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49817 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49818 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49819
49820 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49821 * nptl/stack-aliasing.h: New file.
49822 * sysdeps/i386/i686/stack-aliasing.h: New file.
49823 * sysdeps/i386/i686/nptl/Makefile: File removed.
49824 * sysdeps/x86_64/stack-aliasing.h: New file.
49825 * sysdeps/x86_64/nptl/Makefile
49826 (CFLAGS-pthread_create.c): Variable removed.
49827
49828 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49829 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49830 old file.
49831 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49832 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49833 old file.
49834
49835 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49836
49837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49838 (__ASSUME_SIGFRAME_V2): Remove macro.
49839 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49840 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49841 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49842 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49843 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49844 Declare as function. Remove conditional macro definitions.
49845 (__default_rt_sa_restorer): Likewise.
49846 (__default_sa_restorer_v1): Remove declaration.
49847 (__default_sa_restorer_v2): Likewise.
49848 (__default_rt_sa_restorer_v1): Likewise.
49849 (__default_rt_sa_restorer_v2): Likewise.
49850 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49851 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49852 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49853
49854 2014-06-20 Roland McGrath <roland@hack.frob.com>
49855
49856 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49857 (libpthread-routines): Add sysdep.
49858 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49859 * sysdeps/unix/sysv/linux/sparc/Versions
49860 (libpthread: GLIBC_2.3.3): New version set.
49861 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49862 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49863 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49864 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49865 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49866 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49867 Moved ...
49868 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49869 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49870 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49871 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49872 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49873 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49874 * sysdeps/sparc/nptl/sem_init.c: ... here.
49875 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49876 * sysdeps/sparc/nptl/sem_post.c: ... here.
49877 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49878 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49879 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49880 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49881 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49882 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49883 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49884 (libpthread-routines): Add cpu_relax.
49885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49886 File removed.
49887 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49888 (librt: GLIBC_2.3.3): New version set.
49889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49890 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49891 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49892 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49895 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49897 Moved ...
49898 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49900 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49902 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49904 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49906 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49908 Moved ...
49909 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49910 Update #include.
49911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49912 Moved ...
49913 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49914 Update #include.
49915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49916 Moved ...
49917 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49918 Update #include.
49919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49920 Moved ...
49921 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49922 Update #include.
49923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49924 Moved ...
49925 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49926 Update #include.
49927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49928 Moved ...
49929 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49930 Update #include.
49931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49932 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49942 Moved ...
49943 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49945 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49947 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49948
49949 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49950
49951 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49952 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49953 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49954 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49955 * nscd/nscd.c: Likewise.
49956 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49957 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49958 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49959 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49960
49961 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49962 <kernel-features.h>.
49963 (init_mq_netlink): Remove conditional have_sock_cloexec
49964 definitions. Remove code conditional on have_sock_cloexec < 0.
49965 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49966 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49967 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49968 <kernel-features.h>.
49969 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49970 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49971
49972 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49973
49974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49975 Add tests for memset_chk and memset.
49976
49977 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49978 with AVX2_Usable.
49979
49980 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49981
49982 [BZ #16046]
49983 * elf/tst-dl-iter-static.c: New file.
49984 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49985
49986 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49987 error.
49988
49989 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49990
49991 * sysdeps/unix/sysv/linux/kernel-features.h
49992 (__ASSUME_F_GETOWN_EX): Remove macro.
49993 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49994 <kernel-features.h>.
49995 (miss_F_GETOWN_EX): Remove variable or macro.
49996 (do_fcntl): Do not check miss_F_GETOWN_EX.
49997 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49998
49999 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50000 Remove macro.
50001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50002 [!__ASSUME_AT_RANDOM]: Remove conditional code.
50003 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50004
50005 * sysdeps/unix/sysv/linux/kernel-features.h
50006 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50007 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50008 [ADJ_OFFSET_SS_READ]: Make code unconditional.
50009 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50010
50011 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50012
50013 [BZ #17075]
50014 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50015 Fix calculation of the symbol's value.
50016 * sysdeps/arm/tst-armtlsdescloc.c: New file.
50017 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50018 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50019 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50020 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50021 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50022 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50023 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50024 (modules-names): Add `tst-armtlsdescmod',
50025 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50026 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50027 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50028 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50029 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50030 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50031 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50032 ($(objpfx)tst-armtlsdescloc): New dependency.
50033 ($(objpfx)tst-armtlsdescextnow): Likewise.
50034 ($(objpfx)tst-armtlsdescextlazy): Likewise.
50035 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50036 TLS scheme support.
50037 * sysdeps/arm/configure: Regenerate.
50038
50039 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50040
50041 * include/fcntl.h (__atfct_seterrno): Remove prototype.
50042 (__atfct_seterrno_2): Likewise.
50043 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50044 <kernel-features.h>.
50045 (__ASSUME_ATFCTS): Do not undefine and redefine.
50046 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50047 (__have_atfcts): Remove conditional definition.
50048 (__fxstatat([__NR_fstatat64]: Make code unconditional.
50049 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50050 unreachable if [__ASSUME_ATFCTS].
50051 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50052 not undefine and redefine.
50053 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50054 <kernel-features.h>.
50055 (faccessat) [__NR_faccessat]: Make code unconditional.
50056 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50057 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50058 <kernel-features.h>.
50059 (fchmodat) [__NR_fchmodat]: Make code unconditional.
50060 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50061 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50062 <kernel-features.h>.
50063 (fchownat) [__NR_fchownat]: Make code unconditional.
50064 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50065 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50066 <kernel-features.h>.
50067 (futimesat) [__NR_futimesat]: Make code unconditional.
50068 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50069 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50070 <kernel-features.h>.
50071 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50072 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50073 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50074 <kernel-features.h>.
50075 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50076 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50077 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50078 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50079 <kernel-features.h>.
50080 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50081 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50082 * sysdeps/unix/sysv/linux/linkat.c: Do not include
50083 <kernel-features.h>.
50084 (linkat) [__NR_linkat]: Make code unconditional.
50085 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50086 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50087 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50088 <kernel-features.h>.
50089 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50090 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50091 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50092 <kernel-features.h>.
50093 (mkdirat) [__NR_mkdirat]: Make code unconditional.
50094 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50095 * sysdeps/unix/sysv/linux/openat.c: Do not include
50096 <kernel-features.h>.
50097 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50098 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50099 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50100 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50101 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50102 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50103 <kernel-features.h>.
50104 (readlinkat) [__NR_readlinkat]: Make code unconditional.
50105 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
50106 result of INLINE_SYSCALL directly, not via int variable.
50107 * sysdeps/unix/sysv/linux/renameat.c: Do not include
50108 <kernel-features.h>.
50109 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50110 (renameat) [__NR_renameat]: Make code unconditional.
50111 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50112 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50113 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50114 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50115 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50116 (__ASSUME_ATFCTS): Do not undefine and redefine.
50117 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50118 <kernel-features.h>.
50119 (symlinkat) [__NR_symlinkat]: Make code unconditional.
50120 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50121 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50122 <kernel-features.h>.
50123 (unlinkat) [__NR_unlinkat]: Make code unconditional.
50124 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50125 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50126 (__ASSUME_ATFCTS): Do not undefine and redefine.
50127 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50128 <kernel-features.h>.
50129 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50130 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50131 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50132 <kernel-features.h>.
50133 (__xmknodat) [__NR_mknodat]: Make code unconditional.
50134 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50135
50136 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50137
50138 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50139
50140 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
50141
50142 [BZ #17069]
50143 * posix/regcomp.c (parse_reg_exp): Deallocate partially
50144 constructed tree before returning error.
50145 * posix/bug-regexp36.c: Expand test case.
50146
50147 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
50148
50149 [BZ #6803]
50150 * math/libm-test.inc (scalbln_test_date):
50151 Add errno expectations.
50152 * math/w_scalblnf.c: New File.
50153 Add wrapper which checks for setting errno to ERANGE.
50154 Add weak_alias for corresponding scalbln function.
50155 * math/w_scalbln.c: Likewise.
50156 * math/w_scalblnl.c: Likewise.
50157 * math/Makefile (libm-calls): Add w_scalbln.
50158 * sysdeps/ieee754/flt-32/s_scalblnf.c:
50159 Remove weak_alias for corresponding scalbln function.
50160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50163 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50164 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50165 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50166 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50167 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50168 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50169 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50170 Remove long_double_symbol for scalblnl function in libm, libc.
50171 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50172 Add wrapper which checks for setting errno to ERANGE.
50173 Add long_double_symbol for scalblnl function in libm, libc.
50174 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50175 Remove long_double_symbol for scalblnl in libm.
50176 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50177 Add wrapper which checks for setting errno to ERANGE.
50178 Add long_double_symbol for scalblnl function in libm.
50179 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50180 Do not use wrapper because of own implementation.
50181
50182 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50183
50184 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50185 3 bytes for __pad1 for x32.
50186 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50187
50188 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50189 H.J. Lu <hongjiu.lu@intel.com>
50190
50191 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50192 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50193 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50194 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50195 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50196
50197 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50198
50199 [BZ #17069]
50200 * posix/regcomp.c (parse_expression): Deallocate partially
50201 constructed tree before returning error.
50202 * posix/Makefile.c (tests): Add bug-regex36.
50203 (generated): Add bug-regex36.mtrace.
50204 (tests-special): Add $(objpfx)bug-regex36-mem.out
50205 (bug-regex36-ENV): New variable.
50206 ($(objpfx)bug-regex36-mem.out): New rule.
50207 * posix/bug-regex36.c: New file.
50208
50209 2014-06-19 Will Newton <will.newton@linaro.org>
50210
50211 * malloc/malloc.c (systrim): If extra is zero then return
50212 early.
50213
50214 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50215
50216 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50217
50218 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
50219
50220 * sysdeps/aarch64/strchr.S: New file.
50221
50222 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50223
50224 [BZ #17022]
50225 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50226 from arguments -2 or below.
50227 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50228 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50229
50230 2014-06-18 Andreas Schwab <schwab@suse.de>
50231
50232 [BZ #17062]
50233 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50234 of a bracket expr not to run off the end of the string.
50235 * posix/Makefile (tests): Add tst-fnmatch3.
50236 * posix/tst-fnmatch3.c: New file.
50237
50238 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50239
50240 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50241 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50242 [$(cross-compiling) = no]: Likewise.
50243 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50244 [$(cross-compiling) = no]: Likewise.
50245
50246 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50247
50248 [BZ #17031]
50249 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50250 double, adjusted for any remainder from the high double.
50251 * math/libm-test.inc (nearbyint): Add tests.
50252 (rint): Likewise.
50253
50254 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50255
50256 * nptl/sysdeps/powerpc/Makefile: Moved ...
50257 * sysdeps/powerpc/nptl/Makefile: ... here.
50258 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50259 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50260 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50261 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50262 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50263 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50264 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50265 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50266 * nptl/sysdeps/powerpc/tls.h: Moved ...
50267 * sysdeps/powerpc/nptl/tls.h: ... here.
50268
50269 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50270
50271 [BZ #16681]
50272 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50273 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50274 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50275 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50276 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50277 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50278 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50279 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50280 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50281
50282 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50283
50284 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50285
50286 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50287
50288 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50289 defined operator.
50290
50291 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50292 $TIMEOUTFACTOR.
50293
50294 2014-06-16 Florian Weimer <fweimer@redhat.com>
50295
50296 [BZ #17058]
50297 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50298 non-executed part of the test.
50299
50300 2014-06-16 Andreas Schwab <schwab@suse.de>
50301
50302 * string/bits/string2.h (strdup, strndup): Update feature guard.
50303
50304 2014-06-14 David S. Miller <davem@davemloft.net>
50305
50306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50307
50308 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50309
50310 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50311 that was previously under [RESET_PID].
50312 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50313
50314 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50315 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50316 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50317 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50318 (__libc_vfork): New strong alias.
50319 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50320
50321 2014-06-14 Andi Kleen <ak@linux.intel.com>
50322
50323 * sysdeps/generic/elide.h: New file.
50324
50325 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50326
50327 * Makefile (installed-headers): Adjust path of pthread.h header.
50328
50329 2014-06-13 Roland McGrath <roland@hack.frob.com>
50330
50331 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50332 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50333 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50334 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50335
50336 * nptl/sysdeps/s390/Makefile: Moved ...
50337 * sysdeps/s390/nptl/Makefile: ... here.
50338 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50339 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50340 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50341 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50342 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50343 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50344 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50345 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50346 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50347 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50348 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50349 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50350 * nptl/sysdeps/s390/tls.h: Moved ...
50351 * sysdeps/s390/nptl/tls.h: ... here.
50352
50353 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50354 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50355
50356 2014-06-13 David S. Miller <davem@davemloft.net>
50357
50358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50361 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50365 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50366 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50367 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50368 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50369 Remove RESET_PID cpp guards.
50370 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50371 Remove RESET_PID cpp guards.
50372 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50373
50374 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50375
50376 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50377 __sp to uintptr_t.
50378
50379 2014-06-13 Andi Kleen <ak@linux.intel.com>
50380
50381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50382 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50383 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50384 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50385 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50389 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50390 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50393 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50394 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50398 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50399 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50400 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50401
50402 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50403 (pthread_rwlock_rdlock): Add elision.
50404 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50405 (pthread_rwlock_wrlock): Add elision.
50406 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50407 (pthread_rwlock_trywrlock): Add elision.
50408 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50409 (pthread_rwlock_tryrdlock): Add elision.
50410 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50411 (pthread_rwlock_tryrdlock): Add elision unlock.
50412 * nptl/sysdeps/pthread/pthread.h:
50413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50414 (PTHREAD_RWLOCK_INITIALIZER,
50415 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50416 Handle new elision field.
50417 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50418 * sysdeps/arm/nptl/bits/pthreadtypes.h
50419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50420 * sysdeps/sh/nptl/bits/pthreadtypes.h
50421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50422 * sysdeps/tile/nptl/bits/pthreadtypes.h
50423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50424 * sysdeps/a/nptl/bits/pthreadtypes.h
50425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50426 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50427 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50428 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50430 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50432 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50433 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50434 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50435 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50436 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50438 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50440 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50442 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50443 (elision_init): Set try_xbegin to zero when no RTM.
50444 * sysdeps/x86/nptl/bits/pthreadtypes.h
50445 (pthread_rwlock_t): Change __pad1 to __rwelision.
50446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50447
50448 2014-06-13 Andi Kleen <ak@linux.intel.com>
50449
50450 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50451 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50452 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50453 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50454
50455 2014-06-13 Meador Inge <meadori@codesourcery.com>
50456
50457 [BZ #16996]
50458 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50459 that the cached result has been set before returning it.
50460
50461 2014-06-12 Roland McGrath <roland@hack.frob.com>
50462
50463 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50464 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50465 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50466 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50467 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50468 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50469
50470 * nptl/sysdeps/sparc/Makefile: Moved ...
50471 * sysdeps/sparc/nptl/Makefile: ... here.
50472 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50473 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50474 * nptl/sysdeps/sparc/tls.h: Moved ...
50475 * sysdeps/sparc/nptl/tls.h: ... here.
50476 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50477 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50478 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50479 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50480 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50481 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50482 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50483 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50484 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50485 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50486 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50487 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50488 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50489 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50490 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50491 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50492 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50494 Update #include.
50495 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50497 Update #include.
50498 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50499 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50500 Update #include.
50501 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50503 Update #include.
50504
50505 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50506
50507 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50508 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50509
50510 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50511 (struct list_links): Type removed.
50512 (struct thread_node, struct timer_node): Replace struct list_links
50513 with struct list_head.
50514 (list_unlink_ip): Likewise.
50515 * sysdeps/pthread/timer_routines.c
50516 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50517 (list_append, list_insbefore): Likewise.
50518 (list_init): Function removed.
50519 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50520 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50521 * sysdeps/pthread/Makefile: ... here, new file.
50522
50523 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50524 * sysdeps/nptl/Implies: ... here.
50525 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50526 * nptl/sysdeps/pthread/list.h: Moved ...
50527 * include/list.h: ... here.
50528 * nptl/sysdeps/pthread/createthread.c: Moved ...
50529 * nptl/createthread.c: ... here.
50530 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50531 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50532 * nptl/pt-longjmp.c: ... here.
50533 * nptl/sysdeps/pthread/Makefile: Moved ...
50534 * sysdeps/nptl/Makefile: ... here.
50535 * nptl/sysdeps/pthread/Subdirs: Moved ...
50536 * sysdeps/nptl/Subdirs: ... here.
50537 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50538 * sysdeps/nptl/aio_misc.h: ... here.
50539 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50540 * sysdeps/nptl/bits/libc-lock.h: ... here.
50541 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50542 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50543 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50544 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50545 * nptl/sysdeps/pthread/configure: Moved ...
50546 * sysdeps/nptl/configure: ... here.
50547 * nptl/sysdeps/pthread/configure.ac: Moved ...
50548 * sysdeps/nptl/configure.ac: ... here.
50549 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50550 * sysdeps/nptl/gai_misc.h: ... here.
50551 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50552 * sysdeps/nptl/librt-cancellation.c: ... here.
50553 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50554 * sysdeps/nptl/malloc-machine.h: ... here.
50555 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50556 * sysdeps/nptl/pthread-functions.h: ... here.
50557 * nptl/sysdeps/pthread/pthread.h: Moved ...
50558 * sysdeps/nptl/pthread.h: ... here.
50559 * nptl/sysdeps/pthread/setxid.h: Moved ...
50560 * sysdeps/nptl/setxid.h: ... here.
50561 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50562 * sysdeps/nptl/sigfillset.c: ... here.
50563 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50564 * sysdeps/nptl/tcb-offsets.h: ... here.
50565 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50566 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50567 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50568 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50569 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50570 * sysdeps/pthread/allocalim.h: ... here.
50571 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50572 * sysdeps/pthread/bits/sigthread.h: ... here.
50573 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50574 * sysdeps/pthread/flockfile.c: ... here.
50575 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50576 * sysdeps/pthread/ftrylockfile.c: ... here.
50577 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50578 * sysdeps/pthread/funlockfile.c: ... here.
50579 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50580 * sysdeps/pthread/posix-timer.h: ... here.
50581 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50582 * sysdeps/pthread/timer_create.c: ... here.
50583 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50584 * sysdeps/pthread/timer_delete.c: ... here.
50585 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50586 * sysdeps/pthread/timer_getoverr.c: ... here.
50587 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50588 * sysdeps/pthread/timer_gettime.c: ... here.
50589 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50590 * sysdeps/pthread/timer_routines.c: ... here.
50591 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50592 * sysdeps/pthread/timer_settime.c: ... here.
50593 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50594 * sysdeps/pthread/tst-timer.c: ... here.
50595 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50596 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50597
50598 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50599 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50600
50601 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50602 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50603 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50604 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50605 Update #include target.
50606 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50607 * sysdeps/i386/i686/nptl/Makefile: ... here.
50608 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50609 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50610 Update #include target.
50611 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50612 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50613 * nptl/sysdeps/i386/Makefile: Moved ...
50614 * sysdeps/i386/nptl/Makefile: ... here.
50615 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50616 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50617 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50618 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50619 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50620 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50621 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50622 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50623 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50624 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50625 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50626 * nptl/sysdeps/i386/tls.h: Moved ...
50627 * sysdeps/i386/nptl/tls.h: ... here.
50628
50629 * sysdeps/sh/Makefile [$(subdir) = csu]
50630 (gen-as-const-headers): Add tcb-offsets.sym.
50631 * nptl/sysdeps/sh/Makefile: File removed.
50632 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50633 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50634 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50635 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50636 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50637 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50638 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50639 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50640 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50641 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50642 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50643 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50644 * nptl/sysdeps/sh/tls.h: Moved ...
50645 * sysdeps/sh/nptl/tls.h: ... here.
50646 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50647 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50648 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50649 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50650 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50651 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50652 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50653 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50654 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50655 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50656 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50657 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50658 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50659 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50661 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50662 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50663 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50665 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50667 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50669 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50670 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50671 Moved ...
50672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50674 Moved ...
50675 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50676 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50677 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50678 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50679 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50680 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50681 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50682 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50683 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50684 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50685 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50686 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50687 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50688 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50689 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50690 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50691 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50692 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50693 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50694
50695 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50696
50697 * posix/spawn_faction_addopen.c: Include string.h.
50698
50699 2014-06-11 Roland McGrath <roland@hack.frob.com>
50700
50701 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50702 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50703 * nptl/sysdeps/x86_64/Makefile: Moved ...
50704 * sysdeps/x86_64/nptl/Makefile: ... here.
50705 * nptl/sysdeps/x86_64/configure: Moved ...
50706 * sysdeps/x86_64/nptl/configure: ... here.
50707 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50708 * sysdeps/x86_64/nptl/configure.ac: ... here.
50709 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50710 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50711 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50712 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50713 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50714 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50715 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50716 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50717 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50718 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50719 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50720 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50721 * nptl/sysdeps/x86_64/tls.h: Moved ...
50722 * sysdeps/x86_64/nptl/tls.h: ... here.
50723 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50724 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50725 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50726 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50727
50728 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50729
50730 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50731
50732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50733
50734 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50735
50736 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50737 type.
50738 [POSIX] (off_t): Likewise.
50739 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50740 [POSIX] (S_ISBLK): Require macro.
50741 [POSIX] (S_ISCHR): Likewise.
50742 [POSIX] (S_ISDIR): Likewise.
50743 [POSIX] (S_ISFIFO): Likewise.
50744 [POSIX] (S_ISREG): Likewise.
50745 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50746 optional-macro.
50747 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50748 type.
50749 [POSIX] (time_t): Likewise.
50750 [POSIX] (timer_t): Likewise.
50751
50752 2014-06-11 Florian Weimer <fweimer@redhat.com>
50753
50754 [BZ #17048]
50755 * posix/spawn_int.h (struct __spawn_action): Make the path string
50756 non-const to support deallocation.
50757 * posix/spawn_faction_addopen.c
50758 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50759 * posix/spawn_faction_destroy.c
50760 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50761 path in all spawn_do_open actions.
50762 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50763 posix_spawn_file_actions_addopen.
50764
50765 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50766
50767 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50768 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50769 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50770 conditional code always true.
50771 (__libc_vfork): New alias.
50772
50773 2014-06-11 Roland McGrath <roland@hack.frob.com>
50774
50775 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50776 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50777
50778 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50779
50780 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50781 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50782
50783 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50784 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50785
50786 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50787 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50788
50789 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50790
50791 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50792 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50793 multiarch strcmp for PPC64.
50794 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50795 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50797 multiarch optimizations.
50798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50799 (__libc_ifunc_impl_list): Likewise.
50800
50801 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50802
50803 * benchtests/scripts/validate_benchout.py: New script.
50804 * benchtests/Makefile (bench-func): Call it.
50805 * benchtests/scripts/benchout.schema.json: New file.
50806
50807 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50808
50809 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50810 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50811 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50812 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50813 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50814 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50815 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50816 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50817 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50818 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50819 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50820 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50821 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50822 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50823 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50824 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50826 Moved ...
50827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50828 ... here.
50829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50830 Moved ...
50831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50833 Moved ...
50834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50835 ... here.
50836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50837 Moved ...
50838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50839 ... here.
50840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50841 Moved ...
50842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50844 Moved ...
50845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50846 ... here.
50847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50848 Moved ...
50849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50850 ... here.
50851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50852 Moved ...
50853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50855 Moved ...
50856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50857 ... here.
50858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50859 Moved ...
50860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50861 ... here.
50862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50863 Moved ...
50864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50865 ... here.
50866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50867 Moved ...
50868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50870 Moved ...
50871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50872 ... here.
50873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50874 Moved ...
50875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50876 ... here.
50877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50878 Moved ...
50879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50880 ... here.
50881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50882 Moved ...
50883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50885 Moved ...
50886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50887 ... here.
50888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50889 Moved ...
50890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50891 ... here.
50892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50893 Moved ...
50894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50896 Moved ...
50897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50898 ... here.
50899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50900 Moved ...
50901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50903 Moved ...
50904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50906 Moved ...
50907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50908 ... here.
50909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50910 Moved ...
50911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50912 ... here.
50913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50914 Moved ...
50915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50916 ... here.
50917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50918 Moved ...
50919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50921 Moved ...
50922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50923 ... here.
50924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50925 Moved ...
50926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50927 ... here.
50928 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50929 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50930 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50931 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50933 Moved ...
50934 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50935 ... here.
50936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50937 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50938 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50939 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50940 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50941 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50943 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50945 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50947 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50949 Moved ...
50950 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50952 Moved ...
50953 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50955 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50957 Moved ...
50958 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50960 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50961 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50962 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50963 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50964 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50965
50966 2014-06-10 Wilco <wdijkstr@arm.com>
50967
50968 * math/test-fenv-return.c: New file.
50969 * math/Makefile: Add new test test-fenv-return.
50970
50971 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50972
50973 [BZ #17042]
50974 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50975 when x - 1 is zero.
50976 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50977 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50978 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50979 0.0L for an argument of 1.0L.
50980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50981 Likewise.
50982 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50983 value when x - 1 is zero.
50984 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50985 * sysdeps/i386/fpu/libm-test-ulps: Update.
50986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50987
50988 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50989
50990 [BZ #15119]
50991 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50992
50993 2014-06-09 Roland McGrath <roland@hack.frob.com>
50994
50995 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50996 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50997
50998 2014-06-09 Roland McGrath <roland@hack.frob.com>
50999
51000 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51001 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51002
51003 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51004 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51005
51006 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51007 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51008
51009 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51010 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51011
51012 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51013 if not already defined.
51014 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51015 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51016 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51017 (TLS_INIT_TP): Use it.
51018 (TLS_DEFINE_INIT_TP): New macro.
51019 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51020
51021 2014-06-09 Joseph Myers <joseph@codesourcery.com>
51022
51023 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51024 constant.
51025 [POSIX] (IXANY): Likewise.
51026 [POSIX] (OLCUC): Likewise.
51027 [POSIX || POSIX2008] (CBAUD): Do not allow.
51028 [POSIX || POSIX2008] (DEFECHO): Likewise.
51029 [POSIX || POSIX2008] (ECHOCTL): Likewise.
51030 [POSIX || POSIX2008] (ECHOKE): Likewise.
51031 [POSIX || POSIX2008] (ECHOPRT): Likewise.
51032 [POSIX || POSIX2008] (EXTA): Likewise.
51033 [POSIX || POSIX2008] (EXTB): Likewise.
51034 [POSIX || POSIX2008] (FLUSHO): Likewise.
51035 [POSIX || POSIX2008] (LOBLK): Likewise.
51036 [POSIX || POSIX2008] (PENDIN): Likewise.
51037 [POSIX || POSIX2008] (SWTCH): Likewise.
51038 [POSIX || POSIX2008] (VDISCARD): Likewise.
51039 [POSIX || POSIX2008] (VDSUSP): Likewise.
51040 [POSIX || POSIX2008] (VLNEXT): Likewise.
51041 [POSIX || POSIX2008] (VREPRINT): Likewise.
51042 [POSIX || POSIX2008] (VSTATUS): Likewise.
51043 [POSIX || POSIX2008] (VWERASE): Likewise.
51044 (B*): Change to B[0123456789]*.
51045 * conform/data/time.h-data [POSIX || UNIX98]
51046 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51047 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51048 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51049 [POSIX] (tm_*): Do not allow.
51050
51051 2014-06-07 Joseph Myers <joseph@codesourcery.com>
51052
51053 * Makefile (install): Don't set LANGUAGE.
51054 * Makefile.in (install): Likewise.
51055 * assert/Makefile (test-assert-ENV): Remove variable.
51056 (test-assert-perr-ENV): Likewise.
51057 * elf/Makefile (neededtest4-ENV): Likewise.
51058 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51059 [$(cross-compiling) = no]: Don't set LANGUAGE.
51060 * io/ftwtest-sh (LANG): Remove variable.
51061 * libio/Makefile (tst-widetext-ENV): Likewise.
51062 * manual/install.texi (Running make install): Don't refer to
51063 environment settings for make install.
51064 * INSTALL: Regenerated.
51065 * nptl/tst-tls6.sh: Don't set LANG.
51066 * posix/globtest.sh (LANG): Remove variable.
51067 * string/Makefile (tester-ENV): Likewise.
51068 (inl-tester-ENV): Likewise.
51069 (noinl-tester-ENV): Likewise.
51070 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51071 [$(cross-compiling) = no]: Don't set LANGUAGE.
51072 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51073 without explicit environment settings.
51074
51075 2014-06-06 Roland McGrath <roland@hack.frob.com>
51076
51077 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51078 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51079 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51080 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51081
51082 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
51083
51084 * crypt/crypt-private.h [DOS]: Add some includes taken from the
51085 other files in the crypt directory.
51086 * crypt/crypt.c: Remove duplicate includes.
51087 * crypt/crypt-entry.c: Likewise.
51088 * crypt/crypt_util.c: Likewise.
51089
51090 2014-06-06 Joseph Myers <joseph@codesourcery.com>
51091
51092 * Makeconfig (run-program-env): New variable.
51093 (run-program-prefix-before-env): Likewise.
51094 (run-program-prefix-after-env): Likewise.
51095 (run-program-prefix): Define in terms of new variables.
51096 (built-program-cmd-before-env): New variable.
51097 (built-program-cmd-after-env): Likewise.
51098 (built-program-cmd): Define in terms of new variables.
51099 (test-program-prefix-before-env): New variable.
51100 (test-program-prefix-after-env): Likewise.
51101 (test-program-prefix): Define in terms of new variables.
51102 (test-program-cmd-before-env): New variable.
51103 (test-program-cmd-after-env): Likewise.
51104 (test-program-cmd): Define in terms of new variables.
51105 * Rules (make-test-out): Use $(run-program-env).
51106 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51107 (help): Do not mention environment variables. Mention
51108 --timeoutfactor option.
51109 (timeoutfactor): New variable.
51110 (blacklist_exports): Remove function.
51111 (exports): Remove variable.
51112 (command): Do not include ${exports}.
51113 * manual/install.texi (Configuring and compiling): Do not mention
51114 test wrappers preserving environment variables. Mention that last
51115 assignment to a variable must take precedence.
51116 * INSTALL: Regenerated.
51117 * benchtests/Makefile (run-bench): Use $(run-program-env).
51118 * catgets/Makefile ($(objpfx)test1.cat): Use
51119 $(built-program-cmd-before-env), $(run-program-env) and
51120 $(built-program-cmd-after-env).
51121 ($(objpfx)test2.cat): Do not specify environment variables
51122 explicitly.
51123 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51124 $(run-program-env) and $(built-program-cmd-after-env).
51125 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51126 $(run-program-env) and $(test-program-cmd-after-env).
51127 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51128 explicitly.
51129 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51130 run_program_env and test_program_cmd_after_env arguments.
51131 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51132 * elf/tst-pathopt.sh: Use run_program_env argument.
51133 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51134 $(test-wrapper-env) and $(run-program-env).
51135 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51136 run_program_env arguments.
51137 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51138 * intl/Makefile ($(objpfx)tst-gettext.out): Use
51139 $(test-program-prefix-before-env), $(run-program-env) and
51140 $(test-program-prefix-after-env).
51141 ($(objpfx)tst-gettext2.out): Likewise.
51142 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51143 run_program_env and test_program_prefix_after_env arguments.
51144 * intl/tst-gettext2.sh: Likewise.
51145 * intl/tst-gettext4.sh: Do not set environment variables
51146 explicitly.
51147 * intl/tst-gettext6.sh: Likewise.
51148 * intl/tst-translit.sh: Likewise.
51149 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51150 $(test-program-prefix-before-env), $(run-program-env) and
51151 $(test-program-prefix-after-env).
51152 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51153 run_program_env and test_program_prefix_after_env arguments.
51154 * math/Makefile (run-regen-ulps): Use $(run-program-env).
51155 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51156 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
51157 explicitly with each use of ${test_wrapper_env}.
51158 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51159 $(test-program-prefix-before-env), $(run-program-env) and
51160 $(test-program-prefix-after-env).
51161 * posix/tst-getconf.sh: Do not set environment variables
51162 explicitly.
51163 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51164 run_program_env and test_program_prefix_after_env arguments.
51165 * stdio-common/tst-printf.sh: Do not set environment variables
51166 explicitly.
51167 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51168 $(test-program-prefix-before-env), $(run-program-env) and
51169 $(test-program-prefix-after-env).
51170 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51171 run_program_env and test_program_prefix_after_env arguments.
51172 Split $test calls into $test_pre and $test.
51173 * timezone/Makefile (build-testdata): Use
51174 $(built-program-cmd-before-env), $(run-program-env) and
51175 $(built-program-cmd-after-env).
51176
51177 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51178
51179 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51180 strlen for non SHARED builds.
51181
51182 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51183
51184 * nptl/allocatestack.c (check_list): Inlined function...
51185 (__reclaim_stacks): ... here.
51186
51187 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51188
51189 [BZ #15698]
51190 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51191 memory overrun.
51192
51193 2014-06-05 Joseph Myers <joseph@codesourcery.com>
51194
51195 * Rules (make-test-out): Include
51196 LOCPATH=$(common-objpfx)localedata in default environment.
51197 * debug/Makefile (tst-chk1-ENV): Remove variable.
51198 (tst-chk2-ENV): Likewise.
51199 (tst-chk3-ENV): Likewise.
51200 (tst-chk4-ENV): Likewise.
51201 (tst-chk5-ENV): Likewise.
51202 (tst-chk6-ENV): Likewise.
51203 (tst-lfschk1-ENV): Likewise.
51204 (tst-lfschk2-ENV): Likewise.
51205 (tst-lfschk3-ENV): Likewise.
51206 (tst-lfschk4-ENV): Likewise.
51207 (tst-lfschk5-ENV): Likewise.
51208 (tst-lfschk6-ENV): Likewise.
51209 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51210 (tst-iconv7-ENV): Likewise.
51211 * intl/Makefile (LOCPATH-ENV): Likewise.
51212 (tst-codeset-ENV): Likewise.
51213 (tst-gettext3-ENV): Likewise.
51214 (tst-gettext5-ENV): Likewise.
51215 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51216 (tst-fopenloc-ENV): Likewise.
51217 (tst-fgetws-ENV): Remove variable.
51218 (tst-ungetwc1-ENV): Likewise.
51219 (tst-ungetwc2-ENV): Likewise.
51220 (bug-ungetwc2-ENV): Likewise.
51221 (tst-swscanf-ENV): Likewise.
51222 (bug-ftell-ENV): Likewise.
51223 (tst-fgetwc-ENV): Likewise.
51224 (tst-fseek-ENV): Likewise.
51225 (tst-ftell-partial-wide-ENV): Likewise.
51226 (tst-ftell-active-handler-ENV): Likewise.
51227 (tst-ftell-append-ENV): Likewise.
51228 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51229 (tst-regexloc-ENV): Likewise.
51230 (bug-regex1-ENV): Likewise.
51231 (tst-regex-ENV): Likewise.
51232 (tst-regex2-ENV): Likewise.
51233 (bug-regex5-ENV): Likewise.
51234 (bug-regex6-ENV): Likewise.
51235 (bug-regex17-ENV): Likewise.
51236 (bug-regex18-ENV): Likewise.
51237 (bug-regex19-ENV): Likewise.
51238 (bug-regex20-ENV): Likewise.
51239 (bug-regex22-ENV): Likewise.
51240 (bug-regex23-ENV): Likewise.
51241 (bug-regex25-ENV): Likewise.
51242 (bug-regex26-ENV): Likewise.
51243 (bug-regex30-ENV): Likewise.
51244 (bug-regex32-ENV): Likewise.
51245 (bug-regex33-ENV): Likewise.
51246 (bug-regex34-ENV): Likewise.
51247 (bug-regex35-ENV): Likewise.
51248 (tst-rxspencer-ENV): Likewise.
51249 (tst-rxspencer-no-utf8-ENV): Likewise.
51250 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51251 (tst-sscanf-ENV): Likewise.
51252 (tst-swprintf-ENV): Likewise.
51253 (tst-swscanf-ENV): Likewise.
51254 (test-vfprintf-ENV): Likewise.
51255 (scanf13-ENV): Likewise.
51256 (bug14-ENV): Likewise.
51257 (tst-grouping-ENV): Likewise.
51258 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51259 (tst-strtod3-ENV): Likewise.
51260 (tst-strtod4-ENV): Likewise.
51261 (tst-strtod5-ENV): Likewise.
51262 (testmb2-ENV): Likewise./
51263 * string/Makefile (tst-strxfrm-ENV): Likewise.
51264 (tst-strxfrm2-ENV): Likewise.
51265 (bug-strcoll1-ENV): Likewise.
51266 (test-strcasecmp-ENV): Likewise.
51267 (test-strncasecmp-ENV): Likewise.
51268 * time/Makefile (tst-strptime-ENV): Likewise.
51269 (tst-ftime_l-ENV): Likewise.
51270 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51271 (tst-mbrtowc-ENV): Likewise.
51272 (tst-wcrtomb-ENV): Likewise.
51273 (tst-mbrtowc2-ENV): Likewise.
51274 (tst-c16c32-1-ENV): Likewise.
51275 (tst-mbsnrtowcs-ENV): Likewise.
51276
51277 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51278
51279 * manual/resource.texi (How to get information about the memory
51280 subsystem?): Fix typo.
51281 Reported by Peon de la Parra Ivan <peon@keba.com>
51282
51283 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51284
51285 [BZ #16882]
51286 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51287 (pthread_spin_lock): Branch out of spin loop to proper location.
51288 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51289 (pthread_spin_lock): Likewise.
51290
51291 * nptl/tst-spin4.c: New test.
51292 * nptl/Makefile (tests): Add tst-spin4.
51293
51294 2014-06-03 Andreas Schwab <schwab@suse.de>
51295
51296 [BZ #15946]
51297 * resolv/res_send.c (send_dg): Reload file descriptor after
51298 calling reopen.
51299
51300 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51301
51302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51303
51304 2014-06-03 Richard Henderson <rth@redhat.com>
51305
51306 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51307 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51308 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51309 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51310 in the SAVE_PID block.
51311 (__libc_vfork): New alias.
51312 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51313
51314 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51315 child in registers, not on the stack. Remove RESET_PID conditionals.
51316 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51317
51318 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51319
51320 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51321
51322 2014-06-03 Wilco <wdijkstr@arm.com>
51323
51324 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51325 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51326 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51327 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51328 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51329 Likewise.
51330
51331 2014-06-03 Wilco <wdijkstr@arm.com>
51332
51333 * sysdeps/aarch64/fpu/math_private.h
51334 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51335 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51336 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51337 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51338 Fix declarations.
51339
51340 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51341
51342 * crypt/crypt-private.h: Include ufc-crypt.h.
51343 (__b64_from_24bit): Declare extern.
51344 * crypt/crypt_util.c(__b64_from_24bit): New function.
51345 (b64t): New static const variable.
51346 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51347 (b64t): Remove variable.
51348 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51349 * crypt/sha256-crypt.c: Include crypt-private.h.
51350 (b64t): Remove variable.
51351 (__sha256_crypt_r): Remove b64_from_24bit and replace
51352 with __b64_from_24bit.
51353 * crypt/sha512-crypt.c: Likewise.
51354
51355 2014-06-02 Roland McGrath <roland@hack.frob.com>
51356
51357 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51358 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51359 Label the code __libc_vfork rather than __vfork.
51360 [!NOT_IN_libc] (vfork): Define as weak alias.
51361 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51362 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51363 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51364
51365 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51366
51367 * malloc/malloc.c (malloc_info): Fix format specifier for
51368 n_mmaps.
51369
51370 2014-06-02 Wilco <wdijkstr@arm.com>
51371
51372 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51373 FPCR write.
51374
51375 2014-06-02 Wilco <wdijkstr@arm.com>
51376
51377 [BZ #17009]
51378 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51379 Rewrite to reduce FPCR/FPSR accesses.
51380
51381 2014-06-01 David S. Miller <davem@davemloft.net>
51382
51383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51384
51385 2014-05-31 David S. Miller <davem@davemloft.net>
51386
51387 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51388 to occur in round to nearest mode when |x| >= 2.0
51389
51390 2014-05-30 Richard Henderson <rth@twiddle.net>
51391
51392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51393 (PSEUDO_RET_NOERRNO): Remove.
51394 (ret): Don't redefine.
51395 (ret_NOERRNO): Define in terms of ret.
51396 (ret_ERRVAL): Likewise.
51397
51398 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51399 use of PSEUDO_RET; perform the error check directly.
51400
51401 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51402
51403 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51404 with __int128_t.
51405
51406 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51407
51408 * malloc/malloc (malloc_info): Fix formatting.
51409
51410 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51411 Roland McGrath <roland@hack.frob.com>
51412
51413 * malloc/malloc (malloc_info): Also print mmapped statistics.
51414
51415 2014-05-30 Roland McGrath <roland@hack.frob.com>
51416
51417 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51418 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51419
51420 2014-05-30 Ondƙej Bílka <neleai@seznam.cz>
51421
51422 * malloc/malloc.c (malloc_info): Inline mi_arena.
51423
51424 2014-05-29 Richard Henderson <rth@twiddle.net>
51425
51426 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51427 Remove comma before expanding ASM_ARGS_##nr.
51428 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51429 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51430 of ASM_ARGS_##nr.
51431 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51432 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51433 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51434 (ASM_ARGS_1): Add leading comma.
51435
51436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51437 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51438 to __errno_location.
51439 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51440 Remove the expected plt for __errno_location.
51441
51442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51443 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51444 call to __read_tp.
51445
51446 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51447 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51448 it and break it down.
51449 (DOCARGS_0, DOCARGS_1): Do nothing.
51450 (DOCARGS_2): Update to store into the new stack frame.
51451 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51452 (UNDOCARGS_1): Update to restore from the new stack frame.
51453 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51454 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51455
51456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51457 (SINGLE_THREAD_P): New parameter for result regno.
51458 (PSEUDO): Update to match; use cbz instead of beq.
51459
51460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51461 Use ENTRY to define the _nocancel entry point. Share the syscall
51462 and syscall error check paths with the cancel path.
51463 (PSEUDO_END): New.
51464
51465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51466 whitespace; tabs before and after asm mnemonics.
51467
51468 2014-05-29 Eric Wong <normalperson@yhbt.net>
51469
51470 [BZ #15132]
51471 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51472 Call fstat64 or stat64 internally, depending on arguments passed.
51473 Replace stat buffer argument with file descriptor argument.
51474 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51475 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51476 Pass fd to __internal_statvfs instead of calling fstat64.
51477 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51478 Pass fd to __internal_statvfs64 instead of calling fstat64.
51479 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51480 Pass -1 to __internal_statvfs instead of calling stat64.
51481 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51482 Pass -1 to __internal_statvfs64 instead of calling stat64.
51483
51484 2014-05-28 Roland McGrath <roland@hack.frob.com>
51485
51486 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51487 that was previously under [RESET_PID].
51488 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51489
51490 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51491 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51492
51493 2014-05-27 Roland McGrath <roland@hack.frob.com>
51494
51495 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51496
51497 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51498 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51499
51500 2014-05-27 Ondƙej Bílka <neleai@seznam.cz>
51501
51502 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51503
51504 2014-05-27 Andreas Schwab <schwab@suse.de>
51505
51506 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51507 TLS_INIT_TP macro.
51508 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51509 * elf/rtld.c (init_tls, dl_main): Likewise.
51510 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51511 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51512 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51513 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51514 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51515 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51516 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51517 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51518 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51519 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51520 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51521 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51522 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51523 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51524 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51525 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51526 * sysdeps/generic/tls.h: Update description.
51527
51528 2014-05-27 Will Newton <will.newton@linaro.org>
51529
51530 [BZ #16990]
51531 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51532 and restore r2 rather than just restoring.
51533
51534 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51535
51536 [BZ #16724]
51537 * libio/tst-ftell-append.c: New test case.
51538 * libio/Makefile (tests): Add test case.
51539 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51540 append mode.
51541 * libio/wfileops.c (do_ftell_wide): Likewise.
51542
51543 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51544
51545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51546
51547 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51548 ...
51549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51551 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51552 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51553 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51554 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51555 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51556 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51558 Moved ...
51559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51561 Moved ...
51562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51563 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51564 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51565 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51566 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51567 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51568 ...
51569 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51570 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51571 Moved ...
51572 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51573 here.
51574 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51575 ...
51576 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51577 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51578 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51579
51580 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51581 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51582 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51583 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51584
51585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51586 merge into ...
51587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51589 ...
51590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51592 ...
51593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51595 Moved ...
51596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51597 here.
51598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51599 Moved ...
51600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51602 Moved ...
51603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51604
51605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51606 conditional [RESET_PID].
51607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51609 removed.
51610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51611 removed.
51612
51613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51614 <tcb-offsets.h>.
51615 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51616 (__libc_vfork): New strong alias.
51617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51618 removed.
51619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51620 Removed.
51621
51622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51623 <tcb-offsets.h>.
51624 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51625 (__libc_vfork): New strong alias.
51626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51627 removed.
51628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51629 removed.
51630
51631 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51632
51633 * malloc/malloc.c (mi_arena): New function.
51634 (malloc_info): Remove nested function mi_arena. Call non-nosted
51635 function mi_arena.
51636
51637 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51638
51639 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51640 by insrwi.
51641 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51642 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51643 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51644 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51645 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51646 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51647 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51648
51649 2014-05-26 Andreas Schwab <schwab@suse.de>
51650
51651 [BZ #16984]
51652 * locale/programs/repertoire.c (repertoire_read): Add slash
51653 between I18NPATH element and file name.
51654 * locale/programs/locfile.c (locfile_read): Likewise.
51655
51656 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51657
51658 * nptl/pthread_mutexattr_settype.c
51659 (__pthread_mutexattr_settype):
51660 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51661
51662 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51663
51664 * nptl/tst-mutex5 (do_test):
51665 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51666
51667 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51668
51669 * benchtests/README: Document 'init' directive.
51670 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51671 BENCH_INIT.
51672 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51673 (parse_file): Recognize 'init' directive.
51674
51675 2014-05-26 Kyle McMartin <kyle@redhat.com>
51676
51677 [BZ #16796]
51678 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51679 alignment of struct pthread.
51680
51681 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51682
51683 [BZ #16878]
51684 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51685 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51686 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51687 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51688
51689 2014-05-25 Richard Henderson <rth@twiddle.net>
51690
51691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51692 (SINGLE_THREAD_P_PIC): Remove.
51693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51694 (SINGLE_THREAD_P_PIC): Remove.
51695
51696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51697 branch to syscall error ...
51698 (PSEUDO): ... here.
51699 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51700 from __local_syscall_error to .Lsyscall_error.
51701 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51702 (SYSCALL_ERROR): Update label name.
51703
51704 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51705 Do not use DOARGS/UNDOARGS.
51706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51707 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51708 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51709 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51710 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51711
51712 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51713 block comment.
51714
51715 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51716 define if !NOT_IN_libc.
51717 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51718 define with non-default symbol versions.
51719
51720 2014-05-23 Richard Henderson <rth@twiddle.net>
51721
51722 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51723 (vfork, __vfork): Define via compat_symbol.
51724
51725 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51726 [!HAVE_IFUNC] (vfork_compat): Remove.
51727 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51728
51729 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51730
51731 [BZ #16978]
51732 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51733 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51734 variable.
51735
51736 2014-05-23 Richard Henderson <rth@twiddle.net>
51737
51738 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51739 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51740 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51741 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51742
51743 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51744 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51745 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51746 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51747 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51748 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51749 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51750 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51751 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51752 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51753 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51754 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51755 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51756 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51757 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51758 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51759 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51760 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51761 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51762 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51763 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51764 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51765 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51766 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51767 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51768 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51769 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51770 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51771 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51772 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51773 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51774 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51775 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51776 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51777 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51778 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51779 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51780 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51781 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51782 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51783 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51784 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51785 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51786 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51787 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51788 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51789 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51790 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51791 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51792 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51794 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51796 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51797 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51798 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51799
51800 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51801 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51802 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51803 before exiting on error.
51804 (__libc_vfork): New strong alias.
51805 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51806 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51807
51808 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51809 that was previously under [RESET_PID].
51810 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51811
51812 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51813
51814 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51815
51816 [BZ #16977]
51817 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51818 value when x - 1 is zero.
51819 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51820 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51821 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51822 0.0L for an argument of 1.0L.
51823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51824 Likewise.
51825 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51826 value when x - 1 is zero.
51827 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51828 * sysdeps/i386/fpu/libm-test-ulps: Update.
51829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51830
51831 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51832
51833 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51834 alphasort and versionsort.
51835
51836 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51837
51838 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51839 macro.
51840 [copysignf]: Likewise.
51841
51842 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51843
51844 * crypt/md5-crypt.c: Fix formatting.
51845
51846 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51847
51848 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51849 (b64_from_24bit): New function.
51850
51851 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51852
51853 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51854 libc_hidden_builtin_def to ifunc.
51855 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51856 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51857
51858 2014-05-21 Roland McGrath <roland@hack.frob.com>
51859
51860 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51861 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51862
51863 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51864
51865 * nscd/Depend (linuxthreads): Remove.
51866 (nptl): Add.
51867 * resolv/Depend (linuxthreads): Remove.
51868 * rt/Depend (linuxthreads): Remove.
51869
51870 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51871 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51872 $(common-objpfx)elf/.
51873 (link-libc-before-gnulib): Likewise.
51874 (elfobjdir): Remove variable.
51875 * Makefile (install): Use $(elf-objpfx) instead of
51876 $(common-objpfx)elf/.
51877 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51878 $(elfobjdir)/.
51879 (link-libc-deps): Likewise.
51880 ($(common-objpfx)libc.so): Likewise.
51881 ($(common-objpfx)linkobj/libc.so): Likewise.
51882 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51883 instead of $(common-objpfx)elf/.
51884 (symbolic-link-list): Likewise.
51885 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51886 [$(cross-compiling) = no]: Likewise.
51887 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51888 $(elfobjdir)/.
51889 (static-gnulib-arch): Likewise.
51890 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51891 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51892 $(common-objpfx)elf/.
51893
51894 2014-05-21 Richard Henderson <rth@redhat.com>
51895
51896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51897 (SINGLE_THREAD_P): Use the correct width load. Fold
51898 into the ldr offset.
51899
51900 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51901 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51902
51903 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51904
51905 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51906 (libgcc_s_resume): Use __attribute_used__.
51907 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51908 Likewise.
51909
51910 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51911
51912 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51913 optimization when used with float constants.
51914
51915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51916
51917 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51918
51919 [BZ #16915]
51920 * locale/nl_langinfo_l.c: Make direct reference to every
51921 _nl_current_CATEGORY symbol.
51922 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51923 (tests-static): Add tst-langinfo-static.
51924 (tests-special): Add tst-langinfo-static.out.
51925 ($(objpfx)tst-langinfo.out): Redirect output.
51926 ($(objpfx)tst-langinfo-static.out): New.
51927 * localedata/tst-langinfo.sh: Send output to stdout.
51928 * localedata/tst-langinfo-static.c: New file.
51929
51930 [BZ #16965]
51931 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51932 when the shift amount is modulo the limb size.
51933
51934 2014-05-20 Richard Henderson <rth@redhat.com>
51935
51936 [BZ #16967]
51937 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51938 Change type of sa_flags from unsigned int to int.
51939
51940 [BZ #16966]
51941 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51942
51943 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51944
51945 2014-05-20 Will Newton <will.newton@linaro.org>
51946
51947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51948 Test the return value of the system call in the nocancel case.
51949
51950 2014-05-20 Will Newton <will.newton@linaro.org>
51951 Yvan Roux <yvan.roux@linaro.org>
51952
51953 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51954 #include of asm/ptrace.h.
51955 (PTRACE_GET_THREAD_AREA): Remove #undef.
51956 (PTRACE_GETHBPREGS): Likewise.
51957 (PTRACE_SETHBPREGS): Likewise.
51958 (struct user_regs_struct): New structure.
51959 (struct user_fpsimd_struct): New structure.
51960 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51961 #include of asm/ptrace.h and second #include of sys/user.h.
51962 (PTRACE_GET_THREAD_AREA): Remove #undef.
51963 (PTRACE_GETHBPREGS): Likewise.
51964 (PTRACE_SETHBPREGS): Likewise.
51965 (ELF_NGREG): Use new struct user_regs_struct.
51966 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51967
51968 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51969
51970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51972
51973 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51974
51975 [BZ #16958]
51976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51977 membar to avoid block loads/stores to overlap previous stores.
51978
51979 2014-05-17 Richard Henderson <rth@redhat.com>
51980
51981 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51982 Create the __##syscall_name##_nocancel entry point.
51983 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51984 Remove; let the sysdep-cancel.h code create it.
51985
51986 2014-05-17 David S. Miller <davem@davemloft.net>
51987
51988 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51989 Protect with __USE_GNU.
51990 (TIOCSET_TEMPT): Likewise.
51991 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51992 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51993 these are already provided in bits/ioctl-types.h
51994
51995 2014-05-16 Roland McGrath <roland@hack.frob.com>
51996
51997 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51998 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51999
52000 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52001 Use wait4 regardless of [__NR_waitpid].
52002
52003 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
52004
52005 PR libgcc/60166
52006 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52007 (_FP_NANSIGN_Q): Set the quiet bit.
52008
52009 2014-05-16 Joseph Myers <joseph@codesourcery.com>
52010
52011 * benchtests/Makefile
52012 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52013 not $(common-objpfx)math/libm.so.
52014 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52015 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52016 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52017 $(common-objpfx)dlfcn/libdl.so.
52018 ($(objpfx)tst-audit8): Depend on $(libm), not
52019 $(common-objpfx)math/libm.so.
52020 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52021 not $(common-objpfx)dlfcn/libdl.so.
52022 * math/Makefile
52023 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52024 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
52025 [$(build-shared) = yes].
52026 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52027 $(common-objpfx)nptl/libpthread.so.
52028 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52029 $(common-objpfx)math/libm.so$(libm.so-version) or
52030 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52031 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52032 $(common-objpfx)dlfcn/libdl.so.
52033 * setjmp/Makefile (link-libm): Remove variable.
52034 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52035 * stdio-common/Makefile (link-libm): Remove variable.
52036 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52037 * stdlib/Makefile (link-libm): Remove variable.
52038 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52039 ($(objpfx)tst-strtod-round): Likewise.
52040 ($(objpfx)tst-tininess): Likewise.
52041 ($(objpfx)tst-strtod-underflow): Likewise.
52042 ($(objpfx)tst-strtod6): Likewise.
52043 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52044 $(libdl), not $(common-objpfx)nptl/libpthread.so and
52045 $(common-objpfx)dlfcn/libdl.so.
52046
52047 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52048
52049 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52050 BSD terminal modes definitions.
52051
52052 2014-05-16 Roland McGrath <roland@hack.frob.com>
52053
52054 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52055 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52056
52057 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52058 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52059 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52060 Don't do #include_next.
52061 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52062 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52063 Don't do #include_next.
52064 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52065 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52066 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52067 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52068
52069 2014-05-16 Allan McRae <allan@archlinux.org>
52070
52071 * po/sv.po: Update Swedish translation from translation project.
52072
52073 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52074 in sed expression.
52075
52076 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
52077
52078 [BZ #16917]
52079 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52080 errno if the TIOCGPTN ioctl fails with an error different than
52081 EINVAL.
52082 * login/tst-ptsname.c: New file.
52083 * login/Makefile (tests): Add tst-ptsname.
52084
52085 [BZ #16943]
52086 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52087 and prlimit64.
52088
52089 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52090
52091 [BZ #16849]
52092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52093 herrno to return EAI_AGAIN.
52094
52095 2014-05-14 Roland McGrath <roland@hack.frob.com>
52096
52097 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52098 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52099 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52100 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52101 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52102 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52103 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52104 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52106 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52107 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52108 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52109 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52110 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52111 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52112 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52113 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52114 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52115 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52116 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52117 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52118 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52119 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52120 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52121 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52122 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52123 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52124 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52125 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52126 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52128 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52130 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52132 Moved ...
52133 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52135 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52137 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52139 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52141 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52143 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52145 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52147 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52149 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52151 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52153 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52155 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52157 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52159 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52161 Moved ...
52162 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52164 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52166 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52168 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52170 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52172 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52174 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52176 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52178 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52180 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52182 Moved ...
52183 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52185 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52186
52187 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52188 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52189 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52190 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52191 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52192 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52193 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52194 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52195 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52196 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52197 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52198 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52199 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52200 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52201 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52202 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52203 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52204 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52205 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52206 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52207 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52208 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52209 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52210 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52211 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52212 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52213 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52214 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52215 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52216 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52217 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52218
52219 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52220 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52221
52222 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52223 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52224 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52225 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52226 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52228 Moved ...
52229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52230 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52231 Moved ...
52232 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52233 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52234 Moved ...
52235 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52237 Moved ...
52238 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52239 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52240 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52242 Moved ...
52243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52244 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52245 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52246 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52248 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52249 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52251 Moved ...
52252 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52253 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52254 Moved ...
52255 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52256 ... here.
52257 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52258 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52259 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52260 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52261 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52262 Moved ...
52263 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52264 ... here.
52265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52266 Moved ...
52267 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52268 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52269 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52270 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52271 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52273 Moved ...
52274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52275 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52276 Moved ...
52277 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52278 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52279 Moved ...
52280 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52282 Moved ...
52283 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52284 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52285 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52287 Moved ...
52288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52289 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52290 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52291 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52293 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52294 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52296 Moved ...
52297 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52298 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52299 Moved ...
52300 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52301 ... here.
52302 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52303 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52304 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52305 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52306 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52307 Moved ...
52308 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52309 ... here.
52310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52311 Moved ...
52312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52313 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52314 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52315 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52316 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52317 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52318 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52319 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52320 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52322 Moved ...
52323 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52325 Moved ...
52326 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52328 Moved ...
52329 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52331 Moved ...
52332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52333 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52334 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52335 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52336 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52338 Moved ...
52339 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52340 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52341 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52344 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52345 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52347 Moved ...
52348 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52349 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52350 Moved ...
52351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52352 ... here.
52353 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52354 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52355 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52356 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52358 Moved ...
52359 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52360 ... here.
52361 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52362 Moved ...
52363 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52364 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52365 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52366 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52367 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52368 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52369 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52370 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52371 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52372 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52373 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52374
52375 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52376 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52377
52378 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52379 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52380
52381 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52382 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52383 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52384 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52385 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52386 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52387 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52388 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52389 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52390 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52392 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52394 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52395 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52397 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52399 Moved ...
52400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52404 Moved ...
52405 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52407 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52409 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52413 Moved ...
52414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52416 Moved ...
52417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52419 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52421 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52423 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52424 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52425 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52426 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52427 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52428 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52429 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52430 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52431 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52432 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52433 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52434
52435 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52436 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52437 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52438 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52439 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52440
52441 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52442 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52443 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52444 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52445 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52446 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52447 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52448 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52449 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52450 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52451
52452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52454
52455 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52456 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52457 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52458 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52459 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52460 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52461 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52462 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52463 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52464 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52465 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52466 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52467 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52468 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52470 Update #include.
52471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52472 Likewise.
52473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52474 Likewise.
52475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52476 Likewise.
52477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52478 Likewise.
52479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52480 Likewise.
52481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52482 Likewise.
52483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52484 Likewise.
52485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52486 Likewise.
52487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52488 Likewise.
52489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52497 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52498 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52502 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52503 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52504
52505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52506 that was previously under [RESET_PID].
52507 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52508 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52509 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52510
52511 * sysdeps/i386/nptl/Implies: New file.
52512 * sysdeps/x86_64/nptl/Implies: New file.
52513 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52514 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52515 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52516 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52517
52518 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52519 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52520 (__libc_vfork): New strong alias.
52521 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52522 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52523
52524 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52525 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52526 (__libc_vfork): New strong alias.
52527 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52528 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52529
52530 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52531 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52532 (__libc_vfork): New strong alias.
52533 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52534 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52535 * nptl/pt-vfork.c: New file.
52536 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52537 (libpthread: GLIBC_2.20): New version set (empty).
52538
52539 2014-05-14 Will Newton <will.newton@linaro.org>
52540
52541 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52542 rather than #if.
52543
52544 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52545
52546 [BZ #16564]
52547 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52548 arguments with exponent 65 or above.
52549 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52550 arguments 0x1p113L or above.
52551 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52552 to arguments 0x1p107L or above.
52553 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52554 positive arguments with exponent 65 or above.
52555 * math/auto-libm-test-in: Add more tests of log1p.
52556 * math/auto-libm-test-out: Regenerated.
52557
52558 [BZ #16928]
52559 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52560 non-finite arguments is +0.
52561 * math/s_cacosf.c (__cacosf): Likewise.
52562 * math/s_cacosl.c (__cacosl): Likewise.
52563 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52564 * sysdeps/i386/fpu/libm-test-ulps: Update.
52565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52566
52567 [BZ #16927]
52568 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52569 value.
52570 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52571 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52572 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52573 for explicit high bit of mantissa when testing for argument equal
52574 to 1.
52575 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52576 * sysdeps/i386/fpu/libm-test-ulps: Update.
52577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52578
52579 [BZ #16516]
52580 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52581 (__erf): Scale by 16 instead of 8 in potentially underflowing
52582 case. Ensure exception if result actually underflows.
52583 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52584 (__erff): Scale by 16 instead of 8 in potentially underflowing
52585 case. Ensure exception if result actually underflows.
52586 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52587 (efx8): Remove variable.
52588 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52589 case. Ensure exception if result actually underflows.
52590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52591 (efx8): Remove variable.
52592 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52593 case. Ensure exception if result actually underflows.
52594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52595 (efx8): Remove variable.
52596 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52597 case. Ensure exception if result actually underflows.
52598 * math/auto-libm-test-in: Add more tests of erf.
52599 * math/auto-libm-test-out: Regenerated.
52600
52601 2014-05-14 Andreas Schwab <schwab@suse.de>
52602
52603 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52604 Remove code conditionalized on USE___THREAD.
52605
52606 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52607 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52608 not definedness.
52609
52610 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52611
52612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52613 Define unconditionally.
52614 (__ASSUME_O_CLOEXEC): Likewise.
52615 (__ASSUME_SOCK_CLOEXEC): Likewise.
52616 (__ASSUME_IN_NONBLOCK): Likewise.
52617 (__ASSUME_PIPE2): Likewise.
52618 (__ASSUME_EVENTFD2): Likewise.
52619 (__ASSUME_SIGNALFD4): Likewise.
52620 (__ASSUME_DUP3): Likewise.
52621 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52622 (__ASSUME_DUP3): Do not define.
52623 (__ASSUME_EVENTFD2): Likewise.
52624 (__ASSUME_IN_NONBLOCK): Likewise.
52625 (__ASSUME_O_CLOEXEC): Likewise.
52626 (__ASSUME_PIPE2): Likewise.
52627 (__ASSUME_SIGNALFD4): Likewise.
52628 (__ASSUME_SOCK_CLOEXEC): Likewise.
52629 (__ASSUME_UTIMES): Undefine.
52630 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52631 (__ASSUME_UTIMES): Do not define.
52632 (__ASSUME_O_CLOEXEC): Likewise.
52633 (__ASSUME_SOCK_CLOEXEC): Likewise.
52634 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52635 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52636 0x020621].
52637 (__ASSUME_PIPE2): Likewise.
52638 (__ASSUME_EVENTFD2): Likewise.
52639 (__ASSUME_SIGNALFD4): Likewise.
52640 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52641 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52642 Do not define.
52643 (__ASSUME_EVENTFD2): Likewise.
52644 (__ASSUME_SIGNALFD4): Likewise.
52645 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52646 (__ASSUME_32BITUIDS): Likewise.
52647 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52648 (__ASSUME_IPC64): Likewise.
52649 (__ASSUME_ST_INO_64_BIT): Likewise.
52650 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52651 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52652 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52653 (__ASSUME_UTIMES): Do not define.
52654 (__ASSUME_PSELECT): Likewise.
52655 (__ASSUME_PPOLL): Likewise.
52656 (__ASSUME_O_CLOEXEC): Likewise.
52657 (__ASSUME_SOCK_CLOEXEC): Likewise.
52658 (__ASSUME_IN_NONBLOCK): Likewise.
52659 (__ASSUME_PIPE2): Likewise.
52660 (__ASSUME_EVENTFD2): Likewise.
52661 (__ASSUME_SIGNALFD4): Likewise.
52662 (__ASSUME_DUP3): Likewise.
52663 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52664 (__ASSUME_UTIMES): Likewise.
52665 (__ASSUME_O_CLOEXEC): Likewise.
52666 (__ASSUME_SOCK_CLOEXEC): Likewise.
52667 (__ASSUME_IN_NONBLOCK): Likewise.
52668 (__ASSUME_PIPE2): Likewise.
52669 (__ASSUME_EVENTFD2): Likewise.
52670 (__ASSUME_SIGNALFD4): Likewise.
52671 (__ASSUME_DUP3): Likewise.
52672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52673 (__ASSUME_UTIMES): Likewise.
52674 (__ASSUME_O_CLOEXEC): Likewise.
52675 (__ASSUME_SOCK_CLOEXEC): Likewise.
52676 (__ASSUME_IN_NONBLOCK): Likewise.
52677 (__ASSUME_PIPE2): Likewise.
52678 (__ASSUME_EVENTFD2): Likewise.
52679 (__ASSUME_SIGNALFD4): Likewise.
52680 (__ASSUME_DUP3): Likewise.
52681 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52682 Likewise.
52683 (__ASSUME_UTIMES): Likewise.
52684 (__ASSUME_EVENTFD2): Likewise.
52685 (__ASSUME_SIGNALFD4): Likewise.
52686 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52687 (__ASSUME_O_CLOEXEC): Likewise.
52688 (__ASSUME_SOCK_CLOEXEC): Likewise.
52689 (__ASSUME_IN_NONBLOCK): Likewise.
52690 (__ASSUME_PIPE2): Likewise.
52691 (__ASSUME_EVENTFD2): Likewise.
52692 (__ASSUME_SIGNALFD4): Likewise.
52693 (__ASSUME_DUP3): Likewise.
52694 (__ASSUME_UTIMES): Undefine.
52695
52696 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52697 feclearexcept. Remove symbol versioning code.
52698 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52699 symbol versioning code.
52700 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52701 symbol versioning code.
52702 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52703 feupdateenv. Remove symbol versioning code.
52704 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52705 fegetexceptflag. Remove symbol versioning code.
52706 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52707 fesetexceptflag. Remove symbol versioning code.
52708 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52709 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52710 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52711 (__posix_fadvise64_l32): Remove prototype.
52712 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52713 code.
52714
52715 2014-05-13 Roland McGrath <roland@hack.frob.com>
52716
52717 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52718 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52719 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52720 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52721
52722 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52723
52724 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52725 current working directory
52726
52727 2014-05-13 Roland McGrath <roland@hack.frob.com>
52728
52729 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52730 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52731 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52732 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52733 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52734 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52735 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52736 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52737 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52738 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52739 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52740 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52741 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52742 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52743 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52744 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52745 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52746 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52747 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52748 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52749 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52750 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52751 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52752 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52753 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52754 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52755 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52756 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52757 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52758 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52759 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52760 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52761 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52762 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52763 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52764 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52765 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52766 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52767 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52768 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52769 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52770 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52771
52772 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52773 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52774
52775 * sysdeps/unix/sysv/linux/arm/Makefile
52776 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52777 Add rt-aeabi_unwind_cpp_pr1.
52778 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52779 Add nptl-aeabi_unwind_cpp_pr1.
52780 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52781 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52782 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52783 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52784 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52785 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52786
52787 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52788 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52789 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52790 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52791
52792 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52793 Deconditionalize the code that was previously under [RESET_PID].
52794 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52795
52796 * sysdeps/generic/exit-thread.h: New file.
52797 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52798 * include/unistd.h (__exit_thread): Remove declaration.
52799 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52800 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52801 * csu/libc-start.c: Include <exit-thread.h>.
52802 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52803 * nptl/pthread_create.c: Include <exit-thread.h>.
52804 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52805 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52806 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52807 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52808 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52809 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52810 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52811 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52812 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52813 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52814 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52815 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52816 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52817 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52818 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52819 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52820 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52821
52822 2014-05-13 Andreas Schwab <schwab@suse.de>
52823
52824 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52825
52826 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52827
52828 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52829 (__ASSUME_UTIMES): Do not condition on kernel version.
52830 (__ASSUME_PSELECT): Define unconditionally.
52831 (__ASSUME_PPOLL): Likewise.
52832 (__ASSUME_ATFCTS): Likewise.
52833 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52834 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52835 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52836 (__ASSUME_UTIMENSAT): Define unconditionally.
52837 (__ASSUME_PRIVATE_FUTEX): Likewise.
52838 (__ASSUME_FALLOCATE): Likewise.
52839 (__ASSUME_O_CLOEXEC): Likewise.
52840 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52841 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52842 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52843 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52844 (__ASSUME_IN_NONBLOCK): Likewise.
52845 (__ASSUME_PIPE2): Likewise.
52846 (__ASSUME_EVENTFD2): Likewise.
52847 (__ASSUME_SIGNALFD4): Likewise.
52848 (__ASSUME_DUP3): Likewise.
52849 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52850 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52851 (__ASSUME_AT_RANDOM): Likewise.
52852 (__ASSUME_PREADV): Likewise.
52853 (__ASSUME_PWRITEV): Likewise.
52854 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52855 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52856 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52857 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52858 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52859 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52860 (__ASSUME_O_CLOEXEC): Define unconditionally.
52861 (__ASSUME_PSELECT): Do not undefine conditionally.
52862 (__ASSUME_PPOLL): Likewise.
52863 (__ASSUME_ATFCTS): Likewise.
52864 (__ASSUME_SET_ROBUST_LIST): Likewise.
52865 (__ASSUME_UTIMENSAT): Likewise.
52866 (__ASSUME_FDATASYNC): Define unconditionally.
52867 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52868 (__ASSUME_SIGFRAME_V2): Likewise.
52869 )__ASSUME_EVENTFD2): Likewise.
52870 (__ASSUME_SIGNALFD4): Likewise.
52871 (__ASSUME_PSELECT): Do not undefine conditionally.
52872 (__ASSUME_PPOLL): Likewise.
52873 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52874 (__ASSUME_PSELECT): Define unconditionally.
52875 (__ASSUME_PPOLL): Likewise.
52876 (__ASSUME_O_CLOEXEC): Likewise.
52877 (__ASSUME_SOCK_CLOEXEC): Likewise.
52878 (__ASSUME_IN_NONBLOCK): Likewise.
52879 (__ASSUME_PIPE2): Likewise.
52880 (__ASSUME_EVENTFD2): Likewise.
52881 (__ASSUME_SIGNALFD4): Likewise.
52882 (__ASSUME_DUP3): Likewise.
52883 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52884 (__ASSUME_O_CLOEXEC): Likewise.
52885 (__ASSUME_SOCK_CLOEXEC): Likewise.
52886 (__ASSUME_IN_NONBLOCK): Likewise.
52887 (__ASSUME_PIPE2): Likewise.
52888 (__ASSUME_EVENTFD2): Likewise.
52889 (__ASSUME_SIGNALFD4): Likewise.
52890 (__ASSUME_DUP3): Likewise.
52891 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52892 (__ASSUME_EVENTFD2): Likewise.
52893 (__ASSUME_SIGNALFD4): Likewise.
52894 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52895
52896 2014-05-12 Andreas Schwab <schwab@suse.de>
52897
52898 [BZ #16932]
52899 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52900 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52901 than maximum RPC packet size.
52902 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52903 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52904 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52905 (_nss_nis_getservbyport_r): Likewise.
52906
52907 2014-05-12 Will Newton <will.newton@linaro.org>
52908
52909 * malloc/Makefile (tests): Add tst-mallopt.
52910 * malloc/tst-mallopt.c: New file.
52911
52912 2014-05-09 Roland McGrath <roland@hack.frob.com>
52913
52914 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52915 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52916
52917 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52918
52919 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52920 (tst-tlsmod6.so): Likewise.
52921
52922 2014-05-09 Roland McGrath <roland@hack.frob.com>
52923
52924 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52925
52926 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52927
52928 [BZ #16064]
52929 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52930 and <dl-procinfo.h>.
52931 (__fegetenv): Save SSE state in envp->__eip if supported.
52932 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52933 envp->__eip if supported.
52934 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52935 and <dl-procinfo.h>.
52936 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52937 __data_offset and __data_selector in environment to 0. Set SSE
52938 state if supported.
52939 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52940 test-fenv-sse.
52941 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52942 -mfpmath=sse.
52943 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52944
52945 2014-05-09 Will Newton <will.newton@linaro.org>
52946
52947 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52948 and libc_relro_required for ARM.
52949 * sysdeps/arm/preconfigure: Regenerate.
52950
52951 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52952 Stefan Liebler <stli@linux.vnet.ibm.com>
52953
52954 * config.make.in (enable-lock-elision): New Makefile variable.
52955 * configure.ac: Likewise.
52956 * configure: Regenerate.
52957 * sysdeps/s390/configure.ac:
52958 Add check for gcc transactions support.
52959 * sysdeps/s390/configure: Regenerate.
52960 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52961 Build elision files if enabled.
52962 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52963 Add lock elision support for s390.
52964 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52965 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52966 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52967 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52968 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52969 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52970 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52971 Likewise.
52972 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52973 Likewise.
52974 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52975 Likewise.
52976 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52977 Likewise.
52978 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52979 (__lll_timedlock_elision, __lll_lock_elision)
52980 (__lll_unlock_elision, __lll_trylock_elision)
52981 (lll_timedlock_elision, lll_lock_elision)
52982 (lll_unlock_elision, lll_trylock_elision): Add.
52983 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52984 (pthread_mutex_t): Add lock elision support for s390.
52985
52986 2014-05-14 Wilco <wdijkstr@arm.com>
52987
52988 * sysdeps/arm/fclrexcpt.c: Cleanup.
52989 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52990 * sysdeps/arm/feenablxcpt.c: Cleanup.
52991 * sysdeps/arm/fegetenv.c: Cleanup.
52992 * sysdeps/arm/fegetexcept.c: Cleanup.
52993 * sysdeps/arm/fegetround.c: Cleanup.
52994 * sysdeps/arm/feholdexcpt.c: Cleanup.
52995 * sysdeps/arm/fesetenv.c: Cleanup.
52996 * sysdeps/arm/fesetround.c: Cleanup.
52997 * sysdeps/arm/feupdateenv.c: Cleanup.
52998 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52999 * sysdeps/arm/fraiseexcpt.c: Cleanup.
53000 * sysdeps/arm/fsetexcptflg.c: Cleanup.
53001 * sysdeps/arm/ftestexcept.c: Cleanup.
53002 * sysdeps/arm/get-rounding-mode.h: Cleanup.
53003 * sysdeps/arm/setfpucw.c: Cleanup.
53004
53005 2014-05-09 Will Newton <will.newton@linaro.org>
53006
53007 * sysdeps/arm/armv7/strcmp.S: New file.
53008 * NEWS: Mention addition of ARMv7 optimized strcmp.
53009
53010 2014-05-08 Roland McGrath <roland@hack.frob.com>
53011
53012 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53013 look for %.ac rather than %.in.
53014
53015 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53016 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53017 * sysdeps/mach/hurd/configure: Regenerated.
53018 * sysdeps/unix/sysv/linux/configure: Regenerated.
53019
53020 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53021
53022 2014-05-07 Steve Ellcey <sellcey@mips.com>
53023
53024 [BZ #16922]
53025 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53026 (LONG_SUB): Ditto.
53027 (PTR_SUB): Ditto.
53028
53029 2014-05-07 Andreas Schwab <schwab@suse.de>
53030
53031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53032 when skipping over non-matching result from nscd.
53033
53034 2014-05-07 Ondƙej Bílka <neleai@seznam.cz>
53035
53036 [BZ #16876]
53037 * nptl/sockperf.c (client): Check socket return value.
53038
53039 [BZ #16877]
53040 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53041 nscd security class.
53042
53043 2014-05-06 Roland McGrath <roland@hack.frob.com>
53044
53045 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53046 * sysdeps/arm/unwind.h: ... here.
53047
53048 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
53049
53050 [BZ #16916]
53051 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53052 Define.
53053
53054 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53055
53056 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53057 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53058 multiarch strncpy for PPC64.
53059 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53060 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53062 multiarch optimizations.
53063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53064 (__libc_ifunc_impl_list): Likewise.
53065 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53067 multiarch stpncpy for PPC64.
53068 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53069 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53070
53071 2014-05-06 Andreas Schwab <schwab@suse.de>
53072
53073 [BZ #16912]
53074 * gmon/mcount.c (_MCOUNT_DECL): Use
53075 atomic_compare_and_exchange_bool_acq instead of
53076 catomic_compare_and_exchange_bool_acq.
53077
53078 2014-05-05 Roland McGrath <roland@hack.frob.com>
53079
53080 * elf/Makefile (others, install-bin): Remove pldd.
53081 (pldd-modules): Variable removed.
53082 ($(objpfx)pldd): Target removed.
53083 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53084 (others, install-bin): Append pldd here.
53085 ($(objpfx)pldd): New target.
53086
53087 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53088 to 0, so the first #if test emitted later doesn't see it undefined.
53089 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53090 * sysdeps/gnu/errlist.c: Regenerated.
53091
53092 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53093
53094 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53095 [libc_hidden_builtin_def]: Define to empty value.
53096 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53097 [libc_hidden_builtin_def]: Likewise.
53098 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53099 [libc_hidden_builtin_def]: Likewise.
53100 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53101 [libc_hidden_builtin_def]: Likewise.
53102 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53103 __redirect_memcpy and define ifunc as default hidden symbol.
53104 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53105 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53106
53107 2014-05-04 Adam Conrad <adconrad@0c3.net>
53108
53109 * locale/iso-4217.def: Reintroduce XDR currency.
53110
53111 2014-05-04 Allan McRae <allan@archlinux.org>
53112
53113 * po/eo.po: Update Esperanto translation from translation project.
53114
53115 2014-05-02 Carlos O'Donell <carlos@redhat.com>
53116
53117 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53118 and FEATURE_INDEX_MAX to 1.
53119 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53120
53121 2014-05-01 Steve Ellcey <sellcey@mips.com>
53122
53123 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53124 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53125 * iconvdata/big5.c (ONE_DIRECTION): Define.
53126 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53127 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53128 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53129 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53130 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53131 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53132 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53133 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53134 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53135 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53136 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53137 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53138 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53139 * iconvdata/gbk.c (ONE_DIRECTION): Define.
53140 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53141 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53142 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53143 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53144 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53145 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53146 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53147 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53148 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53149 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53150 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53151 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53152 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53153 * iconvdata/iso646.c (ONE_DIRECTION): Define.
53154 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53155 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53156 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53157 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53158 * iconvdata/johab.c (ONE_DIRECTION): Define.
53159 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53160 * iconvdata/sjis.c (ONE_DIRECTION): Define.
53161 * iconvdata/t.61.c (ONE_DIRECTION): Define.
53162 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53163 * iconvdata/tscii.c (ONE_DIRECTION): Define.
53164 * iconvdata/uhc.c (ONE_DIRECTION): Define.
53165 * iconvdata/unicode.c (ONE_DIRECTION): Define.
53166 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53167 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53168 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53169
53170 2014-05-01 Roland McGrath <roland@hack.frob.com>
53171
53172 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53173 (_IO_JUMPS_OFFSET): Define to 0.
53174
53175 * nptl/sysdeps/pthread/bits/libc-lock.h
53176 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53177 (__libc_lock_define_initialized_recursive): Always define using
53178 initializer. Modern compilers treat uninitialized (implicit zero) and
53179 explicit zero initializers the same (i.e. put the datum in bss).
53180
53181 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53182
53183 * nscd/nscd-client.h: Include <string.h>.
53184
53185 2014-05-01 David S. Miller <davem@davemloft.net>
53186
53187 [BZ #16885]
53188 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53189 multiple zero bytes exist at the end of a string.
53190 Reported by Aurelien Jarno <aurelien@aurel32.net>
53191
53192 * string/test-strcmp.c (check): Add explicit test for situations where
53193 there are multiple zero bytes after the first.
53194
53195 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53196
53197 [BZ #16890]
53198 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53199 when compiling wprintf.
53200 * stdio-common/tstdiomisc.c (t3): New function.
53201 (main): Call it.
53202
53203 2014-05-01 Steve Ellcey <sellcey@mips.com>
53204
53205 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53206 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53207 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53208 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53209
53210 2014-05-01 Steve Ellcey <sellcey@mips.com>
53211
53212 * stdlib/longlong.h: Updated from GCC.
53213
53214 2014-05-01 Will Newton <will.newton@linaro.org>
53215 Bernard Ogden <bernie.ogden@linaro.org>
53216
53217 * NEWS: Update fixed bug list.
53218
53219 [BZ #15119]
53220 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53221
53222 2014-04-30 David S. Miller <davem@davemloft.net>
53223
53224 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53225 (libc_feholdexcept_setround_sparc_ctx): New function.
53226 (libc_fesetenv_sparc_ctx): Likewise.
53227 (libc_feupdateenv_sparc_ctx): Likewise.
53228 (libc_feholdsetround_sparc_ctx): Likewise.
53229 (libc_feholdexcept_setround_ctx): Define.
53230 (libc_feholdexcept_setroundf_ctx): Likewise.
53231 (libc_feholdexcept_setroundl_ctx): Likewise.
53232 (libc_fesetenv_ctx): Likewise.
53233 (libc_fesetenvf_ctx): Likewise.
53234 (libc_fesetenvl_ctx): Likewise.
53235 (libc_feupdateenv_ctx): Likewise.
53236 (libc_feupdateenvf_ctx): Likewise.
53237 (libc_feupdateenvl_ctx): Likewise.
53238 (libc_feresetround_ctx): Likewise.
53239 (libc_feresetroundf_ctx): Likewise.
53240 (libc_feresetroundl_ctx): Likewise.
53241 (libc_feholdsetround_ctx): Likewise.
53242 (libc_feholdsetroundf_ctx): Likewise.
53243 (libc_feholdsetroundl_ctx): Likewise.
53244
53245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53246 with __USE_GNU instead of XOPEN cpp guards.
53247
53248 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53249 0.
53250
53251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53252 with XOPEN cpp guards.
53253
53254 2014-04-30 Julian Brown <julian@codesourcery.com>
53255
53256 [BZ #16888]
53257 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53258 handling.
53259
53260 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53261
53262 [BZ #9894]
53263 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53264 Change to 2.6.32.
53265 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53266 * sysdeps/unix/sysv/linux/configure: Regenerated.
53267 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53268 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53269 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53270 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53271 * README: Update reference to required Linux kernel version.
53272 * manual/install.texi (Linux): Update reference to required Linux
53273 kernel headers version.
53274 * INSTALL: Regenerated.
53275
53276 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53277 header inclusion.
53278 [POSIX] (limits.h): Likewise.
53279 [POSIX] (math.h): Likewise.
53280 [POSIX] (sys/wait.h): Likewise.
53281 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53282 function.
53283 [POSIX] (stddef.h): Do not allow header inclusion.
53284
53285 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53286
53287 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53288
53289 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53290
53291 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53292 Return immediately after lll_futex_wake.
53293
53294 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53295
53296 [BZ #16791]
53297 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53298 structure.
53299 (datahead_init_pos): Call datahead_init_common early.
53300 (datahead_init_neg): Likewise.
53301
53302 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53303 datahead_init_neg): New functions.
53304 * nscd/aicache.c (addhstaiX): Use them.
53305 * nscd/grpcache.c (cache_addgr): Likewise.
53306 * nscd/hstcache.c (cache_addhst): Likewise.
53307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53308 * nscd/netgroupcache.c (do_notfound): Likewise.
53309 (addgetnetgrentX): Likewise.
53310 (addinnetgrX): Likewise.
53311 * nscd/pwdcache.c (cache_addpw): Likewise.
53312 * nscd/servicescache.c (cache_addserv): Likewise.
53313
53314 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53315 Atsushi Onoe <atsushi@onoe.org>
53316
53317 [BZ #14308]
53318 [BZ #12994]
53319 [BZ #13651]
53320 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53321 one response is valid.
53322 * resolv/res_send.c (send_dg): Check for validity of other
53323 response if the current response is a referral.
53324
53325 2014-04-29 Steve Ellcey <sellcey@mips.com>
53326
53327 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53328
53329 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53330
53331 [BZ #16823]
53332 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53333 Always divide by positive zero when computing -Inf result.
53334 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53335 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53336
53337 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53338
53339 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53340 FPSCR if value do not change.
53341 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53342 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53343 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53344 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53345 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53346 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53347 function.
53348
53349 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53350
53351 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53352 * sysdeps/unix/sysv/linux/hppa: Move directory from
53353 ports/systeps/unix/sysv/linux/hppa.
53354 * README: Update listing for hppa-*-linux-gnu.
53355
53356 2014-04-28 Ondƙej Bílka <neleai@seznam.cz>
53357
53358 [BZ #16754]
53359 * manual/stdio.texi (Hook functions): Fix types of stream hook
53360 functions.
53361 [BZ #16854]
53362 * socket/sys/socket.h: Fix typo in comment.
53363
53364 2014-04-28 Wilco <wdijkstr@arm.com>
53365
53366 * sysdeps/arm/fenv_private.h: New file.
53367 * sysdeps/arm/math_private.h: New file.
53368 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53369
53370 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53371
53372 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53373 with __int128_t.
53374 (La_x86_64_retval): Likewise.
53375
53376 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53377
53378 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53379 fpsr if value didn't change.
53380 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53381 to fpcr if value didn't change.
53382 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53383 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53384 fpsr or fpcr if value didn't change.
53385 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53386 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53387 fpcr if value didn't change.
53388 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53389 to fpsr if value didn't change.
53390
53391 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53392
53393 * nptl/tst-sem3.c: Use test-skeleton.c
53394 (main): Rename to do_test. Use return instead of
53395 exit.
53396 * nptl/tst-sem4.c: Use test-skeleton.c
53397 (main): Rename to do_test.
53398
53399 2014-04-22 David S. Miller <davem@davemloft.net>
53400
53401 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53402 (struct sigaction): New struct member __glibc_reserved0, change
53403 type of sa_flags to int.
53404
53405 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53406
53407 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53408 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53409
53410 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53411
53412 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53413 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53414
53415 2014-04-22 Will Newton <will.newton@linaro.org>
53416 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53417
53418 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53419 (__longjmp): Add longjmp and longjmp_target SystemTap
53420 probes.
53421 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53422 (__sigsetjmp): Add setjmp SystemTap probe.
53423
53424 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53425
53426 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53427 match manual order.
53428
53429 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53430
53431 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53432
53433 * sysdeps/powerpc/fpu/fenv_private.h
53434 (libc_feholdexcept_setroundl_ctx): Define to
53435 libc_feholdexcept_setround_ppc_ctx.
53436 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53437 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53438 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53439 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53440
53441 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53442
53443 * sysdeps/aarch64/math-tests.h: New file.
53444
53445 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53446
53447 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53448 New.
53449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53450 Check and set bit_AVX2_Usable.
53451 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53452 macro.
53453 (bit_AVX2): Likewise.
53454 (index_AVX2_Usable): Likewise.
53455 (CPUID_AVX2): Likewise.
53456 (HAS_AVX2): Likewise.
53457
53458 2014-04-17 Will Newton <will.newton@linaro.org>
53459
53460 * manual/setjmp.texi (System V contexts): Add note that
53461 calling setcontext on a context created by a call to a
53462 signal handler is undefined. Update text to note that
53463 setcontext from a signal handler is possible but not
53464 recommended.
53465
53466 [BZ #16629]
53467 * stdlib/tst-setcontext.c: Include signal.h.
53468 (main): Check that the signal stack before and
53469 after swapcontext is the same.
53470
53471 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53472 Re-implement to restore registers in user code and avoid
53473 rt_sigreturn system call.
53474
53475 2014-04-17 Wilco <wdijkstr@arm.com>
53476
53477 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53478 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53479 * math/test-fenv.c: Skip exception trap tests on targets which only
53480 support non-stop mode.
53481
53482 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53483 Wilco Dijkstra <wilco.dijkstra@arm.com>
53484
53485 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53486 (libc_feholdsetround_aarch64_ctx)
53487 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53488 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53489 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53490 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53491 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53492 (libc_feresetround_noexl_ctx): Define.
53493
53494 2014-04-16 Richard Henderson <rth@redhat.com>
53495
53496 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53497
53498 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53499 unwind tables.
53500
53501 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53502 const from the non-libc, non-ldso copy.
53503
53504 * sysdeps/alpha/libm-test-ulps: Regenerate.
53505
53506 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53507 Wilco Dijkstra <wilco.dijkstra@arm.com>
53508
53509 * sysdeps/aarch64/fpu/math_private.h: New file.
53510
53511 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53512
53513 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53514
53515 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53516
53517 [BZ #16275]
53518 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53519 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53521 Intel MPX bound registers before _dl_profile_fixup.
53522 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53523 registers after _dl_profile_fixup. Save and restore bound
53524 registers bnd0/bnd1 when calling _dl_call_pltexit.
53525 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53526 (LR_BND_OFFSET): Likewise.
53527 (LRV_BND0_OFFSET): Likewise.
53528 (LRV_BND1_OFFSET): Likewise.
53529
53530 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53531
53532 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53533 to...
53534 * sysdeps/mach/hurd/i386/tls.h: ... here.
53535 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53536 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53537 fields.
53538
53539 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53540
53541 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53542
53543 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53544
53545 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53546
53547 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53548
53549 [BZ #14770]
53550 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53551 * sysdeps/s390/configure: Regenerate.
53552
53553 [BZ #16824]
53554 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53555 Set round-to-nearest internally to reduce error accumulation.
53556
53557 2014-04-16 Alan Modra <amodra@gmail.com>
53558
53559 [BZ #16740]
53560 [BZ #16619]
53561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53562 * math/libm-test.inc (frexp_test_data): Add tests.
53563 * NEWS: Update fixed bug list.
53564
53565 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53566
53567 * benchtests/Makefile: Depend on libraries in build directory.
53568 (bench-math): Separate out math tests.
53569 (bench-pthread): Separate out pthread tests.
53570 (bench): Include math and pthread tests.
53571
53572 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53573
53574 [BZ #16831]
53575 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53576 _dl_debug_initialize.
53577
53578 * configure.ac: Remove SELinux header check.
53579 * configure: Regenerate.
53580 * nscd/selinux.c (perms): Array of const char* to permission names.
53581 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53582 default policy. Call string_to_security_class and string_to_av_perm to
53583 translate strings. Enforce default policy and call avs_has_perm with
53584 results of translated strings.
53585
53586 2014-04-13 David S. Miller <davem@davemloft.net>
53587
53588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53589
53590 2014-04-12 Allan McRae <allan@archlinux.org>
53591
53592 [BZ #16838]
53593 * manual/string.texi (Collation Functions): Fix qsort argument
53594 order in example.
53595 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53596
53597 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53598
53599 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53600 Make the test a no-op if there are no exceptions defined.
53601
53602 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53603
53604 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53605 enable-hardcoded-path-in-tests
53606
53607 2014-04-11 Will Newton <will.newton@linaro.org>
53608
53609 * benchtests/Makefile (extra-objs): Add json-lib.o.
53610 (bench-func): Tidy up JSON output.
53611 * benchtests/bench-skeleton.c: Include json-lib.h.
53612 (main): Use JSON library functions to do output of
53613 benchmark results.
53614 * benchtests/bench-timing-type.c (main): Output the
53615 timing type simply, leaving formatting to the user.
53616 * benchtests/json-lib.c: New file.
53617 * benchtests/json-lib.h: Likewise.
53618
53619 2014-04-11 Torvald Riegel <triegel@redhat.com>
53620
53621 [BZ #15215]
53622 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53623 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53624 memory barriers. Add comments.
53625 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53626 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53627 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53628 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53629 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53630 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53631
53632 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53633
53634 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53635 * sysdeps/s390/s390-64/configure.ac: ... this ...
53636 * sysdeps/s390/configure.ac: ... to here.
53637 * sysdeps/s390/s390-32/configure: Delete file.
53638 * sysdeps/s390/s390-64/configure: Delete file.
53639 * sysdeps/s390/configure: Regenerate.
53640
53641 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53642
53643 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53644
53645 2014-04-11 Will Newton <will.newton@linaro.org>
53646
53647 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53648 to zero if it is not defined elsewhere. (mtrim): Test
53649 the value of MALLOC_DEBUG with #if rather than #ifdef.
53650
53651 2014-04-10 Torvald Riegel <triegel@redhat.com>
53652
53653 * benchtests/pthread_once-inputs: New file.
53654 * benchtests/pthread_once-source.c: New file.
53655 * benchtests/README: Update documentation.
53656
53657 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53658 H.J. Lu <hongjiu.lu@intel.com>
53659
53660 [BZ #16275]
53661 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53662 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53663 * sysdeps/x86_64/configure: Regenerated.
53664 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53665 macro.
53666 (REGISTER_SAVE_RAX): Likewise.
53667 (REGISTER_SAVE_RCX): Likewise.
53668 (REGISTER_SAVE_RDX): Likewise.
53669 (REGISTER_SAVE_RSI): Likewise.
53670 (REGISTER_SAVE_RDI): Likewise.
53671 (REGISTER_SAVE_R8): Likewise.
53672 (REGISTER_SAVE_R9): Likewise.
53673 (REGISTER_SAVE_BND0): Likewise.
53674 (REGISTER_SAVE_BND1): Likewise.
53675 (REGISTER_SAVE_BND2): Likewise.
53676 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53677 bound registers when calling _dl_fixup.
53678
53679 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53680
53681 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53682 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53683 of its definition.
53684 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53685 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53686 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53687 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53688 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53689 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53690 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53691
53692 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53693
53694 [BZ #15514]
53695 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53696 pathconf(_PC_NAME_MAX).
53697
53698 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53699
53700 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53701 Remove macro usage.
53702 (__PTHREAD_SPINS): Move definition to ...
53703 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53704 (__PTHREAD_SPINS): ... here.
53705 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53706 (__PTHREAD_SPIN): Likewise.
53707 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53708 (__PTHREAD_SPIN): Likewise.
53709 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53710 (__PTHREAD_SPIN): Likewise.
53711 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53712 (__PTHREAD_SPIN): Likewise.
53713 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53714 (__PTHREAD_SPIN): Likewise.
53715 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53716 (__PTHREAD_SPIN): Likewise.
53717 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53718 (__PTHREAD_SPIN): Likewise.
53719 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53720 (__PTHREAD_SPIN): Likewise.
53721 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53722 (__PTHREAD_SPIN): Likewise.
53723 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53724 (__PTHREAD_SPIN): Likewise.
53725 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53726 (__PTHREAD_SPIN): Likewise.
53727 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53728 (__PTHREAD_SPIN): Likewise.
53729
53730 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53731 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53732 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53733 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53734 imply folder.
53735 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53736 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53737 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53738 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53739 correct imply path.
53740 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53741 strlen symbol for non multi-arch builds.
53742 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53743 missing hidden_def and weak_alias.
53744
53745 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53746
53747 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53748
53749 2014-04-07 Will Newton <will.newton@linaro.org>
53750
53751 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53752 and contents. [!_LIBC] Remove #ifndef and contents.
53753 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53754 * string/memccpy.c (__memccpy): Use ANSI prototype.
53755 * string/memfrob.c (memfrob): Likewise.
53756 * string/strcoll.c (STRCOLL): Likewise.
53757 * string/strlen.c (strlen): Likewise.
53758 * string/strtok.c (STRTOK): Likewise.
53759 * string/strcat.c: Remove unused #include of memcopy.h.
53760 (strcat): Use ANSI prototype.
53761 * string/strchr.c: Remove unused #include of memcopy.h.
53762 (strchr): Use ANSI prototype.
53763 * string/strcmp.c: Remove unused #include of memcopy.h.
53764 (strcmp): Use ANSI prototype.
53765 * string/strcpy.c: Remove unused #include of memcopy.h.
53766 (strcpy): Use ANSI prototype.
53767
53768 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53769
53770 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53771 * config.make.in (config-extra-cppflags): Set it from
53772 libc_extra_cppflags.
53773 * configure.ac (libc_extra_cflags): Make it accumulate over
53774 configure fragments.
53775 (libc_extra_cppflags): New flag.
53776 * configure. Regenerate.
53777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53778 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53779 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53781
53782 [BZ #16815]
53783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53784 result for FE_DOWNWARD rounding mode.
53785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53786 Likewise.
53787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53788
53789 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53790
53791 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53792 in function argument name.
53793
53794 2014-04-03 David Svoboda <svoboda@cert.org>
53795
53796 [BZ #5666]
53797 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53798 explicitly.
53799
53800 2014-04-03 Roland McGrath <roland@hack.frob.com>
53801
53802 * elf/dl-unmap-segments.h: New file.
53803 * sysdeps/generic/ldsodefs.h
53804 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53805 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53806 * elf/dl-fptr.c: Likewise.
53807 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53808 * sysdeps/aarch64/tlsdesc.c: Likewise.
53809 * sysdeps/arm/tlsdesc.c: Likewise.
53810 * sysdeps/i386/tlsdesc.c: Likewise.
53811 * sysdeps/tile/dl-runtime.c: Likewise.
53812 * sysdeps/x86_64/tlsdesc.c: Likewise.
53813 * elf/dl-load.h: New file.
53814 * elf/dl-load.c: Include it.
53815 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53816 Macros moved to dl-load.h.
53817 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53818 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53819 Use _dl_unmap_segments in place of __munmap.
53820 Break out segment-mapping loop into ...
53821 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53822
53823 2014-04-03 Will Newton <will.newton@linaro.org>
53824
53825 * elf/dl-lookup.c (do_lookup_x): Remove comment
53826 referring to nested function and move variable
53827 declarations down to before first use.
53828
53829 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53830
53831 [BZ #16799]
53832 [BZ #16800]
53833 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53834 with 0 numerator.
53835 * math/s_catanf.c (__catanf): Likewise.
53836 * math/s_catanh.c (__catanh): Likewise.
53837 * math/s_catanhf.c (__catanhf): Likewise.
53838 * math/s_catanhl.c (__catanhl): Likewise.
53839 * math/s_catanl.c (__catanl): Likewise.
53840 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53841 by positive zero when computing -Inf result.
53842 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53843 (catanh_test): Likewise.
53844 * sysdeps/i386/fpu/libm-test-ulps: Update.
53845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53846
53847 [BZ #16789]
53848 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53849 instead of using underflowing value in computing result.
53850 * math/s_clog10.c (__clog10): Likewise.
53851 * math/s_clog10f.c (__clog10f): Likewise.
53852 * math/s_clog10l.c (__clog10l): Likewise.
53853 * math/s_clogf.c (__clogf): Likewise.
53854 * math/s_clogl.c (__clogl): Likewise.
53855 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53856 (clog10_test): Likewise.
53857 * sysdeps/i386/fpu/libm-test-ulps: Update.
53858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53859
53860 2014-04-02 Alan Modra <amodra@gmail.com>
53861
53862 [BZ #16739]
53863 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53864 output when value is near a power of two. Use int64_t for lx and
53865 remove casts. Use decimal rather than hex exponent constants.
53866 Don't use long double multiplication when double will suffice.
53867 * math/libm-test.inc (nextafter_test_data): Add tests.
53868 * NEWS: Add 16739 and 16786 to bug list.
53869
53870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53871
53872 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53873
53874 2014-04-01 Will Newton <will.newton@linaro.org>
53875
53876 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53877 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53878
53879 2014-04-01 Florian Weimer <fweimer@redhat.com>
53880
53881 [BZ #13347]
53882 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53883 * nptl/tst-setuid2.c: New file.
53884 * nptl/Makefile (xtests): Add tst-setuid2.
53885
53886 2014-04-01 Alan Modra <amodra@gmail.com>
53887
53888 [BZ #16786]
53889 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53890
53891 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53892
53893 [BZ #6803]
53894 [BZ #6804]
53895 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53896 set errno as appropriate.
53897 * math/w_scalbf.c (__scalbf): Likewise.
53898 * math/w_scalbl.c (__scalbl): Likewise.
53899 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53900 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53901 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53902 Add more NaN tests.
53903
53904 [BZ #16349]
53905 * math/w_atan2.c: Include <errno.h>.
53906 (__atan2): Set errno for result underflowing to zero.
53907 * math/w_atan2f.c: Include <errno.h>.
53908 (__atan2f): Set errno for result underflowing to zero.
53909 * math/w_atan2l.c: Include <errno.h>.
53910 (__atan2l): Set errno for result underflowing to zero.
53911 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53912 tests.
53913 * math/auto-libm-test-out: Regenerated.
53914
53915 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53916
53917 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53918 Encode instruction correctly in little endian.
53919 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53920 Likewise.
53921 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53922 Likewise.
53923 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53924 Likewise.
53925 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53926 Likewise.
53927
53928 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53929
53930 [BZ #9894]
53931 * sysdeps/unix/sysv/linux/kernel-features.h
53932 [__sparc__ && !__arch64__ && !__sparc_v9__]
53933 (__ASSUME_SET_ROBUST_LIST): Do not define.
53934 [__sparc__ && !__arch64__ && !__sparc_v9__]
53935 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53936 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53937 Likewise.
53938 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53939 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53940 (__ASSUME_REQUEUE_PI): Likewise.
53941 (__ASSUME_SET_ROBUST_LIST): Likewise.
53942 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53943 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53944 Undefine.
53945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53946 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53947 Likewise.
53948 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53949 Likewise.
53950 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53951 Likewise.
53952 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53953 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53954 Undefine.
53955 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53956 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53957 Likewise.
53958
53959 [BZ #16648]
53960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53961 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53962 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53963
53964 2014-03-31 Will Newton <will.newton@linaro.org>
53965
53966 * benchtests/Makefile (bench): Add ffs and ffsll to list
53967 of tests.
53968 * benchtests/ffs-inputs: New file.
53969 * benchtests/ffsll-inputs: Likewise.
53970
53971 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53972
53973 [BZ #16770]
53974 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53975 too large before casting to int.
53976 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53977 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53978 * math/libm-test.inc (scalb_test_data): Add more tests.
53979
53980 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53981
53982 * benchtests/Makefile (DETAILED_OPT): New make option.
53983 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53984 set.
53985 * benchtests/bench-skeleton.c: Include stdbool.h.
53986 (main): Store and print timings per input.
53987 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53988 member to each argument value.
53989 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53990 (_print_arg_data): Initialize per-input timing to 0.
53991
53992 * benchtests/Makefile (timing-type): New binary.
53993 (bench-clean): Also remove bench-timing-type.
53994 (bench): New target for timing-type.
53995 (bench-func): Print output in JSON format.
53996 * benchtests/bench-skeleton.c (main): Print output in JSON
53997 format.
53998 * benchtests/bench-timing-type.c: New file.
53999 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54000 (TIMING_PRINT_STATS): Remove.
54001 * benchtests/scripts/bench.py (_print_arg_data): Store variant
54002 name separately.
54003
54004 * benchtests/bench-modf.c: Remove.
54005 * benchtests/modf-inputs: New inputs file.
54006
54007 2014-03-28 Joseph Myers <joseph@codesourcery.com>
54008
54009 [BZ #16362]
54010 * math/s_clog10.c (M_PI_LOG10E): New macro.
54011 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54012 imaginary parts are 0.
54013 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54014 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54015 imaginary parts are 0.
54016 * math/s_clog10l.c (M_PI_LOG10El): New macro.
54017 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54018 imaginary parts are 0.
54019 * math/libm-test.inc (clog10_test_data): Update expected results
54020 for when real and imaginary parts are 0.
54021
54022 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
54023
54024 * elf/dl-load.c: Finish conversion of __builtin_expect into
54025 __glibc_{un}likely.
54026
54027 2014-03-27 Joseph Myers <joseph@codesourcery.com>
54028
54029 [BZ #16348]
54030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54031 1+x for argument with exponent below -67.
54032 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54033 Likewise.
54034 * math/auto-libm-test-in: Add more tests of exp.
54035 * math/auto-libm-test-out: Regenerated.
54036
54037 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54038
54039 [BZ #16759]
54040 * inet/getnetgrent_r.c (get_nonempty_val): New function.
54041 (nscd_getnetgrent): Use it.
54042
54043 [BZ #16760]
54044 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54045 of stpcpy.
54046
54047 2014-03-27 Andi Kleen <ak@linux.intel.com>
54048
54049 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54050 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54051 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54052 (lll_robust_unlock): Remove out of line section. Use cfi
54053 intrinsics.
54054 (LLL_STUB_UNWIND_INFO*): Remove.
54055 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54056 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54057 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54058 (lll_robust_unlock): Remove out of line section. Use cfi
54059 intrinsics.
54060 (LLL_STUB_UNWIND_INFO*): Remove.
54061
54062 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54063
54064 [BZ #16758]
54065 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54066 blank values.
54067
54068 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
54069
54070 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54071
54072 2014-03-26 Joseph Myers <joseph@codesourcery.com>
54073
54074 [BZ #16198]
54075 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54076 fnstenv.
54077 * math/test-fenv-preserve.c: New file.
54078 * math/Makefile (tests): Add test-fenv-preserve.
54079
54080 2014-03-26 Will Newton <will.newton@linaro.org>
54081
54082 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54083
54084 2014-03-25 Roland McGrath <roland@hack.frob.com>
54085
54086 * scripts/versionlist.awk: Partition the version sets and emit all
54087 GLIBC_* (sorted) before all others (sorted).
54088
54089 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54090
54091 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54092 GLIBC_2.2.5 version.
54093
54094 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54095
54096 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54097 calls.
54098
54099 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54100 previous change.
54101
54102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54103
54104 2014-03-25 Andreas Schwab <schwab@suse.de>
54105
54106 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54107 label to be used after in6ailist is initialized.
54108
54109 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54110
54111 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54112 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54113
54114 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54115
54116 [BZ #16357]
54117 [BZ #16599]
54118 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54119 min_plus_half.
54120 (fp_formats): Update initializers.
54121 (init_fp_formats): Initialize new field.
54122 (output_for_one_input_case): Allow underflow for results up to
54123 min_plus_half.
54124 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54125 * math/auto-libm-test-in: Don't mark some underflows from asin and
54126 atanh as spurious.
54127 * math/auto-libm-test-out: Regenerated.
54128 * sysdeps/i386/fpu/libm-test-ulps: Update.
54129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54130
54131 2014-03-25 Andreas Schwab <schwab@suse.de>
54132
54133 * libio/Makefile (tst-ftell-partial-wide-ENV)
54134 (tst-ftell-active-handler-ENV): Define.
54135
54136 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
54137
54138 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54139
54140 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54141
54142 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54143
54144 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54145
54146 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54147 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54148 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54149
54150 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54151
54152 [BZ #16634]
54153 * elf/dl-load.c (open_verify): Add mode parameter.
54154 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54155 (open_path): Change from boolean 'secure' to complete flag 'mode'
54156 (_dl_map_object): Adjust.
54157 * elf/Makefile (tests): Add tst-dlopen-aout.
54158 * elf/tst-dlopen-aout.c: New test.
54159
54160 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54161
54162 [BZ #16714]
54163 * sysdeps/unix/sysv/linux/s390/bits/stat.h
54164 (struct stat): Rename member pad0 to __glibc_reserved0.
54165
54166 [BZ #16712]
54167 * sysdeps/s390/s390-32/bits/wordsize.h
54168 (__WORDSIZE32_SIZE_ULONG): New define.
54169 * sysdeps/s390/s390-64/bits/wordsize.h
54170 (__WORDSIZE32_SIZE_ULONG): Likewise.
54171 * sysdeps/generic/stdint.h (SIZE_MAX):
54172 Define as UL if __WORDSIZE32_SIZE_ULONG.
54173
54174 [BZ #16713]
54175 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54176 (__glibc_reserved0): New variable.
54177 (sa_flags): Change type to int.
54178
54179 * posix/Makefile (before-compile): Use += before-compile instead
54180 of a :=.
54181
54182 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54183 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54184
54185 2014-03-20 Andreas Schwab <schwab@suse.de>
54186
54187 [BZ #16743]
54188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54189 non-matching result from nscd.
54190
54191 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54192
54193 * scripts/bench.py: Moved to ...
54194 * benchtests/scripts/bench.py: ... here.
54195 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54196
54197 2014-03-24 Andreas Schwab <schwab@suse.de>
54198
54199 [BZ #16002]
54200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54201 alloca_account and account alloca use for struct in6ailist.
54202
54203 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54204
54205 [BZ #16284]
54206 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54207 rounding mode to recompute results that overflow to infinity or
54208 underflow to zero.
54209 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54210 bug 16284.
54211 * math/auto-libm-test-out: Regenerated.
54212 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54213 (ccosh_test): Likewise.
54214 (csin_test_data): Use plus_oflow.
54215 (csin_test): Use ALL_RM_TEST.
54216 (csinh_test_data): Use plus_oflow.
54217 (csinh_test): Use ALL_RM_TEST.
54218 * sysdeps/i386/fpu/libm-test-ulps: Update.
54219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54220
54221 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54222
54223 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54224 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54225 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54226
54227 [BZ #16731]
54228 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54229 when x - 1 is zero.
54230 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54231 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54232 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54234 argument is 1.
54235 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54236 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54237 zero.
54238 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54239 * sysdeps/i386/fpu/libm-test-ulps: Update.
54240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54241
54242 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54243
54244 * scripts/bench.pl: Remove file.
54245 * scripts/bench.py: New benchmark script.
54246 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54247 * benchtests/README: Mention python dependency.
54248 * scripts/pylintrc: New file.
54249 * scripts/pylint: New file.
54250
54251 * bits/mathdef.h: Use #ifdef instead of #if.
54252 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54253 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54254 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54255 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54256 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54257 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54258
54259 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54260 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54261
54262 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54264 and strpbrk-ppc64 objects.
54265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54266 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54267 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54268 multiarch strpbrk for POWER7.
54269 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54270 multiarch strpbrk for PPC64.
54271 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54272 ifunc selector.
54273 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54274 strpbrk for POWER7.
54275
54276 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54277
54278 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54279 (atan_test): Likewise.
54280 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54281 (atanh_test): Use ALL_RM_TEST.
54282 (atan2_test_data): Likewise.
54283 (cabs_test): Likewise.
54284 (cacosh_test): Likewise.
54285 (carg_test): Likewise.
54286 (casin_test): Likewise.
54287 (casinh_test): Likewise.
54288 (cbrt_test): Likewise.
54289 (csqrt_test): Likewise.
54290 (erf_test): Likewise.
54291 (erfc_test): Likewise.
54292 (pow10_test): Likewise.
54293 (exp2_test): Likewise.
54294 (hypot_test): Likewise.
54295 (j0_test): Likewise.
54296 (j1_test): Likewise.
54297 (lgamma_test): Likewise.
54298 (gamma_test): Likewise.
54299 (sincos_test): Likewise.
54300 (tanh_test): Likewise.
54301 (y0_test): Likewise.
54302 (y1_test): Likewise.
54303 * sysdeps/i386/fpu/libm-test-ulps: Update.
54304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54305
54306 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54307
54308 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54310 and strcspn-ppc64 objects.
54311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54312 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54313 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54314 multiarch strcspn for POWER7.
54315 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54316 multiarch strcspn for PPC64.
54317 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54318 ifunc selector.
54319 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54320 strcspn for POWER7.
54321
54322 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54323
54324 * math/gen-libm-test.pl (generate_testfile): Expect only function
54325 name as argument to AUTO_TESTS_* and pass results for all rounding
54326 modes to parse_args.
54327 (parse_auto_input): Separate inputs of automatic tests from
54328 outputs before storing in %auto_tests.
54329 * math/libm-test.inc (acos_test_data): Update call to
54330 AUTO_TESTS_f_f.
54331 (acos_test): Use ALL_RM_TEST.
54332 (acos_tonearest_test_data): Remove.
54333 (acos_test_tonearest): Likewise.
54334 (acos_towardzero_test_data): Likewise.
54335 (acos_test_towardzero): Likewise.
54336 (acos_downward_test_data): Likewise.
54337 (acos_test_downward): Likewise.
54338 (acos_upward_test_data): Likewise.
54339 (acos_test_upward): Likewise.
54340 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54341 (asin_test_data): Likewise.
54342 (asin_test): Use ALL_RM_TEST.
54343 (asin_tonearest_test_data): Remove.
54344 (asin_test_tonearest): Likewise.
54345 (asin_towardzero_test_data): Likewise.
54346 (asin_test_towardzero): Likewise.
54347 (asin_downward_test_data): Likewise.
54348 (asin_test_downward): Likewise.
54349 (asin_upward_test_data): Likewise.
54350 (asin_test_upward): Likewise.
54351 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54352 (atan_test_data): Likewise.
54353 (atanh_test_data): Likewise.
54354 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54355 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54356 (carg_test_data): Likewise.
54357 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54358 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54359 (ccosh_test_data): Likewise.
54360 (cexp_test_data): Likewise.
54361 (clog_test_data): Likewise.
54362 (clog10_test_data): Likewise.
54363 (cos_test_data): Update call to AUTO_TESTS_f_f.
54364 (cos_test): Use ALL_RM_TEST.
54365 (cos_tonearest_test_data): Remove.
54366 (cos_test_tonearest): Likewise.
54367 (cos_towardzero_test_data): Likewise.
54368 (cos_test_towardzero): Likewise.
54369 (cos_downward_test_data): Likewise.
54370 (cos_test_downward): Likewise.
54371 (cos_upward_test_data): Likewise.
54372 (cos_test_upward): Likewise.
54373 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54374 (cosh_test): Use ALL_RM_TEST.
54375 (cosh_tonearest_test_data): Remove.
54376 (cosh_test_tonearest): Likewise.
54377 (cosh_towardzero_test_data): Likewise.
54378 (cosh_test_towardzero): Likewise.
54379 (cosh_downward_test_data): Likewise.
54380 (cosh_test_downward): Likewise.
54381 (cosh_upward_test_data): Likewise.
54382 (cosh_test_upward): Likewise.
54383 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54384 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54385 (ctan_test_data): Likewise.
54386 (ctan_test): Use ALL_RM_TEST.
54387 (ctan_tonearest_test_data): Remove.
54388 (ctan_test_tonearest): Likewise.
54389 (ctan_towardzero_test_data): Likewise.
54390 (ctan_test_towardzero): Likewise.
54391 (ctan_downward_test_data): Likewise.
54392 (ctan_test_downward): Likewise.
54393 (ctan_upward_test_data): Likewise.
54394 (ctan_test_upward): Likewise.
54395 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54396 (ctanh_test): Use ALL_RM_TEST.
54397 (ctanh_tonearest_test_data): Remove.
54398 (ctanh_test_tonearest): Likewise.
54399 (ctanh_towardzero_test_data): Likewise.
54400 (ctanh_test_towardzero): Likewise.
54401 (ctanh_downward_test_data): Likewise.
54402 (ctanh_test_downward): Likewise.
54403 (ctanh_upward_test_data): Likewise.
54404 (ctanh_test_upward): Likewise.
54405 (erf_test_data): Update call to AUTO_TESTS_f_f.
54406 (erfc_test_data): Likewise.
54407 (exp_test_data): Likewise.
54408 (exp_test): Use ALL_RM_TEST.
54409 (exp_tonearest_test_data): Remove.
54410 (exp_test_tonearest): Likewise.
54411 (exp_towardzero_test_data): Likewise.
54412 (exp_test_towardzero): Likewise.
54413 (exp_downward_test_data): Likewise.
54414 (exp_test_downward): Likewise.
54415 (exp_upward_test_data): Likewise.
54416 (exp_test_upward): Likewise.
54417 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54418 (exp10_test): Use ALL_RM_TEST.
54419 (exp10_tonearest_test_data): Remove.
54420 (exp10_test_tonearest): Likewise.
54421 (exp10_towardzero_test_data): Likewise.
54422 (exp10_test_towardzero): Likewise.
54423 (exp10_downward_test_data): Likewise.
54424 (exp10_test_downward): Likewise.
54425 (exp10_upward_test_data): Likewise.
54426 (exp10_test_upward): Likewise.
54427 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54428 (expm1_test_data): Likewise.
54429 (expm1_test): Use ALL_RM_TEST.
54430 (expm1_tonearest_test_data): Remove.
54431 (expm1_test_tonearest): Likewise.
54432 (expm1_towardzero_test_data): Likewise.
54433 (expm1_test_towardzero): Likewise.
54434 (expm1_downward_test_data): Likewise.
54435 (expm1_test_downward): Likewise.
54436 (expm1_upward_test_data): Likewise.
54437 (expm1_test_upward): Likewise.
54438 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54439 (fma_test): Use ALL_RM_TEST.
54440 (fma_towardzero_test_data): Remove.
54441 (fma_test_towardzero): Likewise.
54442 (fma_downward_test_data): Likewise.
54443 (fma_test_downward): Likewise.
54444 (fma_upward_test_data): Likewise.
54445 (fma_test_upward): Likewise.
54446 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54447 (j0_test_data): Update call to AUTO_TESTS_f_f.
54448 (j1_test_data): Likewise.
54449 (jn_test_data): Update call to AUTO_TESTS_if_f.
54450 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54451 (log_test_data): Update call to AUTO_TESTS_f_f.
54452 (log10_test_data): Likewise.
54453 (log1p_test_data): Likewise.
54454 (log2_test_data): Likewise.
54455 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54456 (pow_tonearest_test_data): Likewise.
54457 (sin_test_data): Update call to AUTO_TESTS_f_f.
54458 (sin_test): Use ALL_RM_TEST.
54459 (sin_tonearest_test_data): Remove.
54460 (sin_test_tonearest): Likewise.
54461 (sin_towardzero_test_data): Likewise.
54462 (sin_test_towardzero): Likewise.
54463 (sin_downward_test_data): Likewise.
54464 (sin_test_downward): Likewise.
54465 (sin_upward_test_data): Likewise.
54466 (sin_test_upward): Likewise.
54467 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54468 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54469 (sinh_test): Use ALL_RM_TEST.
54470 (sinh_tonearest_test_data): Remove.
54471 (sinh_test_tonearest): Likewise.
54472 (sinh_towardzero_test_data): Likewise.
54473 (sinh_test_towardzero): Likewise.
54474 (sinh_downward_test_data): Likewise.
54475 (sinh_test_downward): Likewise.
54476 (sinh_upward_test_data): Likewise.
54477 (sinh_test_upward): Likewise.
54478 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54479 (sqrt_test): Use ALL_RM_TEST.
54480 (sqrt_tonearest_test_data): Remove.
54481 (sqrt_test_tonearest): Likewise.
54482 (sqrt_towardzero_test_data): Likewise.
54483 (sqrt_test_towardzero): Likewise.
54484 (sqrt_downward_test_data): Likewise.
54485 (sqrt_test_downward): Likewise.
54486 (sqrt_upward_test_data): Likewise.
54487 (sqrt_test_upward): Likewise.
54488 (tan_test_data): Update call to AUTO_TESTS_f_f.
54489 (tan_test): Use ALL_RM_TEST.
54490 (tan_tonearest_test_data): Remove.
54491 (tan_test_tonearest): Likewise.
54492 (tan_towardzero_test_data): Likewise.
54493 (tan_test_towardzero): Likewise.
54494 (tan_downward_test_data): Likewise.
54495 (tan_test_downward): Likewise.
54496 (tan_upward_test_data): Likewise.
54497 (tan_test_upward): Likewise.
54498 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54499 (tgamma_test_data): Likewise.
54500 (y0_test_data): Likewise.
54501 (y1_test_data): Likewise.
54502 (yn_test_data): Update call to AUTO_TESTS_if_f.
54503 (main): Do not call removed functions.
54504
54505 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54506
54507 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54508 (ldexp_test_data): Remove.
54509 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54510 scalbn_test_data.
54511 (scalb_test): Use ALL_RM_TEST.
54512
54513 2014-03-19 Andreas Schwab <schwab@suse.de>
54514
54515 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54516
54517 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54518
54519 [BZ #16649]
54520 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54521 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54522 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54524 (__ASSUME_PREADV): Undefine.
54525 (__ASSUME_PWRITEV): Likewise.
54526
54527 2014-03-18 Roland McGrath <roland@hack.frob.com>
54528
54529 * bits/mman-linux.h: Add comment about non-Linux use.
54530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54531 bits/mman-linux.h resting place.
54532
54533 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54534 * bits/mman-linux.h: ... here.
54535
54536 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54537
54538 * conform/conformtest.pl: Add standard definition when calling C
54539 preprocessor on data files.
54540 (checknamespace): Remove unused variable.
54541
54542 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54543
54544 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54545 minus_oflow, plus_uflow and minus_uflow in expected results.
54546 * math/libm-test.inc (scalbn_test_data): Add more tests of
54547 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54548 minus_uflow.
54549 (scalbn_test): Use ALL_RM_TEST.
54550 (scalbln_test_data): Add more tests of negative arguments. Use
54551 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54552 (scalbln_test): Use ALL_RM_TEST.
54553
54554 2014-03-18 Roland McGrath <roland@hack.frob.com>
54555
54556 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54557
54558 2014-03-18 Will Newton <will.newton@linaro.org>
54559
54560 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54561 inaccurate comment.
54562
54563 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54564
54565 * Makerules [!subdir] (check-abi): Exit with error status if a
54566 test failed.
54567
54568 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54569
54570 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54571 for rint. Include results for all rounding modes.
54572 (nearbyint_test): Use ALL_RM_TEST.
54573 (rint_test_data): Include all tests used for nearbyint.
54574
54575 2014-03-17 Will Newton <will.newton@linaro.org>
54576
54577 * nptl/sysdeps/pthread/pthread.h: Revert previous
54578 change.
54579
54580 * sysdeps/generic/ldsodefs.h: Revert previous
54581 change.
54582
54583 * libio/genops.c: Revert previous change.
54584 * libio/libioP.h: Likewise.
54585 * stdio-common/vfprintf.c: Likewise.
54586
54587 * sysdeps/generic/math_private.h: Revert previous
54588 change.
54589
54590 * sysdeps/generic/math_private.h: Check whether
54591 HAVE_RM_CTX is defined with #ifdef rather
54592 than #if.
54593
54594 * argp/argp-fmtstream.h: Check whether
54595 __STRICT_ANSI__ is defined with #ifdef rather
54596 than #if.
54597 * argp/argp.h: Likewise.
54598
54599 * libio/genops.c: Check whether
54600 _IO_JUMPS_OFFSET is defined with #ifdef rather
54601 than #if.
54602 * libio/libioP.h: Likewise.
54603 * stdio-common/vfprintf.c: Likewise.
54604
54605 * sysdeps/generic/ldsodefs.h: Check whether
54606 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54607 than #if.
54608
54609 * nptl/sysdeps/pthread/pthread.h: Check
54610 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54611 its value.
54612
54613 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54614
54615 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54616 setting O_APPEND.
54617 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54618 test case.
54619
54620 [BZ #16680]
54621 * libio/fileops.c (_IO_file_open): Seek to end of file but
54622 don't cache the offset.
54623 (get_file_offset): Remove function.
54624 (do_ftell): Use cached offset when available.
54625 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54626 don't cache the offset.
54627 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54628 case.
54629 (do_one_test): Call it.
54630 (do_ftell_test): Fix up expected old offset for a+ mode.
54631 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54632 available.
54633
54634 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54635 up test status with function return status.
54636 (do_write_test): Likewise.
54637 (do_append_test): Likewise.
54638
54639 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54640 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54641 Remove.
54642
54643 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54644
54645 * math/gen-libm-test.pl (parse_args): Handle results specified for
54646 each rounding mode separately.
54647 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54648 tests and results from lrint_tonearest_test_data,
54649 lrint_towardzero_test_data, lrint_downward_test_data and
54650 lrint_upward_test_data.
54651 (lrint_test): Use ALL_RM_TEST.
54652 (lrint_tonearest_test_data): Remove.
54653 (lrint_test_tonearest): Likewise.
54654 (lrint_towardzero_test_data): Likewise.
54655 (lrint_test_towardzero): Likewise.
54656 (lrint_downward_test_data): Likewise.
54657 (lrint_test_downward): Likewise.
54658 (lrint_upward_test_data): Likewise.
54659 (lrint_test_upward): Likewise.
54660 (llrint_test_data): Merge in per-rounding-mode tests and results
54661 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54662 llrint_downward_test_data and llrint_upward_test_data.
54663 (llrint_test): Use ALL_RM_TEST.
54664 (llrint_tonearest_test_data): Remove.
54665 (llrint_test_tonearest): Likewise.
54666 (llrint_towardzero_test_data): Likewise.
54667 (llrint_test_towardzero): Likewise.
54668 (llrint_downward_test_data): Likewise.
54669 (llrint_test_downward): Likewise.
54670 (llrint_upward_test_data): Likewise.
54671 (llrint_test_upward): Likewise.
54672 (rint_test_data): Merge in per-rounding-mode tests and results
54673 from rint_tonearest_test_data, rint_towardzero_test_data,
54674 rint_downward_test_data and rint_upward_test_data. Add
54675 per-rounding-mode results for tests not in those arrays.
54676 (rint_test): Use ALL_RM_TEST.
54677 (rint_tonearest_test_data): Remove.
54678 (rint_test_tonearest): Likewise.
54679 (rint_towardzero_test_data): Likewise.
54680 (rint_test_towardzero): Likewise.
54681 (rint_downward_test_data): Likewise.
54682 (rint_test_downward): Likewise.
54683 (rint_upward_test_data): Likewise.
54684 (rint_test_upward): Likewise.
54685 (main): Don't call removed functions.
54686
54687 2014-03-14 Roland McGrath <roland@hack.frob.com>
54688
54689 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54690 "Compiled on ..." crapola. It is anti-useful.
54691
54692 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54693
54694 * scripts/evaluate-test.sh: Handle fourth argument to determine
54695 whether test run should stop on failure.
54696 * Makeconfig (stop-on-test-failure): New variable.
54697 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54698 $(stop-on-test-failure).
54699 * Makefile (tests): Give a summary of results from testing and
54700 exit with failure status if they include an ERROR or FAIL.
54701 (xtests): Likewise.
54702 * manual/install.texi (Configuring and compiling): Mention
54703 stop-on-test-failure=y.
54704 * INSTALL: Regenerated.
54705
54706 2014-03-14 Roland McGrath <roland@hack.frob.com>
54707
54708 * scripts/versionlist.awk: New file.
54709 * Makerules [$(build-shared) = yes]
54710 (postclean-generated): Add Versions.def, not Versions.def.v and
54711 Versions.def.v.i.
54712 ($(common-objpfx)Versions.def.v.i): Target removed.
54713 ($(common-objpfx)Versions.def): New target.
54714 ($(common-objpfx)Versions.all): Depend on that rather that
54715 $(common-objpfx)Versions.def.v.
54716 * Versions.def: File removed.
54717
54718 * Makeconfig (+gccwarn): Add -Wundef.
54719 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54720 a dl-sysdep.h breaking its contract.
54721 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54722 * include/stackinfo.h: New file.
54723 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54724 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54725 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54726 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54727 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54728 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54729 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54730 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54731 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54732 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54733 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54734 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54735 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54736 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54737 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54738
54739 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54740
54741 [BZ #16707]
54742 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54743 implementation.
54744 * math/libm-test.inc (round_test_data): Add more tests.
54745
54746 [BZ #16706]
54747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54748 implementation.
54749 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54750
54751 [BZ #16701]
54752 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54753 implementation.
54754 * math/libm-test.inc (ceil_test_data): Add more tests.
54755
54756 * math/libm-test.inc (trunc_test_data): Add more tests related to
54757 BZ#16414.
54758
54759 2014-03-14 Roland McGrath <roland@hack.frob.com>
54760
54761 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54762 with #if rather than #ifdef.
54763 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54764
54765 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54766
54767 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54768 first. Disable AVX-512 GCC support if assembler doesn't support
54769 it.
54770 * sysdeps/x86_64/configure: Regenerated.
54771
54772 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54773
54774 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54775 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54776 (__old_pthread_attr_setstack): Likewise.
54777 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54778 [!_STACK_GROWS_DOWN]: Likewise.
54779
54780 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54781
54782 * config.make.in (have-bash2): Delete.
54783 * configure.ac (libc_cv_have_bash2): Delete.
54784 * configure: Regenerate.
54785 * elf/Makefile (common-ldd-rewrite): Rename to ...
54786 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54787 (sh-ldd-rewrite): Delete.
54788 (bash-ldd-rewrite): Delete.
54789 (have-bash2): Delete checks.
54790 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54791 ldd-rewrite.
54792
54793 * config.make.in (have-ksh): Delete.
54794 (KSH): Delete.
54795 * configure.ac (libc_cv_have_ksh): Delete.
54796 * configure: Regenerate.
54797
54798 * elf/Makefile: Delete $(have-ksh) check.
54799 ($(objpfx)sotruss): Change KSH to BASH.
54800 * elf/sotruss.ksh: Rename to ...
54801 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54802 function style to match POSIX. Drop ksh vim mode setting.
54803
54804 * manual/time.texi (Specifying the Time Zone with TZ): Change
54805 Tuesday to Thursday.
54806
54807 * debug/tst-longjmp_chk2.c: Update header comment.
54808 (stackoverflow_handler): Add comment. Call assert on pass value.
54809
54810 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54811
54812 [BZ #16194]
54813 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54814 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54815 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54816 (La_x86_64_vector): Add zmm.
54817 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54818 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54819 ($(objpfx)tst-audit10): New target.
54820 ($(objpfx)tst-audit10.out): Likewise.
54821 (tst-audit10-ENV): New.
54822 (AVX512-CFLAGS): Likewise.
54823 (CFLAGS-tst-audit10.c): Likewise.
54824 (CFLAGS-tst-auditmod10a.c): Likewise.
54825 (CFLAGS-tst-auditmod10b.c): Likewise.
54826 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54827 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54828 * sysdeps/x86_64/configure: Regenerated.
54829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54830 AVX-512 zmm register support.
54831 (_dl_x86_64_save_sse): Likewise.
54832 (_dl_x86_64_restore_sse): Likewise.
54833 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54834 size vector registers.
54835 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54836 (ZMM_SIZE): Likewise.
54837 * sysdeps/x86_64/tst-audit10.c: New file.
54838 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54839 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54840
54841 2014-03-13 Roland McGrath <roland@hack.frob.com>
54842
54843 * configure.ac (HAVE_EHDR_START): New check.
54844 * configure: Regenerated.
54845 * config.h.in (HAVE_EHDR_START): New #undef.
54846 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54847 assuming the lowest-addressed segment maps the start of the file.
54848
54849 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54850
54851 * INSTALL: Regenerated.
54852
54853 2014-03-13 Will Newton <will.newton@linaro.org>
54854
54855 * manual/setjmp.texi (System V contexts): Improve
54856 clarity and grammar of documentation.
54857
54858 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54859
54860 [BZ #16381]
54861 * elf/Makefile (tests): Add tst-pie2.
54862 (tests-pie): Add tst-pie2.
54863 * elf/tst-pie2.c: New file.
54864 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54865 for ET_EXEC.
54866 * elf/rtld.c (map_doit): Load executable as lt_executable.
54867 (dl_main): Likewise.
54868
54869 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54870
54871 [BZ #16642]
54872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54873 (__ASSUME_PSELECT): Undefine.
54874
54875 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54876
54877 [BZ #16689]
54878 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54879 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54880 static build.
54881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54882 selector for static builds.
54883
54884 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54885
54886 [BZ #16695]
54887 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54888 key in the buffer.
54889
54890 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54891
54892 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54893 IFUNC selector for static builds.
54894
54895 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54896
54897 * sysdeps/mips/math_private.h [__mips_hard_float]
54898 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54899 libc_feresetround_mips_ctx.
54900 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54901 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54902 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54903
54904 [BZ #16677]
54905 * math/s_nextafter.c (__nextafter): Do not return value from
54906 overflowing computation.
54907 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54908 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54909 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54910 Likewise.
54911 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54912 Likewise.
54913 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54914 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54915
54916 2014-03-11 Roland McGrath <roland@hack.frob.com>
54917
54918 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54919 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54920 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54921 the new mov targetting sp.
54922
54923 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54924
54925 [BZ #16683]
54926 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54927 Define it for static builds as well.
54928 (NO_BZERO_IMPL): Likewise.
54929
54930 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54931
54932 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54933 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54934 multiarch strspn for PPC64.
54935 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54936 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54938 (__libc_ifunc_impl_list): Likewise.
54939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54940 multiarch optimizations
54941 * string/strspn.c (strspn): Using macro to redefine symbol name.
54942
54943 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54944 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54945
54946 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54947 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54948 multiarch strncat for PPC64.
54949 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54950 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54952 (__libc_ifunc_impl_list): Likewise.
54953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54954 multiarch optimizations
54955
54956 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54957
54958 [BZ #16639]
54959 * nscd/nscd.service: Make service type forking.
54960
54961 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54962
54963 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54964 sign in non default rounding modes.
54965 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54966
54967 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54968
54969 * math/libm-test.inc (ALL_RM_TEST): New macro.
54970 (ceil_test): Use ALL_RM_TEST.
54971 (cimag_test): Likewise.
54972 (conj_test): Likewise.
54973 (copysign_test): Likewise.
54974 (cproj_test): Likewise.
54975 (creal_test): Likewise.
54976 (fabs_test): Likewise.
54977 (floor_test): Likewise.
54978 (fmax_test): Likewise.
54979 (fmin_test): Likewise.
54980 (fmod_test): Likewise.
54981 (fpclassify_test): Likewise.
54982 (frexp_test): Likewise.
54983 (ilogb_test): Likewise.
54984 (isfinite_test): Likewise.
54985 (finite_test): Likewise.
54986 (isgreater_test): Likewise.
54987 (isgreaterequal_test): Likewise.
54988 (isinf_test): Likewise.
54989 (isless_test): Likewise.
54990 (islessequal_test): Likewise.
54991 (islessgreater_test): Likewise.
54992 (isnan_test): Likewise.
54993 (isnormal_test): Likewise.
54994 (issignaling_test): Likewise.
54995 (isunordered_test): Likewise.
54996 (logb_test): Likewise.
54997 (logb_downward_test_data): Remove.
54998 (logb_test_downward): Likewise.
54999 (lround_test): Use ALL_RM_TEST.
55000 (llround_test): Likewise.
55001 (modf_test): Likewise.
55002 (nexttoward_test): Likewise.
55003 (remainder_test): Likewise.
55004 (drem_test): Likewise.
55005 (remainder_tonearest_test_data): Likewise.
55006 (remainder_test_tonearest): Likewise.
55007 (drem_test_tonearest): Likewise.
55008 (remainder_towardzero_test_data): Likewise.
55009 (remainder_test_towardzero): Likewise.
55010 (drem_test_towardzero): Likewise.
55011 (remainder_downward_test_data): Likewise.
55012 (remainder_test_downward): Likewise.
55013 (drem_test_downward): Likewise.
55014 (remainder_upward_test_data): Likewise.
55015 (remainder_test_upward): Likewise.
55016 (drem_test_upward): Likewise.
55017 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
55018 (round_test): Use ALL_RM_TEST.
55019 (signbit_test): Likewise.
55020 (trunc_test): Likewise.
55021 (significand_test): Likewise.
55022 (main): Don't call removed functions.
55023
55024 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55025
55026 [BZ #16674]
55027 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55028 || __USE_XOPEN2K8].
55029 (ILL_ILLOPN): Likewise.
55030 (ILL_ILLADR): Likewise.
55031 (ILL_ILLTRP): Likewise.
55032 (ILL_PRVOPC): Likewise.
55033 (ILL_PRVREG): Likewise.
55034 (ILL_COPROC): Likewise.
55035 (ILL_BADSTK): Likewise.
55036 (FPE_INTDIV): Likewise.
55037 (FPE_INTOVF): Likewise.
55038 (FPE_FLTDIV): Likewise.
55039 (FPE_FLTOVF): Likewise.
55040 (FPE_FLTUND): Likewise.
55041 (FPE_FLTRES): Likewise.
55042 (FPE_FLTINV): Likewise.
55043 (FPE_FLTSUB): Likewise.
55044 (SEGV_MAPERR): Likewise.
55045 (SEGV_ACCERR): Likewise.
55046 (BUS_ADRALN): Likewise.
55047 (BUS_ADRERR): Likewise.
55048 (BUS_OBJERR): Likewise.
55049 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55050 (TRAP_TRACE): Likewise.
55051 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55052 __USE_XOPEN2K8].
55053 (CLD_KILLED): Likewise.
55054 (CLD_DUMPED): Likewise.
55055 (CLD_TRAPPED): Likewise.
55056 (CLD_STOPPED): Likewise.
55057 (CLD_CONTINUED): Likewise.
55058 (POLL_IN): Likewise.
55059 (POLL_OUT): Likewise.
55060 (POLL_MSG): Likewise.
55061 (POLL_ERR): Likewise.
55062 (POLL_PRI): Likewise.
55063 (POLL_HUP): Likewise.
55064 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55065 Likewise.
55066 (ILL_ILLOPN): Likewise.
55067 (ILL_ILLADR): Likewise.
55068 (ILL_ILLTRP): Likewise.
55069 (ILL_PRVOPC): Likewise.
55070 (ILL_PRVREG): Likewise.
55071 (ILL_COPROC): Likewise.
55072 (ILL_BADSTK): Likewise.
55073 (FPE_INTDIV): Likewise.
55074 (FPE_INTOVF): Likewise.
55075 (FPE_FLTDIV): Likewise.
55076 (FPE_FLTOVF): Likewise.
55077 (FPE_FLTUND): Likewise.
55078 (FPE_FLTRES): Likewise.
55079 (FPE_FLTINV): Likewise.
55080 (FPE_FLTSUB): Likewise.
55081 (SEGV_MAPERR): Likewise.
55082 (SEGV_ACCERR): Likewise.
55083 (BUS_ADRALN): Likewise.
55084 (BUS_ADRERR): Likewise.
55085 (BUS_OBJERR): Likewise.
55086 (BUS_MCEERR_AR): Likewise.
55087 (BUS_MCEERR_AO): Likewise.
55088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55089 (TRAP_TRACE): Likewise.
55090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55091 __USE_XOPEN2K8].
55092 (CLD_KILLED): Likewise.
55093 (CLD_DUMPED): Likewise.
55094 (CLD_TRAPPED): Likewise.
55095 (CLD_STOPPED): Likewise.
55096 (CLD_CONTINUED): Likewise.
55097 (POLL_IN): Likewise.
55098 (POLL_OUT): Likewise.
55099 (POLL_MSG): Likewise.
55100 (POLL_ERR): Likewise.
55101 (POLL_PRI): Likewise.
55102 (POLL_HUP): Likewise.
55103 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55104 (ILL_ILLOPN): Likewise.
55105 (ILL_ILLADR): Likewise.
55106 (ILL_ILLTRP): Likewise.
55107 (ILL_PRVOPC): Likewise.
55108 (ILL_PRVREG): Likewise.
55109 (ILL_COPROC): Likewise.
55110 (ILL_BADSTK): Likewise.
55111 (FPE_INTDIV): Likewise.
55112 (FPE_INTOVF): Likewise.
55113 (FPE_FLTDIV): Likewise.
55114 (FPE_FLTOVF): Likewise.
55115 (FPE_FLTUND): Likewise.
55116 (FPE_FLTRES): Likewise.
55117 (FPE_FLTINV): Likewise.
55118 (FPE_FLTSUB): Likewise.
55119 (SEGV_MAPERR): Likewise.
55120 (SEGV_ACCERR): Likewise.
55121 (BUS_ADRALN): Likewise.
55122 (BUS_ADRERR): Likewise.
55123 (BUS_OBJERR): Likewise.
55124 (BUS_MCEERR_AR): Likewise.
55125 (BUS_MCEERR_AO): Likewise.
55126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55127 (TRAP_TRACE): Likewise.
55128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55129 __USE_XOPEN2K8].
55130 (CLD_KILLED): Likewise.
55131 (CLD_DUMPED): Likewise.
55132 (CLD_TRAPPED): Likewise.
55133 (CLD_STOPPED): Likewise.
55134 (CLD_CONTINUED): Likewise.
55135 (POLL_IN): Likewise.
55136 (POLL_OUT): Likewise.
55137 (POLL_MSG): Likewise.
55138 (POLL_ERR): Likewise.
55139 (POLL_PRI): Likewise.
55140 (POLL_HUP): Likewise.
55141 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55142 Likewise.
55143 (ILL_ILLOPN): Likewise.
55144 (ILL_ILLADR): Likewise.
55145 (ILL_ILLTRP): Likewise.
55146 (ILL_PRVOPC): Likewise.
55147 (ILL_PRVREG): Likewise.
55148 (ILL_COPROC): Likewise.
55149 (ILL_BADSTK): Likewise.
55150 (ILL_BADIADDR): Likewise.
55151 (ILL_BREAK): Likewise.
55152 (FPE_INTDIV): Likewise.
55153 (FPE_INTOVF): Likewise.
55154 (FPE_FLTDIV): Likewise.
55155 (FPE_FLTOVF): Likewise.
55156 (FPE_FLTUND): Likewise.
55157 (FPE_FLTRES): Likewise.
55158 (FPE_FLTINV): Likewise.
55159 (FPE_FLTSUB): Likewise.
55160 (FPE_DECOVF): Likewise.
55161 (FPE_DECDIV): Likewise.
55162 (FPE_DECERR): Likewise.
55163 (FPE_INVASC): Likewise.
55164 (FPE_INVDEC): Likewise.
55165 (SEGV_MAPERR): Likewise.
55166 (SEGV_ACCERR): Likewise.
55167 (SEGV_PSTKOVF): Likewise.
55168 (BUS_ADRALN): Likewise.
55169 (BUS_ADRERR): Likewise.
55170 (BUS_OBJERR): Likewise.
55171 (BUS_MCEERR_AR): Likewise.
55172 (BUS_MCEERR_AO): Likewise.
55173 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55174 (TRAP_TRACE): Likewise.
55175 (TRAP_BRANCH): Likewise.
55176 (TRAP_HWBKPT): Likewise.
55177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55178 __USE_XOPEN2K8].
55179 (CLD_KILLED): Likewise.
55180 (CLD_DUMPED): Likewise.
55181 (CLD_TRAPPED): Likewise.
55182 (CLD_STOPPED): Likewise.
55183 (CLD_CONTINUED): Likewise.
55184 (POLL_IN): Likewise.
55185 (POLL_OUT): Likewise.
55186 (POLL_MSG): Likewise.
55187 (POLL_ERR): Likewise.
55188 (POLL_PRI): Likewise.
55189 (POLL_HUP): Likewise.
55190 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55191 (ILL_ILLOPN): Likewise.
55192 (ILL_ILLADR): Likewise.
55193 (ILL_ILLTRP): Likewise.
55194 (ILL_PRVOPC): Likewise.
55195 (ILL_PRVREG): Likewise.
55196 (ILL_COPROC): Likewise.
55197 (ILL_BADSTK): Likewise.
55198 (FPE_INTDIV): Likewise.
55199 (FPE_INTOVF): Likewise.
55200 (FPE_FLTDIV): Likewise.
55201 (FPE_FLTOVF): Likewise.
55202 (FPE_FLTUND): Likewise.
55203 (FPE_FLTRES): Likewise.
55204 (FPE_FLTINV): Likewise.
55205 (FPE_FLTSUB): Likewise.
55206 (SEGV_MAPERR): Likewise.
55207 (SEGV_ACCERR): Likewise.
55208 (BUS_ADRALN): Likewise.
55209 (BUS_ADRERR): Likewise.
55210 (BUS_OBJERR): Likewise.
55211 (BUS_MCEERR_AR): Likewise.
55212 (BUS_MCEERR_AO): Likewise.
55213 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55214 (TRAP_TRACE): Likewise.
55215 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55216 __USE_XOPEN2K8].
55217 (CLD_KILLED): Likewise.
55218 (CLD_DUMPED): Likewise.
55219 (CLD_TRAPPED): Likewise.
55220 (CLD_STOPPED): Likewise.
55221 (CLD_CONTINUED): Likewise.
55222 (POLL_IN): Likewise.
55223 (POLL_OUT): Likewise.
55224 (POLL_MSG): Likewise.
55225 (POLL_ERR): Likewise.
55226 (POLL_PRI): Likewise.
55227 (POLL_HUP): Likewise.
55228 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55229 (ILL_ILLOPN): Likewise.
55230 (ILL_ILLADR): Likewise.
55231 (ILL_ILLTRP): Likewise.
55232 (ILL_PRVOPC): Likewise.
55233 (ILL_PRVREG): Likewise.
55234 (ILL_COPROC): Likewise.
55235 (ILL_BADSTK): Likewise.
55236 (FPE_INTDIV): Likewise.
55237 (FPE_INTOVF): Likewise.
55238 (FPE_FLTDIV): Likewise.
55239 (FPE_FLTOVF): Likewise.
55240 (FPE_FLTUND): Likewise.
55241 (FPE_FLTRES): Likewise.
55242 (FPE_FLTINV): Likewise.
55243 (FPE_FLTSUB): Likewise.
55244 (SEGV_MAPERR): Likewise.
55245 (SEGV_ACCERR): Likewise.
55246 (BUS_ADRALN): Likewise.
55247 (BUS_ADRERR): Likewise.
55248 (BUS_OBJERR): Likewise.
55249 (BUS_MCEERR_AR): Likewise.
55250 (BUS_MCEERR_AO): Likewise.
55251 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55252 (TRAP_TRACE): Likewise.
55253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55254 __USE_XOPEN2K8].
55255 (CLD_KILLED): Likewise.
55256 (CLD_DUMPED): Likewise.
55257 (CLD_TRAPPED): Likewise.
55258 (CLD_STOPPED): Likewise.
55259 (CLD_CONTINUED): Likewise.
55260 (POLL_IN): Likewise.
55261 (POLL_OUT): Likewise.
55262 (POLL_MSG): Likewise.
55263 (POLL_ERR): Likewise.
55264 (POLL_PRI): Likewise.
55265 (POLL_HUP): Likewise.
55266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55267 (ILL_ILLOPN): Likewise.
55268 (ILL_ILLADR): Likewise.
55269 (ILL_ILLTRP): Likewise.
55270 (ILL_PRVOPC): Likewise.
55271 (ILL_PRVREG): Likewise.
55272 (ILL_COPROC): Likewise.
55273 (ILL_BADSTK): Likewise.
55274 (FPE_INTDIV): Likewise.
55275 (FPE_INTOVF): Likewise.
55276 (FPE_FLTDIV): Likewise.
55277 (FPE_FLTOVF): Likewise.
55278 (FPE_FLTUND): Likewise.
55279 (FPE_FLTRES): Likewise.
55280 (FPE_FLTINV): Likewise.
55281 (FPE_FLTSUB): Likewise.
55282 (SEGV_MAPERR): Likewise.
55283 (SEGV_ACCERR): Likewise.
55284 (BUS_ADRALN): Likewise.
55285 (BUS_ADRERR): Likewise.
55286 (BUS_OBJERR): Likewise.
55287 (BUS_MCEERR_AR): Likewise.
55288 (BUS_MCEERR_AO): Likewise.
55289 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55290 (TRAP_TRACE): Likewise.
55291 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55292 __USE_XOPEN2K8].
55293 (CLD_KILLED): Likewise.
55294 (CLD_DUMPED): Likewise.
55295 (CLD_TRAPPED): Likewise.
55296 (CLD_STOPPED): Likewise.
55297 (CLD_CONTINUED): Likewise.
55298 (POLL_IN): Likewise.
55299 (POLL_OUT): Likewise.
55300 (POLL_MSG): Likewise.
55301 (POLL_ERR): Likewise.
55302 (POLL_PRI): Likewise.
55303 (POLL_HUP): Likewise.
55304 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55305 (ILL_ILLOPN): Likewise.
55306 (ILL_ILLADR): Likewise.
55307 (ILL_ILLTRP): Likewise.
55308 (ILL_PRVOPC): Likewise.
55309 (ILL_PRVREG): Likewise.
55310 (ILL_COPROC): Likewise.
55311 (ILL_BADSTK): Likewise.
55312 (ILL_DBLFLT): Likewise.
55313 (ILL_HARDWALL): Likewise.
55314 (FPE_INTDIV): Likewise.
55315 (FPE_INTOVF): Likewise.
55316 (FPE_FLTDIV): Likewise.
55317 (FPE_FLTOVF): Likewise.
55318 (FPE_FLTUND): Likewise.
55319 (FPE_FLTRES): Likewise.
55320 (FPE_FLTINV): Likewise.
55321 (FPE_FLTSUB): Likewise.
55322 (SEGV_MAPERR): Likewise.
55323 (SEGV_ACCERR): Likewise.
55324 (BUS_ADRALN): Likewise.
55325 (BUS_ADRERR): Likewise.
55326 (BUS_OBJERR): Likewise.
55327 (BUS_MCEERR_AR): Likewise.
55328 (BUS_MCEERR_AO): Likewise.
55329 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55330 (TRAP_TRACE): Likewise.
55331 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55332 __USE_XOPEN2K8].
55333 (CLD_KILLED): Likewise.
55334 (CLD_DUMPED): Likewise.
55335 (CLD_TRAPPED): Likewise.
55336 (CLD_STOPPED): Likewise.
55337 (CLD_CONTINUED): Likewise.
55338 (POLL_IN): Likewise.
55339 (POLL_OUT): Likewise.
55340 (POLL_MSG): Likewise.
55341 (POLL_ERR): Likewise.
55342 (POLL_PRI): Likewise.
55343 (POLL_HUP): Likewise.
55344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55345 (ILL_ILLOPN): Likewise.
55346 (ILL_ILLADR): Likewise.
55347 (ILL_ILLTRP): Likewise.
55348 (ILL_PRVOPC): Likewise.
55349 (ILL_PRVREG): Likewise.
55350 (ILL_COPROC): Likewise.
55351 (ILL_BADSTK): Likewise.
55352 (FPE_INTDIV): Likewise.
55353 (FPE_INTOVF): Likewise.
55354 (FPE_FLTDIV): Likewise.
55355 (FPE_FLTOVF): Likewise.
55356 (FPE_FLTUND): Likewise.
55357 (FPE_FLTRES): Likewise.
55358 (FPE_FLTINV): Likewise.
55359 (FPE_FLTSUB): Likewise.
55360 (SEGV_MAPERR): Likewise.
55361 (SEGV_ACCERR): Likewise.
55362 (BUS_ADRALN): Likewise.
55363 (BUS_ADRERR): Likewise.
55364 (BUS_OBJERR): Likewise.
55365 (BUS_MCEERR_AR): Likewise.
55366 (BUS_MCEERR_AO): Likewise.
55367 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55368 (TRAP_TRACE): Likewise.
55369 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55370 __USE_XOPEN2K8].
55371 (CLD_KILLED): Likewise.
55372 (CLD_DUMPED): Likewise.
55373 (CLD_TRAPPED): Likewise.
55374 (CLD_STOPPED): Likewise.
55375 (CLD_CONTINUED): Likewise.
55376 (POLL_IN): Likewise.
55377 (POLL_OUT): Likewise.
55378 (POLL_MSG): Likewise.
55379 (POLL_ERR): Likewise.
55380 (POLL_PRI): Likewise.
55381 (POLL_HUP): Likewise.
55382 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55383 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55384
55385 [BZ #16670]
55386 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55387 before #include of <time.h>.
55388 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55389 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55390 (test-xfail-UNIX98/sched.h/conform): Likewise.
55391
55392 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55393
55394 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55395 error absence of trapping exception support.
55396 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55397
55398 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55399
55400 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55401 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55402 * timezone/Makefile (testdata): Move definition above include of
55403 Rules.
55404 (test-zones): New variable.
55405 (tests-special): Add zone files.
55406 (build-testdata): Use $(evaluate-test).
55407
55408 * elf/Makefile (tests-special): Rename tests to end with .out.
55409 ($(objpfx)noload-mem): Likewise.
55410 ($(objpfx)tst-leaks1-mem): Likewise.
55411 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55412 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55413 $(objpfx)test-iconvconfig.out.
55414 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55415 set -e inside subshell and redirect output to file.
55416 * iconvdata/Makefile (generated): Rename tests to end with .out.
55417 Correct type.
55418 (tests-special): Rename tests to end with .out.
55419 ($(objpfx)mtrace-tst-loading): Likewise.
55420 * intl/Makefile (generated): Likewise.
55421 (tests-special): Likewise.
55422 ($(objpfx)mtrace-tst-gettext): Likewise.
55423 * misc/Makefile (generated): Likewise.
55424 (tests-special): Likewise.
55425 ($(objpfx)tst-error1-mem): Likewise.
55426 * nptl/Makefile (tests-special): Likewise.
55427 ($(objpfx)tst-stack3-mem): Likewise.
55428 (generated): Likewise.
55429 * posix/Makefile (generated): Likewise.
55430 (tests-special): Likewise.
55431 (xtests-special): Likewise.
55432 ($(objpfx)tst-fnmatch-mem): Likewise.
55433 ($(objpfx)bug-regex2-mem): Likewise.
55434 ($(objpfx)bug-regex14-mem): Likewise.
55435 ($(objpfx)bug-regex21-mem): Likewise.
55436 ($(objpfx)bug-regex31-mem): Likewise.
55437 ($(objpfx)tst-vfork3-mem): Likewise.
55438 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55439 ($(objpfx)tst-pcre-mem): Likewise.
55440 ($(objpfx)tst-boost-mem): Likewise.
55441 ($(objpfx)bug-ga2-mem): Likewise.
55442 ($(objpfx)bug-glob2-mem): Likewise.
55443 * resolv/Makefile (generate): Likewise.
55444 (tests-special): Likewise.
55445 (xtests-special): Likewise.
55446 (generated): Likewise.
55447 ($(objpfx)mtrace-tst-leaks): Likewise.
55448 ($(objpfx)mtrace-tst-leaks2): Likewise.
55449
55450 * scripts/merge-test-results.sh: New file.
55451 * Makefile (tests-special-notdir): New variable.
55452 (tests): Run merge-test-results.sh.
55453 (xtests): Likewise.
55454 * Rules (tests-special-notdir): New variable.
55455 (xtests-special-notdir): Likewise.
55456 (tests): Run merge-test-results.sh
55457 (xtests): Likewise.
55458
55459 * Makeconfig (test-xfail-name): New variable.
55460 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55461 compute variable name for expected failures.
55462 * conform/Makefile (conformtest-headers-data): New variable.
55463 (conformtest-standards): Likewise.
55464 (conformtest-headers-ISO): Likewise.
55465 (conformtest-headers-ISO99): Likewise.
55466 (conformtest-headers-ISO11): Likewise.
55467 (conformtest-headers-POSIX): Likewise.
55468 (conformtest-headers-XPG3): Likewise.
55469 (conformtest-headers-XPG4): Likewise.
55470 (conformtest-headers-UNIX98): Likewise.
55471 (conformtest-headers-XOPEN2K): Likewise.
55472 (conformtest-headers-POSIX2008): Likewise.
55473 (conformtest-headers-XOPEN2K8): Likewise.
55474 (conformtest-header-list-base): Likewise.
55475 (conformtest-header-list-tests): Likewise.
55476 (conformtest-header-base): Likewise.
55477 (conformtest-header-tests): Likewise.
55478 (tests-special): Add $(conformtest-header-list-tests). If
55479 [$(fast-check) && !$(cross-compiling)], add
55480 $(conformtest-header-tests) instead of
55481 $(objpfx)run-conformtest.out.
55482 (generated): Add $(conformtest-header-list-base). If
55483 [$(fast-check) && !$(cross-compiling)], add
55484 $(conformtest-header-base). Remove previous setting.
55485 ($(conformtest-header-list-tests)): New target.
55486 (test-xfail-run-conformtest): Remove variable.
55487 ($(objpfx)run-conformtest.out): Remove target.
55488 (test-xfail-ISO11/complex.h/conform): New variable.
55489 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55490 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55491 (test-xfail-XPG3/varargs.h/conform): Likewise.
55492 (test-xfail-XPG4/varargs.h/conform): Likewise.
55493 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55494 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55495 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55496 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55497 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55498 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55499 (test-xfail-XPG3/ftw.h/conform): Likewise.
55500 (test-xfail-XPG3/grp.h/conform): Likewise.
55501 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55502 (test-xfail-XPG3/limits.h/conform): Likewise.
55503 (test-xfail-XPG3/pwd.h/conform): Likewise.
55504 (test-xfail-XPG3/search.h/conform): Likewise.
55505 (test-xfail-XPG3/signal.h/conform): Likewise.
55506 (test-xfail-XPG3/stdio.h/conform): Likewise.
55507 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55508 (test-xfail-XPG3/string.h/conform): Likewise.
55509 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55510 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55511 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55512 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55513 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55514 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55515 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55516 (test-xfail-XPG3/termios.h/conform): Likewise.
55517 (test-xfail-XPG3/time.h/conform): Likewise.
55518 (test-xfail-XPG3/unistd.h/conform): Likewise.
55519 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55520 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55521 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55522 (test-xfail-XPG4/netdb.h/conform): Likewise.
55523 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55524 (test-xfail-XPG4/signal.h/conform): Likewise.
55525 (test-xfail-XPG4/stdio.h/conform): Likewise.
55526 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55527 (test-xfail-XPG4/stropts.h/conform): Likewise.
55528 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55529 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55530 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55531 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55532 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55533 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55534 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55535 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55536 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55537 (test-xfail-XPG4/termios.h/conform): Likewise.
55538 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55539 (test-xfail-XPG4/unistd.h/conform): Likewise.
55540 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55541 (test-xfail-POSIX/sched.h/conform): Likewise.
55542 (test-xfail-POSIX/signal.h/conform): Likewise.
55543 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55544 (test-xfail-POSIX/tar.h/conform): Likewise.
55545 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55546 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55547 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55548 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55549 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55550 (test-xfail-UNIX98/sched.h/conform): Likewise.
55551 (test-xfail-UNIX98/signal.h/conform): Likewise.
55552 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55553 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55554 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55555 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55556 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55557 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55558 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55559 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55560 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55561 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55562 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55563 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55564 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55565 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55566 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55567 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55568 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55569 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55570 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55571 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55572 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55573 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55574 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55575 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55576 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55577 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55578 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55579 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55580 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55581 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55582 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55583 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55584 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55585 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55586 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55587 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55588 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55589 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55590 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55591 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55592 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55593 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55594 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55595 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55596 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55597 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55598 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55599 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55600 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55601 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55602 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55603 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55604 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55605 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55606 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55607 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55608 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55609 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55610 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55611 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55612 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55613 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55614 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55615 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55616 (conformtest-cc-flags): Likewise.
55617 ($(conformtest-header-tests): New target.
55618 * conform/check-header-lists.sh: New file.
55619 * conform/run-conformtest.sh: Remove.
55620
55621 * conform/conformtest.pl: Allow ' and \ in values given for
55622 constants.
55623 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55624 inclusion.
55625 [POSIX] (sys/types.h): Likewise.
55626 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55627 inclusion.
55628 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55629 inclusion.
55630 * conform/data/signal.h-data (SIGIO): Remove expectation.
55631 [XPG3] (SIGBUS): Do not expect.
55632 [POSIX || XPG3] (SIGPOLL): Likewise.
55633 [POSIX || XPG3] (SIGPROF): Likewise.
55634 [POSIX || XPG3] (SIGSYS): Likewise.
55635 [XPG3] (SIGTRAP): Likewise.
55636 [POSIX || XPG3] (SIGURG): Likewise.
55637 [POSIX || XPG3] (SIGVTALRM): Likewise.
55638 [POSIX || XPG3] (SIGXCPU): Likewise.
55639 [POSIX || XPG3] (SIGXFSZ): Likewise.
55640 [POSIX] (SA_SIGINFO): Expect.
55641 [XPG3] (siginfo_t): Do not expect type or contents.
55642 [POSIX] (si_pid): Do not expect element.
55643 [POSIX] (si_uid): Likewise.
55644 [POSIX] (si_addr): Likewise.
55645 [POSIX] (si_status): Likewise.
55646 [POSIX] (si_band): Likewise.
55647 [XPG4] (si_value): Likewise.
55648 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55649 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55650 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55651 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55652 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55653 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55654 [POSIX || XPG3] (ILL_COPROC): Likewise.
55655 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55656 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55657 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55658 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55659 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55660 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55661 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55662 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55663 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55664 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55665 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55666 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55667 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55668 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55669 [POSIX || XPG3] (CLD_EXITED): Likewise.
55670 [POSIX || XPG3] (CLD_KILLED): Likewise.
55671 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55672 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55673 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55674 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55675 [POSIX || XPG3] (POLL_IN): Likewise.
55676 [POSIX || XPG3] (POLL_OUT): Likewise.
55677 [POSIX || XPG3] (POLL_MSG): Likewise.
55678 [POSIX || XPG3] (POLL_ERR): Likewise.
55679 [POSIX || XPG3] (POLL_PRI): Likewise.
55680 [POSIX || XPG3] (POLL_HUP): Likewise.
55681 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55682 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55683 (SIG*): Do not allow.
55684 [XPG3] (si_*): Likewise.
55685 [XPG3] (SI_*): Likewise.
55686 [XPG3 || XPG4] (sigev_*): Likewise.
55687 [XPG3 || XPG4] (SIGEV_*): Likewise.
55688 [XPG3 || XPG4] (sival_*): Likewise.
55689 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55690 [POSIX || XPG3] (BUS_*): Likewise.
55691 [POSIX || XPG3] (CLD_*): Likewise.
55692 [POSIX || XPG3] (FPE_*): Likewise.
55693 [POSIX || XPG3] (ILL_*): Likewise.
55694 [POSIX || XPG3] (POLL_*): Likewise.
55695 [POSIX || XPG3] (SEGV_*): Likewise.
55696 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55697 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55698 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55699 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55700 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55701 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55702 Specify type and value.
55703 (TVERSLEN): Likewise.
55704 (REGTYPE): Likewise.
55705 (AREGTYPE): Likewise.
55706 (LNKTYPE): Likewise.
55707 (SYMTYPE): Likewise.
55708 (CHRTYPE): Likewise.
55709 (BLKTYPE): Likewise.
55710 (DIRTYPE): Likewise.
55711 (FIFOTYPE): Likewise.
55712 (CONTTYPE): Likewise.
55713 (TSUID): Likewise.
55714 (TSGID): Likewise.
55715 (TSVTX): Likewise.
55716 (TUREAD): Likewise.
55717 (TUWRITE): Likewise.
55718 (TUEXEC): Likewise.
55719 (TGREAD): Likewise.
55720 (TGWRITE): Likewise.
55721 (TGEXEC): Likewise.
55722 (TOREAD): Likewise.
55723 (TOWRITE): Likewise.
55724 (TOEXEC): Likewise.
55725 [POSIX] (TSVTX): Expect constant.
55726
55727 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55728
55729 * Makefile (tests): Change dependencies to ....
55730 (tests-special): ... additions to this variable.
55731 (tests): Depend on $(tests-special).
55732 * Makerules (check-abi-list): New variable.
55733 (check-abi): Depend on $(check-abi-list).
55734 [$(subdir) = elf] (tests-special): Add
55735 $(objpfx)check-abi-libc.out.
55736 [$(build-shared) = yes && subdir] (tests-special): Add
55737 $(check-abi-list).
55738 [$(build-shared) = yes && subdir] (tests): Do not depend on
55739 check-abi.
55740 * Rules (tests): Depend on $(tests-special).
55741 (xtests): Depend on $(xtests-special).
55742 * catgets/Makefile (tests): Change dependencies to ....
55743 (tests-special): ... additions to this variable.
55744 * conform/Makefile (tests): Change dependencies to ....
55745 (tests-special): ... additions to this variable.
55746 * elf/Makefile (tests): Change dependencies to ....
55747 (tests-special): ... additions to this variable.
55748 * grp/Makefile (tests): Change dependencies to ....
55749 (tests-special): ... additions to this variable.
55750 * iconv/Makefile (xtests): Change dependencies to ....
55751 (xtests-special): ... additions to this variable.
55752 * iconvdata/Makefile (tests): Change dependencies to ....
55753 (tests-special): ... additions to this variable.
55754 * intl/Makefile (tests): Change dependencies to ....
55755 (tests-special): ... additions to this variable. Also add
55756 $(objpfx)tst-gettext.out.
55757 * io/Makefile (tests): Change dependencies to ....
55758 (tests-special): ... additions to this variable.
55759 * libio/Makefile (tests): Change dependencies to ....
55760 (tests-special): ... additions to this variable.
55761 * malloc/Makefile (tests): Change dependencies to ....
55762 (tests-special): ... additions to this variable.
55763 * misc/Makefile (tests): Change dependencies to ....
55764 (tests-special): ... additions to this variable.
55765 * nptl/Makefile (tests): Change dependencies to ....
55766 (tests-special): ... additions to this variable.
55767 * nptl_db/Makefile (tests): Change dependencies to ....
55768 (tests-special): ... additions to this variable.
55769 * posix/Makefile (tests): Change dependencies to ....
55770 (tests-special): ... additions to this variable.
55771 (xtests): Change dependencies to ....
55772 (xtests-special): ... additions to this variable.
55773 * resolv/Makefile (tests): Change dependencies to ....
55774 (tests-special): ... additions to this variable.
55775 (xtests): Change dependencies to ....
55776 (xtests-special): ... additions to this variable.
55777 * stdio-common/Makefile (tests): Change dependencies to ....
55778 (tests-special): ... additions to this variable.
55779 (do-tst-unbputc): Remove target.
55780 (do-tst-printf): Likewise.
55781 * stdlib/Makefile (tests): Change dependencies to ....
55782 (tests-special): ... additions to this variable.
55783 * string/Makefile (tests): Change dependencies to ....
55784 (tests-special): ... additions to this variable.
55785 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55786 (tests-special): ... additions to this variable.
55787
55788 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55789 whole file.
55790 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55791 whole file.
55792 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55793 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55794
55795 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55796 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55797 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55798 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55799 * conform/data/libgen.h-data [XPG3]: Likewise.
55800 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55801 * conform/data/ndbm.h-data [XPG3]: Likewise.
55802 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55803 * conform/data/netdb.h-data [XPG3]: Likewise.
55804 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55805 * conform/data/poll.h-data [XPG3]: Likewise.
55806 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55807 * conform/data/strings.h-data [XPG3]: Likewise.
55808 * conform/data/stropts.h-data [XPG3]: Likewise.
55809 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55810 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55811 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55812 Likewise.
55813 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55814 * conform/data/sys/time.h-data [XPG3]: Likewise.
55815 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55816 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55817 * conform/data/sys/un.h-data [XPG3]: Likewise.
55818 * conform/data/syslog.h-data [XPG3]: Likewise.
55819 * conform/data/ucontext.h-data [XPG3]: Likewise.
55820 * conform/data/utmpx.h-data [XPG3]: Likewise.
55821 * conform/data/varargs.h-data [UNIX98]: Enable file.
55822
55823 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55824
55825 * math/libm-test.inc (struct test_f_f_data): Move expected results
55826 into structure for each rounding mode.
55827 (struct test_ff_f_data): Likewise.
55828 (struct test_ff_f_data_nexttoward): Likewise.
55829 (struct test_fi_f_data): Likewise.
55830 (struct test_fl_f_data): Likewise.
55831 (struct test_if_f_data): Likewise.
55832 (struct test_fff_f_data): Likewise.
55833 (struct test_c_f_data): Likewise.
55834 (struct test_f_f1_data): Likewise.
55835 (struct test_fF_f1_data): Likewise.
55836 (struct test_ffI_f1_data): Likewise.
55837 (struct test_c_c_data): Likewise.
55838 (struct test_cc_c_data): Likewise.
55839 (struct test_f_i_data): Likewise.
55840 (struct test_ff_i_data): Likewise.
55841 (struct test_f_l_data): Likewise.
55842 (struct test_f_L_data): Likewise.
55843 (struct test_fFF_11_data): Likewise.
55844 (RM_): New macro.
55845 (RM_FE_DOWNWARD): Likewise.
55846 (RM_FE_TONEAREST): Likewise.
55847 (RM_FE_TOWARDZERO): Likewise.
55848 (RM_FE_UPWARD): Likewise.
55849 (RUN_TEST_LOOP_f_f): Update references to expected results.
55850 (RUN_TEST_LOOP_2_f): Likewise.
55851 (RUN_TEST_LOOP_fff_f): Likewise.
55852 (RUN_TEST_LOOP_c_f): Likewise.
55853 (RUN_TEST_LOOP_f_f1): Likewise.
55854 (RUN_TEST_LOOP_fF_f1): Likewise.
55855 (RUN_TEST_LOOP_fI_f1): Likewise.
55856 (RUN_TEST_LOOP_ffI_f1): Likewise.
55857 (RUN_TEST_LOOP_c_c): Likewise.
55858 (RUN_TEST_LOOP_cc_c): Likewise.
55859 (RUN_TEST_LOOP_f_i): Likewise.
55860 (RUN_TEST_LOOP_f_i_tg): Likewise.
55861 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55862 (RUN_TEST_LOOP_f_b): Likewise.
55863 (RUN_TEST_LOOP_f_b_tg): Likewise.
55864 (RUN_TEST_LOOP_f_l): Likewise.
55865 (RUN_TEST_LOOP_f_L): Likewise.
55866 (RUN_TEST_LOOP_fFF_11): Likewise.
55867 * math/gen-libm-test.pl (parse_args): Output four copies of
55868 expected results for each test.
55869
55870 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55871 (__ASSUME_UTIMES): Remove.
55872 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55873 (__ASSUME_UTIMES): Likewise.
55874
55875 * math/gen-auto-libm-tests.c: Update comment on output format.
55876 (output_for_one_input_case): Generate before-rounding and
55877 after-rounding information as conditions on output flags not
55878 floating-point format.
55879 * math/auto-libm-test-out: Regenerated.
55880 * math/gen-libm-test.pl (cond_value): New function.
55881 (or_cond_value): Use cond_value.
55882 (generate_testfile): Handle conditional exceptions.
55883
55884 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55885
55886 * math/libm-test.inc (max_valid_error): New variable.
55887 (init_max_error): Take new argument specifying whether function
55888 results are exactly determined. Set max_valid_error and bound
55889 other variables for errors based on this argument.
55890 (set_max_error): Do not record results above max_valid_error.
55891 (check_float_internal): Only accept errors of up to 0.5ulps if
55892 also at most max_valid_error.
55893 (START): Take new argument EXACT and pass it to init_max_error.
55894 (acos_test): Update call to START.
55895 (acos_test_tonearest): Likewise.
55896 (acos_test_towardzero): Likewise.
55897 (acos_test_downward): Likewise.
55898 (acos_test_upward): Likewise.
55899 (acosh_test): Likewise.
55900 (asin_test): Likewise.
55901 (asin_test_tonearest): Likewise.
55902 (asin_test_towardzero): Likewise.
55903 (asin_test_downward): Likewise.
55904 (asin_test_upward): Likewise.
55905 (asinh_test): Likewise.
55906 (atan_test): Likewise.
55907 (atanh_test): Likewise.
55908 (atan2_test): Likewise.
55909 (cabs_test): Likewise.
55910 (cacos_test): Likewise.
55911 (cacosh_test): Likewise.
55912 (carg_test): Likewise.
55913 (casin_test): Likewise.
55914 (casinh_test): Likewise.
55915 (catan_test): Likewise.
55916 (catanh_test): Likewise.
55917 (cbrt_test): Likewise.
55918 (ccos_test): Likewise.
55919 (ccosh_test): Likewise.
55920 (ceil_test): Likewise.
55921 (cexp_test): Likewise.
55922 (cimag_test): Likewise.
55923 (clog_test): Likewise.
55924 (clog10_test): Likewise.
55925 (conj_test): Likewise.
55926 (copysign_test): Likewise.
55927 (cos_test): Likewise.
55928 (cos_test_tonearest): Likewise.
55929 (cos_test_towardzero): Likewise.
55930 (cos_test_downward): Likewise.
55931 (cos_test_upward): Likewise.
55932 (cosh_test): Likewise.
55933 (cosh_test_tonearest): Likewise.
55934 (cosh_test_towardzero): Likewise.
55935 (cosh_test_downward): Likewise.
55936 (cosh_test_upward): Likewise.
55937 (cpow_test): Likewise.
55938 (cproj_test): Likewise.
55939 (creal_test): Likewise.
55940 (csin_test): Likewise.
55941 (csinh_test): Likewise.
55942 (csqrt_test): Likewise.
55943 (ctan_test): Likewise.
55944 (ctan_test_tonearest): Likewise.
55945 (ctan_test_towardzero): Likewise.
55946 (ctan_test_downward): Likewise.
55947 (ctan_test_upward): Likewise.
55948 (ctanh_test): Likewise.
55949 (ctanh_test_tonearest): Likewise.
55950 (ctanh_test_towardzero): Likewise.
55951 (ctanh_test_downward): Likewise.
55952 (ctanh_test_upward): Likewise.
55953 (erf_test): Likewise.
55954 (erfc_test): Likewise.
55955 (exp_test): Likewise.
55956 (exp_test_tonearest): Likewise.
55957 (exp_test_towardzero): Likewise.
55958 (exp_test_downward): Likewise.
55959 (exp_test_upward): Likewise.
55960 (exp10_test): Likewise.
55961 (exp10_test_tonearest): Likewise.
55962 (exp10_test_towardzero): Likewise.
55963 (exp10_test_downward): Likewise.
55964 (exp10_test_upward): Likewise.
55965 (pow10_test): Likewise.
55966 (exp2_test): Likewise.
55967 (expm1_test): Likewise.
55968 (expm1_test_tonearest): Likewise.
55969 (expm1_test_towardzero): Likewise.
55970 (expm1_test_downward): Likewise.
55971 (expm1_test_upward): Likewise.
55972 (fabs_test): Likewise.
55973 (fdim_test): Likewise.
55974 (floor_test): Likewise.
55975 (fma_test): Likewise.
55976 (fma_test_towardzero): Likewise.
55977 (fma_test_downward): Likewise.
55978 (fma_test_upward): Likewise.
55979 (fmax_test): Likewise.
55980 (fmin_test): Likewise.
55981 (fmod_test): Likewise.
55982 (fpclassify_test): Likewise.
55983 (frexp_test): Likewise.
55984 (hypot_test): Likewise.
55985 (ilogb_test): Likewise.
55986 (isfinite_test): Likewise.
55987 (finite_test): Likewise.
55988 (isgreater_test): Likewise.
55989 (isgreaterequal_test): Likewise.
55990 (isinf_test): Likewise.
55991 (isless_test): Likewise.
55992 (islessequal_test): Likewise.
55993 (islessgreater_test): Likewise.
55994 (isnan_test): Likewise.
55995 (isnormal_test): Likewise.
55996 (issignaling_test): Likewise.
55997 (isunordered_test): Likewise.
55998 (j0_test): Likewise.
55999 (j1_test): Likewise.
56000 (jn_test): Likewise.
56001 (ldexp_test): Likewise.
56002 (lgamma_test): Likewise.
56003 (gamma_test): Likewise.
56004 (lrint_test): Likewise.
56005 (lrint_test_tonearest): Likewise.
56006 (lrint_test_towardzero): Likewise.
56007 (lrint_test_downward): Likewise.
56008 (lrint_test_upward): Likewise.
56009 (llrint_test): Likewise.
56010 (llrint_test_tonearest): Likewise.
56011 (llrint_test_towardzero): Likewise.
56012 (llrint_test_downward): Likewise.
56013 (llrint_test_upward): Likewise.
56014 (log_test): Likewise.
56015 (log10_test): Likewise.
56016 (log1p_test): Likewise.
56017 (log2_test): Likewise.
56018 (logb_test): Likewise.
56019 (logb_test_downward): Likewise.
56020 (lround_test): Likewise.
56021 (llround_test): Likewise.
56022 (modf_test): Likewise.
56023 (nearbyint_test): Likewise.
56024 (nextafter_test): Likewise.
56025 (nexttoward_test): Likewise.
56026 (pow_test): Likewise.
56027 (pow_test_tonearest): Likewise.
56028 (pow_test_towardzero): Likewise.
56029 (pow_test_downward): Likewise.
56030 (pow_test_upward): Likewise.
56031 (remainder_test): Likewise.
56032 (drem_test): Likewise.
56033 (remainder_test_tonearest): Likewise.
56034 (drem_test_tonearest): Likewise.
56035 (remainder_test_towardzero): Likewise.
56036 (drem_test_towardzero): Likewise.
56037 (remainder_test_downward): Likewise.
56038 (drem_test_downward): Likewise.
56039 (remainder_test_upward): Likewise.
56040 (drem_test_upward): Likewise.
56041 (remquo_test): Likewise.
56042 (rint_test): Likewise.
56043 (rint_test_tonearest): Likewise.
56044 (rint_test_towardzero): Likewise.
56045 (rint_test_downward): Likewise.
56046 (rint_test_upward): Likewise.
56047 (round_test): Likewise.
56048 (scalb_test): Likewise.
56049 (scalbn_test): Likewise.
56050 (scalbln_test): Likewise.
56051 (signbit_test): Likewise.
56052 (sin_test): Likewise.
56053 (sin_test_tonearest): Likewise.
56054 (sin_test_towardzero): Likewise.
56055 (sin_test_downward): Likewise.
56056 (sin_test_upward): Likewise.
56057 (sincos_test): Likewise.
56058 (sinh_test): Likewise.
56059 (sinh_test_tonearest): Likewise.
56060 (sinh_test_towardzero): Likewise.
56061 (sinh_test_downward): Likewise.
56062 (sinh_test_upward): Likewise.
56063 (sqrt_test): Likewise.
56064 (sqrt_test_tonearest): Likewise.
56065 (sqrt_test_towardzero): Likewise.
56066 (sqrt_test_downward): Likewise.
56067 (sqrt_test_upward): Likewise.
56068 (tan_test): Likewise.
56069 (tan_test_tonearest): Likewise.
56070 (tan_test_towardzero): Likewise.
56071 (tan_test_downward): Likewise.
56072 (tan_test_upward): Likewise.
56073 (tanh_test): Likewise.
56074 (tgamma_test): Likewise.
56075 (trunc_test): Likewise.
56076 (y0_test): Likewise.
56077 (y1_test): Likewise.
56078 (yn_test): Likewise.
56079 (significand_test): Likewise.
56080
56081 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56082 individual tests in comment.
56083 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56084 (prev_max_error): New variable.
56085 (prev_real_max_error): Likewise.
56086 (prev_imag_max_error): Likewise.
56087 (compare_ulp_data): Don't refer to test names in comment.
56088 (find_test_ulps): Remove function.
56089 (find_function_ulps): Likewise.
56090 (find_complex_function_ulps): Likewise.
56091 (init_max_error): Take function name as argument. Look up ulps
56092 for that function.
56093 (print_ulps): Remove function.
56094 (print_max_error): Use prev_max_error instead of calling
56095 find_function_ulps.
56096 (print_complex_max_error): Use prev_real_max_error and
56097 prev_imag_max_error instead of calling find_complex_function_ulps.
56098 (check_float_internal): Take max_ulp parameter instead of calling
56099 find_test_ulps. Don't call print_ulps.
56100 (check_float): Update call to check_float_internal.
56101 (check_complex): Update calls to check_float_internal.
56102 (START): Pass argument to init_max_error.
56103 * math/gen-libm-test.pl (%results): Don't include "kind"
56104 information.
56105 (parse_ulps): Don't handle ulps of individual tests.
56106 (print_ulps_file): Likewise.
56107 (output_ulps): Likewise.
56108 * math/README.libm-test: Update.
56109 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56110 individual tests.
56111 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56112 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56113 * sysdeps/arm/libm-test-ulps: Likewise.
56114 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56115 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56116 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56117 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56118 * sysdeps/microblaze/libm-test-ulps: Likewise.
56119 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56120 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56121 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56122 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56123 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56124 * sysdeps/sh/libm-test-ulps: Likewise.
56125 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56126 * sysdeps/tile/libm-test-ulps: Likewise.
56127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56128
56129 2014-03-04 Joseph Myers <joseph@codesourcery.com>
56130
56131 * math/libm-test.inc (print_complex_max_error): Check separately
56132 whether real and imaginary errors are within allowed range and
56133 pass 0 to print_complex_function_ulps instead of value within
56134 allowed range.
56135
56136 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56137
56138 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56139 formatting.
56140 (get_handles_fopen): Likewise.
56141 (do_write_test): Likewise.
56142
56143 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56144
56145 * libio/fileops.c (do_ftell): Use cached offset when
56146 available.
56147 * libio/iofwide.c (do_ftell_wide): Likewise.
56148 * libio/iofdopen.c (_IO_new_fdopen): Don't use
56149 _IO_file_attach.
56150 * libio/wfileops.c (_IO_fwide): Don't cache offset.
56151
56152 [BZ #16532]
56153 * libio/libioP.h (get_file_offset): New function.
56154 * libio/fileops.c (get_file_offset): Likewise.
56155 (do_ftell): Likewise.
56156 (_IO_new_file_seekoff): Split out ftell logic.
56157 * libio/wfileops.c (do_ftell_wide): Likewise.
56158 (_IO_wfile_seekoff): Split out ftell logic.
56159 * libio/tst-ftell-active-handler.c: New test case.
56160 * libio/Makefile (tests): Add it.
56161
56162 2014-03-03 Roland McGrath <roland@hack.frob.com>
56163
56164 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56165 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56166
56167 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56168
56169 [BZ #16639]
56170 * nscd/connections.c (nscd_init): Call do_exit.
56171 (start_threads): Call do_exit and notify_parent.
56172 (begin_drop_privileges): Call do_exit.
56173 (finish_drop_privileges): Likewise.
56174 * nscd/selinux.c (preserve_capabilities): Likewise.
56175 (install_real_capabilities): Likewise.
56176 (nscd_selinux_enabled): Likewise.
56177 (avc_create_thread): Likewise.
56178 (avc_alloc_lock): Likewise.
56179 (nscd_avc_init): Likewise.
56180 * nscd/nscd.c (parent_fd): New static variable.
56181 (main): Create a pipe between parent and child processes.
56182 Skip closing parent_fd.
56183 (monitor_child): New function.
56184 (do_exit): Likewise.
56185 (notify_parent): Likewise.
56186 * nscd/nscd.h (notify_parent): Likewise.
56187 (do_exit): Likewise.
56188
56189 2014-03-03 Carlos O'Donell <carlos@redhat.com>
56190
56191 * malloc/malloc.c (__libc_calloc): Revert last change.
56192
56193 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56194
56195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56196
56197 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56198
56199 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56201 implementation.
56202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56203 (__libc_ifunc_impl_list): Likewise.
56204 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56205 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56206 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56207 * string/strrchr.c: Define STRRCHR.
56208
56209 2014-02-28 Ondƙej Bílka <neleai@seznam.cz>
56210
56211 * benchtest/bench-strtok.c (simple_strtok): Delete.
56212 (strtok_string): Use as benchmark.
56213 * string/strtok (STRTOK): New macro.
56214
56215 2014-02-28 Carlos O'Donell <carlos@redhat.com>
56216
56217 * manual/threads.texi: Add header and standard comments to all
56218 functions.
56219
56220 * elf/dl-lookup.c (check_match): New function.
56221 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56222 (do_lookup_x): Remove nested function check_match. Use non-nested
56223 function check_match.
56224
56225 2014-02-28 Roland McGrath <roland@hack.frob.com>
56226
56227 * csu/Makefile (generated, before-compile): Use += rather than =.
56228 * catgets/Makefile (generated, generated-dirs): Likewise.
56229 * debug/Makefile (generated): Likewise.
56230 * dlfcn/Makefile (generated): Likewise.
56231 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56232 * iconvdata/Makefile (before-compile, generated): Likewise.
56233 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56234 * libio/Makefile (generated): Likewise.
56235 * malloc/Makefile (generated): Likewise.
56236 * manual/Makefile (generated, generated-dirs): Likewise.
56237 * misc/Makefile (generated): Likewise.
56238 * posix/Makefile (generated): Likewise.
56239 * resolv/Makefile (generated): Likewise.
56240 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56241 * timezone/Makefile (generated, generated-dirs): Likewise.
56242
56243 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56244
56245 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56246
56247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56248 power8 implementation.
56249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56250 file: POWER8 llround ifunc implementation.
56251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56252 (__lllround): Add POWER8 implementation.
56253 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56254 POWER8 llround implementation.
56255
56256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56257 power8 implementation.
56258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56259 file: POWER8 llrint ifunc implementation.
56260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56261 Add POWER8 implementation.
56262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56263 POWER8 llrint implementation.
56264
56265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56266 power8 implementation.
56267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56268 file: POWER8 finite ifunc implementation.
56269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56270 Add POWER8 implementation.
56271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56272 Likewise.
56273 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56274 POWER8 finite implementation.
56275 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56276
56277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56278 power8 implementation.
56279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56280 file: POWER8 isinf ifunc implementation.
56281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56282 POWER8 implementation.
56283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56284 Likewise.
56285 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56286 isinf implementation.
56287 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56288
56289 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56290 (INIT_ARCH): Add hwcap2 initialization.
56291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56292 power8 implementation.
56293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56294 file: POWER8 isnan ifunc implementation.
56295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56296 POWER8 implementation.
56297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56298 Likewise.
56299 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56300 isnan implementation.
56301 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56302
56303 2014-02-27 Joey Ye <joey.ye@arm.com>
56304
56305 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56306 (_FP_NANFRAC_Q): Set to zero.
56307
56308 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56309
56310 [BZ #16623]
56311 * math/auto-libm-test-in: New test inputs.
56312 * math/auto-libm-test-out: Regenerate.
56313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56314 and DA.
56315 (__cos): Likewise.
56316 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56317
56318 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56319
56320 * scripts/evaluate-test.sh: Take new argument indicating whether
56321 failure is expected.
56322 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56323 indicating whether failure is expected.
56324 * conform/Makefile (test-xfail-run-conformtest): New variable.
56325 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56326 level.
56327 * posix/Makefile (test-xfail-annexc): New variable.
56328 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56329
56330 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56331
56332 * argp/Makefile: Include Makeconfig immediately after defining
56333 subdir.
56334 * assert/Makefile: Likewise.
56335 * benchtests/Makefile: Likewise.
56336 * catgets/Makefile: Likewise.
56337 * conform/Makefile: Likewise.
56338 * crypt/Makefile: Likewise.
56339 * csu/Makefile: Likewise.
56340 (all): Remove target.
56341 * ctype/Makefile: Include Makeconfig immediately after defining
56342 subdir.
56343 * debug/Makefile: Likewise.
56344 * dirent/Makefile: Likewise.
56345 * dlfcn/Makefile: Likewise.
56346 * gmon/Makefile: Likewise.
56347 * gnulib/Makefile: Likewise.
56348 * grp/Makefile: Likewise.
56349 * gshadow/Makefile: Likewise.
56350 * hesiod/Makefile: Likewise.
56351 * hurd/Makefile: Likewise.
56352 (all): Remove target.
56353 * iconvdata/Makefile: Include Makeconfig immediately after
56354 defining subdir.
56355 * inet/Makefile: Likewise.
56356 * intl/Makefile: Likewise.
56357 * io/Makefile: Likewise.
56358 * libio/Makefile: Likewise.
56359 (all): Remove target.
56360 * locale/Makefile: Include Makeconfig immediately after defining
56361 subdir.
56362 * login/Makefile: Likewise.
56363 * mach/Makefile: Likewise.
56364 (all): Remove target.
56365 * malloc/Makefile: Include Makeconfig immediately after defining
56366 subdir.
56367 (all): Remove target.
56368 * manual/Makefile: Include Makeconfig immediately after defining
56369 subdir.
56370 * math/Makefile: Likewise.
56371 * misc/Makefile: Likewise.
56372 * nis/Makefile: Likewise.
56373 * nss/Makefile: Likewise.
56374 * po/Makefile: Likewise.
56375 (all): Remove target.
56376 * posix/Makefile: Include Makeconfig immediately after defining
56377 subdir.
56378 * pwd/Makefile: Likewise.
56379 * resolv/Makefile: Likewise.
56380 * resource/Makefile: Likewise.
56381 * rt/Makefile: Likewise.
56382 * setjmp/Makefile: Likewise.
56383 * shadow/Makefile: Likewise.
56384 * signal/Makefile: Likewise.
56385 * socket/Makefile: Likewise.
56386 * soft-fp/Makefile: Likewise.
56387 * stdio-common/Makefile: Likewise.
56388 * stdlib/Makefile: Likewise.
56389 * streams/Makefile: Likewise.
56390 * string/Makefile: Likewise.
56391 * sunrpc/Makefile: Likewise.
56392 (all): Remove target.
56393 * sysvipc/Makefile: Include Makeconfig immediately after defining
56394 subdir.
56395 * termios/Makefile: Likewise.
56396 * time/Makefile: Likewise.
56397 * timezone/Makefile: Likewise.
56398 (all): Remove target.
56399 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56400 subdir.
56401 * wctype/Makefile: Likewise.
56402
56403 2014-02-26 Steve Ellcey <sellcey@mips.com>
56404
56405 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56406 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56407 (libc_feholdexcept_setround_mips): Ditto.
56408 (libc_feholdsetround): New.
56409 (libc_feholdsetroundf): New.
56410 (libc_feholdsetroundl): New.
56411 (libc_feupdateenv_test_mips): New.
56412 (libc_feupdateenv_test): New.
56413 (libc_feupdateenv_testf): New.
56414 (libc_feupdateenv_testl): New.
56415 (libc_feresetround): New.
56416 (libc_feresetroundf): New.
56417 (libc_feresetroundl): New.
56418 (libc_fetestexcept_mips): New.
56419 (libc_fetestexcept): New.
56420 (libc_fetestexceptf): New.
56421 (libc_fetestexceptl): New.
56422 (HAVE_RM_CTX): New.
56423 (libc_feholdexcept_setround_mips_ctx): New.
56424 (libc_feholdexcept_setround_ctx): New.
56425 (libc_feholdexcept_setroundf_ctx): New.
56426 (libc_feholdexcept_setroundl_ctx): New.
56427 (libc_fesetenv_mips_ctx): New.
56428 (libc_fesetenv_ctx): New.
56429 (libc_fesetenv_ctxf): New.
56430 (libc_fesetenv_ctxl): New.
56431 (libc_feupdateenv_mips_ctx): New.
56432 (libc_feupdateenv_ctx): New.
56433 (libc_feupdateenvf_ctx): New.
56434 (libc_feupdateenvl_ctx): New.
56435 (libc_feholdsetround_mips_ctx): New.
56436 (libc_feholdsetround_ctx): New.
56437 (libc_feholdsetroundf_ctx): New.
56438 (libc_feholdsetroundl_ctx): New.
56439 (libc_feresetround_mips_ctx): New.
56440 (libc_feresetround_ctx): New.
56441 (libc_feresetroundf_ctx): New.
56442 (libc_feresetroundl_ctx): New.
56443
56444 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56445
56446 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56447
56448 * manual/ipc.texi: New file.
56449 * manual/Makefile (chapters): Add ipc.
56450 * manual/job.texi: Add "Inter-Process Communication" to next.
56451 * manual/process.texi: Add "Inter-Process Communication" to prev.
56452
56453 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56454
56455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56456
56457 2014-02-26 Ondƙej Bílka <neleai@seznam.cz>
56458
56459 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56460
56461 * manual/arith.texi: Fix spaces after sentences.
56462 * manual/charset.texi: Likewise.
56463 * manual/errno.texi: Likewise.
56464 * manual/install.texi: Likewise.
56465 * manual/llio.texi: Likewise.
56466 * manual/locale.texi: Likewise.
56467 * manual/maint.texi: Likewise.
56468 * manual/math.texi: Likewise.
56469 * manual/memory.texi: Likewise.
56470 * manual/message.texi: Likewise.
56471 * manual/probes.texi: Likewise.
56472 * manual/resource.texi: Likewise.
56473 * manual/signal.texi: Likewise.
56474 * manual/socket.texi: Likewise.
56475 * manual/stdio.texi: Likewise.
56476 * manual/string.texi: Likewise.
56477 * manual/time.texi: Likewise.
56478 * manual/users.texi: Likewise.
56479
56480 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56481
56482 [BZ #16632]
56483 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56484 _DEFAULT_SOURCE is defined.
56485
56486 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56487 Carlos O'Donell <carlos@redhat.com>
56488
56489 [BZ #16613]
56490 * elf/dl-tls.c (_dl_count_modids): New function.
56491 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56492 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56493 audit library and increment generation counter.
56494 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56495 * elf/tst-audit9.c: New file.
56496 * elf/tst-auditmod9a.c: New file.
56497 * elf/tst-auditmod9b.c: New file.
56498 * elf/Makefile: Add rules to build and run tst-audit9.
56499
56500 2014-02-25 Florian Weimer <fweimer@redhat.com>
56501
56502 [BZ #15347]
56503 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56504
56505 2014-02-25 Will Newton <will.newton@linaro.org>
56506
56507 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56508 (__longjmp): Restore sp and lr before restoring callee
56509 saved registers. Add longjmp and longjmp_target
56510 SystemTap probe point.
56511 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56512 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56513 Define to zero to match jmpbuf layout.
56514 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56515 (__sigsetjmp): Save sp and lr before saving callee
56516 saved registers. Add setjmp SystemTap probe point.
56517
56518 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56519
56520 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56521
56522 2014-02-24 Andreas Schwab <schwab@suse.de>
56523
56524 [BZ #15804]
56525 * elf/pldd.c (wait_for_ptrace_stop): New function.
56526 (main): Call it after attaching.
56527
56528 2014-02-22 Roland McGrath <roland@hack.frob.com>
56529
56530 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56531 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56532 Versions files is now verboten.
56533 * hurd/Versions (libc: GLIBC_2.0):
56534 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56535 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56536 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56537 * mach/Versions: Likewise.
56538
56539 * csu/Versions: Remove unused %include.
56540 * resolv/Versions: Likewise.
56541
56542 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56543
56544 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56545 ($(objpfx)check-local-headers.out): Likewise.
56546 ($(objpfx)begin-end-check.out): Likewise.
56547 * Makerules (check-abi-%.out): Likewise.
56548 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56549 ($(objpfx)test2.cat): Likewise.
56550 ($(objpfx)de/libc.cat): Likewise.
56551 ($(objpfx)test-gencat.out): Likewise.
56552 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56553 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56554 ($(objpfx)noload-mem): Likewise.
56555 ($(objpfx)tst-pathopt.out): Likewise.
56556 ($(objpfx)tst-rtld-load-self.out): Likewise.
56557 ($(objpfx)tst-array1-cmp.out): Likewise.
56558 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56559 ($(objpfx)tst-array2-cmp.out): Likewise.
56560 ($(objpfx)tst-array3-cmp.out): Likewise.
56561 ($(objpfx)tst-array4-cmp.out): Likewise.
56562 ($(objpfx)tst-array5-cmp.out): Likewise.
56563 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56564 ($(objpfx)check-textrel.out): Likewise.
56565 ($(objpfx)check-execstack.out): Likewise.
56566 ($(objpfx)check-localplt.out): Likewise.
56567 ($(objpfx)order2-cmp.out): Likewise.
56568 ($(objpfx)tst-leaks1-mem): Likewise.
56569 ($(objpfx)tst-leaks1-static-mem): Likewise.
56570 ($(objpfx)tst-initorder-cmp.out): Likewise.
56571 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56572 ($(objpfx)tst-unused-dep.out): Likewise.
56573 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56574 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56575 * iconv/Makefile (test-iconvconfig): Likewise.
56576 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56577 ($(objpfx)iconv-test.out): Likewise.
56578 ($(objpfx)tst-tables.out): Likewise.
56579 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56580 ($(objpfx)tst-gettext.out): Likewise.
56581 ($(objpfx)tst-translit.out): Likewise.
56582 ($(objpfx)tst-gettext2.out): Likewise.
56583 ($(objpfx)tst-gettext4.out): Likewise.
56584 ($(objpfx)tst-gettext6.out): Likewise.
56585 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56586 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56587 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56588 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56590 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56591 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56592 ($(objpfx)wordexp-tst.out): Likewise.
56593 ($(objpfx)annexc.out): Likewise.
56594 ($(objpfx)tst-fnmatch-mem): Likewise.
56595 ($(objpfx)bug-regex2-mem): Likewise.
56596 ($(objpfx)bug-regex14-mem): Likewise.
56597 ($(objpfx)bug-regex21-mem): Likewise.
56598 ($(objpfx)bug-regex31-mem): Likewise.
56599 ($(objpfx)tst-vfork3-mem): Likewise.
56600 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56601 ($(objpfx)tst-pcre-mem): Likewise.
56602 ($(objpfx)tst-boost-mem): Likewise.
56603 ($(objpfx)tst-getconf.out): Likewise.
56604 ($(objpfx)bug-ga2-mem): Likewise.
56605 ($(objpfx)bug-glob2-mem): Likewise.
56606 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56607 ($(objpfx)mtrace-tst-leaks2): Likewise.
56608 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56609 ($(objpfx)tst-printf.out): Likewise.
56610 ($(objpfx)tst-setvbuf1.out): Likewise.
56611 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56612 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56613 ($(objpfx)tst-fmtmsg.out): Likewise.
56614 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56615 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56616
56617 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56618 * bits/sigaction.h [__USE_MISC]: Likewise.
56619 * bits/waitstatus.h: Update #endif comments.
56620 * ctype/ctype.h: Likewise.
56621 * dirent/dirent.h: Likewise.
56622 [__USE_MISC]: Remove redundant conditionals.
56623 * grp/grp.h: Update #endif comments.
56624 [__USE_GNU]: Remove redundant conditionals.
56625 [__USE_MISC]: Likewise.
56626 * inet/netinet/in.h [__USE_GNU]: Likewise.
56627 * io/sys/stat.h [__USE_MISC]: Likewise.
56628 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56629 * libio/bits/stdio.h: Update #endif comments.
56630 [__USE_MISC]: Remove redundant conditionals.
56631 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56632 * libio/stdio.h: Update #endif comments.
56633 [__USE_MISC]: Remove redundant conditionals.
56634 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56635 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56636 * math/math.h: Update #else and #endif comments.
56637 [__USE_MISC]: Remove redundant conditionals.
56638 * misc/sys/uio.h: Update #endif comments.
56639 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56640 * posix/glob.h [__USE_MISC]: Likewise.
56641 * posix/sys/types.h: Update #endif comments.
56642 [__USE_MISC]: Remove redundant conditionals.
56643 * posix/sys/wait.h: Update #endif comments.
56644 [__USE_MISC]: Remove redundant conditionals.
56645 * posix/unistd.h: Update #endif comments.
56646 [__USE_MISC]: Remove redundant conditionals.
56647 * pwd/pwd.h [__USE_GNU]: Likewise.
56648 [__USE_MISC]: Likewise.
56649 * resolv/netdb.h [__USE_GNU]: Likewise.
56650 * signal/signal.h: Update #endif comments.
56651 [__USE_MISC]: Remove redundant conditionals.
56652 * stdlib/stdlib.h: Update #else and #endif comments.
56653 [__USE_MISC]: Remove redundant conditionals.
56654 [__USE_GNU]: Likewise.
56655 * string/bits/string2.h [__USE_MISC]: Likewise.
56656 * string/string.h: Update #endif comments.
56657 [__USE_MISC]: Remove redundant conditionals.
56658 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56659 Likewise.
56660 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56661 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56662 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56663 Likewise.
56664 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56665 Likewise.
56666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56667 comments.
56668 [__USE_MISC]: Remove redundant conditionals.
56669 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56670 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56671 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56672 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56673 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56674 Likewise.
56675 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56676 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56677 Likewise.
56678 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56679 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56680 Likewise.
56681 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56682 Likewise.
56683 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56684 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56685 Likewise.
56686 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56687 Likewise.
56688 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56689 * sysdeps/x86/bits/string.h: Update #endif comments.
56690 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56691 conditionals.
56692 * time/sys/time.h: Update #endif comments.
56693 * time/time.h: Likewise.
56694 [__USE_MISC]: Remove redundant conditionals.
56695
56696 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56697
56698 [BZ #16600]
56699 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56700
56701 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56702
56703 * Versions.def (librt): Add GLIBC_2.17.
56704
56705 2014-02-21 Adam Conrad <adconrad@0c3.net>
56706
56707 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56708 synonym for _SYS_AUXV_H to allow direct inclusion.
56709 * sysdeps/sparc/bits/hwcap.h: Likewise.
56710 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56711 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56712 * sysdeps/sparc/sysdep.h: Likewise.
56713
56714 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56715
56716 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56717
56718 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56719
56720 * benchtests/bench-strrchr.c: Print length instead of position.
56721
56722 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56723
56724 [BZ #16611]
56725 * sysdeps/unix/sysv/linux/kernel-features.h
56726 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56727 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56728 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56729 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56730 Likewise.
56731 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56732 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56733 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56734 (__ASSUME_SENDMMSG): Define instead of using previous
56735 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56736 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56737 (__ASSUME_SENDMMSG_SYSCALL): Define.
56738 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56739 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56740 Likewise.
56741 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56742 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56743 Likewise.
56744 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56745 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56746 Likewise.
56747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56748 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56749 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56750 [__ASSUME_SENDMMSG]: Change conditionals to
56751 [__ASSUME_SENDMMSG_SOCKETCALL].
56752 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56753 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56754 Define.
56755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56756 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56757 Likewise.
56758 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56759 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56760 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56761 [!__ASSUME_SENDMMSG]: Change conditional to
56762 [!__ASSUME_SENDMMSG_SOCKETCALL].
56763 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56764 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56765 Define.
56766
56767 [BZ #16610]
56768 * sysdeps/unix/sysv/linux/kernel-features.h
56769 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56770 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56771 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56772 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56773 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56774 [__i386__ || __sparc__]
56775 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56776 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56777 (__ASSUME_RECVMMSG): Define instead of using previous
56778 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56780 (__ASSUME_RECVMMSG_SYSCALL): Define.
56781 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56782 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56783 Likewise.
56784 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56785 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56786 Likewise.
56787 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56788 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56789 Likewise.
56790 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56791 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56792 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56793 [__ASSUME_RECVMMSG]: Change condition to
56794 [__ASSUME_RECVMMSG_SOCKETCALL].
56795 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56796 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56797 Define.
56798 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56799 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56800 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56801 Likewise.
56802 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56803 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56804 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56805 [!__ASSUME_RECVMMSG]: Change condition to
56806 [!__ASSUME_RECVMMSG_SOCKETCALL].
56807 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56808 (__ASSUME_RECVMMSG_SYSCALL): Define.
56809
56810 [BZ #16609]
56811 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56812 __powerpc__ || __s390__ || __sh__ || __sparc__]
56813 (__ASSUME_SOCKETCALL): Define.
56814 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56815 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56816 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56817 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56818 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56819 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56820 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56821 (__ASSUME_ACCEPT4): Define instead of using previous
56822 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56823 __powerpc__ || __sparc__ || __s390__)] condition.
56824 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56825 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56826 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56827 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56828 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56829 [!__ASSUME_ACCEPT4]: Change condition to
56830 [!__ASSUME_ACCEPT4_SOCKETCALL].
56831 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56832 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56833 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56834 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56835 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56836 __ASSUME_ACCEPT4_SYSCALL.
56837 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56838 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56839 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56840 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56841 __ASSUME_ACCEPT4_SYSCALL.
56842 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56843 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56844 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56845 [__ASSUME_ACCEPT4]: Change condition to
56846 [__ASSUME_ACCEPT4_SOCKETCALL].
56847 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56848 (__ASSUME_SOCKETCALL): Define.
56849 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56851 (__ASSUME_SOCKETCALL): Define.
56852 (__ASSUME_ACCEPT4): Remove.
56853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56854 Define.
56855 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56856 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56857 Likewise.
56858 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56859 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56860
56861 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56862 macro.
56863 (HWCAP_ARM_LPAE): Likewise.
56864 (HWCAP_ARM_EVTSTRM): Likewise.
56865 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56866 Add vpfd32, lpae and evtstrm.
56867 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56868 Increase to 22.
56869
56870 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56871
56872 * math/auto-libm-test-in: Add tests of clog10.
56873 * math/auto-libm-test-out: Regenerated.
56874 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56875 * sysdeps/i386/fpu/libm-test-ulps: Update.
56876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56877
56878 2014-02-18 Andreas Schwab <schwab@suse.de>
56879
56880 [BZ #16574]
56881 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56882 Store non-zero if the second buffer was newly allocated.
56883 (send_dg): Likewise.
56884 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56885 to send_vc and send_dg.
56886 (res_nsend): Pass NULL for ansp2_malloced.
56887 * resolv/res_query.c (__libc_res_nquery): Add parameter
56888 answerp2_malloced and pass it down to __libc_res_nsend.
56889 (res_nquery): Pass additional NULL to __libc_res_nquery.
56890 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56891 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56892 second answer buffer if answerp2_malloced was set.
56893 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56894 (__libc_res_nquerydomain): Add parameter
56895 answerp2_malloced and pass it down to __libc_res_nquery.
56896 (res_nquerydomain): Pass additional NULL to
56897 __libc_res_nquerydomain.
56898 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56899 additional NULL to __libc_res_nsend and __libc_res_nquery.
56900 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56901 additional NULL to __libc_res_nsearch.
56902 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56903 parameter of __libc_res_nsearch to check for separately allocated
56904 second buffer.
56905 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56906 __libc_res_nquery.
56907 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56908 additional NULL to __libc_res_nquery.
56909 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56910 __libc_res_nsearch.
56911 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56912 * include/resolv.h: Update prototypes of __libc_res_nquery,
56913 __libc_res_nsearch, __libc_res_nsend.
56914
56915 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56916
56917 * math/auto-libm-test-in: Add tests of fma.
56918 * math/auto-libm-test-out: Regenerated.
56919 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56920 (fma_towardzero_test_data): Likewise.
56921 (fma_downward_test_data): Likewise.
56922 (fma_upward_test_data): Likewise.
56923 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56924 mpc_mode.
56925 (rounding_modes): Add values for new field.
56926 (func_calc_method): Add value mpfr_fff_f.
56927 (func_calc_desc): Add mpfr_fff_f union field.
56928 (test_function): Add field exact_args.
56929 (FUNC): Add macro argument EXACT_ARGS.
56930 (FUNC_mpfr_f_f): Update call to FUNC.
56931 (FUNC_mpfr_f_f): Likewise.
56932 (FUNC_mpfr_ff_f): Likewise.
56933 (FUNC_mpfr_if_f): Likewise.
56934 (FUNC_mpc_c_f): Likewise.
56935 (FUNC_mpc_c_c): Likewise.
56936 (test_functions): Add fma. Update calls to FUNC.
56937 (handle_input_arg): Add argument exact_args.
56938 (add_test): Update call to handle_input_arg.
56939 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56940 (output_for_one_input_case): Update call to calc_generic_results.
56941 Recalculate exact zero results in each rounding mode.
56942
56943 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56944 non-negative before setting low bit.
56945 * math/auto-libm-test-in: Mark one asin test possibly having
56946 spurious underflow.
56947 * math/auto-libm-test-out: Regenerated.
56948 * sysdeps/i386/fpu/libm-test-ulps: Update.
56949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56950
56951 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56952
56953 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56954 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56955 ports/sysdeps/unix/sysv/linux/microblaze.
56956 * README: Add missing listing for microblaze*-*-linux-gnu.
56957
56958 2014-02-16 Ondƙej Bílka <neleai@seznam.cz>
56959
56960 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56961 duplicate code
56962
56963 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56964
56965 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56966 * sysdeps/unix/sysv/linux/ia64: Move directory from
56967 ports/sysdeps/unix/sysv/linux/ia64.
56968 * README: Update listing for ia64-*-linux-gnu.
56969
56970 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56971 Joseph Myers <joseph@codesourcery.com>
56972
56973 * Makeconfig (test-name): New variable.
56974 (evaluate-test): Likewise.
56975 * Makerules (do-test-clean): Remove .test-result files.
56976 (common-mostlyclean): Likewise.
56977 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56978 * scripts/evaluate-test.sh: New file.
56979
56980 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56981
56982 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56983 separate $(objpfx)tst-fopenloc-cmp.out and
56984 $(objpfx)tst-fopenloc-mem.out targets.
56985 (tests): Update dependencies.
56986 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56987 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56988 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56989 (tst-rxspencer-no-utf8-ARGS): New variable.
56990 (tst-rxspencer-no-utf8-ENV): Likewise.
56991 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56992 instead of $(objpfx)tst-rxspencer-mem.
56993 ($(objpfx)tst-rxspencer-mem): Change target to
56994 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56995 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56996 * posix/tst-rxspencer-no-utf8.c: New file.
56997
56998 * elf/Makefile ($(objpfx)order.out): Remove rule.
56999 [$(run-built-tests) = yes] (tests): Depend on
57000 $(objpfx)order-cmp.out.
57001 ($(objpfx)order-cmp.out): New rule.
57002 [$(run-built-tests) = yes] (tests): Depend on
57003 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57004 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57005 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57006 $(objpfx)tst-array5-static-cmp.out.
57007 ($(objpfx)tst-array1.out): Remove rule.
57008 ($(objpfx)tst-array1-cmp.out): New rule.
57009 ($(objpfx)tst-array1-static.out): Remove rule.
57010 ($(objpfx)tst-array1-static-cmp.out): New rule.
57011 ($(objpfx)tst-array2.out): Remove rule.
57012 ($(objpfx)tst-array2-cmp.out): New rule.
57013 ($(objpfx)tst-array3.out): Remove rule.
57014 ($(objpfx)tst-array3-cmp.out): New rule.
57015 ($(objpfx)tst-array4.out): Remove rule.
57016 ($(objpfx)tst-array4-cmp.out): New rule.
57017 ($(objpfx)tst-array5.out): Remove rule.
57018 ($(objpfx)tst-array5-cmp.out): New rule.
57019 ($(objpfx)tst-array5-static.out): Remove rule.
57020 ($(objpfx)tst-array5-static-cmp.out): New rule.
57021 [$(run-built-tests) = yes] (tests): Depend on
57022 $(objpfx)order2-cmp.out.
57023 ($(objpfx)order2.out): Remove rule.
57024 ($(objpfx)order2-cmp.out): New rule.
57025 ($(objpfx)tst-initorder.out): Remove rule.
57026 [$(run-built-tests) = yes] (tests): Depend on
57027 $(objpfx)tst-initorder-cmp.out.
57028 ($(objpfx)tst-initorder-cmp.out): New rule.
57029 ($(objpfx)tst-initorder2.out): Remove rule.
57030 [$(run-built-tests) = yes] (tests): Depend on
57031 $(objpfx)tst-initorder2-cmp.out.
57032 ($(objpfx)tst-initorder2-cmp.out): New rule.
57033 [$(run-built-tests) = yes] (tests): Depend on
57034 $(objpfx)tst-unused-dep-cmp.out.
57035 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57036 ($(objpfx)tst-unused-dep-cmp.out): New rule.
57037 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57038 on $(objpfx)tst-setvbuf1-cmp.out.
57039 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57040 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57041 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57042 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57043 ($(objpfx)tst-svc.out): Remove rule.
57044 ($(objpfx)tst-svc-cmp.out): New rule.
57045
57046 2014-02-13 Joseph Myers <joseph@codesourcery.com>
57047
57048 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57049 * ctype/ctype.h [__USE_MISC]: Likewise.
57050 * dirent/dirent.h [__USE_MISC]: Likewise.
57051 * grp/grp.h [__USE_MISC]: Likewise.
57052 * io/fcntl.h [__USE_MISC]: Likewise.
57053 * io/sys/stat.h [__USE_MISC]: Likewise.
57054 * libio/stdio.h [__USE_MISC]: Likewise.
57055 * posix/unistd.h [__USE_MISC]: Likewise.
57056 * pwd/pwd.h [__USE_MISC]: Likewise.
57057 * stdlib.h [__USE_MISC]: Likewise.
57058 * string/bits/string2.h [__USE_MISC]: Likewise.
57059 * string/string.h [__USE_MISC]: Likewise.
57060 * time/time.h [__USE_MISC]: Likewise.
57061
57062 2014-02-13 Andreas Schwab <schwab@suse.de>
57063
57064 [BZ #16574]
57065 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57066 second answer buffer if it was separately allocated.
57067
57068 2014-02-12 Joseph Myers <joseph@codesourcery.com>
57069
57070 * sysdeps/mips/math-tests.h: Include <features.h>.
57071 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57072 (ROUNDING_TESTS_long_double): Do not define.
57073 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57074 (EXCEPTION_TESTS_long_double): Likewise.
57075 * sysdeps/mips/mips64/libm-test-ulps: Update.
57076
57077 * include/features.h (__USE_BSD): Remove macro definitions.
57078 (__USE_SVID): Likewise.
57079 (_BSD_SOURCE): Likewise.
57080 (_SVID_SOURCE): Likewise.
57081 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57082 from definition of _DEFAULT_SOURCE.
57083 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57084 [_DEFAULT_SOURCE].
57085 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57086 * bits/mman.h [__USE_BSD]: Likewise.
57087 * bits/termios.h [__USE_BSD]: Likewise.
57088 * bits/waitstatus.h [__USE_BSD]: Likewise.
57089 * ctype/ctype.h [__USE_SVID]: Likewise.
57090 * dirent/dirent.h [__USE_BSD]: Likewise.
57091 * grp/grp.h [__USE_SVID]: Likewise.
57092 [__USE_BSD]: Likewise.
57093 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57094 * io/fcntl.h [__USE_BSD]: Likewise.
57095 * io/ftw.h [__USE_BSD]: Likewise.
57096 * io/sys/stat.h [__USE_BSD]: Likewise.
57097 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57098 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57099 * libio/stdio.h [__USE_SVID]: Likewise.
57100 [__USE_BSD]: Likewise.
57101 * math/math.h [__USE_SVID]: Likewise.
57102 [__USE_BSD]: Likewise.
57103 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57104 * misc/bits/syslog.h [__USE_BSD]: Likewise.
57105 * misc/search.h [__USE_SVID]: Likewise.
57106 * misc/sys/mman.h [__USE_BSD]: Likewise.
57107 * misc/sys/syslog.h [__USE_BSD]: Likewise.
57108 * misc/sys/uio.h [__USE_BSD]: Likewise.
57109 * posix/bits/unistd.h [__USE_BSD]: Likewise.
57110 * posix/glob.h [__USE_BSD]: Likewise.
57111 * posix/regex.h [__USE_BSD]: Likewise.
57112 * posix/sys/types.h [__USE_BSD]: Likewise.
57113 [__USE_SVID]: Likewise.
57114 * posix/sys/utsname.h [__USE_SVID]: Likewise.
57115 * posix/sys/wait.h [__USE_BSD]: Likewise.
57116 [__USE_SVID]: Likewise.
57117 * posix/unistd.h [__USE_BSD]: Likewise.
57118 [__USE_SVID]: Likewise.
57119 * pwd/pwd.h [__USE_SVID]: Likewise.
57120 * resolv/netdb.h [__USE_BSD]: Likewise.
57121 * setjmp/setjmp.h [__USE_BSD]: Likewise.
57122 * signal/signal.h [__USE_BSD]: Likewise.
57123 [__USE_SVID]: Likewise.
57124 * socket/sys/socket.h [__USE_BSD]: Likewise.
57125 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57126 * stdlib/stdlib.h [__USE_BSD]: Likewise.
57127 [__USE_SVID]: Likewise.
57128 * string/bits/string2.h [__USE_BSD]: Likewise.
57129 [__USE_SVID]: Likewise.
57130 * string/bits/string3.h [__USE_BSD]: Likewise.
57131 * string/endian.h [__USE_BSD]: Likewise.
57132 * string/string.h [__USE_SVID]: Likewise.
57133 [__USE_BSD]: Likewise.
57134 * string/strings.h [__USE_BSD]: Likewise.
57135 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57136 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57137 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57138 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57139 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57140 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57141 Likewise.
57142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57143 Likewise.
57144 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57145 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57146 Likewise.
57147 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57148 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57149 Likewise.
57150 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57151 Likewise.
57152 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57153 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57154 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57155 Likewise.
57156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57157 Likewise.
57158 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57159 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57160 * termios/termios.h [__USE_BSD]: Likewise.
57161 * time/sys/time.h [__USE_BSD]: Likewise.
57162 * time/time.h [__USE_BSD]: Likewise.
57163 [__USE_SVID]: Likewise.
57164
57165 * Makefile (subdir_targets): Remove subdir_lint.out.
57166
57167 * stdio-common/Makefile (do-tst-unbputc): Remove target.
57168 (do-tst-printf): Likewise.
57169 (tests): Depend directly on $(objpfx)tst-unbputc.out and
57170 $(objpfx)tst-printf.out.
57171
57172 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57173
57174 * Makerules (check-abi-%): Change target to
57175 $(objpfx)check-abi-%.out.
57176 (check-abi target): Update dependencies.
57177 (check-abi-pattern variable): Redirect output of diff to $@.
57178 (check-abi variable): Likewise.
57179 * elf/Makefile (check-abi): Update dependencies.
57180
57181 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57182 unused.
57183 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57184 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57185 subnormal range.
57186 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57187 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57188 value has largest subnormal exponent.
57189 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57190 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57191 * sysdeps/aarch64/soft-fp/sfp-machine.h
57192 (_FP_TININESS_AFTER_ROUNDING): New macro.
57193 * sysdeps/alpha/soft-fp/sfp-machine.h
57194 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57195 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57196 Likewise.
57197 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57198 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57199 * sysdeps/mips/soft-fp/sfp-machine.h
57200 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57201 * sysdeps/powerpc/soft-fp/sfp-machine.h
57202 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57203 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57204 Likewise.
57205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57206 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57208 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57209 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57210 Likewise.
57211
57212 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
57213
57214 [BZ #16545]
57215 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57216 model 1.
57217
57218 2014-02-12 Richard Henderson <rth@redhat.com>
57219
57220 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57221 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57222 * sysdeps/unix/sysv/linux/alpha: Move directory from
57223 ports/sysdeps/unix/sysv/linux/alpha.
57224 * README: Update listing for alpha-*-linux-gnu.
57225
57226 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57227
57228 * include/features.h: Update comment documenting feature test
57229 macros.
57230 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57231 _DEFAULT_SOURCE.
57232 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57233 (_SVID_SOURCE): Likewise.
57234 (_DEFAULT_SOURCE): Update description of default features.
57235 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57236 with _GNU_SOURCE.
57237 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57238 (S_ISVTX): Likewise.
57239 * manual/math.texi (Mathematical Constants): Likewise.
57240 * manual/signal.texi (Interrupted Primitives): Likewise.
57241 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57242 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57243 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57244 Don't refer to _SVID_SOURCE in warning text.
57245
57246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57247
57248 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57249 already defined.
57250 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57251 * sysdeps/mips/dl-lookup.c: Remove.
57252 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57253
57254 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57255
57256 [BZ #16447]
57257 * math/auto-libm-test-in: Add testcase for expl.
57258 * math/auto-libm-test-out: Regenerate.
57259 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57260 calculation of unsafe.
57261 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57262
57263 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57264
57265 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57266 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57267 ports/sysdeps/unix/sysv/linux/aarch64.
57268 * README: Update listing for aarch64*-*-linux-gnu.
57269
57270 2014-02-11 Will Newton <will.newton@linaro.org>
57271
57272 * manual/probes.texi (Mathematical Function Probes): Use
57273 "triggered" instead of "hit".
57274
57275 * manual/probes.texi (Internal Probes): Add documentation
57276 of setjmp, longjmp and longjmp_target probes.
57277
57278 * include/stap-probe.h: Add comment about probe argument
57279 format.
57280
57281 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57282 definition. (tr_where, tr_freehook, tr_mallochook,
57283 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57284
57285 2014-02-11 David S. Miller <davem@davemloft.net>
57286
57287 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57288 processing int_tests.
57289
57290 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57291
57292 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57293 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57294 * sysdeps/unix/sysv/linux/mips: Move directory from
57295 ports/sysdeps/unix/sysv/linux/mips.
57296 * README: Update listing for mips-*-linux-gnu and
57297 mips64-*-linux-gnu.
57298
57299 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57300
57301 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57302 * sysdeps/unix/sysv/linux/m68k: Move directory from
57303 ports/sysdeps/unix/sysv/linux/m68k.
57304 * README: Update listing for m68k-*-linux-gnu.
57305
57306 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57307
57308 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57309 * sysdeps/unix/sysv/linux/generic: Move directory from
57310 ports/sysdeps/unix/sysv/linux/generic.
57311 * sysdeps/unix/sysv/linux/tile: Move directory from
57312 ports/sysdeps/unix/sysv/linux/tile.
57313 * README: Update listing for tile*-*-linux-gnu.
57314
57315 2014-02-10 Ondƙej Bílka <neleai@seznam.cz>
57316
57317 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57318 __builtin_expect.
57319 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57320 * catgets/open_catalog.c (__open_catalog): Likewise.
57321 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57322 * debug/confstr_chk.c: Likewise.
57323 * debug/fread_chk.c (__fread_chk): Likewise.
57324 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57325 * debug/getgroups_chk.c: Likewise.
57326 * debug/mbsnrtowcs_chk.c: Likewise.
57327 * debug/mbsrtowcs_chk.c: Likewise.
57328 * debug/mbstowcs_chk.c: Likewise.
57329 * debug/memcpy_chk.c: Likewise.
57330 * debug/memmove_chk.c: Likewise.
57331 * debug/mempcpy_chk.c: Likewise.
57332 * debug/memset_chk.c: Likewise.
57333 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57334 * debug/strcat_chk.c (__strcat_chk): Likewise.
57335 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57336 * debug/strncat_chk.c (__strncat_chk): Likewise.
57337 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57338 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57339 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57340 * debug/wcpncpy_chk.c: Likewise.
57341 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57342 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57343 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57344 * debug/wcsncpy_chk.c: Likewise.
57345 * debug/wcsnrtombs_chk.c: Likewise.
57346 * debug/wcsrtombs_chk.c: Likewise.
57347 * debug/wcstombs_chk.c: Likewise.
57348 * debug/wmemcpy_chk.c: Likewise.
57349 * debug/wmemmove_chk.c: Likewise.
57350 * debug/wmempcpy_chk.c: Likewise.
57351 * debug/wmemset_chk.c: Likewise.
57352 * dirent/scandirat.c (SCANDIRAT): Likewise.
57353 * dlfcn/dladdr1.c (dladdr1): Likewise.
57354 * dlfcn/dladdr.c (dladdr): Likewise.
57355 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57356 * dlfcn/dlerror.c (__dlerror): Likewise.
57357 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57358 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57359 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57360 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57361 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57362 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57363 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57364 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57365 Likewise.
57366 * elf/dl-conflict.c: Likewise.
57367 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57368 * elf/dl-dst.h: Likewise.
57369 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57370 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57371 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57372 * elf/dl-init.c (call_init, _dl_init): Likewise.
57373 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57374 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57375 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57376 Likewise.
57377 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57378 Likewise.
57379 * elf/dl-minimal.c (__libc_memalign): Likewise.
57380 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57381 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57382 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57383 * elf/dl-sym.c (do_sym): Likewise.
57384 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57385 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57386 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57387 * elf/dl-writev.h (_dl_writev): Likewise.
57388 * elf/ldconfig.c (search_dir): Likewise.
57389 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57390 (dl_main): Likewise.
57391 * elf/setup-vdso.h (setup_vdso): Likewise.
57392 * grp/compat-initgroups.c (compat_call): Likewise.
57393 * grp/fgetgrent.c (fgetgrent): Likewise.
57394 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57395 * grp/putgrent.c (putgrent): Likewise.
57396 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57397 Likewise.
57398 * hurd/hurdinit.c: Likewise.
57399 * iconvdata/8bit-gap.c (struct): Likewise.
57400 * iconvdata/ansi_x3.110.c : Likewise.
57401 * iconvdata/big5.c : Likewise.
57402 * iconvdata/big5hkscs.c : Likewise.
57403 * iconvdata/cp1255.c: Likewise.
57404 * iconvdata/cp1258.c : Likewise.
57405 * iconvdata/cp932.c : Likewise.
57406 * iconvdata/euc-cn.c: Likewise.
57407 * iconvdata/euc-jisx0213.c : Likewise.
57408 * iconvdata/euc-jp.c: Likewise.
57409 * iconvdata/euc-jp-ms.c : Likewise.
57410 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57411 * iconvdata/gb18030.c : Likewise.
57412 * iconvdata/gbbig5.c (const): Likewise.
57413 * iconvdata/gbgbk.c: Likewise.
57414 * iconvdata/gbk.c : Likewise.
57415 * iconvdata/ibm1364.c : Likewise.
57416 * iconvdata/ibm930.c : Likewise.
57417 * iconvdata/ibm932.c: Likewise.
57418 * iconvdata/ibm933.c : Likewise.
57419 * iconvdata/ibm935.c : Likewise.
57420 * iconvdata/ibm937.c : Likewise.
57421 * iconvdata/ibm939.c : Likewise.
57422 * iconvdata/ibm943.c: Likewise.
57423 * iconvdata/iso_11548-1.c: Likewise.
57424 * iconvdata/iso-2022-cn.c : Likewise.
57425 * iconvdata/iso-2022-cn-ext.c : Likewise.
57426 * iconvdata/iso-2022-jp-3.c: Likewise.
57427 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57428 * iconvdata/iso-2022-kr.c : Likewise.
57429 * iconvdata/iso646.c (gconv_end): Likewise.
57430 * iconvdata/iso_6937-2.c : Likewise.
57431 * iconvdata/iso_6937.c : Likewise.
57432 * iconvdata/iso8859-1.c: Likewise.
57433 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57434 * iconvdata/shift_jisx0213.c : Likewise.
57435 * iconvdata/sjis.c : Likewise.
57436 * iconvdata/t.61.c : Likewise.
57437 * iconvdata/tcvn5712-1.c : Likewise.
57438 * iconvdata/tscii.c: Likewise.
57439 * iconvdata/uhc.c : Likewise.
57440 * iconvdata/unicode.c (gconv_end): Likewise.
57441 * iconvdata/utf-16.c (gconv_end): Likewise.
57442 * iconvdata/utf-32.c (gconv_end): Likewise.
57443 * iconvdata/utf-7.c (base64): Likewise.
57444 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57445 * iconv/gconv_close.c (__gconv_close): Likewise.
57446 * iconv/gconv_open.c (__gconv_open): Likewise.
57447 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57448 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57449 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57450 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57451 (ucs4le_internal_loop_single): Likewise.
57452 * iconv/iconv.c (iconv): Likewise.
57453 * iconv/iconv_close.c: Likewise.
57454 * iconv/loop.c (SINGLE): Likewise.
57455 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57456 * include/atomic.h: Likewise.
57457 * inet/inet6_option.c (option_alloc): Likewise.
57458 * intl/bindtextdom.c (set_binding_values): Likewise.
57459 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57460 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57461 * intl/localealias.c (read_alias_file): Likewise.
57462 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57463 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57464 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57465 * libio/fmemopen.c (fmemopen): Likewise.
57466 * libio/iofgets.c (_IO_fgets): Likewise.
57467 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57468 * libio/iofgetws.c (fgetws): Likewise.
57469 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57470 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57471 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57472 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57473 * locale/findlocale.c (_nl_find_locale): Likewise.
57474 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57475 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57476 Likewise.
57477 * locale/setlocale.c (setlocale): Likewise.
57478 * login/programs/pt_chown.c (main): Likewise.
57479 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57480 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57481 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57482 (mmap, mmap64, mremap, munmap): Likewise.
57483 * math/e_exp2l.c: Likewise.
57484 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57485 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57486 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57487 * math/s_catan.c (__catan): Likewise.
57488 * math/s_catanf.c (__catanf): Likewise.
57489 * math/s_catanh.c (__catanh): Likewise.
57490 * math/s_catanhf.c (__catanhf): Likewise.
57491 * math/s_catanhl.c (__catanhl): Likewise.
57492 * math/s_catanl.c (__catanl): Likewise.
57493 * math/s_ccosh.c (__ccosh): Likewise.
57494 * math/s_ccoshf.c (__ccoshf): Likewise.
57495 * math/s_ccoshl.c (__ccoshl): Likewise.
57496 * math/s_cexp.c (__cexp): Likewise.
57497 * math/s_cexpf.c (__cexpf): Likewise.
57498 * math/s_cexpl.c (__cexpl): Likewise.
57499 * math/s_clog10.c (__clog10): Likewise.
57500 * math/s_clog10f.c (__clog10f): Likewise.
57501 * math/s_clog10l.c (__clog10l): Likewise.
57502 * math/s_clog.c (__clog): Likewise.
57503 * math/s_clogf.c (__clogf): Likewise.
57504 * math/s_clogl.c (__clogl): Likewise.
57505 * math/s_csin.c (__csin): Likewise.
57506 * math/s_csinf.c (__csinf): Likewise.
57507 * math/s_csinh.c (__csinh): Likewise.
57508 * math/s_csinhf.c (__csinhf): Likewise.
57509 * math/s_csinhl.c (__csinhl): Likewise.
57510 * math/s_csinl.c (__csinl): Likewise.
57511 * math/s_csqrt.c (__csqrt): Likewise.
57512 * math/s_csqrtf.c (__csqrtf): Likewise.
57513 * math/s_csqrtl.c (__csqrtl): Likewise.
57514 * math/s_ctan.c (__ctan): Likewise.
57515 * math/s_ctanf.c (__ctanf): Likewise.
57516 * math/s_ctanh.c (__ctanh): Likewise.
57517 * math/s_ctanhf.c (__ctanhf): Likewise.
57518 * math/s_ctanhl.c (__ctanhl): Likewise.
57519 * math/s_ctanl.c (__ctanl): Likewise.
57520 * math/w_pow.c: Likewise.
57521 * math/w_powf.c: Likewise.
57522 * math/w_powl.c: Likewise.
57523 * math/w_scalb.c (sysv_scalb): Likewise.
57524 * math/w_scalbf.c (sysv_scalbf): Likewise.
57525 * math/w_scalbl.c (sysv_scalbl): Likewise.
57526 * misc/error.c (error_tail): Likewise.
57527 * misc/pselect.c (__pselect): Likewise.
57528 * nis/nis_callback.c (__nis_create_callback): Likewise.
57529 * nis/nis_call.c (__nisfind_server): Likewise.
57530 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57531 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57532 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57533 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57534 * nis/nis_lookup.c (nis_lookup): Likewise.
57535 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57536 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57537 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57538 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57539 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57540 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57541 * nis/nss_compat/compat-initgroups.c (add_group)
57542 (internal_getgrent_r): Likewise.
57543 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57544 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57545 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57546 (internal_getspnam_r): Likewise.
57547 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57548 (_nss_nis_getaliasbyname_r): Likewise.
57549 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57550 (_nss_nis_getntohost_r): Likewise.
57551 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57552 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57553 (_nss_nis_getgrgid_r): Likewise.
57554 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57555 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57556 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57557 (_nss_nis_gethostbyname4_r): Likewise.
57558 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57559 (initgroups_netid): Likewise.
57560 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57561 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57562 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57563 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57564 (_nss_nis_getprotobynumber_r): Likewise.
57565 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57566 (_nss_nis_getsecretkey): Likewise.
57567 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57568 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57569 (_nss_nis_getpwuid_r): Likewise.
57570 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57571 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57572 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57573 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57574 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57575 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57576 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57577 Likewise.
57578 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57579 (_nss_nisplus_getntohost_r): Likewise.
57580 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57581 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57582 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57583 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57584 Likewise.
57585 * nis/nss_nisplus/nisplus-initgroups.c
57586 (_nss_nisplus_initgroups_dyn): Likewise.
57587 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57588 (_nss_nisplus_getnetbyaddr_r): Likewise.
57589 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57590 (_nss_nisplus_getprotobynumber_r): Likewise.
57591 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57592 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57593 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57594 Likewise.
57595 * nis/nss_nisplus/nisplus-service.c
57596 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57597 (_nss_nisplus_getservbyport_r): Likewise.
57598 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57599 (_nss_nisplus_getspnam_r): Likewise.
57600 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57601 Likewise.
57602 * nscd/aicache.c (addhstaiX): Likewise.
57603 * nscd/cache.c (cache_search, prune_cache): Likewise.
57604 * nscd/connections.c (register_traced_file, send_ro_fd)
57605 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57606 (main_loop_epoll): Likewise.
57607 * nscd/grpcache.c (addgrbyX): Likewise.
57608 * nscd/hstcache.c (addhstbyX): Likewise.
57609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57610 * nscd/mem.c (gc, mempool_alloc): Likewise.
57611 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57612 (addinnetgrX): Likewise.
57613 * nscd/nscd-client.h (__nscd_acquire_maplock)
57614 (__nscd_drop_map_ref): Likewise.
57615 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57616 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57617 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57618 Likewise.
57619 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57620 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57621 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57622 (__nscd_get_map_ref): Likewise.
57623 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57624 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57625 Likewise.
57626 * nscd/pwdcache.c (addpwbyX): Likewise.
57627 * nscd/selinux.c (preserve_capabilities): Likewise.
57628 * nscd/servicescache.c (addservbyX): Likewise.
57629 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57630 * posix/fnmatch.c (fnmatch): Likewise.
57631 * posix/getopt.c (_getopt_internal_r): Likewise.
57632 * posix/glob.c (glob, glob_in_dir): Likewise.
57633 * posix/wordexp.c (exec_comm_child): Likewise.
57634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57635 (getanswer_r, gaih_getanswer_slice): Likewise.
57636 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57637 * resolv/res_init.c: Likewise.
57638 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57639 * resolv/res_query.c (__libc_res_nquery): Likewise.
57640 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57641 Likewise.
57642 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57643 * stdio-common/perror.c (perror): Likewise.
57644 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57645 * stdio-common/tmpnam.c (tmpnam): Likewise.
57646 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57647 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57648 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57649 Likewise.
57650 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57651 * stdlib/putenv.c (putenv): Likewise.
57652 * stdlib/setenv.c (__add_to_environ): Likewise.
57653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57654 * stdlib/strtol_l.c (INTERNAL): Likewise.
57655 * string/memmem.c (memmem): Likewise.
57656 * string/strerror.c (strerror): Likewise.
57657 * string/strnlen.c (__strnlen): Likewise.
57658 * string/test-memmem.c (simple_memmem): Likewise.
57659 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57660 * sunrpc/pm_getport.c (__get_socket): Likewise.
57661 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57662 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57663 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57664 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57665 Likewise.
57666 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57667 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57668 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57669 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57670 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57671 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57672 Likewise.
57673 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57674 Likewise.
57675 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57676 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57678 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57679 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57681 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57682 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57683 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57684 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57685 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57686 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57687 Likewise.
57688 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57689 Likewise.
57690 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57691 Likewise.
57692 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57694 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57695 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57696 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57697 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57698 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57699 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57700 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57701 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57702 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57704 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57705 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57707 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57708 Likewise.
57709 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57710 Likewise.
57711 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57712 Likewise.
57713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57714 Likewise.
57715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57717 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57718 Likewise.
57719 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57720 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57721 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57722 * sysdeps/posix/sleep.c: Likewise.
57723 * sysdeps/posix/tempname.c: Likewise.
57724 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57725 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57726 Likewise.
57727 * sysdeps/powerpc/powerpc32/dl-machine.h
57728 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57729 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57731 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57732 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57733 Likewise.
57734 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57735 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57736 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57738 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57739 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57740 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57741 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57742 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57743 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57745 (elf_machine_lazy_rel): Likewise.
57746 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57748 (elf_machine_lazy_rel): Likewise.
57749 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57750 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57751 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57752 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57753 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57754 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57755 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57757 Likewise.
57758 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57759 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57760 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57761 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57762 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57763 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57764 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57765 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57766 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57767 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57768 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57769 Likewise.
57770 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57771 (__posix_fallocate64_l64): Likewise.
57772 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57773 (posix_fallocate): Likewise.
57774 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57775 Likewise.
57776 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57777 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57778 (getifaddrs_internal): Likewise.
57779 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57780 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57781 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57782 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57783 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57784 (__posix_fallocate64_l64): Likewise.
57785 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57786 Likewise.
57787 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57788 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57789 (__get_clockfreq): Likewise.
57790 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57791 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57792 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57795 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57796 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57797 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57798 Likewise.
57799 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57800 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57801 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57802 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57803 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57804 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57805 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57806 Likewise.
57807 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57808 (posix_fallocate): Likewise.
57809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57810 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57811 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57812 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57813 (elf_machine_rela, elf_machine_rela_relative)
57814 (elf_machine_lazy_rel): Likewise.
57815 * time/asctime.c (asctime_internal): Likewise.
57816 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57817 * time/tzset.c (__tzset_parse_tz): Likewise.
57818 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57819 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57820 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57821 * wcsmbs/wcsmbsload.h: Likewise.
57822
57823 [BZ #15894]
57824 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57825
57826 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57827 (arena_get2): Remove THREAD_STATS conditionals.
57828 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57829 (__malloc_stats, int): Likewise.
57830
57831 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57832
57833 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57834 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57835
57836 * manual/setjmp.texi: Fix typos/grammar errors.
57837
57838 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57839 Only return early when n is <= 0. Delete unused return statement.
57840
57841 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57842 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57843 * debug/tst-longjmp_chk3.c: New file.
57844
57845 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57846 (test_main): Replace code with set_fortify_handler call.
57847 * debug/test-strcpy_chk.c: Likewise.
57848 * debug/tst-chk1.c: Likewise.
57849 * debug/tst-longjmp_chk.c: Likewise.
57850 * test-skeleton.c: Include fcntl.h & paths.h
57851 (set_fortify_handler): Define.
57852
57853 * debug/tst-longjmp_chk.c: Add header comment and include
57854 ../test-skeleton.c.
57855 (do_test): Mark static.
57856 (TEST_FUNCTION): Define.
57857
57858 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57859 (IP_PMTUDISC_INTERFACE): Likewise.
57860 (IP_MULTICAST_IF): Likewise.
57861 (IP_MULTICAST_TTL): Likewise.
57862 (IP_MULTICAST_LOOP): Likewise.
57863 (IP_ADD_MEMBERSHIP): Likewise.
57864 (IP_DROP_MEMBERSHIP): Likewise.
57865 (IP_UNBLOCK_SOURCE): Likewise.
57866 (IP_BLOCK_SOURCE): Likewise.
57867 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57868 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57869 (IP_MSFILTER): Likewise.
57870 (MCAST_JOIN_GROUP): Likewise.
57871 (MCAST_BLOCK_SOURCE): Likewise.
57872 (MCAST_UNBLOCK_SOURCE): Likewise.
57873 (MCAST_LEAVE_GROUP): Likewise.
57874 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57875 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57876 (MCAST_MSFILTER): Likewise.
57877 (IP_MULTICAST_ALL): Likewise.
57878 (IP_UNICAST_IF): Likewise.
57879
57880 * timezone/Makefile: Delete $(have-ksh) check.
57881 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57882 * timezone/tzselect.ksh: Add +x mode bits.
57883
57884 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57885 (ANON_INODE_FS_MAGIC): Likewise.
57886 (BDEVFS_MAGIC): Likewise.
57887 (BINFMTFS_MAGIC): Likewise.
57888 (BTRFS_TEST_MAGIC): Likewise.
57889 (CRAMFS_MAGIC_WEND): Likewise.
57890 (DEBUGFS_MAGIC): Likewise.
57891 (ECRYPTFS_SUPER_MAGIC): Likewise.
57892 (EXT3_SUPER_MAGIC): Likewise.
57893 (EXT4_SUPER_MAGIC): Likewise.
57894 (FUTEXFS_SUPER_MAGIC): Likewise.
57895 (HOSTFS_SUPER_MAGIC): Likewise.
57896 (HUGETLBFS_MAGIC): Likewise.
57897 (MINIX3_SUPER_MAGIC): Likewise.
57898 (MTD_INODE_FS_MAGIC): Likewise.
57899 (NILFS_SUPER_MAGIC): Likewise.
57900 (OPENPROM_SUPER_MAGIC): Likewise.
57901 (PIPEFS_MAGIC): Likewise.
57902 (PSTOREFS_MAGIC): Likewise.
57903 (QNX6_SUPER_MAGIC): Likewise.
57904 (RAMFS_MAGIC): Likewise.
57905 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57906 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57907 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57908 (SECURITYFS_MAGIC): Likewise.
57909 (SELINUX_MAGIC): Likewise.
57910 (SMACK_MAGIC): Likewise.
57911 (SOCKFS_MAGIC): Likewise.
57912 (SQUASHFS_MAGIC): Likewise.
57913 (STACK_END_MAGIC): Likewise.
57914 (TMPFS_MAGIC): Likewise.
57915 (USBDEVICE_SUPER_MAGIC): Likewise.
57916 (V9FS_MAGIC): Likewise.
57917 (XENFS_SUPER_MAGIC): Likewise.
57918 (CRAMFS_MAGIC): Fix typo in comment.
57919 (EXT2_SUPER_MAGIC): Update comment.
57920 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57921
57922 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57923
57924 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57925 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57926 * sysdeps/unix/sysv/linux/arm: Move directory from
57927 ports/sysdeps/unix/sysv/linux/arm.
57928 * README: Update listing for arm-*-linux-gnueabi.
57929
57930 * README: Remove mention of am33.
57931
57932 2014-02-07 Roland McGrath <roland@hack.frob.com>
57933
57934 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57935 than the comma operator, to avoid "rhs of comma has no effect"
57936 compiler warnings.
57937 (__sigfillset, __sigandset, __sigorset): Likewise.
57938 * include/signal.h (__sigemptyset): Likewise.
57939 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57940
57941 2014-02-07 Allan McRae <allan@archlinux.org>
57942
57943 * version.h (RELEASE): Set to "development".
57944 (VERSION): Set to "2.19.90"
57945 * NEWS: Add 2.20 section.
57946
57947 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57948
57949 [BZ #16529]
57950 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57951
57952 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57953
57954 * manual/contrib.texi: Update entry for Carlos O'Donell,
57955 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57956
57957 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57958
57959 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57960
57961 * sysdeps/unix/sysv/linux/kernel-features.h
57962 [__LINUX_KERNEL_VERSION >= 0x020621]
57963 (__ASSUME_PROC_PID_TASK_COMM): Define.
57964
57965 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57966
57967 [BZ #16398]
57968 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57969 conversion when destination buffer does not have enough space.
57970 * libio/tst-ftell-partial-wide.c: New test case.
57971 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57972
57973 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57974 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57975 Leonard and Allan McRae.
57976
57977 2014-02-04 David S. Miller <davem@davemloft.net>
57978
57979 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57980 32-bit.
57981
57982 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57983
57984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57985 New file
57986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57987 New file
57988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57989 New file.
57990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57991 New file.
57992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57993 New file.
57994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57995 New file.
57996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57997 New file.
57998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57999 New file.
58000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58001 New file.
58002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58003 New file.
58004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58005 New file.
58006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58007 New file.
58008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58009 New file.
58010
58011 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58012
58013 * nptl/shlib-versions: Change powerpc*le start to 2.17.
58014 * shlib-versions: Likewise.
58015
58016 2014-02-04 Roland McGrath <roland@hack.frob.com>
58017 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58018
58019 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58020 (abilist-pattern): New variable, set to %-le.abilist.
58021
58022 * Makerules (abilist-pattern): New variable.
58023 (vpath): Use $(abilist-pattern) in place of %.abilist.
58024 (check-abi-% pattern rule): Likewise.
58025 (check-abi, update-abi): Likewise.
58026
58027 2014-02-04 Eric Wong <normalperson@yhbt.net>
58028
58029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58030
58031 2014-02-03 Carlos O'Donell <carlos@redhat.com>
58032
58033 * manual/startup.texi: Add next, previous, and top entries for
58034 the `Program Arguments' and `Environment Variables' nodes.
58035
58036 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
58037
58038 * manual/macros.texi: Add comments before MTASC-safety macros.
58039
58040 * manual/users.texi: Document MTASC-safety properties.
58041
58042 * manual/threads.texi (pthread_key_create, pthread_key_delete)
58043 (pthread_getspecific, pthread_setspecific): Format with
58044 @deftypefun, and add @safety note.
58045 * manual/signal.texi: Move comments that analyze the above
58046 functions to their home place.
58047
58048 2014-02-03 Allan McRae <allan@archlinux.org>
58049
58050 * po/sl.po: Update Slovenian translation from translation project.
58051
58052 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
58053
58054 * manual/time.texi (timegm): Add missing blank after @c.
58055 Reported by Joseph Myers <joseph@codesourcery.com>.
58056
58057 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
58058
58059 * manual/check-safety.sh: New.
58060 * manual/Makefile ($(objpfx)stamp-summary): Run it.
58061
58062 * manual/terminal.texi: Document MTASC-safety properties.
58063
58064 * manual/filesys.texi: Document MTASC-safety properties.
58065
58066 * manual/errno.texi: Document MTASC-safety properties.
58067
58068 * manual/intro.texi: Document safety identifiers and
58069 conditionals.
58070
58071 * manual/string.texi (wcstok): Fix prototype.
58072 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58073
58074 * manual/time.texi: Document MTASC-safety properties.
58075
58076 * manual/string.texi: Document MTASC-safety properties.
58077
58078 * manual/threads.texi: Document MTASC-safety properties.
58079
58080 * manual/stdio.texi: Document MTASC-safety properties.
58081
58082 * manual/syslog.texi: Document MTASC-safety properties.
58083
58084 * manual/sysinfo.texi: Document MTASC-safety properties.
58085
58086 * manual/startup.texi: Document MTASC-safety properties.
58087
58088 * manual/socket.texi: Document MTASC-safety properties.
58089
58090 * manual/signal.texi: Document MTASC-safety properties.
58091
58092 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
58093
58094 * manual/setjmp.texi: Document MTASC-safety properties.
58095
58096 * manual/search.texi: Document MTASC-safety properties.
58097
58098 * manual/resource.texi: Document MTASC-safety properties.
58099
58100 * manual/process.texi: Document MTASC-safety properties.
58101
58102 * manual/platform.texi: Document MTASC-safety properties.
58103
58104 * manual/pipe.texi: Document MTASC-safety properties.
58105
58106 * manual/pattern.texi: Document MTASC-safety properties.
58107
58108 * manual/message.texi: Document MTASC-safety properties.
58109
58110 [BZ #12751]
58111 * manual/memory.texi: Document MTASC-safety properties.
58112
58113 * manual/math.texi: Document MTASC-safety properties.
58114
58115 * manual/locale.texi: Document MTASC-safety properties.
58116
58117 * manual/llio.texi: Document MTASC-safety properties.
58118
58119 * manual/libdl.texi: New.
58120
58121 * manual/lang.texi: Document MTASC-safety properties.
58122
58123 * manual/job.texi: Document MTASC-safety properties.
58124
58125 * manual/getopt.texi: Document MTASC-safety properties.
58126
58127 * manual/ctype.texi: Document MTASC-safety properties.
58128
58129 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
58130
58131 [BZ #16046]
58132 * csu/libc-tls.c (static_map): Remove variable.
58133 (__libc_setup_tls): Use main executable's link map for TLS data.
58134 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58135 casing for LM_ID_BASE and GL(dl_nns).
58136 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58137 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
58138 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58139 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58140 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58141 member.
58142 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58143 l_phnum members.
58144
58145 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
58146
58147 * manual/debug.texi: Document MTASC-safety properties.
58148
58149 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
58150
58151 [BZ #16510]
58152 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58153 of __x86_64__ when disabling x87 inline functions.
58154
58155 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
58156
58157 * manual/charset.texi: Document MTASC-safety properties.
58158
58159 * manual/crypt.texi: Document MTASC-safety properties.
58160
58161 * manual/conf.texi: Document MTASC-safety properties.
58162
58163 * manual/arith.texi: Document MTASC-safety properties.
58164
58165 * manual/argp.texi: Document MTASC-safety properties.
58166
58167 * manual/macros.texi: Introduce macros to document multi
58168 thread, asynchronous signal and asynchronous cancellation
58169 safety properties.
58170 * manual/intro.texi: Introduce the properties themselves.
58171
58172 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58173
58174 * sysdeps/sh/sh4/Makefile: New file.
58175
58176 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
58177
58178 * math/gen-libm-test.pl ($srcdir): New variable.
58179 ($auto_input): Use it.
58180
58181 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58182
58183 [BZ #16506]
58184 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58185 access beyond array bounds when parsing netgroups file.
58186
58187 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58188 the old buffer before realloc.
58189
58190 2014-01-27 Allan McRae <allan@archlinux.org>
58191
58192 * po/fr.po: Update French translation from translation project.
58193
58194 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58195
58196 * sysdeps/sh/libm-test-ulps: Regenerate.
58197
58198 2014-01-24 David S. Miller <davem@davemloft.net>
58199
58200 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58201
58202 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58203
58204 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58205 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58206
58207 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58208
58209 [BZ #16474]
58210 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58211 string pointers after reallocation.
58212
58213 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58214
58215 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58216 __SH4A__ instead of __SH_FPU_ANY__.
58217
58218 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58219
58220 * sysdeps/sh/fpu_control.h: New file.
58221 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58222 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58223 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58224 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58225 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58226 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58227 * sysdeps/sh/sys/ucontext.h: Remove.
58228 * sysdeps/sh/sys: Remove directory.
58229
58230 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58231
58232 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58233 s390/sys/ucontext.h.
58234 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58235 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58236
58237 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58238
58239 [BZ #15605]
58240 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58241
58242 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58243
58244 [BZ #16431]
58245 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58246 Adjust the vDSO correctly for internal calls.
58247 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58248
58249 2014-01-20 Allan McRae <allan@archlinux.org>
58250
58251 * po/ca.po: Update Catalan translation from translation project.
58252
58253 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58254
58255 * sysdeps/s390/sotruss-lib.c: New file.
58256
58257 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58258
58259 [BZ #16430]
58260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58261 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58262 local calls issues by not having a PLT stub required for IFUNC calls.
58263 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58264
58265 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58266
58267 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58268 * math/test-fpucw-static.c: Likewise.
58269
58270 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58271
58272 [BZ #16453]
58273 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58274
58275 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58276
58277 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58278 implementation for powerpc.
58279
58280 2014-01-15 Ondƙej Bílka <neleai@seznam.cz>
58281
58282 [BZ #14782]
58283 * sysdeps/posix/system.c (__libc_system): Do not enable
58284 asynchronous cancellation.
58285
58286 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58287
58288 [BZ #16427]
58289 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58290 handling only for numbers special also in the IEEE case.
58291
58292 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58293
58294 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58295
58296 2014-01-11 Allan McRae <allan@archlinux.org>
58297
58298 * po/bg.po: Update Bulgarian translation from translation project.
58299
58300 * po/de.po: Update German translation from translation project.
58301
58302 2014-01-10 Roland McGrath <roland@hack.frob.com>
58303
58304 * sysdeps/generic/gcc-compat.h: New file.
58305
58306 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58307
58308 * benchtests/asin-inputs: Correct slow inputs.
58309 * benchtests/acos-inputs: Likewise.
58310
58311 2014-01-10 Allan McRae <allan@archlinux.org>
58312
58313 * po:sv.po: Update Swedish translation from translation project.
58314
58315 * po/vi.po: Update Vietnamese translation from translation project.
58316
58317 * po/eo.po: Update Esperanto translation from translation project.
58318
58319 * po/cs.po: Update Czech translation from translation project.
58320
58321 * po/nl.po: Update Dutch translation from translation project.
58322
58323 * po/pl.po: Update Polish translation from translation project.
58324
58325 * po/ru.po: Update Russian translation from translation project.
58326
58327 * po/uk.po: Update Ukrainian translation from translation project.
58328
58329 2014-01-08 Brooks Moses <bmoses@google.com>
58330
58331 * elf/dl-load.c: Fix comment typo.
58332
58333 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58334
58335 * po/header.pot: Rename to...
58336 * po/pot.header: ... this.
58337 * po/Makefile: Use pot.header.
58338
58339 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58340 Maxim Kuvyrkov <maxim@kugelworks.com>
58341
58342 [BZ #16394]
58343 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58344 SRC and DEST against LEN.
58345
58346 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58347
58348 [BZ #16414]
58349 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58350 implementation.
58351 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58352
58353 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58354
58355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58356
58357 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58358
58359 [BZ #16408]
58360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58361 for large positive arguments.
58362
58363 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58364
58365 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58366
58367 * math/auto-libm-test-in: Mark various tests with
58368 xfail-rounding:ldbl-128ibm.
58369 * math/auto-libm-test-out: Regenerated.
58370
58371 [BZ #16407]
58372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58373 Increase overflow threshold.
58374
58375 2014-01-07 Ondƙej Bílka <neleai@seznam.cz>
58376
58377 [BZ #14286]
58378 * stdio-common/vfprintf.c: Check for integer overflow.
58379
58380 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58381
58382 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58383 the first argument and return value of __tls_get_addr_internal.
58384
58385 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58386
58387 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58388 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58389
58390 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58391
58392 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58393 * sysdeps/s390/rtld-global-offsets.sym: New file.
58394 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58395 GLIBC_2.19 symbol.
58396 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58397 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58398 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58399 ... this.
58400 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58401 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58402 ... this.
58403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58404 Regenerate.
58405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58406 Regenerate.
58407 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58408 halfs of GPRs for high_gprs contexts.
58409 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58410 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58411 field.
58412 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58413 uc_flags field.
58414 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58415 64 bit versions:
58416 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58417 for high GPRs (uc_high_gprs) and for future extensions
58418 (__reserved).
58419 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58420 for future extensions (__reserved).
58421 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58422 64 bit versions:
58423 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58424 SC_HIGHGPRS offset definition.
58425 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58426 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58427
58428 * Versions.def: Add GLIBC_2.19 for libpthread.
58429 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58430 siglongjmp for libpthread with GLIBC_2.19 symver.
58431 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58432 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58433 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58434 * sysdeps/s390/__longjmp.c: New file.
58435 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58436 * sysdeps/s390/longjmp.c: New file.
58437 * sysdeps/s390/setjmp.S: New file.
58438 * sysdeps/s390/sigjmp.S: New file.
58439 * sysdeps/s390/v1-longjmp.c: New file.
58440 * sysdeps/s390/v1-setjmp.h: New file.
58441 * sysdeps/s390/v1-sigjmp.c: New file.
58442 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58443 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58444 GLIBC_2.19 version.
58445 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58446 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58447 versioned symbols for ____longjmp_chk.
58448 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58449 Likewise.
58450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58451 Regenerate.
58452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58453 Regenerate.
58454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58455 Regenerate.
58456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58457 Regenerate.
58458 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58459 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58460 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58461 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58462 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58463 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58464 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58465 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58466 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58467 * sysdeps/s390/rtld-__longjmp.c: New file.
58468 * sysdeps/s390/rtld-setjmp.S: New file.
58469
58470 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58471
58472 [BZ #16400]
58473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58474 Return -__logl (x) for small positive arguments without evaluating
58475 a polynomial.
58476
58477 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58478
58479 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58480 Rename to ...
58481 (__ptrace_peeksiginfo_args): ... this.
58482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58485
58486 2014-01-06 Allan McRae <allan@archlinux.org>
58487
58488 * inet/netinet/in.h: Fix typo in comment.
58489
58490 2014-01-05 Andreas Jaeger <aj@suse.de>
58491
58492 * sysdeps/i386/fpu/libm-test-ulps: Update.
58493
58494 2014-01-05 Allan McRae <allan@archlinux.org>
58495
58496 * po/libc.pot: Regenerated.
58497
58498 * malloc/memusagestat.c: Fix gettext call formatting.
58499
58500 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58501
58502 * nscd/nscd.c: Improve usage() output.
58503
58504 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58505
58506 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58507 * sysdeps/unix/sysv/linux/configure: Regenerated.
58508 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58509 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58510
58511 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58512
58513 [BZ #16390]
58514 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58515 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58516
58517 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58518
58519 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58520 extra tokens at end of #undef directive.
58521 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58522 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58523 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58524
58525 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58526
58527 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58528
58529 * math/auto-libm-test-in: Mark various tests with
58530 xfail-rounding:ldbl-128ibm.
58531 * math/auto-libm-test-out: Regenerated.
58532
58533 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58534
58535 [BZ #16386]
58536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58537 numbers with subnormal high part when calculating exponent.
58538
58539 [BZ #16385]
58540 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58541 fabs.
58542
58543 [BZ #16384]
58544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58545 M_LN2l.
58546 (__ieee754_acoshl): Use __log1pl not __log1p.
58547
58548 2013-01-02 Ondƙej Bílka <neleai@seznam.cz>
58549
58550 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58551 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58552 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58553 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58554 (reused_arena, arena_get2): Convert to GNU style.
58555 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58556 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58557 (memalign_check, __malloc_set_state): Likewise.
58558 * malloc/mallocbug.c (main): Likewise.
58559 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58560 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58561 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58562 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58563 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58564 (__posix_memalign, malloc_info): Likewise.
58565 * malloc/malloc.h: Likewise.
58566 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58567 (mallochook, memalignhook, reallochook, mabort): Likewise.
58568 * malloc/mcheck.h: Likewise.
58569 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58570 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58571 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58572 * malloc/morecore.c (__default_morecore): Likewise.
58573 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58574 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58575 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58576 (print_and_abort): Likewise.
58577 * malloc/obstack.h: Likewise.
58578 * malloc/set-freeres.c (__libc_freeres): Likewise.
58579 * malloc/tst-mallocstate.c (main): Likewise.
58580 * malloc/tst-mtrace.c (main): Likewise.
58581 * malloc/tst-realloc.c (do_test): Likewise.
58582
58583 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58584
58585 [BZ #16366]
58586 * nscd/netgroupcache.c (do_notfound): New function.
58587 (addgetnetgrentX): Use it.
58588
58589 [BZ # 16365]
58590 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58591 NSS_STATUS_NOTFOUND.
58592
58593 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58594
58595 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58597
58598 2014-01-01 Allan McRae <allan@archlinux.org>
58599
58600 * scripts/update-copyrights: Update configure input file suffix.
58601
58602 * NEWS: Update copyright year.
58603 * catgets/gencat.c: Likewise.
58604 * csu/version.c: Likewise.
58605 * debug/catchsegv.sh: Likewise.
58606 * debug/pcprofiledump.c: Likewise.
58607 * debug/xtrace.sh: Likewise.
58608 * elf/ldconfig.c: Likewise.
58609 * elf/ldd.bash.in: Likewise.
58610 * elf/pldd.c: Likewise.
58611 * elf/sotruss.ksh: Likewise.
58612 * elf/sprof.c: Likewise.
58613 * iconv/iconv_prog.c: Likewise.
58614 * iconv/iconvconfig.c: Likewise.
58615 * locale/programs/locale.c: Likewise.
58616 * locale/programs/localedef.c: Likewise.
58617 * login/programs/pt_chown.c: Likewise.
58618 * malloc/memusage.sh: Likewise.
58619 * malloc/memusagestat.c: Likewise.
58620 * malloc/mtrace.pl: Likewise.
58621 * manual/libc.texinfo: Likewise.
58622 * nscd/nscd.c: Likewise.
58623 * nss/getent.c: Likewise.
58624 * nss/makedb.c: Likewise.
58625 * posix/getconf.c: Likewise.
58626 * scripts/test-installation.pl: Likewise.
58627
58628 * All files with FSF copyright notices: Update copyright dates
58629 using scripts/update-copyrights.
58630 * intl/plural.c: Regenerated.
58631 * locale/programs/charmap-kw.h: Likewise.
58632 * locale/programs/locfile-kw.h: Likewise.
58633
58634 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58635
58636 * sysdeps/unix/sysv/linux/configure: Regenerated.
58637 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58638 the linux/fanotify.h header.
58639 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58640 HAVE_LINUX_FANOTIFY_H is defined.
58641
58642 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58643
58644 * benchtests/cos-inputs: New inputs.
58645 * benchtests/sin-inputs: Likewise.
58646
58647 * benchtests/atan-inputs: New inputs. Fix name of multiple
58648 precision fallback inputs.
58649
58650 * benchtests/atanh-inputs: New inputs.
58651 * benchtests/tanh-inputs: Likewise.
58652
58653 * benchtests/acosh-inputs: New inputs.
58654 * benchtests/asinh-inputs: Likewise.
58655
58656 * benchtests/cosh-inputs: New inputs.
58657 * benchtests/sinh-inputs: Likewise.
58658
58659 * benchtests/acos-inputs: Add more inputs.
58660 * benchtests/asin-inputs: Likewise.
58661
58662 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58663
58664 [BZ #16375]
58665 * manual/arith.texi: Fix spelling.
58666 * manual/charset.texi: Likewise.
58667 * manual/errno.texi: Likewise.
58668 * manual/filesys.texi: Likewise.
58669 * manual/lang.texi: Likewise.
58670 * manual/llio.texi: Likewise.
58671 * manual/locale.texi: Likewise.
58672 * manual/message.texi: Likewise.
58673 * manual/resource.texi: Likewise.
58674 * manual/search.texi: Likewise.
58675 * manual/setjmp.texi: Likewise.
58676 * manual/stdio.texi: Likewise.
58677 * manual/string.texi: Likewise.
58678 * manual/sysinfo.texi: Likewise.
58679 * manual/time.texi: Likewise.
58680
58681 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58682
58683 * po/sl.po: New file.
58684
58685 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58686
58687 * .gitignore: Add core/.gdbinit/.gdb_history.
58688
58689 2013-12-27 Allan McRae <allan@archlinux.org>
58690
58691 [BZ #16369]
58692 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58693 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58694
58695 2013-12-24 Brooks Moses <bmoses@google.com>
58696
58697 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58698 all compilers that claim C++98 compliance, not just GCC.
58699 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58700 Likewise.
58701
58702 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58703
58704 * NEWS: Restore accidentally deleted bug-fix entries.
58705
58706 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58707 Ondƙej Bílka <neleai@seznam.cz>
58708
58709 [BZ #15073]
58710 * malloc/malloc.c (_int_free): Perform sanity check only if we
58711 have_lock.
58712
58713 2013-12-23 Ondƙej Bílka <neleai@seznam.cz>
58714
58715 [BZ #12986]
58716 * manual/stdio.texi (String Input Conversions): Clarify that character
58717 classes are not supported.
58718
58719 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58720
58721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58722
58723 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58724
58725 [BZ #16337]
58726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58727 Calculate results for small negative arguments directly rather
58728 than using reflection formula with special underflow handling.
58729
58730 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58731 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58732 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58733 (fchflags): Likewise.
58734 (revoke): Likewise.
58735 (setlogin): Likewise.
58736 (sigaltstack): Likewise.
58737 (wait4): Likewise.
58738 (sigblock): Remove.
58739 (sigsetmask): Likewise.
58740 (wait3): Likewise.
58741 (waitpid): Likewise.
58742 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58743 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58744 file.
58745 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58746 * sysdeps/unix/bsd/Makefile: ... here.
58747 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58748 * sysdeps/unix/bsd/Versions: ... here.
58749 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58750 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58751 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58752 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58753 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58754 * sysdeps/unix/bsd/sigblock.c: ... here.
58755 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58756 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58757 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58758 * sysdeps/unix/bsd/sigvec.c: ... here.
58759 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58760 * sysdeps/unix/bsd/tcdrain.c: ... here.
58761 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58762 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58763 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58764 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58765 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58766 * sysdeps/unix/bsd/wait.c: ... here.
58767 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58768 * sysdeps/unix/bsd/wait3.c: ... here.
58769 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58770 * sysdeps/unix/bsd/waitpid.c: ... here.
58771
58772 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58773
58774 [BZ #16356]
58775 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58776 round-to-nearest for [!USE_AS_EXPM1L].
58777 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58778 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58779 more tests of exp and exp10. Expect some exp10 tests to miss
58780 exceptions or fail in directed rounding modes.
58781 * math/auto-libm-test-out: Regenerated.
58782 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58783 (exp10_test_tonearest): New function.
58784 (exp10_towardzero_test_data): New array.
58785 (exp10_test_towardzero): New function.
58786 (exp10_downward_test_data): New array.
58787 (exp10_test_downward): New function.
58788 (exp10_upward_test_data): New array.
58789 (exp10_test_upward): New function.
58790 (main): Call the new functions.
58791 * sysdeps/i386/fpu/libm-test-ulps: Update.
58792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58793
58794 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58795
58796 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58797 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58798 * math/auto-libm-test-out: Regenerated.
58799 * math/libm-test.inc (acosh_test_data): Add more tests.
58800 (atanh_test_data): Likewise.
58801 (ceil_test_data): Likewise.
58802 (copysign_test_data): Likewise.
58803 * sysdeps/i386/fpu/libm-test-ulps: Update.
58804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58805
58806 * timezone/checktab.awk: Update from tzcode 2013i.
58807 * timezone/private.h: Likewise.
58808 * timezone/scheck.c: Likewise.
58809 * timezone/tzfile.h: Likewise.
58810 * timezone/tzselect.ksh: Likewise.
58811 * timezone/zdump.c: Likewise.
58812 * timezone/zic.c: Likewise.
58813
58814 * math/auto-libm-test-in: Add tests of cpow.
58815 * math/auto-libm-test-out: Regenerated.
58816 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58818 mpc_cc_c.
58819 (func_calc_desc): Add mpc_cc_c union field.
58820 (test_functions): Add cpow.
58821 (special_fill_2pi): New function.
58822 (special_real_inputs): Add 2pi.
58823 (calc_generic_results): Handle mpc_cc_c.
58824 * sysdeps/i386/fpu/libm-test-ulps: Update.
58825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58826
58827 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58828 csqrt, ctan and ctanh.
58829 * math/auto-libm-test-out: Regenerated.
58830 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58831 (TEST_COND_x86): Likewise.
58832 (ccos_test_data): Use AUTO_TESTS_c_c.
58833 (ccosh_test_data): Likewise.
58834 (cexp_test_data): Likewise.
58835 (clog_test_data): Likewise.
58836 (csqrt_test_data): Likewise.
58837 (ctan_test_data): Likewise.
58838 (ctan_tonearest_test_data): Likewise.
58839 (ctan_towardzero_test_data): Likewise.
58840 (ctan_downward_test_data): Likewise.
58841 (ctan_upward_test_data): Likewise.
58842 (ctanh_test_data): Likewise.
58843 (ctanh_tonearest_test_data): Likewise.
58844 (ctanh_towardzero_test_data): Likewise.
58845 (ctanh_downward_test_data): Likewise.
58846 (ctanh_upward_test_data): Likewise.
58847 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58848 mpc_c_c.
58849 (func_calc_desc): Add mpc_c_c union field.
58850 (FUNC_mpc_c_c): New macro.
58851 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58852 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58853 ctanh.
58854 (special_fill_min_subnorm_p120): New function.
58855 (special_real_inputs): Add min_subnorm_p120.
58856 (calc_generic_results): Handle mpc_c_c.
58857 * sysdeps/i386/fpu/libm-test-ulps: Update.
58858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58859
58860 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58861
58862 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58863 (do_sin_slow): New functions.
58864 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58865 (cslow2, csloww1, csloww2): Use the new functions.
58866
58867 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58868 Use M to change sign of result instead of X. Assume X is
58869 positive.
58870 (csloww1): Likewise.
58871 (__sin): Adjust.
58872 (__cos): Adjust.
58873
58874 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58875 arguments A and DA.
58876 (__sin): Adjust.
58877 (__cos): Likewise.
58878
58879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58880 (__cos): Likewise.
58881 (sloww1): Don't adjust sign of DX.
58882 (csloww1): Likewise.
58883 (sloww2): Use X directly and don't adjust sign of DX.
58884 (csloww2): Likewise.
58885
58886 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58887
58888 * math/auto-libm-test-in: Add tests of cabs and carg.
58889 * math/auto-libm-test-out: Regenerated.
58890 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58891 (carg_test_data): Likewise.
58892 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58893 mpc_c_f.
58894 (func_calc_desc): Add mpc_c_f union field.
58895 (test_functions): Add cabs and carg.
58896 (calc_generic_results): Handle mpc_c_f.
58897
58898 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58899 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58900 as a macro and a compat symbol.
58901 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58902 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58903 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58904 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58905 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58906 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58907 not use .hidden.
58908 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58909 Likewise.
58910 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58911 Likewise.
58912 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58913 Likewise.
58914 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58915 Likewise.
58916 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58917 Likewise.
58918 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58919 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58920 from GLIBC_2.3.2.
58921
58922 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58923
58924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58925
58926 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58927
58928 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58929 trailing whitespace removed.
58930 * scripts/config.guess: Update to version 2013-11-29.
58931 * scripts/config.sub: Update to version 2013-10-01.
58932
58933 * math/auto-libm-test-in: Add tests of sincos.
58934 * math/auto-libm-test-out: Regenerated.
58935 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58936 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58937 mpfr_f_11.
58938 (func_calc_desc): Add mpfr_f_11 union field.
58939 (test_functions): Add sincos.
58940 (calc_generic_results): Handle mpfr_f_11.
58941 * sysdeps/i386/fpu/libm-test-ulps: Update.
58942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58943
58944 2013-12-19 Andreas Schwab <schwab@suse.de>
58945
58946 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58947 CALL_MCOUNT.
58948 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58949 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58950 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58951
58952 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58953
58954 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58955 * sysdeps/i386/fpu/libm-test-ulps: Update.
58956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58957
58958 [BZ #16293]
58959 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58960 round-to-nearest mode when using frndint.
58961 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58962 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58963 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58964 Likewise.
58965 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58966 sinh test to fail.
58967 * math/auto-libm-test-out: Regenerated.
58968 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58969 (TEST_COND_x86): Likewise.
58970 (expm1_tonearest_test_data): New array.
58971 (expm1_test_tonearest): New function.
58972 (expm1_towardzero_test_data): New array.
58973 (expm1_test_towardzero): New function.
58974 (expm1_downward_test_data): New array.
58975 (expm1_test_downward): New function.
58976 (expm1_upward_test_data): New array.
58977 (expm1_test_upward): New function.
58978 (main): Run the new test functions.
58979 * sysdeps/i386/fpu/libm-test-ulps: Update.
58980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58981
58982 * include/features.h: Update comment documenting feature test
58983 macros. Mention _DEFAULT_SOURCE in comment.
58984 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58985 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58986 _BSD_SOURCE and _SVID_SOURCE.
58987 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58988 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58989 !_SVID_SOURCE]: Likewise.
58990 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58991 (__USE_POSIX_IMPLICITLY): Define.
58992 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58993 (_POSIX_SOURCE): Undefine and redefine.
58994 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58995 (_POSIX_C_SOURCE): Likewise.
58996 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58997 (Feature Test Macros): Update documentation of default features.
58998
58999 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
59000
59001 * benchtests/Makefile: Add bench-strtok.
59002 * benchtests/bench-strtok.c: New file: strtok benchtest.
59003
59004 2013-12-19 Allan McRae <allan@archlinux.org>
59005
59006 * manual/install.texi: Suppress menu for plain text output.
59007 * INSTALL: Regenerated.
59008
59009 2013-12-18 Brooks Moses <bmoses@google.com>
59010
59011 [BZ #15846]
59012 * misc/getauxval.c: Include errno.h.
59013 (__getauxval): Set errno to ENOENT if the requested type is not
59014 found.
59015 * misc/sys/auxv.h (getauxval): Document that it may set errno;
59016 don't declare with __attribute_const__.
59017 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59018 * manual/startup.texi: Document that getauxval sets errno.
59019
59020 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59021
59022 * math/auto-libm-test-in: Add tests of jn and yn.
59023 * math/auto-libm-test-out: Regenerated.
59024 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59025 (yn_test_data): Likewise.
59026 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59027 mpfr_if_f.
59028 (func_calc_desc): Add mpfr_if_f union field.
59029 (FUNC_mpfr_if_f): New macro.
59030 (test_functions): Add jn and yn.
59031 (calc_generic_results): Assert type of second input for
59032 mpfr_ff_f. Handle mpfr_if_f.
59033 (output_for_one_input_case): Disable all checking for arguments
59034 fitting floating-point types in case of an integer argument.
59035 * sysdeps/i386/fpu/libm-test-ulps: Update.
59036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59037
59038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59039 Don't expect fegetround reference in libm.so.
59040
59041 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59042
59043 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59044 $(config-cflags-nofma).
59045
59046 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59047
59048 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59049 * math/auto-libm-test-out: Regenerated.
59050
59051 [BZ #16338]
59052 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59053 to determine exponent and adjust argument to have exponent of -1.
59054 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59055 log2.
59056 * math/auto-libm-test-out: Regenerated.
59057 * sysdeps/i386/fpu/libm-test-ulps: Update.
59058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59059
59060 2013-12-18 Ondƙej Bílka <neleai@seznam.cz>
59061
59062 * manual/probes.texi: Remove cases when per-thread arenas are
59063 disabled.
59064
59065 2013-12-18 Andreas Schwab <schwab@suse.de>
59066
59067 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59068 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59069 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59070 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59071 * sysdeps/i386/i686/multiarch/Makefile: Update.
59072 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59073
59074 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59075
59076 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59077 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59078
59079 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
59080
59081 [BZ #15968]
59082 Support TZ transition times < 00:00:00.
59083 This is needed for version-3 tz-format files; it supports time
59084 stamps past 2037 for America/Godthab (the only entry in the tz
59085 database for which this change is relevant).
59086 * manual/time.texi (TZ Variable): Document transition times
59087 from -167:59:59 through -00:00:01.
59088 * time/tzset.c (tz_rule): Time of day is now signed.
59089 (__tzset_parse_tz): Parse negative time of day.
59090
59091 Document TZ transition times >= 25:00:00.
59092 * manual/time.texi (TZ Variable): Document transition times from
59093 25:00:00 through 167:59:59. These are already supported, and this
59094 support will help with version-3 tz-format files.
59095
59096 * manual/time.texi (TZ Variable): Modernize North America example
59097 to reflect current (i.e., 2007-and-later) daylight saving rules.
59098
59099 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59100
59101 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59102
59103 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59104 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59107 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59108 * sysdeps/unix/bsd/bsdstat.h: Likewise.
59109 * sysdeps/unix/bsd/clock.c: Likewise.
59110 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59111 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59112 * sysdeps/unix/bsd/init-posix.c: Likewise.
59113 * sysdeps/unix/bsd/poll.c: Likewise.
59114 * sysdeps/unix/bsd/ptsname.c: Likewise.
59115 * sysdeps/unix/bsd/seekdir.c: Likewise.
59116 * sysdeps/unix/bsd/setegid.c: Likewise.
59117 * sysdeps/unix/bsd/seteuid.c: Likewise.
59118 * sysdeps/unix/bsd/setgid.c: Likewise.
59119 * sysdeps/unix/bsd/setrgid.c: Likewise.
59120 * sysdeps/unix/bsd/setruid.c: Likewise.
59121 * sysdeps/unix/bsd/setsid.c: Likewise.
59122 * sysdeps/unix/bsd/setuid.c: Likewise.
59123 * sysdeps/unix/bsd/sigaction.c: Likewise.
59124 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59125 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59126 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59127 * sysdeps/unix/bsd/telldir.c: Likewise.
59128 * sysdeps/unix/bsd/times.c: Likewise.
59129 * sysdeps/unix/bsd/usleep.c: Likewise.
59130
59131 * misc/Makefile (install-lib): Remove libbsd-compat.a.
59132 ($(objpfx)libbsd-compat.a): Remove rule.
59133
59134 * include/features.h (__FAVOR_BSD): Do not define.
59135 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59136 features conflicting with POSIX.
59137 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59138 (_BSD_SOURCE): Remove description of not being a subset of other
59139 feature test macros.
59140 * manual/job.texi (getpgrp): Do not document BSD version.
59141 (getpgid): Do not document by reference to BSD getpgrp.
59142 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59143 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59144 * signal/signal.h [__FAVOR_BSD]: Likewise.
59145 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59146 instead of making contents conditional on [__FAVOR_BSD].
59147 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59148
59149 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59150
59151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59152
59153 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59154
59155 [BZ #16314]
59156 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59157 values below 2**-450, not 2**-500.
59158 * math/auto-libm-test-in: Don't allow spurious underflow from
59159 hypot.
59160 * math/auto-libm-test-out: Regenerated.
59161
59162 [BZ #16316]
59163 [BZ #16330]
59164 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59165 values of ha and hb and sort them after adjusting subnormal
59166 arguments.
59167 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59168 Likewise.
59169 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59170 values of ea and eb and sort them after adjusting subnormal
59171 arguments.
59172 * math/auto-libm-test-in: Do not expect some hypot tests of
59173 subnormals to fail. Add more hypot tests.
59174 * math/auto-libm-test-out: Regenerated.
59175
59176 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59177
59178 [BZ #13304]
59179 * sysdeps/sh/s_fma.c: New file.
59180 * sysdeps/sh/s_fmaf.c: New file.
59181 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
59182 version.
59183 * sysdeps/sh/Implies: Add sh/soft-fp.
59184
59185 2013-12-16 Roland McGrath <roland@hack.frob.com>
59186
59187 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59188 level of indirection to members `objname', `errstring', `malloced'.
59189 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59190 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59191 it as the __longjmp argument (just pass 1 instead).
59192 (_dl_catch_error): Initialize C with argument pointers and address of
59193 volatile local ERRCODE rather than copying values out of C at return.
59194
59195 2013-12-16 Joseph Myers <joseph@codesourcery.com>
59196
59197 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59198 * math/auto-libm-test-out: Regenerated.
59199 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59200 (hypot_test_data): Likewise.
59201 (pow_test_data): Likewise.
59202 (pow_tonearest_test_data): Likewise.
59203 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59204 mpfr_ff_f.
59205 (func_calc_desc): Add mpfr_ff_f union field.
59206 (FUNC_mpfr_ff_f): New macro.
59207 (test_functions): Add atan2, hypot and pow.
59208 (special_fill_min): New function.
59209 (special_fill_minus_min): Likewise.
59210 (special_fill_min_subnorm): Likewise.
59211 (special_fill_minus_min_subnorm): Likewise.
59212 (special_real_inputs): Add min, -min, min_subnorm and
59213 -min_subnorm.
59214 (calc_generic_results): Handle mpfr_ff_f.
59215 * sysdeps/i386/fpu/libm-test-ulps: Update.
59216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59217
59218 2013-12-16 Will Newton <will.newton@linaro.org>
59219
59220 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59221 (Aligned Memory Blocks): Add documentation for aligned_alloc
59222 and suggest it as an alternative to posix_memalign.
59223 (Hooks for Malloc): Document __memalign_hook is also called
59224 for aligned_alloc. (Summary of Malloc): Add summary for
59225 aligned alloc. Document __memalign_hook is also called
59226 for aligned_alloc.
59227
59228 2013-12-16 Will Newton <will.newton@linaro.org>
59229
59230 * manual/memory.texi (Malloc Examples): Clarify default
59231 alignment documentation. Suggest posix_memalign rather
59232 than memalign or valloc.
59233 (Aligned Memory Blocks): Remove suggestion to use memalign
59234 or valloc. Remove obsolete comment about BSD.
59235 Document memalign errno values and mark the function obsolete.
59236 Document posix_memalign returned error codes. Mark valloc
59237 as obsolete. (Hooks for Malloc): __memalign_hook is also
59238 called for posix_memalign and valloc.
59239 (Summary of Malloc): Add posix_memalign to function summary.
59240 __memalign_hook is also called for posix_memalign and valloc.
59241
59242 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59243
59244 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59245 TAYLOR_SIN.
59246 (__sin): Adjust.
59247 (__cos): Likewise.
59248 (sloww): Use mynumber union. Expand ternary operator into
59249 if-else statements.
59250 (cslow): use mynumber union.
59251
59252 2013-12-16 Allan McRae <allan@archlinux.org>
59253
59254 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59255 * configure: Regenerated.
59256
59257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59258
59259 [BZ #14120]
59260 * configure.ac: Added --enable-maintainer-mode. Check for
59261 autoconf when enabled.
59262 * configure: Regenerated.
59263
59264 * nscd/nscd.service: New file.
59265 * nscd/nscd.tmpfiles: New file.
59266
59267 2013-12-14 Ondƙej Bílka <neleai@seznam.cz>
59268
59269 [BZ #12100]
59270 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59271 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59272 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59273 (strstr): Add __strstr_sse2_unaligned ifunc.
59274 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59275 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59276 (strcasestr): Remove __strcasestr_sse42 ifunc.
59277 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59280
59281 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59282
59283 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59284 * sysdeps/sh/bits/fenv.h: ... here.
59285 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59286
59287 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59288
59289 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59290
59291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59292 hypotf multiarch implementations.
59293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59295 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59296 multiarch hypot for PPC64.
59297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59300 multiarch hypotf for PPC64.
59301
59302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59303 modff multiarch implementations.
59304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59307 multiarch modf for PPC64.
59308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59311 multiarch modff for PPC64.
59312
59313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59314 and logl multiarch implementations.
59315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59318 multiarch logb for PPC64.
59319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59322 multiarch logb for PPC64.
59323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59326 multiarch logb for PPC64.
59327
59328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59329 isinff multiarch implementation.
59330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59331 file.
59332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59334 multiarch isinf for PPC64.
59335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59336 file.
59337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59338 multiarch isinff for PPC64.
59339
59340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59341 finitef multiarch implementation.
59342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59343 file.
59344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59346 multiarch finite for PPC64.
59347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59348 file.
59349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59350 multiarch finitef for PPC64.
59351
59352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59353 lrint multiarch implementation.
59354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59355 file.
59356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59358 multiarch llrint for PPC64.
59359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59360 multiarch lrint for PPC64.
59361
59362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59363 copysignf multiarch implementation.
59364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59365 file.
59366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59367 file.
59368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59369 multiarch copysign for PPC64.
59370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59371 multiarch copysignf for PPC64.
59372
59373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59374 multiarch implementation.
59375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59376 file.
59377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59378 file.
59379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59380 file.
59381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59382 file.
59383 multiarch llround for PPC64.
59384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59385 multiarch trunc for PPC64.
59386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59387 multiarch truncf for PPC64.
59388
59389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59390 multiarch implementation.
59391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59392 file.
59393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59394 file.
59395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59396 file.
59397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59398 file.
59399 multiarch llround for PPC64.
59400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59401 multiarch round for PPC64.
59402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59403 multiarch roundf for PPC64.
59404
59405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59406 multiarch implementation.
59407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59408 file.
59409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59410 file.
59411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59412 file.
59413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59414 file.
59415 multiarch llround for PPC64.
59416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59417 multiarch floor for PPC64.
59418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59419 multiarch floorf for PPC64.
59420
59421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59422 multiarch implementation.
59423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59424 file.
59425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59426 file.
59427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59428 file.
59429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59430 file.
59431 multiarch llround for PPC64.
59432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59433 multiarch ceil for PPC64.
59434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59435 multiarch ceilf for PPC64.
59436
59437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59438 multiarch implementation.
59439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59440 file.
59441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59442 file.
59443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59444 file.
59445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59446 multiarch llround for PPC64.
59447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59448 multiarch lround for PPC64.
59449
59450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59451 multiarch implementation.
59452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59455 file.
59456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59459 multiarch isnan for PPC64.
59460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59461 multiarch isnanf for PPC64.
59462
59463 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59464 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59465 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59466 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59467 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59469
59470 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59471 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59472 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59474
59475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59476 multiarch implementations.
59477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59478 (__libc_ifunc_impl_list): Likewise.
59479 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59480 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59481 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59482 multiarch stpcpy for PPC64.
59483
59484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59485 multiarch implementations.
59486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59487 (__libc_ifunc_impl_list): Likewise.
59488 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59489 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59490 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59491 multiarch strcpy for PPC64.
59492
59493 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59494 redefine function name.
59495 (_wordcopy_fwd_dest_aligned): Likewise.
59496 (_wordcopy_bwd_aligned): Likewise.
59497 (_wordcopy_bwd_dest_aligned): Likewise.
59498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59499 multiarch implementations.
59500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59501 (__libc_ifunc_impl_list): Likewise.
59502 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59503 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59504 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59505 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59506 multiarch wcscpy for PPC64.
59507
59508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59509 multiarch implementations.
59510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59511 (__libc_ifunc_impl_list): Likewise.
59512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59513 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59515 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59516 multiarch wcscpy for PPC64.
59517
59518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59519 multiarch implementations.
59520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59521 (__libc_ifunc_impl_list): Likewise.
59522 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59523 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59524 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59525 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59526 multiarch wcsrchr for PPC64.
59527
59528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59529 multiarch implementations.
59530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59531 (__libc_ifunc_impl_list): Likewise.
59532 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59533 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59534 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59535 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59536 multiarch wcschr for PPC64.
59537
59538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59539 multiarch implementations.
59540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59541 (__libc_ifunc_impl_list): Likewise.
59542 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59543 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59544 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59545 multiarch strchrnul for PPC64.
59546
59547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59548 implementations.
59549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59550 (__libc_ifunc_impl_list): Likewise.
59551 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59552 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59553 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59554 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59555 strchr for PPC64.
59556
59557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59558 implementations.
59559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59560 (__libc_ifunc_impl_list): Likewise.
59561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59562 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59564 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59565 strncmp for PPC64.
59566
59567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59568 multiarch implementations.
59569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59570 (__libc_ifunc_impl_list): Likewise.
59571 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59572 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59573 strncasecmp for PPC64.
59574 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59575 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59576 multiarch strncasecmp_l for PPC64.
59577
59578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59579 multiarch implementations.
59580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59581 (__libc_ifunc_impl_list): Likewise.
59582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59584 multiarch strcasecmp for PPC64.
59585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59586 file.
59587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59588 multiarch strcasecmp_l for PPC64.
59589
59590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59591 implementations.
59592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59593 (__libc_ifunc_impl_list): Likewise.
59594 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59595 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59596 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59597 strnlen for PPC64.
59598
59599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59600 implementations.
59601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59602 (__libc_ifunc_impl_list): Likewise.
59603 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59604 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59605 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59606 strlen for PPC64.
59607
59608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59609 implementations.
59610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59611 (__libc_ifunc_impl_list): Likewise.
59612 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59613 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59614 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59615 rawmemrchr for PPC64.
59616
59617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59618 implementation.
59619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59620 (__libc_ifunc_impl_list): Likewise.
59621 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59622 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59623 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59624 memrchr for PPC64.
59625
59626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59627 implementation.
59628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59629 (__libc_ifunc_impl_list): Likewise.
59630 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59631 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59632 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59633 memchr for PPC64.
59634
59635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59636 implementation.
59637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59638 (__libc_ifunc_impl_list): Likewise.
59639 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59640 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59641 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59642 mempcpy for PPC64.
59643
59644 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59645 avoid cretion of __bzero symbol.
59646 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59647 Likewise.
59648 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59649 Likewise.
59650 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59651 Likewise.
59652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59653 multiarch implementations.
59654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59655 (__libc_ifunc_impl_list): Likewise.
59656 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59657 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59658 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59659 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59660 bzero for PPC32.
59661 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59662 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59663 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59664 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59665 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59666 memset for PPC64.
59667 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59668
59669 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59671 implementations.
59672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59673 (__libc_ifunc_impl_list): Likewise.
59674 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59675 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59677 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59678 memcmp for PPC64.
59679
59680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59681 multiarch for POWER/PPC64.
59682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59683 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59685 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59686 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59687 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59690 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59691 memcpy for PPC64.
59692
59693 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59694 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59695 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59696 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59697 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59698 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59699 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59700 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59701 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59702 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59703 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59704 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59705 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59706 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59707 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59715
59716 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59717
59718 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59719
59720 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59721
59722 * benchtests/Makefile (bench): Add exp2 and log2.
59723 (LDLIBS-bench-exp2): Add -lm.
59724 (LDLIBS-bench-log2): Likewise.
59725 * benchtests/exp2-inputs: New inputs file.
59726 * benchtests/log2-inputs: New inputs file.
59727 * benchtests/log-inputs: Add new inputs.
59728 * benchtests/tan-inputs: Likewise.
59729
59730 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59731
59732 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59733 definition...
59734 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59735 (csloww2): ... from here.
59736
59737 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59738 instead of structures.
59739 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59740 (POLYNOMIAL): Likewise.
59741 (TAYLOR_SLOW): Likewise.
59742 (__sin): Likewise.
59743 (__cos): Likewise.
59744 (slow1): Likewise.
59745 (slow2): Likewise.
59746 (sloww): Likewise.
59747 (sloww1); Likewise.
59748 (sloww2): Likewise.
59749 (bsloww1): Likewise.
59750 (bsloww2): Likewise.
59751 (cslow2): Likewise.
59752 (csloww): Likewise.
59753 (csloww1): Likewise.
59754 (csloww2): Likewise.
59755
59756 2013-12-10 Ondƙej Bílka <neleai@seznam.cz>
59757
59758 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59759 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59760 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59761 * malloc/hooks.c (realloc_check): Likewise.
59762
59763 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59764 * malloc/arena.c: Remove PER_THREAD conditional.
59765 [!PER_THREAD]: Remove code.
59766 (ptmalloc_unlock_all2): Likewise.
59767 (ptmalloc_init): Likewise.
59768 (_int_new_arena): Likewise.
59769 (arena_get2): Likewise.
59770 * malloc/hooks.c (__malloc_get_state): Likewise.
59771 (__malloc_set_state): Likewise.
59772 * malloc/malloc.c: Likewise.
59773 (struct malloc_state): Likewise.
59774 (struct malloc_par): Likewise.
59775 (__libc_realloc): Likewise.
59776 (__libc_mallopt): Likewise.
59777
59778 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59779
59780 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59781
59782 2013-12-09 Ondƙej Bílka <neleai@seznam.cz>
59783
59784 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59785 macro to a function. Check for zero perturb_byte.
59786 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59787
59788 * malloc/malloc.c: (force_reg): Remove.
59789 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59790 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59791 force_reg by atomic_forced_read.
59792 * malloc/arena.c (ptmalloc_init): Likewise.
59793 * malloc/hooks.c (top_check): Likewise.
59794
59795 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59796
59797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59798
59799 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59800
59801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59802
59803 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59804
59805 * math/auto-libm-test-in: Add tests of lgamma.
59806 * math/auto-libm-test-out: Regenerated.
59807 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59808 (M_LOG_2_SQRT_PIl): Likewise.
59809 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59810 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59811 mpfr_f_f1.
59812 (func_calc_desc): Add mpfr_f_f1 union field.
59813 (ARGS1): New macro.
59814 (ARGS2): Likewise.
59815 (ARGS3): Likewise.
59816 (ARGS4): Likewise.
59817 (RET1): Likewise.
59818 (RET2): Likewise.
59819 (CALC): Likewise.
59820 (FUNC): Likewise.
59821 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59822 (test_functions): Add lgamma.
59823 (calc_generic_results): Handle mpfr_f_f1.
59824 * sysdeps/i386/fpu/libm-test-ulps: Update.
59825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59826
59827 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59828
59829 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59830 __mpn_add_n for PowerPC64/POWER7.
59831 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59832 __mpn_sub_n for PowerPC64/POWER7.
59833
59834 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59835 __mpn_addmul_1 for PowerPC64.
59836 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59837 __mpn_submul_1 for PowerPC64.
59838 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59839 for PowerPC64.
59840 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59841 for PowerPC64.
59842
59843 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59844
59845 [BZ #15089]
59846 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59847
59848 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59849
59850 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59851
59852 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59853 add multiarch folders.
59854 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59855 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59856 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59857 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59858 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59859 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59860 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59861 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59862 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59863 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59864 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59871
59872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59873 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59875 New file.
59876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59877 New file.
59878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59879 multiarch __ieee754_hypot for PowerPC32.
59880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59881 New file.
59882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59883 New file.
59884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59885 multiarch __ieee754_hypotf for PowerPC32.
59886
59887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59888 long_double_symbol only if __logbl is defined.
59889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59890 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59892 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59894 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59896 path for implementation.
59897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59900 logb, and logbl multiarch implementations for PowerPC32.
59901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59902 file.
59903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59904 file.
59905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59906 multiarch logb for PowerPC32.
59907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59908 file.
59909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59910 file.
59911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59912 multiarch logbf for PowerPC32.
59913 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59915 file.
59916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59917 multiarch logbl implementation for PowerPC32.
59918
59919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59920 and modff multiarch implementations.
59921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59922 New file.
59923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59924 New file.
59925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59926 multiarch modf for PowerPC32.
59927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59928 New file.
59929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59930 New file.
59931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59932 multiarch modff for PowerPC32.
59933
59934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59935 and lrintf multiarch implementations.
59936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59937 New file.
59938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59939 New file.
59940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59941 multiarch lrint for PowerPC32.
59942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59943 file: multiarch lrintf for PowerPC32.
59944
59945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59946 and lroundf multiarch implementations.
59947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59948 New file.
59949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59950 New file.
59951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59952 New file.
59953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59954 multiarch lround for PowerPC32.
59955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59956 file: multiarch lroundf for PowerPC32.
59957
59958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59959 copysign and copysignf multiarch implementations.
59960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59961 New file.
59962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59963 New file.
59964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59965 file: multiarch copysign for PowerPC32.
59966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59967 file: multiarch copysignf for PowerPC32.
59968
59969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59970 and truncf multiarch implementations.
59971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59972 New file.
59973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59974 file.
59975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59976 multiarch trunc for PowerPC32.
59977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59978 New file.
59979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59980 New file.
59981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59982 multiarch truncf for PowerPC32.
59983
59984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59985 and roundf multiarch implementations.
59986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59987 New file.
59988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59989 file.
59990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59991 multiarch round for PowerPC32.
59992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59993 New file.
59994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59995 New file.
59996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59997 multiarch roundf for PowerPC32.
59998
59999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60000 and floorf multiarch implementations.
60001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60002 New file.
60003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60004 file.
60005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60006 multiarch floor for PowerPC32.
60007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60008 New file.
60009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60010 New file.
60011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60012 multiarch floorf for PowerPC32.
60013
60014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60015 and ceilf multiarch implementations.
60016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60017 New file.
60018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60019 file.
60020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60021 multiarch ceil for PowerPC32.
60022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60023 New file.
60024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60025 file.
60026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60027 multiarch ceilf for PowerPC32.
60028
60029 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60030 is defined.
60031 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60032 FINITEF is defined.
60033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60034 and finitef multiarch implementations.
60035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60036 New file.
60037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60038 file.
60039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60040 multiarch finite for PowerPC32.
60041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60042 New file.
60043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60044 file: multiarch finitef for PowerPC32.
60045
60046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60047 and isinff multiarch implementations.
60048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60049 file.
60050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60051 file.
60052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60053 multiarch isinf for PowerPC32.
60054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60055 New file.
60056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60057 multiarch isinff for PowerPC32.
60058
60059 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60060 alias when __isnan is defined.
60061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60062 and isnanf multiarch implementations.
60063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60064 file.
60065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60066 file.
60067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60068 file.
60069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60070 file.
60071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60072 multiarch isnan for PowerPC32.
60073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60074 New file.
60075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60076 New file.
60077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60078 multiarch isnanf for PowerPC32.
60079
60080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60081 and sqrtf multiarch implementations.
60082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60083 file.
60084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60085 file.
60086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60087 multiarch sqrt for PowerPC32.
60088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60089 file.
60090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60091 file.
60092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60093 multiarch sqrtf for PowerPC32.
60094
60095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60096 and llroundf multiarch implementations.
60097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60098 New file.
60099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60100 New file.
60101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60102 New file.
60103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60104 file: multiarch llround for PowerPC32.
60105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60106 file: multiarch llroundf for PowerPC32.
60107
60108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60109 multiarch PowerPC32 fpu implementations.
60110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60111 New file.
60112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60113 New file.
60114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60115 multiarch llrint for PowerPC32.
60116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60117 New file.
60118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60119 New file.
60120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60121 file.
60122
60123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60124
60125 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60126 file.
60127 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60128 file.
60129 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60130 file.
60131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60132 multiarch wordcopy for PPC32.
60133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60134 wordcopy objects.
60135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60136 (__libc_ifunc_impl_list): Likewise.
60137 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60138 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60139 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60140 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60142 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60143
60144 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60146 file.
60147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60148 file.
60149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60150 file.
60151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60152 multiarch wcscpy for PPC32.
60153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60154 multiarch objects.
60155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60156 (__libc_ifunc_impl_list): Likewise.
60157 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60158 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60159 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60160 sysdeps/powerpc/power6/wcscpy.c.
60161
60162 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60164 file.
60165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60166 file.
60167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60168 file.
60169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60170 multiarch wcsrchr for PPC32.
60171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60172 multiarch objects.
60173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60174 (__libc_ifunc_impl_list): Likewise.
60175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60176 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60177 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60178 sysdeps/powerpc/power6/wcsrchr.c.
60179
60180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60181 file.
60182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60183 file.
60184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60186 multiarch wcschr for PPc32.
60187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60188 multiarch objects.
60189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60190 (__libc_ifunc_impl_list): Likewise.
60191 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60192 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60193 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60194 sysdeps/powerpc/power6/wcschr.c.
60195
60196 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60197 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60198 file.
60199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60200 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60201 file: multiarch strchr for PPC32.
60202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60203 multiarch objects.
60204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60205 (__libc_ifunc_impl_list): Likewise.
60206
60207 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60208 name.
60209 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60210 file.
60211 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60212 file.
60213 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60214 multiarch strchrnul for PPC32.
60215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60216 multiarch objects.
60217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60218 (__libc_ifunc_impl_list): Likewise.
60219
60220 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60221 file.
60222 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60223 multiarch strncasecmp for PPC32.
60224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60225 file.
60226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60227 multiarch strncasecmp_l for PPC32.
60228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60229 strncasecmp multiarch objects.
60230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60231 (__libc_ifunc_impl_list): Likewise.
60232
60233 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60234 file.
60235 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60236 multiarch strncasecmp for PPC32.
60237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60238 New file.
60239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60240 multiarch strcasecmp_l for PPC32.
60241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60242 multiarch objects.
60243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60244 (__libc_ifunc_impl_list): Likewise.
60245
60246 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60247 file.
60248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60249 file.
60250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60251 multiarch strncmp for PPC32.
60252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60253 multiarch objects.
60254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60255 (__libc_ifunc_impl_list): Likewise.
60256
60257 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60258 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60259 file.
60260 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60261 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60263 multiarch objects.
60264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60265 (__libc_ifunc_impl_list): Likewise.
60266
60267 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60268 file.
60269 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60270 file.
60271 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60273 multiarch objects.
60274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60275 (__libc_ifunc_impl_list): Likewise.
60276
60277 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60278 file.
60279 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60280 file.
60281 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60282 multiarch rawmemchr for PPC32.
60283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60284 multiarch objects.
60285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60286 (__libc_ifunc_impl_list): Likewise.
60287
60288 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60289 file.
60290 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60291 file.
60292 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60293 file: memrchr multiarch for PPC32.
60294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60295 multiarch objects.
60296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60297 (__libc_ifunc_impl_list): Likewise.
60298
60299 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60300 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60301 file.
60302 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60303 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60304 multiarch memchr for PPC32.
60305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60306 multiarch objects.
60307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60308 (__libc_ifunc_impl_list): Likewise.
60309
60310 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60311 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60312 file.
60313 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60314 file.
60315 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60316 file: multiarch mempcpy for PPC32.
60317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60318 multiarch objects.
60319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60320 (__libc_ifunc_impl_list): Likewise.
60321
60322 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60323 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60324 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60325 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60326 multiarch bzero for PPC32.
60327 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60328 file.
60329 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60330 file.
60331 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60332 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60333 file: multiarch memset for PPC32.
60334 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60336 memset multiarch objects.
60337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60338 (__libc_ifunc_impl_list): Likewise.
60339
60340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60341 file.
60342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60344 memcmp for PPC32.
60345 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60347 multiarch objects.
60348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60349 (__libc_ifunc_impl_list): Likewise.
60350
60351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60353 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60354 file.
60355 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60356 file.
60357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60358 file.
60359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60360 multiarch memcpy for PPC32.
60361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60362 multiarch objects.
60363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60364 (__libc_ifunc_impl_list): Likewise.
60365
60366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60367 support multiarch for POWER/PPC32.
60368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60369 Likewise.
60370 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60372 Implies file to make multiarch folder appers before the fpu and
60373 default folder for power4 configuration.
60374
60375 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60376
60377 * scripts/bench.pl: Append volatile keyword to type.
60378
60379 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60380
60381 * sysdeps/sh/sotruss-lib.c: New file.
60382 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60383
60384 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60385
60386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60387
60388 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60389
60390 [BZ #6810]
60391 * math/w_tgamma.c: Include <errno.h>.
60392 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60393 * math/w_tgammaf.c: Include <errno.h>.
60394 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60395 * math/w_tgammal.c: Include <errno.h>.
60396 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60397 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60398 underflow. Add more tgamma tests.
60399 * math/auto-libm-test-out: Regenerated.
60400 * sysdeps/i386/fpu/libm-test-ulps: Update.
60401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60402
60403 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60404 sin, sinh, tan, tanh, tgamma, y0 and y1.
60405 * math/auto-libm-test-out: Regenerated.
60406 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60407 (TEST_COND_x86): Likewise.
60408 (M_E2l): Remove macro.
60409 (M_E3l): Likewise.
60410 (M_2_SQRT_PIl): Likewise.
60411 (M_SQRT_PIl): Likewise.
60412 (M_1_DIV_El): Likewise.
60413 (log_test_data): Use AUTO_TESTS_f_f.
60414 (log10_test_data): Likewise.
60415 (log1p_test_data): Likewise.
60416 (log2_test_data): Likewise.
60417 (sin_test_data): Likewise.
60418 (sin_tonearest_test_data): Likewise.
60419 (sin_towardzero_test_data): Likewise.
60420 (sin_downward_test_data): Likewise.
60421 (sin_upward_test_data): Likewise.
60422 (sinh_test_data): Likewise.
60423 (sinh_tonearest_test_data): Likewise.
60424 (sinh_towardzero_test_data): Likewise.
60425 (sinh_downward_test_data): Likewise.
60426 (sinh_upward_test_data): Likewise.
60427 (tan_test_data): Likewise.
60428 (tan_tonearest_test_data): Likewise.
60429 (tan_towardzero_test_data): Likewise.
60430 (tan_downward_test_data): Likewise.
60431 (tan_upward_test_data): Likewise.
60432 (tanh_test_data): Likewise.
60433 (tgamma_test_data): Likewise.
60434 (y0_test_data): Likewise.
60435 (y1_test_data): Likewise.
60436 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60437 (special_real_inputs): Add pi/4.
60438 * sysdeps/i386/fpu/libm-test-ulps: Update.
60439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60440
60441 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60442
60443 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60444 "longjmp_target" static probes.
60445 (__longjmp): Rename to __longjmp_symbol.
60446 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60447 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60448 on which longjmp to generate.
60449 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60450 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60451 probe.
60452 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60453 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60454 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60455 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60456 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60457 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60459 __longjmp_symbol based on which __longjmp to generate.
60460 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60461 probe.
60462 (setjmp): Rename to setjmp_symbol.
60463 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60464 (_setjmp): Rename to _setjmp_symbol.
60465 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60466 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60467 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60468 which setjmp to generate.
60469 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60470 "longjmp_target" static probes.
60471
60472 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60473
60474 * benchtests/README: Add note about output arguments.
60475 * benchtests/bench-sincos.c: Remove file.
60476 * benchtests/sincos-inputs: New file.
60477 * scripts/bench.pl: Identify output arguments and define
60478 static variables for them.
60479
60480 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60481
60482 [BZ #15941]
60483 * Makefile (INSTALL): Add install-plain.texi as the primary
60484 dependency.
60485 * manual/install-plain.texi: New file.
60486 * manual/install.texi: Include node directive only for
60487 non-plaintext output.
60488
60489 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60490
60491 * stdlib/longlong.h: Update from GCC.
60492
60493 [BZ #6807]
60494 [BZ #15901]
60495 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60496 * math/w_j0f.c (y0f): Likewise.
60497 * math/w_j0l.c (__y0l): Likewise.
60498 * math/w_j1.c (y1): Likewise.
60499 * math/w_j1f.c (y1f): Likewise.
60500 * math/w_j1l.c (__y1l): Likewise.
60501 * math/w_jn.c (yn): Likewise.
60502 * math/w_jnf.c (ynf): Likewise.
60503 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60504 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60505 value for Bessel function domain errors outside _SVID_ mode.
60506 Adjust sign of return value for yn (negative integer, 0).
60507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60508 by zero in return for negative x and set sign appropriately for
60509 negative n.
60510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60512 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60513 expectations in error cases.
60514 (y1_test_data): Likewise.
60515 (yn_test_data): Likewise.
60516 * sysdeps/i386/fpu/libm-test-ulps: Update.
60517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60518
60519 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60520
60521 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60522 "64" to "64-v1". Add "64-v2".
60523 (abi-64-options): Rename to ...
60524 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60525 (abi-64-condition): Rename to ...
60526 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60527 (abi-64-ld-soname): Rename to ...
60528 (abi-64-v1-ld-soname): ... this.
60529 (abi-64-v2-options): Define.
60530 (abi-64-v2-condition): Likewise.
60531 (abi-64-v2-ld-soname): Likewise.
60532 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60533 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60537
60538 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60539 Alan Modra <amodra@gmail.com>
60540
60541 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60542 New versions for use with the ELFv2 ABI.
60543 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60544 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60545 declaration.
60546 (struct La_ppc64v2_retval): Likewise.
60547 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60548 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60549 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60550 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60551 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60552 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60553 Do not save or restore CR.
60554 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60555 (_dl_profile_resolve): Do no save or restore CR. Support extended
60556 return values for ELFv2 ABI. Fix location of FPR return registers.
60557 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60558 updated values for _CALL_ELF == 2.
60559 (La_regs, La_retval, int_retval): Likewise.
60560
60561 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60562
60563 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60564 (FRAME_MIN_SIZE_PARM): Likewise.
60565 (FRAME_BACKCHAIN): Likewise.
60566 (FRAME_CR_SAVE): Likewise.
60567 (FRAME_LR_SAVE): Likewise.
60568 (FRAME_TOC_SAVE): Likewise.
60569 (FRAME_PARM_SAVE): Likewise.
60570 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60571 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60572 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60573 (call_mcount_parm_offset): New macro.
60574 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60575 (PROF): Use symbolic stack frame offsets.
60576 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60577 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60578 Redefine in terms of FRAME_MIN_SIZE.
60579 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60580 (_dl_profile_resolve): Likewise. Update comment.
60581 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60582 symbols stack frame offsets.
60583 (__sigsetjmp): Likewise.
60584 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60585 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60586 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60587 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60588
60589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60590 (FRAME_BACKCHAIN): Remove.
60591 (FRAME_CR_SAVE): Likewise.
60592 (FRAME_LR_SAVE): Likewise.
60593 (FRAME_COMPILER_DW): Likewise.
60594 (FRAME_LINKER_DW): Likewise.
60595 (FRAME_TOC_SAVE): Likewise.
60596 (FRAME_PARM_SAVE): Likewise.
60597 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60598 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60599 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60601 (CHECK_SP): Use symbolic stack frame offsets.
60602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60603 zone" instead of caller's parameter save area for temp storage.
60604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60605 Likewise. Also, use symbolic stack frame offsets.
60606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60607 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60608 our own stack frame instead of the caller's.
60609 (__socket): Use symbolic stack frame offsets.
60610
60611 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60612 Alan Modra <amodra@gmail.com>
60613
60614 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60615 Define.
60616 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60617 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60618 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60619 New function.
60620 (elf_machine_fixup_plt): Call it.
60621 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60622 reloc arguments.
60623 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60625 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60626 r2 before calling target.
60627
60628 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60629 Alan Modra <amodra@gmail.com>
60630
60631 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60632 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60633 versions of macros to support ELFv2 ABI.
60634 (LOCALENTRY): New macro.
60635 (ENTRY, EALIGN): Use it.
60636 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60637 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60638 fall through into ENTRY entry point.
60639 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60640 Only define if _CALL_ELF != 2.
60641
60642 (elf_machine_matches_host): Verify ABI version matches.
60643 (RTLD_START): Use LOCALENTRY.
60644 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60645 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60646 (PLT_ENTRY_WORDS): New macro.
60647 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60648 (elf_machine_runtime_setup): Support ELFv2 ABI.
60649 (elf_machine_fixup_plt): Likewise.
60650 (elf_machine_plt_conflict): Likewise.
60651 (resolve_ifunc): Likewise.
60652 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60653 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60654 Likewise.
60655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60656 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60658 (makecontext): Support ELFv2 ABI.
60659 * elf/elf.h (EF_PPC64_ABI): Define.
60660
60661 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60662
60663 * sysdeps/powerpc/powerpc64/sysdep.h
60664 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60665 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60666 (ENTRY) [ASSEMBLER]: ... but instead here ...
60667 (EALIGN) [ASSEMBLER]: ... and here.
60668 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60669 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60670 (ENTRY_2) [!ASSEMBLER]: Use it.
60671 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60672 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60673 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60674 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60675 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60677 Use PPC64_LOAD_FUNCPTR.
60678
60679 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60680
60681 2013-12-04 Alan Modra <amodra@gmail.com>
60682
60683 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60684 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60685 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60686 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60687
60688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60689 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60690 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60691 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60692 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60693 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60694
60695 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60696
60697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60698 (__makecontext): Fix incorrect CFI when backtracing out of
60699 context created via makecontext.
60700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60701 (__setcontext): Fix incorrect CFI during switch to new context.
60702 (__novec_setcontext): Likewise.
60703
60704 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60705
60706 [BZ #4772]
60707 * time/strptime_l.c (__strptime_internal): Allow modifiers
60708 in strptime.
60709 * time/tst-strptime.c (day_tests): Add testcase.
60710
60711 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60712
60713 * scripts/bench.pl: Skip over blank lines.
60714
60715 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60716
60717 [BZ #926]
60718 * manual/time.texi (Calendar Time): Clarify what timezone functions
60719 use.
60720
60721 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60722
60723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60724
60725 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60726
60727 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60728 implementation.
60729 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60730 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60731 * debug/memset_chk.c (__memset_chk): Likewise.
60732 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60733 * debug/strncpy_chk.c: Likewise.
60734
60735 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60736
60737 [BZ #15268]
60738 [BZ #15425]
60739 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60740 (__ieee754_exp): For possibly underflowing results, check size of
60741 result and force underflow exception if required.
60742 * math/auto-libm-test-in: Add more tests of exp.
60743 * math/auto-libm-test-out: Regenerated.
60744 * sysdeps/i386/fpu/libm-test-ulps: Update.
60745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60746
60747 [BZ #16283]
60748 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60749 * math/w_exp2f.c (__exp2f): Likewise.
60750 * math/w_exp2l.c (__exp2l): Likewise.
60751 * math/auto-libm-test-in: Do not allow missing errno on exp2
60752 underflow.
60753 * math/auto-libm-test-out: Regenerated.
60754
60755 2013-12-03 Ondƙej Bílka <neleai@seznam.cz>
60756
60757 [BZ #16274]
60758 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60759 handle filename validation.
60760 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60761 (do_open): Delete.
60762
60763 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60764
60765 [BZ #6786]
60766 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60767 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60768 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60769 <float.h>.
60770 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60771 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60772 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60774 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60775 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60776 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60777 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60778 Add more erfc tests.
60779 * math/auto-libm-test-out: Regenerated.
60780 * sysdeps/i386/fpu/libm-test-ulps: Update.
60781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60782
60783 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60784 exp2, expm1, j0 and j1.
60785 * math/auto-libm-test-out: Regenerated.
60786 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60787 (erfc_test_data): Likewise.
60788 (exp_test_data): Likewise.
60789 (exp_tonearest_test_data): Likewise.
60790 (exp_towardzero_test_data): Likewise.
60791 (exp_downward_test_data): Likewise.
60792 (exp_upward_test_data): Likewise.
60793 (exp10_test_data): Likewise.
60794 (exp2_test_data): Likewise.
60795 (expm1_test_data): Likewise.
60796 (j0_test_data): Likewise.
60797 (j1_test_data): Likewise.
60798 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60799 (input_flag_type): Add flag_xfail_rounding.
60800 (input_flags): Add xfail-rounding.
60801 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60802 (output_for_one_input_case): Handle flag_xfail_rounding.
60803 * sysdeps/i386/fpu/libm-test-ulps: Update.
60804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60805
60806 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60807
60808 [BZ #16289]
60809 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60810 division by 0.
60811
60812 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60813
60814 [BZ #16195]
60815 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60816 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60817 (STAP_PROBE0): New macro.
60818 (STAP_PROBE1): Likewise.
60819 (STAP_PROBE2): Likewise.
60820 (STAP_PROBE3): Likewise.
60821 (STAP_PROBE4): Likewise.
60822
60823 2013-12-02 Ondƙej Bílka <neleai@seznam.cz>
60824
60825 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60826
60827 2013-12-02 Steve Ellcey <sellcey@mips.com>
60828
60829 * benchtests/Makefile (bench): Add sqrt.
60830 (LDLIBS-bench-sqrt): New.
60831 * benchtests/sqrt-input: New.
60832
60833 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60834
60835 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60836 (GAIH_EAI): Likewise.
60837 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60838 (gaih_inet): Likewise.
60839 (getaddrinfo): Don't use GAIH_EAI.
60840
60841 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60842 (struct gaih): Remove definition.
60843
60844 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60845
60846 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60847 Use HERRNOP directly.
60848
60849 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60850
60851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60852
60853 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60854
60855 * math/gen-auto-libm-tests.c (test_functions): Add more
60856 single-argument functions.
60857 (special_fill_pi_2): New function.
60858 (special_fill_minus_pi_2): Likewise.
60859 (special_fill_pi_6): Likewise.
60860 (special_fill_minus_pi_6): Likewise.
60861 (special_fill_pi_3): Likewise.
60862 (special_fill_2pi_3): Likewise.
60863 (special_fill_e): Likewise.
60864 (special_fill_1_e): Likewise.
60865 (special_fill_e_minus_1): Likewise.
60866 (special_real_inputs): Add more special inputs.
60867 (output_for_one_input_case): Do not require ERANGE on underflow to
60868 zero if round-to-nearest result does not underflow to zero, unless
60869 exact results required.
60870 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60871 atan, atanh, cbrt, cos and cosh.
60872 * math/auto-libm-test-out: Regenerated.
60873 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60874 (acos_tonearest_test_data): Likewise.
60875 (acos_towardzero_test_data): Likewise.
60876 (acos_downward_test_data): Likewise.
60877 (acos_upward_test_data): Likewise.
60878 (acosh_test_data): Likewise.
60879 (asin_test_data): Likewise.
60880 (asin_tonearest_test_data): Likewise.
60881 (asin_towardzero_test_data): Likewise.
60882 (asin_upward_test_data): Likewise.
60883 (asinh_test_data): Likewise.
60884 (atan_test_data): Likewise.
60885 (atanh_test_data): Likewise.
60886 (cbrt_test_data): Likewise.
60887 (cos_test_data): Likewise.
60888 (cos_tonearest_test_data): Likewise.
60889 (cos_towardzero_test_data): Likewise.
60890 (cos_downward_test_data): Likewise.
60891 (cos_upward_test_data): Likewise.
60892 (cosh_test_data): Likewise.
60893 (cosh_tonearest_test_data): Likewise.
60894 (cosh_towardzero_test_data): Likewise.
60895 (cosh_downward_test_data): Likewise.
60896 (cosh_upward_test_data): Likewise.
60897 * sysdeps/i386/fpu/libm-test-ulps: Update.
60898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60899
60900 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60901
60902 [BZ #6787]
60903 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60904 * math/w_exp10f.c (__exp10f): Likewise.
60905 * math/w_exp10l.c (__exp10l): Likewise.
60906 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60907 errno settings in existing tests.
60908
60909 [BZ #14032]
60910 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60911 precision control set to double precision.
60912 * sysdeps/i386/fpu/w_sqrt.c: New file.
60913 * math/auto-libm-test-in: Add more tests.
60914 * math/auto-libm-test-out: Update.
60915
60916 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60917 (sqrt_test_tonearest): New function.
60918 (sqrt_towardzero_test_data): New variable.
60919 (sqrt_test_towardzero): New function.
60920 (sqrt_downward_test_data): New variable.
60921 (sqrt_test_downward): New function.
60922 (sqrt_upward_test_data): New variable.
60923 (sqrt_test_upward): New function.
60924 (main): Call the new functions.
60925
60926 * math/gen-auto-libm-tests.c: New file.
60927 * math/auto-libm-test-in: Likewise.
60928 * math/auto-libm-test-out: New generated file.
60929 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60930 variables.
60931 (%beautify): Add generated representations of zero.
60932 (top level): Set $auto_input and call parse_auto_input.
60933 (beautify): Remove trailing "f" from hex float constants.
60934 (parse_args): Handle XFAIL_TEST.
60935 (convert_condition): New function.
60936 (or_value): Likewise.
60937 (or_cond_value): Likewise.
60938 (generate_testfile): Handle AUTO_TESTS_* lines.
60939 (parse_auto_input): New function.
60940 * math/libm-test.inc (XFAIL_TEST): New macro.
60941 (ERRNO_UNCHANGED): Update value.
60942 (ERRNO_EDOM): Likewise.
60943 (ERRNO_ERANGE): Likewise.
60944 (IGNORE_RESULT): Likewise.
60945 (TEST_COND_flt_32): New macro.
60946 (TEST_COND_dbl_64): Likewise.
60947 (TEST_COND_ldbl_96_intel): Likewise.
60948 (TEST_COND_ldbl_96_m68k): Likewise.
60949 (TEST_COND_ldbl_128): Likewise.
60950 (TEST_COND_ldbl_128ibm): Likewise.
60951 (TEST_COND_long32): Likewise.
60952 (TEST_COND_long64): Likewise.
60953 (TEST_COND_before_rounding): Likewise.
60954 (TEST_COND_after_rounding): Likewise.
60955 (enable_test): Handle XFAIL_TEST flag.
60956 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60957 with finite results.
60958 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60959 auto-libm-test-out.
60960
60961 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60962 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60963
60964 [BZ #16214]
60965 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60966 __tls_get_addr_internal instead of __tls_get_offset in order to
60967 avoid GOT pointer dependency. Make rtld export
60968 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60969 __tls_get_addr since we are a __tls_get_offset platform.
60970 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60971 GOT pointer being set up before.
60972 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60973
60974 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60975
60976 * manual/math.texi (Errors in Math Functions): Document accuracy
60977 goals.
60978
60979 [BZ #15004]
60980 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60981 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60983 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60984 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60985 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60986 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60987 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60988 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60989 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60990 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60991 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60992 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60993 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60994 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60995 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60996
60997 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60998 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60999 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61000 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61001 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61002 Likewise.
61003 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61004 Likewise.
61005 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61006 Likewise.
61007 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61008 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61009 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61010 atomic-feupdateenv and flt-rounds.
61011 * sysdeps/powerpc/nofpu/Versions (libc): Add
61012 __atomic_feholdexcept, __atomic_feclearexcept,
61013 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61015 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61016 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61017 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61018 here.
61019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61020 Update.
61021
61022 * manual/arith.texi (FP Exceptions): Document that exceptions may
61023 not be raised when matherr is used.
61024 (Math Error Reporting): Document overflow in directed rounding
61025 modes. Document that errno may not be set when finite values are
61026 returned on overflow. Document intent to set errno on underflow
61027 only for underflow to zero.
61028
61029 [BZ #16271]
61030 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61031 round-to-nearest then adjust result for other rounding modes.
61032 * include/fenv.h (fegetround): Use libm_hidden_proto.
61033 * math/fegetround.c (fegetround): Use libm_hidden_def.
61034 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61035 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61036 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61037 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61038 Likewise.
61039 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61040 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61041 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61042 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61043
61044 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61045
61046 [BZ #16077]
61047 * nss/Versions (libnss_files): Add
61048 _nss_files_gethostbyname3_r.
61049 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61050 New function.
61051 (HOST_DB_LOOKUP): Remove macro.
61052 (_nss_files_gethostbyname_r): Implement function without the
61053 HOST_DB_LOOKUP macro.
61054 (_nss_files_gethostbyname2_r): Likewise.
61055
61056 2013-11-28 Ondƙej Bílka <neleai@seznam.cz>
61057
61058 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61059
61060 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
61061
61062 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61063 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61064 warning.
61065
61066 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61067
61068 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61069 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61070 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61071 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61072 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61073 __fe_nomask_env_priv and attribute_hidden.
61074 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61075 (libc_feupdateenv_test_ppc): Likewise.
61076 (libc_feresetround_ppc): Likewise.
61077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61078 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61079 compat_symbol macro.
61080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61081 (__fe_nomask_env): Likewise.
61082 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61083
61084 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61085
61086 * string/Makefile: Remove ifunc tests.
61087 * string/test-string.h: Define TEST_IFUNC.
61088 * string/test-bcopy-ifunc.c: Remove.
61089 * string/test-bzero-ifunc.c: Likewise.
61090 * string/test-memccpy-ifunc.c: Likewise.
61091 * string/test-memchr-ifunc.c: Likewise.
61092 * string/test-memcmp-ifunc.c: Likewise.
61093 * string/test-memcpy-ifunc.c: Likewise.
61094 * string/test-memmem-ifunc.c: Likewise.
61095 * string/test-memmove-ifunc.c: Likewise.
61096 * string/test-mempcpy-ifunc.c: Likewise.
61097 * string/test-memrchr-ifunc.c: Likewise.
61098 * string/test-memset-ifunc.c: Likewise.
61099 * string/test-rawmemchr-ifunc.c: Likewise.
61100 * string/test-stpcpy-ifunc.c: Likewise.
61101 * string/test-stpncpy-ifunc.c: Likewise.
61102 * string/test-strcasecmp-ifunc.c: Likewise.
61103 * string/test-strcasestr-ifunc.c: Likewise.
61104 * string/test-strcat-ifunc.c: Likewise.
61105 * string/test-strchr-ifunc.c: Likewise.
61106 * string/test-strchrnul-ifunc.c: Likewise.
61107 * string/test-strcmp-ifunc.c: Likewise.
61108 * string/test-strcpy-ifunc.c: Likewise.
61109 * string/test-strcspn-ifunc.c: Likewise.
61110 * string/test-strlen-ifunc.c: Likewise.
61111 * string/test-strncasecmp-ifunc.c: Likewise.
61112 * string/test-strncat-ifunc.c: Likewise.
61113 * string/test-strncmp-ifunc.c: Likewise.
61114 * string/test-strncpy-ifunc.c: Likewise.
61115 * string/test-strnlen-ifunc.c: Likewise.
61116 * string/test-strpbrk-ifunc.c: Likewise.
61117 * string/test-strrchr-ifunc.c: Likewise.
61118 * string/test-strspn-ifunc.c: Likewise.
61119 * string/test-strstr-ifunc.c: Likewise.
61120
61121 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61122
61123 * benchtests/Makefile: Remove ifunc tests.
61124 * benchtests/bench-string.h: Define TEST_IFUNC.
61125 * benchtests/bench-bcopy-ifunc.c: Remove.
61126 * benchtests/bench-bzero-ifunc.c: Likewise.
61127 * benchtests/bench-memccpy-ifunc.c: Likewise.
61128 * benchtests/bench-memchr-ifunc.c: Likewise.
61129 * benchtests/bench-memcmp-ifunc.c: Likewise.
61130 * benchtests/bench-memcpy-ifunc.c: Likewise.
61131 * benchtests/bench-memmem-ifunc.c: Likewise.
61132 * benchtests/bench-memmove-ifunc.c: Likewise.
61133 * benchtests/bench-mempcpy-ifunc.c: Likewise.
61134 * benchtests/bench-memrchr-ifunc.c: Likewise.
61135 * benchtests/bench-memset-ifunc.c: Likewise.
61136 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61137 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61138 * benchtests/bench-stpcpy-ifunc.c: Likewise.
61139 * benchtests/bench-stpncpy-ifunc.c: Likewise.
61140 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61141 * benchtests/bench-strcasestr-ifunc.c: Likewise.
61142 * benchtests/bench-strcat-ifunc.c: Likewise.
61143 * benchtests/bench-strchr-ifunc.c: Likewise.
61144 * benchtests/bench-strchrnul-ifunc.c: Likewise.
61145 * benchtests/bench-strcmp-ifunc.c: Likewise.
61146 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61147 * benchtests/bench-strcpy-ifunc.c: Likewise.
61148 * benchtests/bench-strcspn-ifunc.c: Likewise.
61149 * benchtests/bench-strlen-ifunc.c: Likewise.
61150 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61151 * benchtests/bench-strncat-ifunc.c: Likewise.
61152 * benchtests/bench-strncmp-ifunc.c: Likewise.
61153 * benchtests/bench-strncpy-ifunc.c: Likewise.
61154 * benchtests/bench-strnlen-ifunc.c: Likewise.
61155 * benchtests/bench-strpbrk-ifunc.c: Likewise.
61156 * benchtests/bench-strrchr-ifunc.c: Likewise.
61157 * benchtests/bench-strsep-ifunc.c: Likewise.
61158 * benchtests/bench-strspn-ifunc.c: Likewise.
61159 * benchtests/bench-strstr-ifunc.c: Likewise.
61160
61161 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61162
61163 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61164
61165 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61166
61167 * resolv/netdb.h: Use __glibc_reserved instead __unused.
61168 * rt/aio.h: Likewise.
61169 * sysdeps/gnu/bits/utmp.h: Likewise.
61170 * sysdeps/gnu/bits/utmpx.h: Likewise.
61171 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61172 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61173 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61174 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61175 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61176 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61177 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61178 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61179 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61180 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61181 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61182 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61183 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61185 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61186 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61187 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61188 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61189 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61190 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61191 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61192 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61193 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61194 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61195 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61197 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61198 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61199 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61200 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61201 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61202 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61203 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61204 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61205 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61206 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61207 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61208 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61209 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61210 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61211 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61212 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61213
61214 2013-11-25 Carlos O'Donell <carlos@redhat.com>
61215
61216 [BZ #16245]
61217 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61218 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61219
61220 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61221
61222 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61223 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61224 Likewise.
61225
61226 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61227
61228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61229 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61230 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61231 (__fesetround): Remove define.
61232 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61233 rounding and exceptions handling.
61234 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61235 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61236 (__fe_nomask_env): Likewise.
61237 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61238 __fegetround instead of fegetround.
61239 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61240 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61241
61242 2013-11-21 Roland McGrath <roland@hack.frob.com>
61243
61244 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61245 it's there.
61246
61247 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61248
61249 2013-11-21 Meador Inge <meadori@codesourcery.com>
61250
61251 [BZ #11157]
61252 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61253 (encrypt_r): Likewise.
61254 * malloc/obstack.h (obstack_free): Likewise.
61255 * posix/unistd.h (encrypt): Likewise.
61256
61257 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61258
61259 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61260 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61261 DL_CALL_DT_FINI() that call the functions directly.
61262 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61263 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61264 * elf/dl-fini.c: Likewise.
61265
61266 2013-11-20 Ondƙej Bílka <neleai@seznam.cz>
61267
61268 * malloc/hooks.c (memalign_check): Add alignment rounding.
61269 * malloc/malloc.c (_mid_memalign): New function.
61270 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61271 Implement by calling _mid_memalign.
61272 * manual/probes.texi (Memory Allocation Probes): Remove
61273 memory_valloc_retry and memory_pvalloc_retry.
61274
61275 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61276
61277 * locale/programs/locarchive.c (open_archive): Add const
61278 qualifier to ARCHIVEFNAME and copy default fname to
61279 DEFAULT_FNAME.
61280
61281 [BZ #15601]
61282 * libio/tst-widetext.input: Rename Oriya to Odia.
61283 * locale/iso-639.def: Likewise.
61284
61285 * manual/probes.texi (Mathematical Function Probes): Add
61286 documentation for sin, cos, asin and acos probes.
61287 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61288 (__sin32): Add slowasin probe.
61289 (__cos32): Add slowacos probe.
61290 (__mpsin): Add slowsin probe.
61291 (__mpcos): Add slowcos probe.
61292
61293 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61294
61295 [BZ #15483]
61296 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61297 thread-local __sim_exceptions_thread and global
61298 __sim_exceptions_global.
61299 (__sim_disabled_exceptions): Change to thread-local
61300 __sim_disabled_exceptions_thread and global
61301 __sim_disabled_exceptions_global.
61302 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61303 and global __sim_round_mode_global.
61304 (__simulate_exceptions): Use thread-local floating-point state and
61305 set global state from it as needed.
61306 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61307 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61308 __sim_round_mode_thread.
61309 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61310 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61311 and global __sim_exceptions_global.
61312 (__sim_disabled_exceptions): Change to thread-local
61313 __sim_disabled_exceptions_thread and global
61314 __sim_disabled_exceptions_global.
61315 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61316 and global __sim_round_mode_global.
61317 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61318 (SIM_SET_GLOBAL): Likewise.
61319 * sysdeps/powerpc/soft-fp/sfp-machine.h
61320 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61321 __sim_round_mode_thread.
61322 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61323 __sim_disabled_exceptions_thread.
61324 (__sim_exceptions): Change to __sim_exceptions_thread.
61325 (__sim_disabled_exceptions): Change to
61326 __sim_disabled_exceptions_thread.
61327 (__sim_round_mode): Change to __sim_round_mode_thread.
61328 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61329 thread-local floating-point state and set global state from it as
61330 needed.
61331 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61332 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61333 (__sim_disabled_exceptions): Remove extern declaration.
61334 (feenableexcept): Use thread-local floating-point state and set
61335 global state from it as needed.
61336 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61337 extern declaration.
61338 (__sim_disabled_exceptions): Likewise.
61339 (__sim_round_mode): Likewise.
61340 (__fegetenv): Use thread-local floating-point state.
61341 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61342 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61343 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61344 floating-point state and set global state from it as needed.
61345 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61346 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61347 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61348 Likewise.
61349 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61350 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61351 Likewise.
61352 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61353 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61354 Use __sim_round_mode_thread.
61355 * math/test-fenv-tls.c: New file.
61356 * math/Makefile (tests): Add test-fenv-tls.
61357 ($(objpfx)test-fenv-tls): Depend on
61358 $(common-objpfx)nptl/libpthread.so.
61359
61360 2013-11-19 Andreas Schwab <schwab@suse.de>
61361
61362 * locale/programs/locale.c (show_info): Decode wordarray elements.
61363 * locale/categories.def (LC_MONETARY): Add element for
61364 _NL_MONETARY_CRNCYSTR.
61365 * locale/C-monetary.c (conversion_rate): New variable.
61366 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61367 element.
61368
61369 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61370
61371 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61372 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61373
61374 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61375
61376 * elf/Makefile (tst-auxv): New test.
61377 * elf/tst-auxv.c: New
61378 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61379
61380 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61381
61382 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61383 (hidden_proto): Caller changed.
61384 (hidden_tls_proto): New macro.
61385 (libc_hidden_tls_proto): Likewise.
61386 (rtld_hidden_tls_proto): Likewise.
61387 (libm_hidden_tls_proto): Likewise.
61388 (libresolv_hidden_tls_proto): Likewise.
61389 (librt_hidden_tls_proto): Likewise.
61390 (libdl_hidden_tls_proto): Likewise.
61391 (libnss_files_hidden_tls_proto): Likewise.
61392 (libnsl_hidden_tls_proto): Likewise.
61393 (libnss_nisplus_hidden_tls_proto): Likewise.
61394 (libutil_hidden_tls_proto): Likewise.
61395
61396 2013-11-18 Ondƙej Bílka <neleai@seznam.cz>
61397
61398 [BZ #10253]
61399 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61400 (decompose_rpath): Defer expansion to fillin_rpath.
61401 (_dl_init_paths): Pass linkmap to fillin_rpath.
61402
61403 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61404
61405 * benchtests/Makefile: Add strsep.
61406 * benchtests/bench-strsep.c: New file: strsep benchtest.
61407 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61408
61409 2013-11-18 Andreas Schwab <schwab@suse.de>
61410
61411 * locale/programs/locale.c (show_info) [case byte]: Check for
61412 '\377' instead of '\177'.
61413 * locale/C-monetary.c (not_available): Always use "\377".
61414 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61415 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61416 detect unavailable sign_posn locale elements.
61417 * locale/localeconv.c (__localeconv): For grouping and
61418 mon_grouping handle "\177" and "\377" like no grouping.
61419 (INT_ELEM): New macro. Use it to set all numeric members.
61420 * locale/programs/ld-monetary.c (monetary_read)
61421 <tok_mon_grouping>: Normalize single -1 to the empty string.
61422 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61423 Likewise.
61424
61425 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61426
61427 [BZ #16055]
61428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61429 when we match (nil).
61430 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61431
61432 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61433
61434 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61435 (NO_TEST_INLINE): Update value.
61436 (ERRNO_UNCHANGED): Likewise.
61437 (ERRNO_EDOM): Likewise.
61438 (ERRNO_ERANGE): Likewise.
61439 (IGNORE_RESULT): Likewise.
61440 (check_float_internal): Check signs of NaN results if
61441 TEST_NAN_SIGN used.
61442 (check_complex): Pass TEST_NAN_SIGN flag through to second
61443 check_float_internal call.
61444 (copysign_test_data): Add tests with quiet NaNs as second
61445 argument. Use TEST_NAN_SIGN.
61446 (fabs_test_data): Add test of negative quiet NaN argument. Use
61447 TEST_NAN_SIGN.
61448 (signbit_test_data): Add tests of quiet NaN argument.
61449 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61450
61451 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61452 $ignore_result.
61453 (parse_args): Handle function results specified as IGNORE.
61454 * math/libm-test.inc (IGNORE_RESULT): New macro.
61455 (check_float_internal): Do not check numerical result if flag
61456 IGNORE_RESULT set.
61457 (check_complex): Pass through IGNORE_RESULT to second
61458 check_float_internal call.
61459 (check_int): Do not check numerical result if flag IGNORE_RESULT
61460 set.
61461 (check_long): Likewise.
61462 (check_bool): Likewise.
61463 (check_longlong): Likewise.
61464 (lrint_test_data): Add tests of infinite and NaN arguments.
61465 (lrint_tonearest_test_data): Likewise.
61466 (lrint_towardzero_test_data): Likewise.
61467 (lrint_downward_test_data): Likewise.
61468 (lrint_upward_test_data): Likewise.
61469 (llrint_test_data): Likewise.
61470 (llrint_tonearest_test_data): Likewise.
61471 (llrint_towardzero_test_data): Likewise.
61472 (llrint_downward_test_data): Likewise.
61473 (llrint_upward_test_data): Likewise.
61474 (lround_test_data): Likewise.
61475 (llround_test_data): Likewise.
61476
61477 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61478 (ERRNO_UNCHANGED): Update value.
61479 (ERRNO_EDOM): Likewise.
61480 (ERRNO_ERANGE): Likewise.
61481 (NO_TEST_INLINE_FLOAT): New macro.
61482 (NO_TEST_INLINE_DOUBLE): Likewise.
61483 (enable_test): New function.
61484 (RUN_TEST_f_f): Check enable_test before running test.
61485 (RUN_TEST_2_f): Likewise.
61486 (RUN_TEST_fff_f): Likewise.
61487 (RUN_TEST_c_f): Likewise.
61488 (RUN_TEST_f_f1): Likewise.
61489 (RUN_TEST_fF_f1): Likewise.
61490 (RUN_TEST_fI_f1): Likewise.
61491 (RUN_TEST_ffI_f1): Likewise.
61492 (RUN_TEST_c_c): Likewise.
61493 (RUN_TEST_cc_c): Likewise.
61494 (RUN_TEST_f_i): Likewise.
61495 (RUN_TEST_f_i_tg): Likewise.
61496 (RUN_TEST_ff_i_tg): Likewise.
61497 (RUN_TEST_f_b): Likewise.
61498 (RUN_TEST_f_b_tg): Likewise.
61499 (RUN_TEST_f_l): Likewise.
61500 (RUN_TEST_f_L): Likewise.
61501 (RUN_TEST_fFF_11): Likewise.
61502 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61503 conditionals.
61504 (cosh_test_data): Likewise.
61505 (exp_test_data): Likewise.
61506 (expm1_test_data): Likewise.
61507 (hypot_test_data): Likewise.
61508 (pow_test_data): Likewise.
61509 (sinh_test_data): Likewise.
61510 (tanh_test_data): Likewise.
61511 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61512 flags argument.
61513
61514 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61515 tests with quiet NaN input and output.
61516 (acosh_test_data): Likewise.
61517 (asin_test_data): Likewise.
61518 (asinh_test_data): Likewise.
61519 (atan_test_data): Likewise.
61520 (atanh_test_data): Likewise.
61521 (atan2_test_data): Likewise.
61522 (cbrt_test_data): Likewise.
61523 (cos_test_data): Likewise.
61524 (cosh_test_data): Likewise.
61525 (erf_test_data): Likewise.
61526 (erfc_test_data): Likewise.
61527 (exp_test_data): Likewise.
61528 (exp10_test_data): Likewise.
61529 (exp2_test_data): Likewise.
61530 (expm1_test_data): Likewise.
61531 (hypot_test_data): Likewise.
61532 (j0_test_data): Likewise.
61533 (j1_test_data): Likewise.
61534 (jn_test_data): Likewise.
61535 (lgamma_test_data): Likewise.
61536 (log_test_data): Likewise.
61537 (log10_test_data): Likewise.
61538 (log1p_test_data): Likewise.
61539 (log2_test_data): Likewise.
61540 (pow_test_data): Likewise.
61541 (scalb_test_data): Likewise.
61542 (sin_test_data): Likewise.
61543 (sincos_test_data): Likewise.
61544 (sinh_test_data): Likewise.
61545 (tan_test_data): Likewise.
61546 (tanh_test_data): Likewise.
61547 (tgamma_test_data): Likewise.
61548 (y0_test_data): Likewise.
61549 (y1_test_data): Likewise.
61550 (yn_test_data): Likewise.
61551
61552 [BZ #16167]
61553 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61554 argument being NaN and avoid computations with second argument in
61555 that case.
61556 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61557 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61558 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61559
61560 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61561
61562 * locale/iso-639.def: Add Chitwani Tharu (the).
61563
61564 2013-11-14 Andreas Schwab <schwab@suse.de>
61565
61566 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61567 word instead of empty string.
61568
61569 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61570
61571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61572 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61574 (__fe_nomask_env): Likewise.
61575
61576 2013-11-13 Steve Ellcey <sellcey@mips.com>
61577
61578 * benchtests/bench-timing.h: Include time.h.
61579
61580 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61581
61582 [BZ #15997]
61583 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61584 to 3.4.0 for x32.
61585 * sysdeps/unix/sysv/linux/configure: Regenerated.
61586
61587 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61588
61589 [BZ #16151]
61590 * stdlib/strtod_l.c (round_and_return): Do not consider
61591 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61592 exponent one less than half the least subnormal exponent.
61593 * stdlib/test-strtod-round-data: Add more tests.
61594 * stdlib/tst-strtod-round.c (tests): Regenerated.
61595
61596 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61597
61598 [BZ #14143]
61599 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61600 (__fe_mask_env): Likewise.
61601 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61602 libm_hidden_proto and add function prototype.
61603 (__fe_mask_env): Add function prototype.
61604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61605 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61607 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61609 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61610
61611 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61612
61613 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61614 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61615
61616 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61617
61618 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61619 of htab_find_slot().
61620
61621 2013-11-11 David S. Miller <davem@davemloft.net>
61622
61623 [BZ #16150]
61624 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61625 symbol in the non-vis3 case in static builds.
61626 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61627 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61628 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61629 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61630
61631 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61632
61633 [BZ #387]
61634 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61635 it is empty.
61636
61637 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61638
61639 * benchtests/Makefile: Add bench-strtod.
61640 * benchtests/bench-strtod.c: New file: strtod benchtest
61641
61642 2013-11-11 Andreas Schwab <schwab@suse.de>
61643
61644 [BZ #16153]
61645 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61646 terminating NUL in key length.
61647
61648 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61649
61650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61651 Add artificial ODP entry for vDSO symbol for PPC64.
61652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61653 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61654
61655 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61656
61657 [BZ #15374]
61658 * nss/getent.c (services_keys): Recognize services starting with digit.
61659
61660 2013-11-06 David S. Miller <davem@davemloft.net>
61661
61662 [BZ #15985]
61663 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61664 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61665
61666 2013-11-06 Will Newton <will.newton@linaro.org>
61667
61668 * manual/memory.texi (Malloc Examples): Remove register
61669 keyword from examples.
61670
61671 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61672
61673 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61674
61675 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61676
61677 [BZ #6981]
61678 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61679 depending on [__GCC_IEC_559 > 0].
61680 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61681 depending on [__GCC_IEC_559_COMPLEX > 0].
61682
61683 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61684
61685 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61686 to iso-639.def.
61687
61688 2013-11-03 Ondƙej Bílka <neleai@seznam.cz>
61689
61690 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61691
61692 2013-11-01 Ondƙej Bílka <neleai@seznam.cz>
61693
61694 [BZ #16112]
61695 * malloc/malloc (malloc_info): Do not handle first bin as
61696 special case.
61697
61698 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61699
61700 * locale/iso-639.def: Add Central Nahuatl (nhn).
61701
61702 2013-11-01 Bruno Haible <bruno@clisp.org>
61703
61704 [BZ #7003]
61705 * manual/math.texi (BSD Random): Specify range upper bound as
61706 in POSIX.
61707
61708 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61709
61710 * locale/iso-639.def: Add Meadow Mari (mhr).
61711
61712 2013-10-31 Ondƙej Bílka <neleai@seznam.cz>
61713
61714 [BZ #14752], [BZ #15763]
61715 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61716 Validate name.
61717 * rt/tst_shm.c: Add test for escaping directory.
61718
61719 2013-10-31 Andreas Schwab <schwab@suse.de>
61720
61721 [BZ #15917]
61722 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61723 followed by 'x' as part of digit sequence.
61724 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61725
61726 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61727
61728 [BZ #16037]
61729 * configure.ac: allow GNU Make 4.0 and greater.
61730 * configure: Regenerated.
61731
61732 2013-10-30 Will Newton <will.newton@linaro.org>
61733
61734 [BZ #16038]
61735 * malloc/hooks.c (memalign_check): Limit alignment to the
61736 maximum representable power of two.
61737 * malloc/malloc.c (__libc_memalign): Likewise.
61738 * malloc/tst-memalign.c (do_test): Add test for very
61739 large alignment values.
61740 * malloc/tst-posix_memalign.c (do_test): Likewise.
61741
61742 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61743
61744 [BZ #11087]
61745 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61746 (munmap_chunk): Likewise.
61747 (mremap_chunk): Likewise.
61748
61749 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61750
61751 [BZ #15799]
61752 * stdlib/div.c (div): Remove obsolete code.
61753 * stdlib/ldiv.c (ldiv): Likewise.
61754 * stdlib/lldiv.c (lldiv): Likewise.
61755
61756 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61757
61758 [BZ #16071]
61759 * nss/nss_files/files-XXX.c (get_contents_ret): New
61760 enumerator.
61761 (get_contents): New function.
61762 (internal_getent): Use it. Expand size of LINEBUFLEN.
61763
61764 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61765
61766 * configure.in: Moved to ...
61767 * configure.ac: ... here. Change reference to configure.in
61768 to configure.ac.
61769 * sysdeps/arm/preconfigure.ac: ... here.
61770 configure.in to configure.ac.
61771 * sysdeps/gnu/configure.in: Moved to ...
61772 * sysdeps/gnu/configure.ac: ... here.
61773 * sysdeps/i386/configure.in: Moved to ...
61774 * sysdeps/i386/configure.ac: ... here.
61775 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61776 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61777 * sysdeps/mach/configure.in: Moved to ...
61778 * sysdeps/mach/configure.ac: ... here.
61779 * sysdeps/mach/hurd/configure.in: Moved to ...
61780 * sysdeps/mach/hurd/configure.ac: ... here.
61781 * sysdeps/powerpc/configure.in: Moved to ...
61782 * sysdeps/powerpc/configure.ac: ... here.
61783 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61784 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61785 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61786 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61787 * sysdeps/s390/s390-32/configure.in: Moved to ...
61788 * sysdeps/s390/s390-32/configure.ac: ... here.
61789 * sysdeps/s390/s390-64/configure.in: Moved to ...
61790 * sysdeps/s390/s390-64/configure.ac: ... here.
61791 * sysdeps/sh/configure.in: Moved to ...
61792 * sysdeps/sh/configure.ac: ... here.
61793 * sysdeps/sparc/configure.in: Moved to ...
61794 * sysdeps/sparc/configure.ac: ... here.
61795 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61796 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61797 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61798 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61799 * sysdeps/x86_64/configure.in: Moved to ...
61800 * sysdeps/x86_64/configure.ac: ... here.
61801 * sysdeps/x86_64/preconfigure.in: Moved to ...
61802 * sysdeps/x86_64/preconfigure.ac: ... here.
61803 * aclocal.m4: Change reference to configure.in to configure.ac.
61804 * config.h.in: Likewise.
61805 * manual/install.texi: Likewise.
61806 * manual/maint.texi: Likewise.
61807 * Makefile: Likewise.
61808 * malloc/Makefile: Likewise.
61809 * nscd/Makefile: Likewise.
61810 * Makeconfig: Change reference to configure.in and
61811 preconfigure.in to configure.ac and preconfigure.ac
61812 respectively.
61813 * INSTALL: Regenerated.
61814 * configure: Likewise.
61815 * sysdeps/gnu/configure: Likewise.
61816 * sysdeps/i386/configure: Likewise.
61817 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61818 * sysdeps/mach/configure: Likewise.
61819 * sysdeps/mach/hurd/configure: Likewise.
61820 * sysdeps/powerpc/configure: Likewise.
61821 * sysdeps/powerpc/powerpc32/configure: Likewise.
61822 * sysdeps/powerpc/powerpc64/configure: Likewise.
61823 * sysdeps/s390/s390-32/configure: Likewise.
61824 * sysdeps/s390/s390-64/configure: Likewise.
61825 * sysdeps/sh/configure: Likewise.
61826 * sysdeps/sparc/configure: Likewise.
61827 * sysdeps/unix/sysv/linux/configure: Likewise.
61828 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61829 * sysdeps/x86_64/configure: Likewise.
61830 * sysdeps/x86_64/preconfigure: Likewise.
61831
61832 2013-10-29 Andreas Schwab <schwab@suse.de>
61833
61834 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61835
61836 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61837
61838 * benchtests/pow-inputs: Add new inputs.
61839
61840 * benchtests/exp-inputs: Add new inputs.
61841
61842 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61843 conditional check for return value.
61844 (__cos32): Likewise.
61845
61846 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61847
61848 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61849 to provide a boost for large inputs with word alignment.
61850 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61851 implementation based on optimized PPC64 strcpy.
61852 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61853 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61854 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61855 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61856
61857 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61858
61859 [BZ #2801]
61860 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61861
61862 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61863
61864 [BZ #14876]
61865 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61866 * time/tst-strptime.c (day_tests): Add testcase.
61867
61868 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61869
61870 [BZ #14029]
61871 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61872
61873 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61874
61875 [BZ #16074]
61876 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61877 MAP_FAILED on error.
61878
61879 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61880
61881 [BZ #16072]
61882 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61883 heap for large requests.
61884
61885 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61886
61887 [BZ #9954]
61888 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61889 result if the result has no associated interface.
61890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61891 interface for all 127.X.Y.Z addresses.
61892
61893 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61894
61895 * locale/iso-639.def: Add Ligurian (lij)
61896
61897 2013-10-21 Ondƙej Bílka <neleai@seznam.cz>
61898
61899 [BZ #15825]
61900 * sunrpc/rpc_main.c: Document rpcgen -5.
61901
61902 2013-10-19 Michael Stahl <mstahl@redhat.com>
61903
61904 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61905
61906 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61907
61908 [BZ #10278]
61909 * posix/glob.c: Match only directories when trailing slash is present.
61910 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61911 (main): Add testcase.
61912
61913 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61914
61915 [BZ #15670]
61916 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61917
61918 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61919
61920 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61921 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61922 AUTH_DES and cindex for FIPS 140-2.
61923 (DES Encryption): Add cindex FIPS 46-3.
61924
61925 * locale/locarchive.h (struct locarhandle): Add fname.
61926 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61927 if an optional argument was specified to --list-archive,
61928 otherwise NULL.
61929 * locale/programs/locarchive.c (show_archive_content): Take new
61930 argument fname and pass it via ah.fname to open_archive.
61931 * locale/programs/localedef.h: Update decl.
61932 (open_archive): If AH->fname is non-null, open that file
61933 rather than the default file name, and don't ignore ENOENT.
61934 (create_archive): Set AH.fname to NULL.
61935 (delete_locales_from_archive): Likewise.
61936 (add_locales_to_archive): Likewise.
61937 * locale/programs/locfile.c (write_all_categories): Likewise.
61938
61939 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61940 Aldy Hernandez <aldyh@redhat.com>
61941
61942 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61943 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61944 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61945 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61946 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61947 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61948 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61949 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61950 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61951 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61952 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61953 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61954 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61955 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61956 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61957 Likewise.
61958 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61959 Likewise.
61960 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61961 Likewise.
61962 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61963 Likewise.
61964 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61965 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61966 Likewise.
61967 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61968 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61969 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61970 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61971 Likewise.
61972 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61973 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61974 * sysdeps/powerpc/preconfigure: Likewise.
61975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61976 Likewise.
61977 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61978 Replace contents of file by #include of <fenv_libc.h>.
61979 * sysdeps/powerpc/soft-fp/sfp-machine.h
61980 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61981 and <sys/prctl.h>.
61982 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61995 Allow copysignl PLT reference to be missing.
61996
61997 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61998 Joseph Myers <joseph@codesourcery.com
61999
62000 [BZ #15948]
62001 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62002 single character.
62003 (add_to_tablewc): Assert sequence of wide characters is nonempty.
62004
62005 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62006
62007 * elf/tst-tls-dlinfo.c: Don't include tls.h.
62008 * elf/tst-tls1.c: Likewise.
62009 * elf/tst-tls10.h: Likewise.
62010 * elf/tst-tls14.c: Likewise.
62011 * elf/tst-tls2.c: Likewise.
62012 * elf/tst-tls3.c: Likewise.
62013 * elf/tst-tls4.c: Likewise.
62014 * elf/tst-tls5.c: Likewise.
62015 * elf/tst-tls6.c: Likewise.
62016 * elf/tst-tls7.c: Likewise.
62017 * elf/tst-tls8.c: Likewise.
62018 * elf/tst-tls9.c: Likewise.
62019 * elf/tst-tlsmod1.c: Likewise.
62020 * elf/tst-tlsmod13.c: Likewise.
62021 * elf/tst-tlsmod13a.c: Likewise.
62022 * elf/tst-tlsmod14a.c: Likewise.
62023 * elf/tst-tlsmod16a.c: Likewise.
62024 * elf/tst-tlsmod16b.c: Likewise.
62025 * elf/tst-tlsmod2.c: Likewise.
62026 * elf/tst-tlsmod3.c: Likewise.
62027 * elf/tst-tlsmod4.c: Likewise.
62028 * elf/tst-tlsmod5.c: Likewise.
62029 * elf/tst-tlsmod6.c: Likewise.
62030
62031 2013-10-18 Ondƙej Bílka <neleai@seznam.cz>
62032
62033 [BZ #12486]
62034 * malloc/malloc.c: remove checks for statistics.
62035
62036 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
62037
62038 [BZ #15277]
62039 * inet/inet_net.c (inet_network): Detect additional invalid strings.
62040 * inet/tst-network.c: Add testcase.
62041
62042 2013-10-17 Andreas Schwab <schwab@suse.de>
62043
62044 [BZ #15218]
62045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62046 to determine canonical name.
62047
62048 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
62049
62050 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62051 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62053 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62055 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62056 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62057 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62058 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62059 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62060 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62061 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62062 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62063 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62064 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62065 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62067 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62068 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62069 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62073 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62074 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62075 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62076 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62077 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62078 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62079 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62080 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62081 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62082 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62083 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62084 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62085 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62086 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62087 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62088 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62091 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62092 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62093 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62094 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62095 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62096 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62097 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62098 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62099 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62100 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62102 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62103 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62104 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62105 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62107 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62108
62109 2013-10-17 Joseph Myers <joseph@codesourcery.com>
62110
62111 [BZ #16041]
62112 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62113 make result into a quiet NaN.
62114
62115 2013-10-16 Joseph Myers <joseph@codesourcery.com>
62116
62117 * soft-fp/adddf3.c: Fix horizontal whitespace.
62118 * soft-fp/addsf3.c: Likewise.
62119 * soft-fp/addtf3.c: Likewise.
62120 * soft-fp/divdf3.c: Likewise.
62121 * soft-fp/divsf3.c: Likewise.
62122 * soft-fp/divtf3.c: Likewise.
62123 * soft-fp/double.h: Likewise.
62124 * soft-fp/eqdf2.c: Likewise.
62125 * soft-fp/eqsf2.c: Likewise.
62126 * soft-fp/eqtf2.c: Likewise.
62127 * soft-fp/extenddftf2.c: Likewise.
62128 * soft-fp/extended.h: Likewise.
62129 * soft-fp/extendsfdf2.c: Likewise.
62130 * soft-fp/extendsftf2.c: Likewise.
62131 * soft-fp/extendxftf2.c: Likewise.
62132 * soft-fp/fixdfdi.c: Likewise.
62133 * soft-fp/fixdfsi.c: Likewise.
62134 * soft-fp/fixdfti.c: Likewise.
62135 * soft-fp/fixsfdi.c: Likewise.
62136 * soft-fp/fixsfsi.c: Likewise.
62137 * soft-fp/fixsfti.c: Likewise.
62138 * soft-fp/fixtfdi.c: Likewise.
62139 * soft-fp/fixtfsi.c: Likewise.
62140 * soft-fp/fixtfti.c: Likewise.
62141 * soft-fp/fixunsdfdi.c: Likewise.
62142 * soft-fp/fixunsdfsi.c: Likewise.
62143 * soft-fp/fixunsdfti.c: Likewise.
62144 * soft-fp/fixunssfdi.c: Likewise.
62145 * soft-fp/fixunssfsi.c: Likewise.
62146 * soft-fp/fixunssfti.c: Likewise.
62147 * soft-fp/fixunstfdi.c: Likewise.
62148 * soft-fp/fixunstfsi.c: Likewise.
62149 * soft-fp/fixunstfti.c: Likewise.
62150 * soft-fp/floatdidf.c: Likewise.
62151 * soft-fp/floatdisf.c: Likewise.
62152 * soft-fp/floatditf.c: Likewise.
62153 * soft-fp/floatsidf.c: Likewise.
62154 * soft-fp/floatsisf.c: Likewise.
62155 * soft-fp/floatsitf.c: Likewise.
62156 * soft-fp/floattidf.c: Likewise.
62157 * soft-fp/floattisf.c: Likewise.
62158 * soft-fp/floattitf.c: Likewise.
62159 * soft-fp/floatundidf.c: Likewise.
62160 * soft-fp/floatundisf.c: Likewise.
62161 * soft-fp/floatunditf.c: Likewise.
62162 * soft-fp/floatunsidf.c: Likewise.
62163 * soft-fp/floatunsisf.c: Likewise.
62164 * soft-fp/floatunsitf.c: Likewise.
62165 * soft-fp/floatuntidf.c: Likewise.
62166 * soft-fp/floatuntisf.c: Likewise.
62167 * soft-fp/floatuntitf.c: Likewise.
62168 * soft-fp/fmadf4.c: Likewise.
62169 * soft-fp/fmasf4.c: Likewise.
62170 * soft-fp/fmatf4.c: Likewise.
62171 * soft-fp/gedf2.c: Likewise.
62172 * soft-fp/gesf2.c: Likewise.
62173 * soft-fp/getf2.c: Likewise.
62174 * soft-fp/ledf2.c: Likewise.
62175 * soft-fp/lesf2.c: Likewise.
62176 * soft-fp/letf2.c: Likewise.
62177 * soft-fp/muldf3.c: Likewise.
62178 * soft-fp/mulsf3.c: Likewise.
62179 * soft-fp/multf3.c: Likewise.
62180 * soft-fp/negdf2.c: Likewise.
62181 * soft-fp/negsf2.c: Likewise.
62182 * soft-fp/negtf2.c: Likewise.
62183 * soft-fp/op-1.h: Likewise.
62184 * soft-fp/op-2.h: Likewise.
62185 * soft-fp/op-4.h: Likewise.
62186 * soft-fp/op-8.h: Likewise.
62187 * soft-fp/op-common.h: Likewise.
62188 * soft-fp/quad.h: Likewise.
62189 * soft-fp/single.h: Likewise.
62190 * soft-fp/soft-fp.h: Likewise.
62191 * soft-fp/sqrtdf2.c: Likewise.
62192 * soft-fp/sqrtsf2.c: Likewise.
62193 * soft-fp/sqrttf2.c: Likewise.
62194 * soft-fp/subdf3.c: Likewise.
62195 * soft-fp/subsf3.c: Likewise.
62196 * soft-fp/subtf3.c: Likewise.
62197 * soft-fp/truncdfsf2.c: Likewise.
62198 * soft-fp/trunctfdf2.c: Likewise.
62199 * soft-fp/trunctfsf2.c: Likewise.
62200 * soft-fp/trunctfxf2.c: Likewise.
62201 * soft-fp/unorddf2.c: Likewise.
62202 * soft-fp/unordsf2.c: Likewise.
62203 * soft-fp/unordtf2.c: Likewise.
62204
62205 2013-10-15 Joseph Myers <joseph@codesourcery.com>
62206
62207 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62208 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62209
62210 2013-10-15 Ondƙej Bílka <neleai@seznam.cz>
62211
62212 * elf/dl-libc.c: Clear initfini list after freeing.
62213
62214 2013-10-14 Joseph Myers <joseph@codesourcery.com>
62215
62216 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62217 * soft-fp/addsf3.c: Likewise.
62218 * soft-fp/addtf3.c: Likewise.
62219 * soft-fp/divdf3.c: Likewise.
62220 * soft-fp/divsf3.c: Likewise.
62221 * soft-fp/divtf3.c: Likewise.
62222 * soft-fp/double.h: Likewise.
62223 * soft-fp/eqdf2.c: Likewise.
62224 * soft-fp/eqsf2.c: Likewise.
62225 * soft-fp/eqtf2.c: Likewise.
62226 * soft-fp/extenddftf2.c: Likewise.
62227 * soft-fp/extended.h: Likewise.
62228 * soft-fp/extendsfdf2.c: Likewise.
62229 * soft-fp/extendsftf2.c: Likewise.
62230 * soft-fp/extendxftf2.c: Likewise.
62231 * soft-fp/fixdfdi.c: Likewise.
62232 * soft-fp/fixdfsi.c: Likewise.
62233 * soft-fp/fixdfti.c: Likewise.
62234 * soft-fp/fixsfdi.c: Likewise.
62235 * soft-fp/fixsfsi.c: Likewise.
62236 * soft-fp/fixsfti.c: Likewise.
62237 * soft-fp/fixtfdi.c: Likewise.
62238 * soft-fp/fixtfsi.c: Likewise.
62239 * soft-fp/fixtfti.c: Likewise.
62240 * soft-fp/fixunsdfdi.c: Likewise.
62241 * soft-fp/fixunsdfsi.c: Likewise.
62242 * soft-fp/fixunsdfti.c: Likewise.
62243 * soft-fp/fixunssfdi.c: Likewise.
62244 * soft-fp/fixunssfsi.c: Likewise.
62245 * soft-fp/fixunssfti.c: Likewise.
62246 * soft-fp/fixunstfdi.c: Likewise.
62247 * soft-fp/fixunstfsi.c: Likewise.
62248 * soft-fp/fixunstfti.c: Likewise.
62249 * soft-fp/floatdidf.c: Likewise.
62250 * soft-fp/floatdisf.c: Likewise.
62251 * soft-fp/floatditf.c: Likewise.
62252 * soft-fp/floatsidf.c: Likewise.
62253 * soft-fp/floatsisf.c: Likewise.
62254 * soft-fp/floatsitf.c: Likewise.
62255 * soft-fp/floattidf.c: Likewise.
62256 * soft-fp/floattisf.c: Likewise.
62257 * soft-fp/floattitf.c: Likewise.
62258 * soft-fp/floatundidf.c: Likewise.
62259 * soft-fp/floatundisf.c: Likewise.
62260 * soft-fp/floatunsidf.c: Likewise.
62261 * soft-fp/floatunsisf.c: Likewise.
62262 * soft-fp/floatuntidf.c: Likewise.
62263 * soft-fp/floatuntisf.c: Likewise.
62264 * soft-fp/floatuntitf.c: Likewise.
62265 * soft-fp/fmadf4.c: Likewise.
62266 * soft-fp/fmasf4.c: Likewise.
62267 * soft-fp/fmatf4.c: Likewise.
62268 * soft-fp/gedf2.c: Likewise.
62269 * soft-fp/gesf2.c: Likewise.
62270 * soft-fp/getf2.c: Likewise.
62271 * soft-fp/ledf2.c: Likewise.
62272 * soft-fp/lesf2.c: Likewise.
62273 * soft-fp/letf2.c: Likewise.
62274 * soft-fp/muldf3.c: Likewise.
62275 * soft-fp/mulsf3.c: Likewise.
62276 * soft-fp/multf3.c: Likewise.
62277 * soft-fp/negdf2.c: Likewise.
62278 * soft-fp/negsf2.c: Likewise.
62279 * soft-fp/negtf2.c: Likewise.
62280 * soft-fp/op-1.h: Likewise.
62281 * soft-fp/op-2.h: Likewise.
62282 * soft-fp/op-4.h: Likewise.
62283 * soft-fp/op-8.h: Likewise.
62284 * soft-fp/op-common.h: Likewise.
62285 * soft-fp/quad.h: Likewise.
62286 * soft-fp/single.h: Likewise.
62287 * soft-fp/soft-fp.h: Likewise.
62288 * soft-fp/sqrtdf2.c: Likewise.
62289 * soft-fp/sqrtsf2.c: Likewise.
62290 * soft-fp/sqrttf2.c: Likewise.
62291 * soft-fp/subdf3.c: Likewise.
62292 * soft-fp/subsf3.c: Likewise.
62293 * soft-fp/subtf3.c: Likewise.
62294 * soft-fp/truncdfsf2.c: Likewise.
62295 * soft-fp/trunctfdf2.c: Likewise.
62296 * soft-fp/trunctfsf2.c: Likewise.
62297 * soft-fp/trunctfxf2.c: Likewise.
62298 * soft-fp/unorddf2.c: Likewise.
62299 * soft-fp/unordsf2.c: Likewise.
62300 * soft-fp/unordtf2.c: Likewise.
62301
62302 2013-10-14 Ondƙej Bílka <neleai@seznam.cz>
62303
62304 [BZ #15672]
62305 * misc/error.c (error_tail): Fix possible buffer overflow.
62306
62307 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62308
62309 [BZ #13028]
62310 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62311 address.
62312
62313 2013-10-14 P. J. McDermott <pj@pehjota.net>
62314
62315 [BZ #832]
62316 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62317 testing pipefail option.
62318
62319 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62320
62321 * soft-fp/double.h: Indent preprocessor directives inside #if.
62322 * soft-fp/extended.h: Likewise.
62323 * soft-fp/op-2.h: Likewise.
62324 * soft-fp/op-4.h: Likewise.
62325 * soft-fp/op-common.h: Likewise.
62326 * soft-fp/quad.h: Likewise.
62327 * soft-fp/single.h: Likewise.
62328 * soft-fp/soft-fp.h: Likewise.
62329
62330 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62331
62332 * iconv/iconv_prog.c: Fix typos.
62333 * stdio-common/psiginfo-data.h: Likewise.
62334
62335 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62336
62337 [BZ #15764]
62338 * locale/setlocale.c: Fix typo.
62339
62340 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62341
62342 [BZ #16036]
62343 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62344 signaling NaN arguments.
62345 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62346 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62347
62348 [BZ #14910]
62349 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62350 unordered operands.
62351 * soft-fp/gesf2.c (__gesf2): Likewise.
62352 * soft-fp/getf2.c (__getf2): Likewise.
62353 * soft-fp/ledf2.c (__ledf2): Likewise.
62354 * soft-fp/lesf2.c (__lesf2): Likewise.
62355 * soft-fp/letf2.c (__letf2): Likewise.
62356
62357 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62358 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62359 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62360 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62361 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62362 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62363 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62364 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62365 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62366 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62367 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62368 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62369 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62370 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62371 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62372 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62373 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62374 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62375 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62376 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62377 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62378 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62379 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62380 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62381 * soft-fp/floattidf.c (__floattidf): Likewise.
62382 * soft-fp/floattisf.c (__floattisf): Likewise.
62383 * soft-fp/floattitf.c (__floattitf): Likewise.
62384 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62385 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62386 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62387 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62388 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62389 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62390 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62391 * soft-fp/gesf2.c (__gesf2): Likewise.
62392 * soft-fp/getf2.c (__getf2): Likewise.
62393 * soft-fp/ledf2.c (__ledf2): Likewise.
62394 * soft-fp/lesf2.c (__lesf2): Likewise.
62395 * soft-fp/letf2.c (__letf2): Likewise.
62396
62397 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62398 Undefine and redefine.
62399 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62400 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62401 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62402 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62403 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62404 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62405 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62406 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62407 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62408 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62409 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62410 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62411 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62412 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62413 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62414
62415 [BZ #16032]
62416 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62417 without decrementing exponent if mantissa >= that for the
62418 denominator, not >.
62419 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62420 denominator, not >. Decrement exponent in < case instead of
62421 incrementing in >= case.
62422 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62423 without decrementing exponent if mantissa >= that for the
62424 denominator, not >.
62425
62426 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62427 computing saturated result for unsigned overflow.
62428
62429 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62430 Jeff Law <law@redhat.com>
62431
62432 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62433 (atan2Mp): Add systemtap probe marker.
62434 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62435 (__ieee754_log): Add systemtap probe marker.
62436 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62437 (atanMp): Add systemtap probe marker.
62438 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62439 (tanMp): Add systemtap probe marker.
62440 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62441 (__slowexp): Add systemtap probe marker.
62442 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62443 (__slowpow): Add systemtap probe marker.
62444 * manual/probes.texi: Document probes.
62445
62446 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62447
62448 [BZ #15362]
62449 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62450 written.
62451 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62452 written.
62453 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62454 written to buffer but not flushed.
62455 * libio/iofwrite_u.c: Likewise.
62456 * libio/iopadn.c: Return bytes returned even if EOF was
62457 encountered.
62458 * libio/iowpadn.c: Likewise.
62459 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62460 if _IO_padn does not write the whole buffer.
62461 [!COMPILE_WPRINTF] (PAD): Likewise.
62462
62463 2013-10-10 David S. Miller <davem@davemloft.net>
62464
62465 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62466 directory block.
62467
62468 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62469
62470 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62471 instead of FSF address.
62472 * soft-fp/fixdfti.c: Likewise.
62473 * soft-fp/fixsfti.c: Likewise.
62474 * soft-fp/fixtfti.c: Likewise.
62475 * soft-fp/fixunsdfti.c: Likewise.
62476 * soft-fp/fixunssfti.c: Likewise.
62477 * soft-fp/fixunstfti.c: Likewise.
62478 * soft-fp/floattidf.c: Likewise.
62479 * soft-fp/floattisf.c: Likewise.
62480 * soft-fp/floattitf.c: Likewise.
62481 * soft-fp/floatuntidf.c: Likewise.
62482 * soft-fp/floatuntisf.c: Likewise.
62483 * soft-fp/floatuntitf.c: Likewise.
62484 * soft-fp/trunctfxf2.c: Likewise.
62485
62486 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62487 * soft-fp/fixdfti.c: Likewise.
62488 * soft-fp/fixsfti.c: Likewise.
62489 * soft-fp/fixtfti.c: Likewise.
62490 * soft-fp/fixunsdfti.c: Likewise.
62491 * soft-fp/fixunssfti.c: Likewise.
62492 * soft-fp/fixunstfti.c: Likewise.
62493 * soft-fp/floattidf.c: Likewise.
62494 * soft-fp/floattisf.c: Likewise.
62495 * soft-fp/floattitf.c: Likewise.
62496 * soft-fp/floatuntidf.c: Likewise.
62497 * soft-fp/floatuntisf.c: Likewise.
62498 * soft-fp/floatuntitf.c: Likewise.
62499 * soft-fp/trunctfxf2.c: Likewise.
62500
62501 2013-10-10 David S. Miller <davem@davemloft.net>
62502
62503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62504
62505 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62506
62507 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62508 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62509 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62510 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62511 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62512 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62513 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62514
62515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62516 for NaNs before doing comparisons on argument.
62517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62518 Likewise.
62519
62520 2013-10-10 Will Newton <will.newton@linaro.org>
62521
62522 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62523 passed to _int_memalign does not overflow.
62524
62525 2013-10-10 Torvald Riegel <triegel@redhat.com>
62526
62527 * scripts/bench.pl: Add include-sources directive.
62528 * benchtests/README: Update documentation.
62529
62530 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62531
62532 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62533 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62534 instead of FP_INIT_ROUNDMODE.
62535 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62536 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62537
62538 [BZ #16034]
62539 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62540 copy class of input value.
62541 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62542 not handle exceptions.
62543 * soft-fp/negsf2.c (__negsf2): Likewise.
62544 * soft-fp/negtf2.c (__negtf2): Likewise.
62545 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62546
62547 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62548
62549 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62550 semicolon. From Linux kernel.
62551
62552 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62553
62554 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62555
62556 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62557
62558 [BZ #156]
62559 * manual/socket.texi: Added statement about buffer
62560 for gethostbyname2_r.
62561
62562 2013-10-08 Ondƙej Bílka <neleai@seznam.cz>
62563
62564 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62565 Use .p2align directive instead, throughout.
62566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62567 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62568 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62569 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62571 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62572 * sysdeps/x86_64/strchr.S: Likewise.
62573 * sysdeps/x86_64/strrchr.S: Likewise.
62574
62575 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62576
62577 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62578
62579 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62580
62581 * sysdeps/generic/math_private.h (__mpsin1): Remove
62582 declaration.
62583 (__mpcos1): Likewise.
62584 (__mpsin): New argument __range_reduce.
62585 (__mpcos): Likewise.
62586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62587 (slow): Use __mpsin and __mpcos.
62588 (slow1): Likewise.
62589 (slow2): Likewise.
62590 (sloww): Likewise.
62591 (sloww1): Likewise.
62592 (sloww2): Likewise.
62593 (bsloww): Likewise.
62594 (bsloww1): Likewise.
62595 (bsloww2): Likewise.
62596 (cslow2): Likewise.
62597 (csloww): Likewise.
62598 (csloww1): Likewise.
62599 (csloww2): Likewise.
62600 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62601 range_reduce. Merge in __mpsin1.
62602 (__mpcos): Likewise.
62603 (__mpsin1): Remove.
62604 (__mpcos1): Likewise.
62605
62606 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62607
62608 * locale/loadlocale.c (_nl_intern_locale_data): Use
62609 LOCFILE_ALIGNED_P.
62610 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62611 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62612 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62613 obstack data is appropriately aligned.
62614 (obstack_int32_grow_fast): Likewise.
62615 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62616 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62617 (add_locale_uint32_array): Likewise.
62618
62619 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62620
62621 * benchtests/Makefile: Remove ARGLIST and RET variables.
62622 ($(objpfx)bench-%.c): Pass only function name to the script.
62623 * benchtests/README: Update documentation.
62624 * benchtests/acos-inputs: Add new directives.
62625 * benchtests/acosh-inputs: Likewise.
62626 * benchtests/asin-inputs: Likewise.
62627 * benchtests/asinh-inputs: Likewise.
62628 * benchtests/atan-inputs: Likewise.
62629 * benchtests/atanh-inputs: Likewise.
62630 * benchtests/cos-inputs: Likewise.
62631 * benchtests/cosh-inputs: Likewise.
62632 * benchtests/exp-inputs: Likewise.
62633 * benchtests/log-inputs: Likewise.
62634 * benchtests/pow-inputs: Likewise.
62635 * benchtests/rint-inputs: Likewise.
62636 * benchtests/sin-inputs: Likewise.
62637 * benchtests/sinh-inputs: Likewise.
62638 * benchtests/tan-inputs: Likewise.
62639 * benchtests/tanh-inputs: Likewise.
62640 * scripts/bench.pl: Add support for new directives.
62641
62642 2013-10-07 Alan Modra <amodra@gmail.com>
62643
62644 * README: Fix careless merge.
62645
62646 2013-10-05 Alan Modra <amodra@gmail.com>
62647
62648 * NEWS: Mention powerpc64le support and bugs fixed.
62649 * README: Both big-endian and little-endian powerpc64 supported.
62650
62651 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62652
62653 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62654 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62655 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62656 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62657
62658 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62659
62660 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62661 match prototype.
62662
62663 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62664
62665 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62666 Move -mhard-float appending from
62667 ports/sysdeps/powerpc/powerpc32/Makefile.
62668 [$(with-fp) = yes] (ASFLAGS): Likewise.
62669 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62670 * sysdeps/powerpc/nofpu: Move directory from
62671 ports/sysdeps/powerpc/nofpu.
62672 * sysdeps/powerpc/soft-fp: Move directory from
62673 ports/sysdeps/powerpc/soft-fp.
62674 * sysdeps/powerpc/powerpc32/405: Move directory from
62675 ports/sysdeps/powerpc/powerpc32/405.
62676 * sysdeps/powerpc/powerpc32/440: Move directory from
62677 ports/sysdeps/powerpc/powerpc32/440.
62678 * sysdeps/powerpc/powerpc32/464: Move directory from
62679 ports/sysdeps/powerpc/powerpc32/464.
62680 * sysdeps/powerpc/powerpc32/476: Move directory from
62681 ports/sysdeps/powerpc/powerpc32/476.
62682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62683 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62685 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62687 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62689 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62691 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62692 * README: Update for powerpc-*-linux-gnu software floating point
62693 support in libc.
62694
62695 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62696 case to powerpc/powerpc32*.
62697 * sysdeps/unix/sysv/linux/configure: Regenerated.
62698
62699 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62700 (_FPU_MASK_OM): Define as 0x04.
62701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62703 0x00c10080.
62704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62705 0x0000003c.
62706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62707
62708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62709 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62710 getcontext_e500.
62711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62712 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62713 setcontext_e500.
62714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62715 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62716 and setcontext_e500.
62717
62718 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62719
62720 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62721
62722 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62723
62724 * manual/threads.texi (Default Thread Attributes): Fix typo.
62725
62726 2013-10-04 Will Newton <will.newton@linaro.org>
62727
62728 * malloc/Makefile: Add tst-memalign.
62729 * malloc/tst-memalign.c: New file.
62730
62731 * malloc/tst-posix_memalign.c: Add comments.
62732 (do_test): Add comments and call free on all potentially
62733 allocated pointers. Add space after cast.
62734
62735 * malloc/tst-pvalloc.c: Add comments.
62736 (do_test): Add comments and call free on all potentially
62737 allocated pointers. Remove duplicate check for NULL pointer.
62738 Add space after cast.
62739
62740 * malloc/tst-valloc.c: Add comments.
62741 (do_test): Add comments and call free on all potentially
62742 allocated pointers. Remove duplicate check for NULL pointer.
62743 Add space after cast.
62744
62745 2013-10-04 Alan Modra <amodra@gmail.com>
62746
62747 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62748 Use stdint types in rather than __attribute__((mode())).
62749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62750
62751 2013-10-04 Alan Modra <amodra@gmail.com>
62752
62753 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62754 Correct handling of unaligned relocs for little-endian.
62755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62756
62757 2013-10-04 Alan Modra <amodra@gmail.com>
62758
62759 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62760 * configure: Regenerate.
62761 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62762 * shlib-versions: Likewise.
62763
62764 2013-10-04 Alan Modra <amodra@gmail.com>
62765
62766 * string/tester.c (test_memrchr): Increment reported test cycle.
62767
62768 2013-10-04 Alan Modra <amodra@gmail.com>
62769
62770 * string/test-memcpy.c (do_one_test): When reporting errors, print
62771 string address and don't overrun end of string.
62772
62773 2013-10-04 Alan Modra <amodra@gmail.com>
62774
62775 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62776 insrdi. Make better use of reg selection to speed exit slightly.
62777 Schedule entry path a little better. Remove useless "are we done"
62778 checks on entry to main loop. Handle wrapping around zero address.
62779 Correct main loop count. Handle single left-over word from main
62780 loop inline rather than by using loop_small. Remove extra word
62781 case in loop_small caused by wrong loop count. Add little-endian
62782 support.
62783 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62785 cache hint.
62786 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62787 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62788 support. Avoid rlwimi.
62789 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62790
62791 2013-10-04 Alan Modra <amodra@gmail.com>
62792
62793 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62794 insrdi. Formatting.
62795 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62796 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62797 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62798 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62799 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62800 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62801
62802 2013-10-04 Alan Modra <amodra@gmail.com>
62803
62804 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62806 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62807 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62808 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62809 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62810 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62811 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62812 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62813 use of regs. Use power7 mtocrf. Tidy function tails.
62814
62815 2013-10-04 Alan Modra <amodra@gmail.com>
62816
62817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62818 Formatting. Consistently use rXXX register defines or rN defines.
62819 Use early exit labels that avoid restoring unused non-volatile regs.
62820 Make cr field use more consistent with rWORDn compares. Rename
62821 regs used as shift registers for unaligned loop, using rN defines
62822 for short lifetime/multiple use regs.
62823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62825 addi 1,1,64 to pop stack frame. Simplify return value code.
62826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62827
62828 2013-10-04 Alan Modra <amodra@gmail.com>
62829
62830 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62831 support. Correct typos, formatting. Optimize tail. Use insrdi
62832 rather than rlwimi.
62833 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62834 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62835 little-endian support. Correct typos.
62836 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62837 rather than rlwimi.
62838 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62839 in loop and entry code to keep "and." results.
62840 (strchr): Add little-endian support. Comment. Move cntlzd
62841 earlier in tail.
62842 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62843
62844 2013-10-04 Alan Modra <amodra@gmail.com>
62845
62846 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62847 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62848 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62849 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62850
62851 2013-10-04 Alan Modra <amodra@gmail.com>
62852
62853 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62854 (rTMP): Define as r11.
62855 (strcmp): Add little-endian support. Optimise tail.
62856 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62857 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62858 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62859 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62860 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62863
62864 2013-10-04 Alan Modra <amodra@gmail.com>
62865
62866 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62867 little-endian support. Remove unnecessary "are we done" tests.
62868 Handle "s" wrapping around zero and extremely large "size".
62869 Correct main loop count. Handle single left-over word from main
62870 loop inline rather than by using small_loop. Correct comments.
62871 Delete "zero" tail, use "end_max" instead.
62872 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62873
62874 2013-10-04 Alan Modra <amodra@gmail.com>
62875
62876 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62877 support. Don't branch over align.
62878 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62879 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62880 support. Rearrange tmp reg use to suit. Comment.
62881 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62882
62883 2013-10-04 Alan Modra <amodra@gmail.com>
62884
62885 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62886
62887 2013-10-04 Alan Modra <amodra@gmail.com>
62888
62889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62890 conditional form of branch and link when obtaining pc.
62891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62892
62893 2013-10-04 Alan Modra <amodra@gmail.com>
62894
62895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62896 HIWORD/LOWORD.
62897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62899
62900 2013-10-04 Alan Modra <amodra@gmail.com>
62901
62902 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62903 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62904 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62905 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62906 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62907 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62908 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62909 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62910 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62911 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62912
62913 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62914 Alistair Popple <alistair@ozlabs.au.ibm.com>
62915 Alan Modra <amodra@gmail.com>
62916
62917 [BZ #15723]
62918 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62919 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62920 _dl_hwcap access for little-endian.
62921 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62922 destroy vmx regs when saving unaligned.
62923 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62924 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62925 destroy vmx regs when saving unaligned.
62926
62927 2013-10-04 Alan Modra <amodra@gmail.com>
62928
62929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62930 Don't use a union to pack hi/low value.
62931
62932 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62933
62934 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62935 for little-endian.
62936 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62938 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62939 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62940 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62941
62942 2013-10-04 Alan Modra <amodra@gmail.com>
62943
62944 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62945 constants to usual value for .cst8 section, and remove redundant
62946 high address load.
62947 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62948 constant for 0x1p52. Load little-endian words of double from
62949 correct stack offsets.
62950
62951 2013-10-04 Alan Modra <amodra@gmail.com>
62952
62953 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62954 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62955 words of double from correct stack offsets.
62956 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62957 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62958 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62959 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62960 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62961 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62962 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62963 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62964 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62965 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62966 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62967 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62968 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62969 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62970 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62971 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62972 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62973
62974 2013-10-04 Alan Modra <amodra@gmail.com>
62975
62976 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62977 64-bit int/double union.
62978 (_FPU_SETCW): Likewise.
62979 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62980 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62981
62982 2013-10-04 Alan Modra <amodra@gmail.com>
62983
62984 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62985 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62986
62987 2013-10-04 Alan Modra <amodra@gmail.com>
62988
62989 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62990 use vector int constants.
62991 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62992
62993 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62994
62995 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62996 array with long long.
62997 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62998 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62999 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63000 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63001 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63002 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63003 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63004 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63005 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63006 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63007 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63008 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63009 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63010
63011 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63012
63013 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63014 (__signbit): Likewise. Correct for little-endian.
63015 (__signbitl): Call __signbit.
63016 (lrint): Correct for little-endian.
63017 (lrintf): Call lrint.
63018
63019 2013-10-04 Alan Modra <amodra@gmail.com>
63020
63021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63022 union 32-bit int array member with 64-bit int array.
63023 (t515, tm256): Double rather than long double.
63024 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63025
63026 2013-10-04 Alan Modra <amodra@gmail.com>
63027
63028 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63029 Delete.
63030 (IEEE854_LONG_DOUBLE_BIAS): Delete.
63031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63032 version of math_ldbl.h.
63033
63034 2013-10-04 Alan Modra <amodra@gmail.com>
63035
63036 [BZ #15734], [BZ #15735]
63037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63038 all uses of ieee875 long double macros and unions. Simplify test
63039 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
63040 ldbl_extract_mantissa value for ix,iy exponents. Properly
63041 normalize after ldbl_extract_mantissa, and don't add hidden bit
63042 already handled. Don't treat low word of ieee854 mantissa like
63043 low word of IBM long double and mask off bit when testing for
63044 zero.
63045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63046 all uses of ieee875 long double macros and unions. Simplify tests
63047 for 0.0L and inf. Correct double adjustment of k. Delete dead code
63048 adjusting ha,hb. Simplify code setting kld. Delete two600 and
63049 two1022, instead use their values. Recognise that tests for large
63050 "a" and small "b" are mutually exclusive. Rename vars. Comment.
63051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63052 Rewrite all uses of ieee875 long double macros and unions. Simplify
63053 test for 0.0L and nan. Correct negation.
63054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63055 ieee875 long double macros and unions. Correct output for large
63056 magnitude x. Correct absolute value calculation.
63057 (__erfcl): Likewise.
63058 * math/libm-test.inc: Add tests for errors discovered in IBM long
63059 double versions of fmodl, remainderl, erfl and erfcl.
63060
63061 2013-10-04 Alan Modra <amodra@gmail.com>
63062
63063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63064 all uses of ieee854 long double macros and unions. Simplify tests
63065 for long doubles that are fully specified by the high double.
63066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63067 Likewise.
63068 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63069 Remove dead code too.
63070 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63071 (__ieee754_ynl): Likewise.
63072 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63073 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63075 Remove dead code too.
63076 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63077 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63078 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63079 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63080 Simplify.
63081 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63082 Simplify.
63083 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63084 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63085 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63086 Comment on variable precision.
63087 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63088 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63089 Likewise.
63090 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63091 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63092 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63093 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63095
63096 2013-10-04 Alan Modra <amodra@gmail.com>
63097
63098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63099 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63100 all uses of ieee854 long double macros and unions.
63101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63102 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63103 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63105 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63106 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63107 Likewise.
63108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63109 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63110 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63111 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63112 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63113 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63114 Simplify sign and nan test too.
63115 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63116 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63117 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63119 Likewise.
63120 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63121 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63122 Likewise.
63123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63124 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63125 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63126 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63127 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63129
63130 2013-10-04 Alan Modra <amodra@gmail.com>
63131
63132 * stdio-common/printf_size.c (__printf_size): Don't use
63133 union ieee854_long_double in fpnum union.
63134 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
63135 signbit macro to retrieve sign from long double.
63136 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63137 retrieve sign from long double.
63138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63139 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63140 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63141 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63142 * math/test-misc.c (main): Don't use union ieee854_long_double.
63143
63144 2013-10-04 Alan Modra <amodra@gmail.com>
63145
63146 [BZ #15680]
63147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63148 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63149 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63150 calculation. Remove unnecessary test for denormal exponent.
63151 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63152 Correct handling of denormals. Avoid undefined shift behaviour.
63153 Correct normalisation of low mantissa when low double is denormal.
63154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63155 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
63156 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63157 Correct normalisation of low mantissa. Test for overflow of high
63158 mantissa and normalise.
63159 (ldbl_nearbyint): Use more readable constant for two52.
63160 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63161 (__mpn_construct_long_double): Fix test for overflow of high
63162 mantissa and correct normalisation. Avoid undefined shift.
63163
63164 2013-10-04 Alan Modra <amodra@gmail.com>
63165
63166 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63167 (union ibm_extended_long_double): Define as an array of ieee754_double.
63168 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63169 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63170 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63171 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63173 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63174 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63175 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63176 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63177 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63178 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63179
63180 2013-10-03 Joseph Myers <joseph@codesourcery.com>
63181
63182 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63183 page size instead of calling getpagesize.
63184
63185 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63186 (LOCFILE_ALIGN_MASK): Likewise.
63187 (LOCFILE_ALIGN_UP): Likewise.
63188 (LOCFILE_ALIGNED_P): Likewise.
63189 * locale/programs/ld-collate.c (collate_output): Use the new
63190 macros instead of __alignof__ (int32_t).
63191 * locale/weight.h (findidx): Likewise.
63192
63193 2013-10-03 Ondƙej Bílka <neleai@seznam.cz>
63194
63195 [BZ #431]
63196 * manual/string.texi: Fix strncat and wcsncat.
63197
63198 2013-10-03 Brooks Moses <bmoses@google.com>
63199
63200 [BZ #15915]
63201 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63202 * Makerules: ...here, and adjust associated comments.
63203
63204 2013-10-02 Will Newton <will.newton@linaro.org>
63205
63206 * malloc/Makefile: Add tst-pvalloc.
63207 * malloc/tst-pvalloc.c: New file.
63208
63209 2013-10-02 Will Newton <will.newton@linaro.org>
63210
63211 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63212 improve test coverage.
63213
63214 2013-10-02 Will Newton <will.newton@linaro.org>
63215
63216 * malloc/Makefile: Add tst-posix_memalign.
63217 * malloc/tst-posix_memalign.c: New file.
63218
63219 2013-10-01 Eric Blake <eblake@redhat.com>
63220
63221 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63222 Use __THROWNL rather than __THROW on static functions.
63223
63224 2013-09-30 Petr Machata <pmachata@redhat.com>
63225
63226 * elf/elf.h (R_AARCH64_ABS16): New macro.
63227 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63228 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63229 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63230 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63231 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63232 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63233 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63234 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63235 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63236 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63237 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63238 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63239 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63240 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63241 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63242 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63243 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63244 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63245 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63246 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63247 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63248 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63249 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63250 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63251 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63252 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63253 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63254 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63255 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63256 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63257 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63258 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63259 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63260 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63261 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63262 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63263 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63264 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63265 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63266 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63267 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63268 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63269 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63270 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63271 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63272 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63273 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63274 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63275 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63276 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63277 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63278 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63279 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63280 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63281 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63282 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63283 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63284 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63285 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63286 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63287 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63288 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63289 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63290 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63291 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63292 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63293 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63294 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63295 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63296 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63297 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63298 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63299 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63300 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63301 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63302 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63303 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63304 (R_AARCH64_TLSDESC_LDR): Likewise.
63305 (R_AARCH64_TLSDESC_ADD): Likewise.
63306 (R_AARCH64_TLSDESC_CALL): Likewise.
63307
63308 2013-09-30 Andreas Schwab <schwab@suse.de>
63309
63310 [BZ #15048]
63311 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63312 the nss database lookup.
63313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63315
63316 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63317
63318 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63319
63320 2013-09-28 P. J. McDermott <pj@pehjota.net>
63321
63322 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63323 ${Bash-specific parameter/pattern/string} parameter expansion.
63324 * sysdeps/unix/make-syscalls.sh: Likewise.
63325
63326 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63327
63328 * sysdeps/sh/stackguard-macros.h: New file.
63329
63330 2013-09-26 Ondƙej Bílka <neleai@seznam.cz>
63331
63332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63334 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63335 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63336 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63337 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63338
63339 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63340
63341 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63342 Fix thread ID register.
63343
63344 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63345
63346 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63347 [POSIX || UNIX98]: Require rather than permitting all symbols from
63348 <time.h>.
63349 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63350 element of struct sched_param.
63351 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63352 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63353 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63354 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63355 constant.
63356
63357 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63358
63359 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63360 argument calculation.
63361
63362 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63363
63364 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63365 Expect macro.
63366 [POSIX] (pthread_attr_t): Do not require type.
63367 [POSIX] (pthread_cond_t): Likewise.
63368 [POSIX] (pthread_condattr_t): Likewise.
63369 [POSIX] (pthread_key_t): Likewise.
63370 [POSIX] (pthread_mutex_t): Likewise.
63371 [POSIX] (pthread_mutexattr_t): Likewise.
63372 [POSIX] (pthread_once_t): Likewise.
63373 [POSIX] (pthread_t): Likewise.
63374 [POSIX-based standards] (pthread_atfork): Expect function.
63375
63376 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63377 Richard Sandiford <richard@codesourcery.com>
63378
63379 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63380 (swap_endianness_p): New extern variable.
63381 (set_big_endian): New inline function.
63382 (maybe_swap_uint32): Likewise.
63383 (maybe_swap_uint32_array): Likewise.
63384 (maybe_swap_uint32_obstack): Likewise.
63385 * locale/programs/locfile.c: Include <stdbool.h>.
63386 (swap_endianness_p): New variable.
63387 (add_locale_uint32): Call maybe_swap_uint32.
63388 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63389 (write_locale_data): Call maybe_swap_uint32_array.
63390 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63391 maybe_swap_uint32.
63392 (obstack_int32_grow_fast): Likewise.
63393 (output_weightwc): Call maybe_swap_uint32_obstack.
63394 (collate_output): Likewise.
63395 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63396 (OPT_LITTLE_ENDIAN): Likewise.
63397 (options): Add --little-endian and --big-endian options.
63398 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63399 * locale/programs/locarchive.c: Include "locfile.h".
63400 (GET): New macro.
63401 (SET): Likewise.
63402 (INC): Likewise.
63403 (create_archive): Use the new macros to access fields of
63404 structures directly mapped from or written to locale archives.
63405 (oldlocrecentcmp): Likewise.
63406 (enlarge_archive): Likewise.
63407 (insert_name): Likewise.
63408 (add_alias): Likewise.
63409 (add_locale): Likewise.
63410 (delete_locales_from_archive): Likewise.
63411 (show_archive_content): Likewise.
63412 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63413 locale data.
63414
63415 2013-09-24 Roland McGrath <roland@hack.frob.com>
63416
63417 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63418 http://www.gnu.org/doc/freemanuals.texi.
63419 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63420
63421 2013-09-24 Will Newton <will.newton@linaro.org>
63422
63423 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63424 macro.
63425
63426 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63427
63428 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63429 unsigned char.
63430
63431 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63432
63433 * manual/threads.texi (POSIX Threads): Fix a typo.
63434
63435 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63436
63437 [BZ #14547]
63438 * string/tst-strcoll-overflow.c: New test case.
63439 * string/Makefile (xtests): Add tst-strcoll-overflow.
63440 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63441 cache if string sizes may cause integer overflow.
63442
63443 [BZ #14547]
63444 * string/strcoll_l.c (coll_seq): New members rule, idx,
63445 save_idx and back_us.
63446 (get_next_seq_nocache): New function.
63447 (do_compare_nocache): New function.
63448 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63449 when malloc fails.
63450
63451 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63452
63453 [BZ #15754]
63454 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63455 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63456 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63457
63458 [BZ #15754]
63459 * elf/Makefile (tests): Add tst-ptrguard1.
63460 (tests-static): Add tst-ptrguard1-static.
63461 (tst-ptrguard1-ARGS): Define.
63462 (tst-ptrguard1-static-ARGS): Define.
63463 * elf/tst-ptrguard1.c: New file.
63464 * elf/tst-ptrguard1-static.c: New file.
63465 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63466 * sysdeps/i386/stackguard-macros.h: Likewise.
63467 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63468 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63469 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63470 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63471 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63472 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63473
63474 2013-09-23 Hector Marco <hecmargi@upv.es>
63475 Ismael Ripoll <iripoll@disca.upv.es>
63476 Carlos O'Donell <carlos@redhat.com>
63477
63478 [BZ #15754]
63479 * sysdeps/generic/stackguard-macros.h: Define
63480 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63481 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63482 Define __pointer_chk_guard_local.
63483 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63484 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63485
63486 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63487
63488 [BZ #15859]
63489 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63490
63491 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63492
63493 * include/string.h (__ffs): Declare as hidden.
63494 * string/ffs.c (__ffs): Define as hidden.
63495 * sysdeps/i386/ffs.c (__ffs): Likewise.
63496 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63497 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63498 * sysdeps/s390/ffs.c (__ffs): Likewise.
63499 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63500
63501 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63502
63503 * NEWS: Mention malloc probes.
63504
63505 * malloc/arena.c (new_heap): New memory_heap_new probe.
63506 (grow_heap): New memory_heap_more probe.
63507 (shrink_heap): New memory_heap_less probe.
63508 (heap_trim): New memory_heap_free probe.
63509 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63510 (systrim): New memory_sbrk_less probe.
63511 * manual/probes.texi: Document them.
63512
63513 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63514 * manual/probes.texi: Document it.
63515
63516 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63517 (__libc_realloc): Add memory_realloc_retry probe.
63518 (__libc_memalign): Add memory_memalign_retry probe.
63519 (__libc_valloc): Add memory_valloc_retry probe.
63520 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63521 (__libc_calloc): Add memory_calloc_retry probe.
63522 * manual/probes.texi: Document them.
63523
63524 * malloc/arena.c (get_free_list): Add probe
63525 memory_arena_reuse_free_list.
63526 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63527 and memory_arena_reuse.
63528 (arena_get2) [!PER_THREAD]: Likewise.
63529 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63530 memory_arena_reuse_realloc.
63531 * manual/probes.texi: Document them.
63532
63533 * malloc/malloc.c (__libc_free): Add
63534 memory_mallopt_free_dyn_thresholds probe.
63535 (__libc_mallopt): Add multiple memory_mallopt probes.
63536 * manual/probes.texi: Document them.
63537
63538 * malloc/malloc.c: Include stap-probe.h.
63539 (__libc_mallopt): Add memory_mallopt probe.
63540 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63541 * manual/probes.texi: New.
63542 * manual/Makefile (chapters): Add probes.
63543 * manual/threads.texi: Set next node.
63544
63545 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63546
63547 [BZ #15963, #13985]
63548 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63549 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63550 Add `Chinese' to `nan' entry name.
63551
63552 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63553
63554 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63555 (POLYNOMIAL): Likewise.
63556 (TAYLOR_SINCOS): Likewise.
63557 (TAYLOR_SLOW): Likewise.
63558 (__sin): Use TAYLOR_SINCOS.
63559 (__cos): Likewise.
63560 (slow): Use TAYLOR_SLOW.
63561 (sloww): Likewise.
63562 (bsloww): Likewise.
63563 (csloww): Likewise.
63564
63565 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63566
63567 * stdlib/strtod_l.c: Fix buffer overrun.
63568
63569 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63570
63571 * benchtests/Makefile (bench): Add sincos.
63572 * benchtests/bench-sincos.c: New file.
63573
63574 * math/libm-test.inc (cos_test_data): New test inputs.
63575 (sin_test_data): Likewise.
63576
63577 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63578 macro.
63579 (__sin): Use it.
63580 (__cos): Likewise.
63581 (slow1): Likewise.
63582 (slow2): Likewise.
63583 (sloww1): Likewise.
63584 (sloww2): Likewise.
63585 (bsloww1): Likewise.
63586 (bsloww2): Likewise.
63587 (cslow2): Likewise.
63588 (csloww1): Likewise.
63589 (csloww2): Likewise.
63590
63591 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63592 function.
63593 (__sin): Use it.
63594 (__cos): Likewise.
63595
63596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63597 gotos.
63598 (__cos): Likewise.
63599
63600 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63601
63602 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63603 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63604 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63605 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63606 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63607 * elf/cache.c (print_entry): Handle the new cache flags.
63608
63609 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63610 Aldy Hernandez <aldyh@redhat.com>
63611
63612 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63613 Change condition to [_SOFT_FLOAT].
63614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63626 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63629 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63630 declaration.
63631
63632 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63633
63634 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63635 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63636 (__longjmp): Use LOAD_GP to load saved GPRs.
63637 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63638 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63639 (__sigsetjmp): Use SAVE_GP to save GPRs.
63640
63641 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63642 Do not append -msoft-float.
63643 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63644
63645 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63646
63647 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63648
63649 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63650
63651 [BZ #15966]
63652 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63653 (_FPU_GETCW): Use initial "__" on variable and field names but not
63654 on macro parameter name.
63655 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63656 parentheses around reference to macro parameter.
63657
63658 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63659
63660 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63661 prototype.
63662 (ctype_startup): Use uint32_t in cast and sizeof for
63663 ctype->charnames.
63664
63665 2013-09-11 Jia Liu <proljc@gmail.com>
63666
63667 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63668 __daddr_t_defined.
63669 [__FreeBSD__]: Likewise.
63670
63671 2013-09-11 Ondƙej Bílka <neleai@seznam.cz>
63672
63673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63674 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63675 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63676 (strchr): Remove __strchr_sse42 ifunc selection.
63677 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63678 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63679
63680 2013-09-11 Will Newton <will.newton@linaro.org>
63681
63682 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63683 parameter to RES. Remove hardcoded 1000 value.
63684 * benchtests/bench-skeleton.c (main): Pass RES parameter
63685 to TIMING_INIT and multiply result by 1000.
63686
63687 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63688
63689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63690
63691 2013-09-11 Andreas Schwab <schwab@suse.de>
63692
63693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63694 if not defined.
63695 (O_TMPFILE) [__USE_GNU]: Define.
63696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63697 Define.
63698
63699 2013-09-11 Will Newton <will.newton@linaro.org>
63700
63701 [BZ #15857]
63702 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63703 does not overflow.
63704
63705 2013-09-11 Will Newton <will.newton@linaro.org>
63706
63707 [BZ #15856]
63708 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63709 does not overflow.
63710
63711 2013-09-11 Will Newton <will.newton@linaro.org>
63712
63713 [BZ #15855]
63714 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63715 does not overflow.
63716
63717 2013-09-10 Ondƙej Bílka <neleai@seznam.cz>
63718
63719 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63721 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63722 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63724
63725 2013-09-10 Allan McRae <allan@archlinux.org>
63726
63727 [BZ #15748]
63728 * manual/arith.texi (Parsing of Floats): Clarify
63729 cross-reference.
63730
63731 [BZ #15849]
63732 * manual/install.texi (Running make install): Mention
63733 --enable-pt-chown.
63734 * INSTALL: Regenerated.
63735
63736 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63737
63738 * csu/init-first.c (_init): Remove the !SHARED condition around
63739 FPU control word initialization.
63740 * elf/dl-support.c (_dl_fpu_control): New variable.
63741 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63742 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63743 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63744 * math/test-fpucw-static.c: New file.
63745 * math/test-fpucw-ieee.c: New file.
63746 * math/test-fpucw-ieee-static.c: New file.
63747 * math/Makefile (tests): Add `test-fpucw-ieee' and
63748 `$(tests-static)'.
63749 (tests-static): New variable.
63750 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63751 dependency to...
63752 [($(build-shared),yes)]
63753 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63754 ... this.
63755 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63756 New dependency.
63757
63758 2013-09-09 Allan McRae <allan@archlinux.org>
63759
63760 [BZ #15939]
63761 * manual/string.texi (Collation Functions): Fix typo in
63762 strcoll example.
63763 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63764
63765 [BZ #15893]
63766 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63767
63768 [BZ #15892]
63769 * libio/memstream.c (open_memstream): Fix memory leak.
63770 * libio/wmemstream.c (open_wmemstream): Likewise.
63771
63772 [BZ #15895]
63773 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63774
63775 2013-09-09 Will Newton <will.newton@linaro.org>
63776
63777 * malloc/Makefile: Add tst-realloc to tests.
63778 * malloc/tst-realloc.c: New file.
63779
63780 2013-09-09 Allan McRae <allan@archlinux.org>
63781
63782 [BZ #15844]
63783 * COPYING: Update from GNU website to fix FSF address.
63784 * COPYING.LIB: Likewise.
63785
63786 2013-09-06 David S. Miller <davem@davemloft.net>
63787
63788 * po/zh_TW.po: Update Chinese (traditional) translation from
63789 translation project.
63790
63791 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63792 Joseph Myers <joseph@codesourcery.com>
63793
63794 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63795 "localeinfo.h".
63796 (obstack_chunk_alloc): New macro.
63797 (obstack_chunk_free): Likewise.
63798 (record_offset): New function.
63799 (init_locale_data): Likewise.
63800 (align_locale_data): Likewise.
63801 (add_locale_empty): Likewise.
63802 (add_locale_raw_data): Likewise.
63803 (add_locale_raw_obstack): Likewise.
63804 (add_locale_string): Likewise.
63805 (add_locale_wstring): Likewise.
63806 (add_locale_uint32): Likewise.
63807 (add_locale_uint32_array): Likewise.
63808 (add_locale_char): Likewise.
63809 (start_locale_structure): Likewise.
63810 (end_locale_structure): Likewise.
63811 (start_locale_prelude): Likewise.
63812 (end_locale_prelude): Likewise.
63813 (write_locale_data): Take locale_file structure rather than an
63814 iovec.
63815 * locale/programs/locfile.h: Include "obstack.h".
63816 (struct locale_file): Change to store locale file contents instead
63817 of header.
63818 (init_locale_data): New prototype.
63819 (align_locale_data): Likewise.
63820 (add_locale_empty): Likewise.
63821 (add_locale_raw_data): Likewise.
63822 (add_locale_raw_obstack): Likewise.
63823 (add_locale_string): Likewise.
63824 (add_locale_wstring): Likewise.
63825 (add_locale_uint32): Likewise.
63826 (add_locale_uint32_array): Likewise.
63827 (add_locale_char): Likewise.
63828 (start_locale_structure): Likewise.
63829 (end_locale_structure): Likewise.
63830 (start_locale_prelude): Likewise.
63831 (end_locale_prelude): Likewise.
63832 (write_locale_data): Update prototype.
63833 * locale/programs/3level.h (struct TABLE): Remove result field.
63834 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63835 Use new locale_file interface.
63836 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63837 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63838 * locale/programs/ld-address.c (address_output): Use new
63839 locale_file interface.
63840 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63841 NO_ADD_LOCALE.
63842 (collate_finish): Don't call collseq_table_finalize.
63843 (collate_output): Use new locale_file interface.
63844 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63845 in file.
63846 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63847 (TABLE): Move defines earlier in file.
63848 (ELEMENT): Likewise.
63849 (DEFAULT): Likewise.
63850 (wctrans_table_add): Move macro and inline function earlier in
63851 file.
63852 (struct wctype_table): Move type earlier in file.
63853 (add_locale_wctype_table): New static prototype.
63854 (struct locale_ctype_t): Use logical types instead of struct iovec
63855 pointers for members.
63856 (ctype_output): Use new locale_file interface.
63857 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63858 new locale_file interface.
63859 (allocate_arrays): Update for use of new locale_file interface.
63860 * locale/programs/ld-identification.c (identification_output): Use
63861 new locale_file interface.
63862 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63863 * locale/programs/ld-messages.c (messages_output): Likewise.
63864 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63865 * locale/programs/ld-name.c (name_output): Likewise.
63866 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63867 * locale/programs/ld-paper.c (paper_output): Likewise.
63868 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63869 * locale/programs/ld-time.c (time_output): Likewise.
63870
63871 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63872
63873 * benchtests/Makefile: Add memrchr benchmark.
63874 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63875 benchmark as memrchr.
63876 * benchtests/bench-memrchr-ifunc.c: New file.
63877 * benchtests/bench-memrchr.c: New file.
63878
63879 2013-09-06 Will Newton <will.newton@linaro.org>
63880
63881 * benchtests/Makefile (string-bench): Add memcpy.
63882
63883 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63884 Cong Wang <amwang@redhat.com>
63885
63886 [BZ #15850]
63887 * sysdeps/unix/sysv/linux/bits/in.h
63888 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63889 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63890 before __USE_KERNEL_IPV6_DEFS uses.
63891 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63892 IPPROTO_BEETPH.
63893 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63894 sockaddr_in6, or ipv6_mreq.
63895
63896 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63897
63898 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63899 memory access for final bytes in some large inputs.
63900 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63901
63902 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63903
63904 * string/test-memrchr.c: New file.
63905 * string/test-memrchr-ifunc.c: New file.
63906 * string/Makefile: Add new memrchr testcase.
63907
63908 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63909
63910 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63911 fanotify_init returns EPERM.
63912
63913 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63914
63915 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63916 errors.
63917 (top level): Treat second token from macro or constant entries for
63918 allowed headers as allowed.
63919 * include/complex.h: Condition internal declarations on
63920 [!_ISOMAC].
63921 * include/fenv.h: Condition include of <stdbool.h> and internal
63922 declarations on [!_ISOMAC].
63923
63924 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63925
63926 [BZ #15923]
63927 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63928
63929 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63930
63931 * configure.in (--enable-versioning): Remove configure option.
63932 (libc_cv_asm_symver_directive): Remove configure test.
63933 (libc_cv_ld_version_script_option): Likewise.
63934 (VERSIONING): Remove variable and AC_SUBST.
63935 (DO_VERSIONING): Remove AC_DEFINE.
63936 * configure: Regenerated.
63937 * config.h.in (DO_VERSIONING): Remove macro.
63938 * Makerules [$(versioning) = yes]: Change conditionals to
63939 [$(build-shared) = yes].
63940 * config.make.in (versioning): Remove variable.
63941 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63942 [$(build-shared) = yes].
63943 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63944 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63945 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63946 [$(build-shared) = yes].
63947 * extra-lib.mk [$(versioning) = yes]: Likewise.
63948 * hurd/Makefile [$(versioning) = yes]: Likewise.
63949 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63950 [SHARED].
63951 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63952 [SHARED].
63953 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63954 [SHARED && !NO_HIDDEN].
63955 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63956 [SHARED].
63957 [SHARED && DO_VERSIONING]: Likewise..
63958 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63959 [$(build-shared) = yes].
63960 * manual/install.texi (--disable-versioning): Remove
63961 documentation.
63962 * INSTALL: Regenerated.
63963 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63964 to [SHARED].
63965 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63966 [$(build-shared) = yes].
63967 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63968 * sysdeps/i386/i686/multiarch/strstr-c.c
63969 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63970 [SHARED && !NO_HIDDEN].
63971 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63972 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63973 * sysdeps/powerpc/powerpc32/dl-machine.c
63974 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63975 * sysdeps/powerpc/powerpc32/sysdep.h
63976 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63977 to [SHARED && PIC && !NO_HIDDEN].
63978 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63979 conditional to [SHARED].
63980
63981 2013-09-04 Will Newton <will.newton@linaro.org>
63982
63983 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63984 * benchtests/bench-string.h: Include bench-timing.h instead
63985 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63986 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63987 call to HP_TIMING_DIFF_INIT.
63988 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63989 instead of hp-timing.h macros.
63990 * benchtests/bench-memchr.c: Likewise.
63991 * benchtests/bench-memcmp.c: Likewise.
63992 * benchtests/bench-memcpy.c: Likewise.
63993 * benchtests/bench-memmem.c: Likewise.
63994 * benchtests/bench-memmove.c: Likewise.
63995 * benchtests/bench-memset.c: Likewise.
63996 * benchtests/bench-rawmemchr.c: Likewise.
63997 * benchtests/bench-strcasecmp.c: Likewise.
63998 * benchtests/bench-strcasestr.c: Likewise.
63999 * benchtests/bench-strcat.c: Likewise.
64000 * benchtests/bench-strchr.c: Likewise.
64001 * benchtests/bench-strcmp.c: Likewise.
64002 * benchtests/bench-strcpy.c: Likewise.
64003 * benchtests/bench-strcpy_chk.c: Likewise.
64004 * benchtests/bench-strlen.c: Likewise.
64005 * benchtests/bench-strncasecmp.c: Likewise.
64006 * benchtests/bench-strncat.c: Likewise.
64007 * benchtests/bench-strncmp.c: Likewise.
64008 * benchtests/bench-strncpy.c: Likewise.
64009 * benchtests/bench-strnlen.c: Likewise.
64010 * benchtests/bench-strpbrk.c: Likewise.
64011 * benchtests/bench-strrchr.c: Likewise.
64012 * benchtests/bench-strspn.c: Likewise.
64013 * benchtests/bench-strstr.c: Likewise.
64014
64015 2013-09-04 Will Newton <will.newton@linaro.org>
64016
64017 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64018
64019 2013-09-03 Joseph Myers <joseph@codesourcery.com>
64020
64021 [BZ #15427]
64022 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64023 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64024 * math/libm-test.inc (lgamma_test_data): Add more tests.
64025 * sysdeps/i386/fpu/libm-test-ulps: Update.
64026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64027
64028 2013-09-03 Ondƙej Bílka <neleai@seznam.cz>
64029
64030 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64032 Add ifunc.
64033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64034 Add strcmp-sse2-unaligned
64035 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64036
64037 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64038
64039 * Versions.def (libc): Add GLIBC_2.19.
64040
64041 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64042
64043 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64044 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64045
64046 2013-09-02 Joseph Myers <joseph@codesourcery.com>
64047
64048 [BZ #14155]
64049 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64050 intermediate calculations in recurrence.
64051 (__ieee754_ynf): Likewise.
64052 * math/libm-test.inc (jn_test_data): Do not allow spurious
64053 underflow exception. Add more tests.
64054 (yn_test_data): Add more tests.
64055 * sysdeps/i386/fpu/libm-test-ulps: Update.
64056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64057
64058 2013-09-02 Ondƙej Bílka <neleai@seznam.cz>
64059
64060 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64061
64062 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64063
64064 * csu/init-first.c: Fix then/than typos.
64065 * locale/programs/ld-collate.c: Likewise.
64066 * locale/programs/linereader.h: Likewise.
64067 * manual/charset.texi: Likewise.
64068 * manual/filesys.texi: Likewise.
64069 * manual/stdio.texi: Likewise.
64070 * manual/string.texi: Likewise.
64071 * stdlib/fmtmsg.c: Likewise.
64072 * sysdeps/i386/stpncpy.S: Likewise.
64073 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64074 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64075 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64076 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64077
64078 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64079
64080 * elf/dl-open.c: Fix typos.
64081 * iconvdata/gbbig5.c: Likewise.
64082 * iconvdata/iso-2022-jp.c: Likewise.
64083 * iconv/gconv_int.h: Likewise.
64084 * iconv/loop.c: Likewise.
64085 * nis/rpcsvc/nis.h: Likewise.
64086 * resolv/ns_name.c: Likewise.
64087 * stdio-common/vfscanf.c: Likewise.
64088 * streams/stropts.h: Likewise.
64089 * sunrpc/rpc_thread.c: Likewise.
64090 * sysdeps/i386/strpbrk.S: Likewise.
64091 * sysdeps/ieee754/k_standard.c: Likewise.
64092 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64093 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64094 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64095 * sysdeps/mach/hurd/profil.c: Likewise.
64096 * sysdeps/s390/dl-procinfo.h: Likewise.
64097 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64098 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64099 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64100 * sysdeps/x86_64/dl-trampoline.S: Likewise.
64101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64102
64103 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64104
64105 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64107
64108 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
64109
64110 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64111 aix specific files.
64112 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64113 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64114 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64115 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64116 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64117 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64118 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64119 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64120
64121 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64122 Roland McGrath <roland@hack.frob.com>
64123
64124 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64125 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64126
64127 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
64128
64129 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64130 __executable_start symbol instead of _start.
64131
64132 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64133
64134 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64135 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64136 Move macros to...
64137 * sysdeps/gnu/ldsodefs.h: ... this new file.
64138
64139 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64140 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64141 instead of ELFOSABI_LINUX.
64142
64143 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64144 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64145 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64146 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64147 Likewise.
64148 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64149 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64150 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64151 Likewise.
64152 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64153 (ibm_extended_long_double): Add ieee_nan member.
64154 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64155 (do_test): New function.
64156
64157 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64158 TEST_TRUNC.
64159 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64160 functions, renamed from truncdfsf_test, trunctfsf_test,
64161 trunctfdf_test.
64162 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64163 functions.
64164 (do_test): Run all these.
64165
64166 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
64167
64168 * argp/argp-help.c: Fix typos.
64169 * argp/argp-parse.c: Likewise.
64170 * debug/backtracesyms.c: Likewise.
64171 * elf/elf.h: Likewise.
64172 * malloc/malloc.c: Likewise.
64173 * nis/nis_print.c: Likewise.
64174 * resolv/res_comp.c: Likewise.
64175 * stdlib/stdlib.h: Likewise.
64176 * sunrpc/clnt_tcp.c: Likewise.
64177 * sunrpc/clnt_udp.c: Likewise.
64178 * sunrpc/clnt_unix.c: Likewise.
64179 * sysdeps/unix/bsd/ptsname.c: Likewise.
64180 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64181 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64183 Likewise.
64184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64185 Likewise.
64186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64187 Likewise.
64188 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64189
64190 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64191
64192 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64194
64195 2013-08-27 Mike Frysinger <vapier@gentoo.org>
64196
64197 [BZ #15897]
64198 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64199 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64200 ($(objpfx)bug-dl-leaf): New rule.
64201 ($(objpfx)bug-dl-leaf.so): Likewise.
64202 ($(objpfx)bug-dl-leaf.out): Likewise.
64203 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64204 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64205 * dlfcn/bug-dl-leaf.c: New test.
64206 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64207 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64208 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64209 (dlclose): Likewise.
64210 (dlmopen): Likewise.
64211
64212 2013-08-27 Roland McGrath <roland@hack.frob.com>
64213
64214 * include/netdb.h [!_ISOMAC]:
64215 Don't include <tls.h>.
64216 (h_errno, __libc_h_errno): Move declaration and macros out of
64217 [_LIBC_REENTRANT].
64218
64219 * include/resolv.h [_RESOLV_H_]:
64220 Don't include <tls.h>.
64221 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64222 * resolv/res_libc.c: Don't include <tls.h>.
64223 (_res): Use __attribute__ ((nocommon)) in place of
64224 __attribute__ ((section (".bss"))).
64225
64226 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64227 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64228
64229 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64230
64231 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64232 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64233
64234 * resolv/res_mkquery.c: Include <sys/time.h>.
64235
64236 * inet/ifreq.c: Moved to ...
64237 * sysdeps/unix/ifreq.c: ... here.
64238 * inet/ifreq.c: New file, true stub version.
64239
64240 * socket/sa_len.c: New file.
64241 * socket/Makefile (aux): Add it.
64242 * sysdeps/unix/sysv/linux/Makefile
64243 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64244 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64245 and #include <socket/sa_len.c>.
64246 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64247 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64248
64249 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64250 * bits/socket.h: ... here.
64251
64252 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64253 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64254 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64255
64256 2013-08-27 Andreas Schwab <schwab@suse.de>
64257
64258 [BZ #15736]
64259 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64260 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64261 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64262 * string/test-strcasecmp.c (test_main): Run tests in several
64263 locales.
64264 * string/test-strncasecmp.c (test_main): Likewise.
64265
64266 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64267 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64268 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64270 (__strncasecmp_ssse3) [PIC]: Likewise.
64271
64272 2013-08-26 Roland McGrath <roland@hack.frob.com>
64273
64274 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64275
64276 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64277 instead of explicitly declaring xdecrypt.
64278 * nis/nss_nis/nis-publickey.c: Likewise.
64279
64280 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64281
64282 [BZ #15890]
64283 * nscd/aicache.c: Include res_hconf.h.
64284 (addhstaiX): Initialize res_hconf.
64285
64286 2013-08-26 Andreas Schwab <schwab@suse.de>
64287
64288 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64289 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64290
64291 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64292
64293 * nscd/aicache.c (addhstaiX): Fix indentation.
64294
64295 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64296
64297 * configure.ac: Quote $build_pt_chown test.
64298 * configure: Regenerated.
64299
64300 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64301
64302 [BZ #15532]
64303 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64304 * math/s_cexpf.c (__cexpf): Likewise.
64305 * math/s_cexpl.c (__cexpl): Likewise.
64306 * math/libm-test.inc (cexp_test_data): Correct expected return
64307 value for NaN + i0. Add another test.
64308
64309 2013-08-22 David S. Miller <davem@davemloft.net>
64310
64311 * po/ca.po: Update Catalan translation from translation project.
64312 * po/uk.po: Add Ukrainian translations from translation project.
64313
64314 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64315
64316 [BZ #15797]
64317 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64318 is infinite, not alongside NaN test.
64319 * math/s_fdimf.c (__fdimf): Likewise.
64320 * math/s_fdiml.c (__fdiml): Likewise.
64321 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64322 errno is unchanged.
64323
64324 2013-08-21 Ondƙej Bílka <neleai@seznam.cz>
64325
64326 * argp/argp-help.c: Fix typos.
64327 * crypt/speeds.c: Likewise.
64328 * csu/check_fds.c: Likewise.
64329 * elf/dl-load.c: Likewise.
64330 * elf/dl-open.c: Likewise.
64331 * elf/reldep3.c: Likewise.
64332 * elf/reldep.c: Likewise.
64333 * elf/sprof.c: Likewise.
64334 * iconv/iconv_charmap.c: Likewise.
64335 * iconv/skeleton.c: Likewise.
64336 * iconv/strtab.c: Likewise.
64337 * io/lockf64.c: Likewise.
64338 * libio/libioP.h: Likewise.
64339 * resolv/gai_notify.c: Likewise.
64340 * resolv/ns_name.c: Likewise.
64341 * resolv/ns_samedomain.c: Likewise.
64342 * resolv/res_send.c: Likewise.
64343 * stdlib/random.c: Likewise.
64344 * sunrpc/rpc/xdr.h: Likewise.
64345 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64346 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64347 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64348 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64349 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64350 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64352 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64353 * sysdeps/mach/hurd/check_fds.c: Likewise.
64354 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64355 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64357 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64358 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64359 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64360 * sysdeps/pthread/aio_notify.c: Likewise.
64361 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64362 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64363 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64364 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64365 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64366
64367 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64368
64369 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64370 version if bit_Slow_SSE4_2 is set.
64371 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64373
64374 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64375
64376 [BZ #15867]
64377 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64378 trampoline stack frame information.
64379 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64381 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64382 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64383 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64384 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64385 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64386 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64387 sa_flags value.
64388 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64389 interrupting a syscall and set with option SA_SIGINFO.
64390
64391 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64392
64393 [BZ #15531]
64394 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64395 argument is infinite.
64396 * math/s_cprojf.c (__cprojf): Likewise.
64397 * math/s_cprojl.c (__cprojl): Likewise.
64398 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64399 * math/libm-test.inc (cproj_test_data): Add more tests.
64400
64401 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64402
64403 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64404 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64405 size. Use __ffs to determine corresponding shift.
64406
64407 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64408 Roland McGrath <roland@hack.frob.com>
64409
64410 * Makefile (INSTALL): Remove trailing blank lines from output of
64411 makeinfo.
64412
64413 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64414
64415 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64416 Align 32 bit compat elf_greg to 8 bytes.
64417
64418 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64419
64420 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64421
64422 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64423
64424 * string/strcoll_l.c (coll_seq): New structure.
64425 (get_next_seq_cached): New function.
64426 (get_next_seq): New function.
64427 (do_compare): New function.
64428 (STRCOLL): Use GNU style definition. Simplify implementation
64429 by using get_next_seq, get_next_seq_cached and do_compare.
64430
64431 2013-08-16 Florian Weimer <fweimer@redhat.com>
64432
64433 [BZ #14699]
64434 CVE-2013-4237
64435 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64436 member.
64437 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64438 member.
64439 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64440 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64441 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64442 conditional.
64443 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64444 GETDENTS_64BIT_ALIGNED.
64445 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64446 * manual/filesys.texi (Reading/Closing Directory): Document
64447 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64448 strongly.
64449 * manual/conf.texi (Limits for Files): Add portability note to
64450 NAME_MAX, PATH_MAX.
64451 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64452
64453 2013-08-13 Andreas Schwab <schwab@suse.de>
64454
64455 [BZ #15749]
64456 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64457 of fabs.
64458 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64459 LDBL_MAX_EXP >= 16384]: Add tests for it.
64460
64461 2013-08-12 David S. Miller <davem@davemloft.net>
64462
64463 * version.h (RELEASE): Set to "development".
64464 (VERSION): Set to "2.18.90".
64465 * NEWS: Add 2.19 section.
64466
64467 2013-08-03 David S. Miller <davem@davemloft.net>
64468
64469 * po/ko.po: Update Korean translation from translation project.
64470
64471 2013-08-01 David S. Miller <davem@davemloft.net>
64472
64473 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64474 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64475 Bilka.
64476
64477 2013-07-30 David S. Miller <davem@davemloft.net>
64478
64479 * po/fr.po: Update French translation from translation project.
64480
64481 2013-07-28 David S. Miller <davem@davemloft.net>
64482
64483 * po/cs.po: Update Czech translation from translation project.
64484
64485 * po/sv.po: Update Swedish translation from translation project.
64486
64487 2013-07-27 David S. Miller <davem@davemloft.net>
64488
64489 * po/eo.po: Update Esperanto translation from translation project.
64490
64491 * po/vi.po: Update Vietnamese translation from translation project.
64492
64493 * po/de.po: Update German translation from translation project.
64494
64495 2013-07-26 David S. Miller <davem@davemloft.net>
64496
64497 * po/bg.po: Update Bulgarian translation from translation project.
64498
64499 * po/nl.po: Update Dutch translation from translation project.
64500 * po/pl.po: Update Polish translation from translation project.
64501 * po/ru.po: Update Russian translation from translation project.
64502
64503 2013-07-24 David S. Miller <davem@davemloft.net>
64504
64505 * po/libc.pot: Update.
64506
64507 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64508
64509 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64510 variable page size.
64511 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64512 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64513 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64514
64515 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64516
64517 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64518
64519 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64520 Andreas Schwab <schwab@suse.de>
64521 Roland McGrath <roland@hack.frob.com>
64522 Joseph Myers <joseph@codesourcery.com>
64523 Carlos O'Donell <carlos@redhat.com>
64524
64525 [BZ #15755]
64526 * config.h.in: Define HAVE_PT_CHOWN.
64527 * config.make.in (build-pt-chown): New variable.
64528 * configure.in (--enable-pt_chown): New configure option.
64529 * configure: Regenerate.
64530 * login/Makefile: Include Makeconfig. Build pt_chown only if
64531 build-pt-chown is enabled.
64532 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64533 pt_chown to fix pty ownership.
64534 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64535 CLOSE_ALL_FDS.
64536 * manual/install.texi (Configuring and compiling): Mention
64537 --enable-pt_chown. Add @findex for grantpt.
64538 * INSTALL: Regenerate.
64539
64540 2013-07-20 David S. Miller <davem@davemloft.net>
64541
64542 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64543 difference between 32-bit and 64-bit.
64544
64545 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64546
64547 [BZ #15711]
64548 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64549 Avoid system header dependency with -ffreestanding.
64550 ($(objpfx)bits/syscall%d): Likewise.
64551
64552 2013-07-13 David S. Miller <davem@davemloft.net>
64553
64554 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64555 underflows from atanl/atan2l due to bug 15319.
64556 (casinh_test_data): Likewise.
64557
64558 2013-07-07 David S. Miller <davem@davemloft.net>
64559
64560 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64561
64562 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64563
64564 * sysdeps/i386/fpu/libm-test-ulps: Update.
64565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64566
64567 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64568
64569 * configure.in (--enable-lock-elision): Fix message text.
64570 * INSTALL: Regenerate.
64571 * configure: Regenerate.
64572
64573 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64574
64575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64576
64577 2013-07-03 Andreas Jaeger <aj@suse.de>
64578
64579 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64580 define.
64581 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64582 (ptrace_peeksiginfo_args): Add.
64583 (__ptrace_peeksiginfo_flags): Add.
64584 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64585 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64587
64588 2013-07-03 Allan McRae <allan@archlinux.org>
64589
64590 * sysdeps/i386/fpu/libm-test-ulps: Update.
64591
64592 2013-07-02 David S. Miller <davem@davemloft.net>
64593
64594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64595
64596 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64597
64598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64599
64600 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64601
64602 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64604
64605 2013-07-02 Andi Kleen <ak@linux.intel.com>
64606
64607 * config.h.in (ENABLE_LOCK_ELISION): Add.
64608 * configure.in (--enable-lock-elision): Add option.
64609 * manual/install.texi: Document --enable lock elision.
64610 * configure: Regenerate
64611 * INSTALL: Regenerate.
64612
64613 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64614
64615 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64616 SSE4.2 strcasecmp for libc.a.
64617 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64618
64619 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64620
64621 [BZ #13304]
64622 * soft-fp/op-common.h (_FP_FMA): New macro.
64623 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64624 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64625 (_FP_MUL_MEAT_1_imm): ... here.
64626 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64627 (_FP_MUL_MEAT_1_wide): ... here.
64628 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64629 (_FP_MUL_MEAT_1_hard): ... here.
64630 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64631 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64632 (_FP_MUL_MEAT_2_wide): ... here.
64633 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64634 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64635 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64636 (_FP_MUL_MEAT_2_gmp): ... here.
64637 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64638 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64639 (_FP_MUL_MEAT_4_wide): ... here.
64640 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64641 (_FP_MUL_MEAT_4_gmp): ... here.
64642 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64643 (_FP_WFRACBITS_DW_S): Likewise.
64644 (_FP_WFRACXBITS_DW_S): Likewise.
64645 (_FP_HIGHBIT_DW_S): Likewise.
64646 (FP_FMA_S): Likewise.
64647 (_FP_FRAC_HIGH_DW_S): Likewise.
64648 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64649 (_FP_WFRACBITS_DW_D): Likewise.
64650 (_FP_WFRACXBITS_DW_D): Likewise.
64651 (_FP_HIGHBIT_DW_D): Likewise.
64652 (FP_FMA_D): Likewise.
64653 (_FP_FRAC_HIGH_DW_D): Likewise.
64654 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64655 (_FP_WFRACBITS_DW_E): Likewise.
64656 (_FP_WFRACXBITS_DW_E): Likewise.
64657 (_FP_HIGHBIT_DW_E): Likewise.
64658 (FP_FMA_E): Likewise.
64659 (_FP_FRAC_HIGH_DW_E): Likewise.
64660 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64661 (_FP_WFRACBITS_DW_Q): Likewise.
64662 (_FP_WFRACXBITS_DW_Q): Likewise.
64663 (_FP_HIGHBIT_DW_Q): Likewise.
64664 (FP_FMA_Q): Likewise.
64665 (_FP_FRAC_HIGH_DW_Q): Likewise.
64666 * soft-fp/fmasf4.c: New file.
64667 * soft-fp/fmadf4.c: Likewise.
64668 * soft-fp/fmatf4.c: Likewise.
64669
64670 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64671
64672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64673 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64674 Silvermont.
64675 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64676 macro.
64677 (index_Slow_SSE4_2): Likewise.
64678 (index_Prefer_PMINUB_for_stringop): Likewise.
64679 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64680 bit_Slow_SSE4_2 is set.
64681 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64682 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64683
64684 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64685
64686 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64687 rtld_global._dl_hwcap2.
64688 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64689 POWER8.
64690 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64691 POWER8 feature descriptions defined in _dl_hwcap2.
64692 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64693 string handling for POWER8 feature bits.
64694 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64695 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64696 _dl_powerpc_cap_flags.
64697 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64698 * sysdeps/powerpc/rtld-global-offsets.sym
64699 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64700 _dl_hwcap2 in the rtld_global_ro structure.
64701
64702 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64703
64704 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64705 hardware capabilities in support of AT_HWCAP2.
64706 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64707 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64708 GLRO(dl_hwcap2).
64709 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64710 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64711 explicitly the unknown a_type display mechanism is used.
64712 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64713 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64714 struct member.
64715 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64716 to macro prototype for AT_HWCAP2 support.
64717 * sysdeps/i386/dl-procinfo.h: Likewise.
64718 * sysdeps/s390/dl-procinfo.h: Likewise.
64719 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64720 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64721 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64722 return -1 for unknown a_type display fallback.
64723 * sysdeps/sparc/dl-procinfo.h: Likewise.
64724 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64725 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64726
64727 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64728
64729 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64730 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64731
64732 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64733
64734 [BZ #12492]
64735 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64736 mprotect making __stack_prot writable.
64737
64738 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64739 Joseph Myers <joseph@codesourcery.com>
64740
64741 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64742 as being properly aligned.
64743
64744 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64745
64746 * dlfcn/modstatic5.c: New file.
64747 * dlfcn/tststatic5.c: New file.
64748 * dlfcn/Makefile (tests): Add tststatic5.
64749 (tests-static): Likewise.
64750 (modules-names): Add modstatic5.
64751 (tststatic5-ENV): New variable.
64752 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64753
64754 [BZ #15022]
64755 * elf/dl-support.c (_dl_main_map): New variable.
64756 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64757 (_dl_nns, _dl_load_adds): Set to 1.
64758 (_dl_initial_searchlist): Refer to _dl_main_map.
64759 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64760 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64761 call to _dl_get_origin.
64762 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64763 around call_map.
64764 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64765 * dlfcn/modstatic3.c: New file.
64766 * dlfcn/tststatic3.c: New file.
64767 * dlfcn/tststatic4.c: New file.
64768 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64769 (tests-static): Likewise.
64770 (modules-names): Add modstatic3.
64771 (tststatic3-ENV, tststatic4-ENV): New variables.
64772 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64773 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64774
64775 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64776
64777 * configure.in (CC): Require GCC version 4.4 or later.
64778 * configure: Regenerated.
64779 * manual/install.texi (Tools for Compilation): Update GCC version
64780 requirement.
64781 * INSTALL: Regenerated.
64782
64783 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64784
64785 [BZ #15674]
64786 * string/test-memcmp.c (check2): New.
64787 (main): Call check2.
64788
64789 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64790
64791 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64792
64793 [BZ #15022]
64794 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64795 over to...
64796 (dl_open_worker) [!SHARED]: ... here.
64797
64798 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64799
64800 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64801
64802 2013-06-25 Richard Henderson <rth@redhat.com>
64803
64804 * locale/programs/locarchive.c: Include <libc-internal.h>
64805
64806 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64807
64808 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64809 trailing whitespace removed.
64810
64811 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64812
64813 [BZ #10283]
64814 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64815 * locale/programs/locarchive.c: Include libc-mmap.h.
64816 (prepare_address_space): Take two new outputs (the mmap base and len).
64817 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64818 values.
64819 (create_archive): Declare new mmap base and len values for
64820 prepare_address_space, and store the result in ah.
64821 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64822 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64823 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64824 Declare new mmap base and len values for
64825 prepare_address_space, and store the result in new_ah.
64826 (open_archive): Declare new mmap base and len values for
64827 prepare_address_space, and store the result in ah.
64828 (close_archive): If ah->mmap_base is not NULL, use that and
64829 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64830 * sysdeps/generic/libc-mmap.h: New file.
64831
64832 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64833
64834 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64835 (ALIGN_UP): Likewise.
64836 (PTR_ALIGN_DOWN): Likewise.
64837 (PTR_ALIGN_UP): Likewise.
64838
64839 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64840
64841 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64842 entry mapped to PPC_PLATFORM_POWER8.
64843 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64844 POWER8.
64845 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64846 (_dl_string_platform): Add case for exporting platform position for
64847 POWER8.
64848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64849 search path to sysdeps/powerpc/powerpc32/power8 directory.
64850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64851 search path to sysdeps/powerpc/powerpc64/power8 directory.
64852 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64853 power7 directories.
64854 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64855 power7 directories.
64856
64857 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64858
64859 * INSTALL: Regenerate.
64860
64861 * nscd/connections.c (nscd_init): Fix comment.
64862
64863 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64864
64865 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64866
64867 [BZ #15667]
64868 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64869 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64870
64871 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64872
64873 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64874 DL_DST_REQ_STATIC.
64875 (DL_DST_REQ_STATIC): Remove macro.
64876
64877 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64878
64879 [BZ #7006]
64880 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64881 with a shift of 0 bits.
64882
64883 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64884
64885 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64886 $(tststatic-ENV).
64887
64888 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64889
64890 [BZ #15655]
64891 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64892
64893 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64894
64895 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64896 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64897 accepts -fno-tree-loop-distribute-patterns.
64898 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64899 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64900 recursive call.
64901 * string/memset.c (memset): Likewise.
64902 * string/test-memmove.c (simple_memmove): Disable loop transformation
64903 to library calls.
64904 * string/test-memset.c (simple_memset): Likewise.
64905 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64906 * benchtests/bench-memset.c (simple_memset): Likewise.
64907 * configure: Regenerated.
64908
64909 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64910
64911 * math/test-misc.c (main): Ignore fesetround failure when failures
64912 of subsequent rounding tests would be ignored.
64913
64914 [BZ #15654]
64915 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64916 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64917 * math/fegetenv.c (__fegetenv): Return 0.
64918 * math/fegetexcept.c (fegetexcept): Return 0.
64919 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64920 FE_TONEAREST.
64921 * math/feholdexcpt.c (feholdexcept): Return 0.
64922 * math/fesetenv.c (__fesetenv): Return 0.
64923 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64924 argument FE_TONEAREST.
64925 * math/feupdateenv.c (__feupdateenv): Return 0.
64926 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64927
64928 2013-06-18 Roland McGrath <roland@hack.frob.com>
64929
64930 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64931 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64932 ($(objpfx)rtld-%.os rules): Use them.
64933
64934 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64935
64936 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64937 fields.
64938
64939 2013-06-17 Roland McGrath <roland@hack.frob.com>
64940
64941 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64942 length of target pattern, then descending length of dependency pattern.
64943 * configure.in (AWK): Require gawk 3.1.2 or newer.
64944 * manual/install.texi (Tools for Compilation): Say that we do.
64945 * configure: Regenerated.
64946
64947 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64948 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64949 * scripts/sysd-rules.awk: ... this new script.
64950 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64951 than a glob-style pattern.
64952
64953 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64954
64955 * math/test-misc.c (main): Do not treat incorrectly rounded
64956 conversions as failure unless ROUNDING_TESTS passes.
64957
64958 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64959
64960 [BZ #15631]
64961 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64962 restore exception state around main square root computation, then
64963 check for inexactness explicitly.
64964
64965 * math/libm-test.inc (fma_test_data): Add another test.
64966
64967 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64968
64969 * manual/threads.texi (Non-POSIX Extensions): New document
64970 node. Document pthread_getattr_default_np and
64971 pthread_setattr_default_np.
64972
64973 * Versions.def (libpthread): Add GLIBC_2.18.
64974 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64976 Likewise.
64977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64978 Likewise.
64979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64980 Likewise.
64981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64982 Likewise.
64983 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64984 Likewise.
64985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64986 Likewise.
64987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64988 Likewise.
64989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64990 Likewise.
64991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64992 Likewise.
64993
64994 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64995
64996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64997 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64998
64999 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
65000 H.J. Lu <hjl.tools@gmail.com>
65001
65002 [BZ #15627]
65003 * sysdeps/x86_64/rtld-memset.c: Remove file.
65004 * sysdeps/x86_64/rtld-memset.S: New file.
65005
65006 2013-06-14 Joseph Myers <joseph@codesourcery.com>
65007
65008 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65009 (test_in_one_mode): Take arguments for whether the rounding mode
65010 is supported for each floating-point type.
65011 (do_test): Pass new arguments to test_in_one_mode using
65012 ROUNDING_TESTS.
65013
65014 2013-06-13 Roland McGrath <roland@hack.frob.com>
65015
65016 * posix/tst-waitid.c (do_test): Distinguish different instances of
65017 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
65018 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65019 before entering the kernel for waitpid.
65020
65021 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65022
65023 * NEWS: Fix note on clock function precision. Text by Roland
65024 McGrath.
65025
65026 2013-06-13 Roland McGrath <roland@hack.frob.com>
65027
65028 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65029 it into place only when and if the sanity check passes.
65030
65031 2013-06-13 Joseph Myers <joseph@codesourcery.com>
65032
65033 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65034 output for whether conversion result is exact. Take argument
65035 indicating whether type is IBM long double.
65036 (round_for_all): Change need_exact field to ibm_ld.
65037 * stdlib/tst-strtod-round.c (struct exactness): New type.
65038 (struct test): Change bool ld_ok field to struct exactness exact.
65039 (TEST): Update all definitions for change to field.
65040 (tests): Regenerate array contents.
65041 (test_in_one_mode): Take pointer to new field instead of old ld_ok
65042 field value. Check for IBM long double here.
65043 (do_test): Update calls to test_in_one_mode.
65044
65045 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65046
65047 [BZ #12515]
65048 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65049 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65050
65051 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65052
65053 [BZ #15605]
65054 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65055 generated by the compiler on loop optimizations.
65056 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65057 general definitions.
65058
65059 2013-06-12 Joseph Myers <joseph@codesourcery.com>
65060
65061 * math/bug-nextafter.c: Include <math-tests.h>.
65062 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65063 the relevant type.
65064 * math/bug-nexttoward.c: Include <math-tests.h>.
65065 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65066 the relevant type.
65067 * math/test-misc.c: Include <math-tests.h>.
65068 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65069 the relevant type.
65070
65071 2013-06-12 Andreas Jaeger <aj@suse.de>
65072
65073 * po/ia.po: Update Interlingua translation from translation
65074 project.
65075
65076 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
65077
65078 * include/fenv.h: Include stdbool.h.
65079 (struct rm_ctx): New structure.
65080 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65081 Define macro.
65082 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65083 (SET_RESTORE_ROUNDF): Likewise.
65084 (SET_RESTORE_ROUNDL): Likewise.
65085 (SET_RESTORE_ROUND_NOEX): Likewise.
65086 (SET_RESTORE_ROUND_NOEXF): Likewise.
65087 (SET_RESTORE_ROUND_NOEXL): Likewise.
65088 (SET_RESTORE_ROUND_53BIT): Likewise.
65089 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65090 (libc_feresetround_noexf_ctx): Likewise.
65091 (libc_feresetround_noexl_ctx): Likewise.
65092 (libc_feholdsetround_53bit_ctx): Likewise.
65093 (libc_feresetround_53bit_ctx): Likewise.
65094 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65095 (libc_feholdexcept_setround_sse_ctx): New function.
65096 (libc_fesetenv_sse_ctx): Likewise.
65097 (libc_feupdateenv_sse_ctx): Likewise.
65098 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65099 (libc_feholdexcept_setround_387_ctx): Likewise.
65100 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65101 (libc_feholdsetround_387_prec_ctx): Likewise.
65102 (libc_feholdsetround_387_ctx): Likewise.
65103 (libc_feholdsetround_387_53bit_ctx): Likewise.
65104 (libc_feholdsetround_sse_ctx): Likewise.
65105 (libc_feresetround_sse_ctx): Likewise.
65106 (libc_feresetround_387_ctx): Likewise.
65107 (libc_feupdateenv_387_ctx): Likewise.
65108 (libc_feholdexcept_setroundf_ctx): Define macro.
65109 (libc_fesetenvf_ctx): Likewise.
65110 (libc_feupdateenvf_ctx): Likewise.
65111 (libc_feholdsetroundf_ctx): Likewise.
65112 (libc_feresetroundf_ctx): Likewise.
65113 (libc_feholdexcept_setround_ctx): Likewise.
65114 (libc_fesetenv_ctx): Likewise.
65115 (libc_feupdateenv_ctx): Likewise.
65116 (libc_feholdsetround_ctx): Likewise.
65117 (libc_feresetround_ctx): Likewise.
65118 (libc_feholdexcept_setroundl_ctx): Likewise.
65119 (libc_feupdateenvl_ctx): Likewise.
65120 (libc_feholdsetroundl_ctx): Likewise.
65121 (libc_feresetroundl_ctx): Likewise.
65122 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65123 (libc_feresetround_53bit_ctx): Likewise.
65124
65125 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65126
65127 * locale/iso-639.def: Convert to UTF-8.
65128
65129 2013-06-11 Joseph Myers <joseph@codesourcery.com>
65130
65131 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65132 (EXCEPTION_TESTS_double): Likewise.
65133 (EXCEPTION_TESTS_long_double): Likewise.
65134 (EXCEPTION_TESTS): Likewise.
65135 * math/libm-test.inc (test_exceptions): Only test exceptions if
65136 EXCEPTION_TESTS (FLOAT).
65137
65138 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65139
65140 * benchtests/Makefile (string-bench): Add strcpy_chk and
65141 stpcpy_chk.
65142 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65143 * benchtests/bench-stpcpy_chk.c: New file.
65144 * benchtests/bench-strcpy_chk-ifunc.c: New file.
65145 * benchtests/bench-strcpy_chk.c: New file.
65146 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65147 code.
65148 (do_test): Likewise.
65149
65150 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65151
65152 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65153 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65154 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65155 with tabs where appropriate.
65156 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65157 dl-procinfo.h.
65158 [PPC_PLATFORM_PPC440]: Likewise.
65159 [PPC_PLATFORM_PPC464]: Likewise.
65160 [PPC_PLATFORM_PPC476]: Likewise.
65161 (_dl_string_platform): Add support for detecting ppc405, ppc440,
65162 ppc464, and ppc476 platform strings merging from ports/
65163 dl-procinfo.h.
65164
65165 2013-06-11 Andreas Schwab <schwab@suse.de>
65166
65167 [BZ #14991]
65168 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65169 (from_ucs4_idx): Regenerate.
65170 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65171 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65172 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65173 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65174 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65175 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65176 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65177 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65178 from FROM_LOOP and TO_LOOP specific macros.
65179 (BODY): Handle combining characters.
65180 * iconvdata/BIG5HKSCS.irreversible: Update.
65181 * iconvdata/BIG5HKSCS.precomposed: New file.
65182 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65183 characters.
65184 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65185
65186 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65187
65188 * include/sys/time.h: Fix indentation and add copyright header.
65189
65190 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65191 (do_test): Likewise.
65192 * string/test-memchr.c (do_one_test): Likewise.
65193 (do_test): Likewise.
65194 * string/test-memcmp.c (do_one_test): Likewise.
65195 (do_test): Likewise.
65196 * string/test-memcpy.c (do_one_test): Likewise.
65197 (do_test): Likewise.
65198 * string/test-memmem.c (do_one_test): Likewise.
65199 (do_test): Likewise.
65200 (do_random_tests): Likewise.
65201 * string/test-memmove.c (do_one_test): Likewise.
65202 (do_test): Likewise.
65203 * string/test-memset.c (do_one_test): Likewise.
65204 (do_test): Likewise.
65205 * string/test-rawmemchr.c (do_one_test): Likewise.
65206 (do_test): Likewise.
65207 * string/test-strcasecmp.c (do_one_test): Likewise.
65208 (do_test): Likewise.
65209 * string/test-strcasestr.c (do_one_test): Likewise.
65210 (do_test): Likewise.
65211 * string/test-strcat.c (do_one_test): Likewise.
65212 (do_test): Likewise.
65213 * string/test-strchr.c (do_one_test): Likewise.
65214 (do_test): Likewise.
65215 * string/test-strcmp.c (do_one_test): Likewise.
65216 (do_test): Likewise.
65217 * string/test-strcpy.c (do_one_test): Likewise.
65218 (do_test): Likewise.
65219 * string/test-string.h: Likewise.
65220 (test_init): Likewise.
65221 * string/test-strlen.c (do_one_test): Likewise.
65222 (do_test): Likewise.
65223 * string/test-strncasecmp.c (do_one_test): Likewise.
65224 (do_test): Likewise.
65225 * string/test-strncat.c (do_one_test): Likewise.
65226 (do_test): Likewise.
65227 * string/test-strncmp.c (do_one_test): Likewise.
65228 (do_test_limit): Likewise.
65229 (do_test): Likewise.
65230 * string/test-strncpy.c (do_one_test): Likewise.
65231 (do_test): Likewise.
65232 * string/test-strnlen.c (do_one_test): Likewise.
65233 (do_test): Likewise.
65234 * string/test-strpbrk.c (do_one_test): Likewise.
65235 (do_test): Likewise.
65236 * string/test-strrchr.c (do_one_test): Likewise.
65237 (do_test): Likewise.
65238 * string/test-strspn.c (do_one_test): Likewise.
65239 (do_test): Likewise.
65240 * string/test-strstr.c (do_one_test): Likewise.
65241 (do_test): Likewise.
65242
65243 * benchtests/Makefile (string-bench): Add string benchmarks.
65244 * benchtests/bench-bcopy-ifunc.c: New file.
65245 * benchtests/bench-bcopy.c: New file.
65246 * benchtests/bench-bzero-ifunc.c: New file.
65247 * benchtests/bench-bzero.c: New file.
65248 * benchtests/bench-memccpy-ifunc.c: New file.
65249 * benchtests/bench-memccpy.c: New file.
65250 * benchtests/bench-memchr-ifunc.c: New file.
65251 * benchtests/bench-memchr.c: New file.
65252 * benchtests/bench-memcmp-ifunc.c: New file.
65253 * benchtests/bench-memcmp.c: New file.
65254 * benchtests/bench-memmem-ifunc.c: New file.
65255 * benchtests/bench-memmem.c: New file.
65256 * benchtests/bench-memmove-ifunc.c: New file.
65257 * benchtests/bench-memmove.c: New file.
65258 * benchtests/bench-mempcpy-ifunc.c: New file.
65259 * benchtests/bench-mempcpy.c: New file.
65260 * benchtests/bench-memset-ifunc.c: New file.
65261 * benchtests/bench-memset.c: New file.
65262 * benchtests/bench-rawmemchr-ifunc.c: New file.
65263 * benchtests/bench-rawmemchr.c: New file.
65264 * benchtests/bench-stpcpy-ifunc.c: New file.
65265 * benchtests/bench-stpcpy.c: New file.
65266 * benchtests/bench-stpncpy-ifunc.c: New file.
65267 * benchtests/bench-stpncpy.c: New file.
65268 * benchtests/bench-strcasecmp-ifunc.c: New file.
65269 * benchtests/bench-strcasecmp.c: New file.
65270 * benchtests/bench-strcasestr-ifunc.c: New file.
65271 * benchtests/bench-strcasestr.c: New file.
65272 * benchtests/bench-strcat-ifunc.c: New file.
65273 * benchtests/bench-strcat.c: New file.
65274 * benchtests/bench-strchr-ifunc.c: New file.
65275 * benchtests/bench-strchr.c: New file.
65276 * benchtests/bench-strchrnul-ifunc.c: New file.
65277 * benchtests/bench-strchrnul.c: New file.
65278 * benchtests/bench-strcmp-ifunc.c: New file.
65279 * benchtests/bench-strcmp.c: New file.
65280 * benchtests/bench-strcpy-ifunc.c: New file.
65281 * benchtests/bench-strcpy.c: New file.
65282 * benchtests/bench-strcspn-ifunc.c: New file.
65283 * benchtests/bench-strcspn.c: New file.
65284 * benchtests/bench-strlen-ifunc.c: New file.
65285 * benchtests/bench-strlen.c: New file.
65286 * benchtests/bench-strncasecmp-ifunc.c: New file.
65287 * benchtests/bench-strncasecmp.c: New file.
65288 * benchtests/bench-strncat-ifunc.c: New file.
65289 * benchtests/bench-strncat.c: New file.
65290 * benchtests/bench-strncmp-ifunc.c: New file.
65291 * benchtests/bench-strncmp.c: New file.
65292 * benchtests/bench-strncpy-ifunc.c: New file.
65293 * benchtests/bench-strncpy.c: New file.
65294 * benchtests/bench-strnlen-ifunc.c: New file.
65295 * benchtests/bench-strnlen.c: New file.
65296 * benchtests/bench-strpbrk-ifunc.c: New file.
65297 * benchtests/bench-strpbrk.c: New file.
65298 * benchtests/bench-strrchr-ifunc.c: New file.
65299 * benchtests/bench-strrchr.c: New file.
65300 * benchtests/bench-strspn-ifunc.c: New file.
65301 * benchtests/bench-strspn.c: New file.
65302 * benchtests/bench-strstr-ifunc.c: New file.
65303 * benchtests/bench-strstr.c: New file.
65304
65305 * benchtests/Makefile: Disable parallel execution of targets.
65306 (string-bench): Add memcpy.
65307 (benchset): New variable to store a list of benchmark sets.
65308 (bench-func): Renamed from bench.
65309 (bench-set): New target.
65310 (bench): Depend on bench-func and bench-set.
65311 * benchtests/README: Add section on benchmark sets.
65312 * benchtests/bench-memcpy-ifunc.c: New file.
65313 * benchtests/bench-memcpy.c: New file.
65314 * benchtests/bench-string.h: New file.
65315
65316 2013-06-11 Andreas Schwab <schwab@suse.de>
65317
65318 [BZ #15577]
65319 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65320 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65321 values in the triple.
65322 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65323 terminator in the group key.
65324
65325 2013-06-11 Andreas Jaeger <aj@suse.de>
65326
65327 * po/zh_TW.po: Update Chinese (traditional) translation from
65328 translation project.
65329
65330 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65331
65332 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65333 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65334 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65336 (clock_getcpuclockid): Likewise.
65337 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65338 Add weak_alias and libc_hidden_def.
65339 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65340 * rt/clock_gettime.c (clock_gettime): Rename to
65341 __clock_gettime. Add weak_alias and libc_hidden_def.
65342 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65343 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65344 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65345 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65346 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65347 Likewise.
65348 * rt/clock_settime.c (clock_settime): Rename to
65349 __clock_settime. Add weak_alias and libc_hidden_def.
65350 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65351
65352 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65353
65354 * mach/err_boot.sub: Remove trailing whitespace.
65355 * mach/err_ipc.sub: Likewise.
65356 * mach/err_mach.sub: Likewise.
65357
65358 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65359 (ROUNDING_TESTS_double): Likewise.
65360 (ROUNDING_TESTS_long_double): Likewise.
65361 (ROUNDING_TESTS): Likewise.
65362 * math/libm-test.inc: Include <math-tests.h>.
65363 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65364 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65365 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65366 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65367
65368 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65369
65370 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65371 of assigning.
65372
65373 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65374
65375 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65376 otherwise empty TRANS lines.
65377 * sysdeps/gnu/errlist.c: Regenerated.
65378
65379 * catgets/gencat.c (error_print): Use (void) in function
65380 definition.
65381 * crypt/crypt_util.c (__init_des): Likewise.
65382 * crypt/speeds.c (Stop): Likewise.
65383 (main): Likewise.
65384 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65385 * inet/ruserpass.c (token): Likewise.
65386 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65387 * intl/localealias.c (extend_alias_table): Likewise.
65388 * intl/plural-exp.c (init_germanic_plural): Likewise.
65389 * libio/fcloseall.c (__fcloseall): Likewise.
65390 * libio/genops.c (_IO_flush_all): Likewise.
65391 (_IO_flush_all_linebuffered): Likewise.
65392 (_IO_cleanup): Likewise.
65393 (_IO_iter_begin): Likewise.
65394 (_IO_iter_end): Likewise.
65395 (_IO_list_lock): Likewise.
65396 (_IO_list_unlock): Likewise.
65397 (_IO_list_resetlock): Likewise.
65398 * libio/getchar.c (getchar): Likewise.
65399 * libio/getchar_u.c (getchar_unlocked): Likewise.
65400 * libio/getwchar.c (getwchar): Likewise.
65401 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65402 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65403 * login/getpt.c (__getpt): Likewise.
65404 * login/tst-utmp.c (main): Likewise.
65405 * malloc/hooks.c (__malloc_check_init): Likewise.
65406 * malloc/malloc.c (__malloc_stats): Likewise.
65407 * malloc/mtrace.c (tr_break): Likewise.
65408 (mtrace): Likewise.
65409 (muntrace): Likewise.
65410 * misc/fstab.c (endfsent): Likewise.
65411 * misc/getclktck.c (__getclktck): Likewise.
65412 * misc/getdtsz.c (__getdtablesize): Likewise.
65413 * misc/gethostid.c (gethostid): Likewise.
65414 * misc/getpagesize.c (__getpagesize): Likewise.
65415 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65416 (__get_nprocs): Likewise.
65417 (__get_phys_pages): Likewise.
65418 (__get_avphys_pages): Likewise.
65419 * misc/getttyent.c (getttyent): Likewise.
65420 (setttyent): Likewise.
65421 (endttyent): Likewise.
65422 * misc/getusershell.c (getusershell): Likewise.
65423 (endusershell): Likewise.
65424 (setusershell): Likewise.
65425 (initshells): Likewise.
65426 * misc/hsearch.c (__hdestroy): Likewise.
65427 * misc/sync.c (sync): Likewise.
65428 * misc/syslog.c (closelog_internal): Likewise.
65429 (closelog): Likewise.
65430 * misc/ttyslot.c (ttyslot): Likewise.
65431 * misc/vhangup.c (vhangup): Likewise.
65432 * posix/fork.c (__fork): Likewise.
65433 * posix/getegid.c (__getegid): Likewise.
65434 * posix/geteuid.c (__geteuid): Likewise.
65435 * posix/getgid.c (__getgid): Likewise.
65436 * posix/getpid.c (__getpid): Likewise.
65437 * posix/getppid.c (__getppid): Likewise.
65438 * posix/getuid.c (__getuid): Likewise.
65439 * posix/pause.c (pause): Likewise.
65440 * posix/setpgrp.c (setpgrp): Likewise.
65441 * posix/setsid.c (__setsid): Likewise.
65442 * posix/test-vfork.c (noop): Likewise.
65443 * resolv/gethnamaddr.c (_endhtent): Likewise.
65444 (_gethtent): Likewise.
65445 (ht_endhostent): Likewise.
65446 (gethostent): Likewise.
65447 (dns_service): Likewise.
65448 * stdlib/drand48.c (drand48): Likewise.
65449 * stdlib/lrand48.c (lrand48): Likewise.
65450 * stdlib/mrand48.c (mrand48): Likewise.
65451 * stdlib/rand.c (rand): Likewise.
65452 * stdlib/random.c (__random): Likewise.
65453 * stdlib/setenv.c (clearenv): Likewise.
65454 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65455 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65456 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65457 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65458 (__get_nprocs): Likewise.
65459 (__get_phys_pages): Likewise.
65460 (__get_avphys_pages): Likewise.
65461 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65462 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65463 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65464 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65465 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65466 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65467 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65468 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65469 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65470 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65471 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65472 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65473 * sysdeps/posix/clock.c (clock): Likewise.
65474 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65475 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65476 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65477 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65478 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65479 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65480 (__get_nprocs_conf): Likewise.
65481 (__get_phys_pages): Likewise.
65482 (__get_avphys_pages): Likewise.
65483 * time/clock.c (clock): Likewise.
65484 * time/tzset.c (__tzname_max): Likewise.
65485
65486 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65487
65488 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65489 (__bswap_32): Do not use "register".
65490 * crypt/crypt.c (_ufc_doit_r): Likewise.
65491 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65492 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65493 * gmon/gmon.c (__monstartup): Likewise.
65494 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65495 * hurd/hurdmalloc.c (more_memory): Likewise.
65496 (malloc): Likewise.
65497 (free): Likewise.
65498 (realloc): Likewise.
65499 (malloc_fork_prepare): Likewise.
65500 (malloc_fork_parent): Likewise.
65501 (malloc_fork_child): Likewise.
65502 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65503 (_svcauth_des): Likewise.
65504 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65505 * inet/inet_net.c (inet_network): Likewise.
65506 * inet/inet_netof.c (inet_netof): Likewise.
65507 * inet/rcmd.c (__validuser2_sa): Likewise.
65508 * io/fts.c (fts_open): Likewise.
65509 (fts_load): Likewise.
65510 (fts_close): Likewise.
65511 (fts_read): Likewise.
65512 (fts_children): Likewise.
65513 (fts_build): Likewise.
65514 (fts_stat): Likewise.
65515 (fts_sort): Likewise.
65516 (fts_alloc): Likewise.
65517 (fts_lfree): Likewise.
65518 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65519 (_IO_file_xsgetn): Likewise.
65520 (_IO_file_xsgetn_mmap): Likewise.
65521 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65522 (_IO_cookie_write): Likewise.
65523 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65524 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65525 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65526 * malloc/obstack.c (_obstack_begin): Likewise.
65527 (_obstack_begin_1): Likewise.
65528 (_obstack_newchunk): Likewise.
65529 (_obstack_allocated_p): Likewise.
65530 (obstack_free): Likewise.
65531 (_obstack_memory_used): Likewise.
65532 * misc/getttyent.c (getttynam): Likewise.
65533 (getttyent): Likewise.
65534 (skip): Likewise.
65535 (value): Likewise.
65536 * misc/getusershell.c (initshells): Likewise.
65537 * misc/syslog.c (__vsyslog_chk): Likewise.
65538 * misc/ttyslot.c (ttyslot): Likewise.
65539 * nis/nis_hash.c (__nis_hash): Likewise.
65540 * posix/fnmatch_loop.c (FCT): Likewise.
65541 * posix/getconf.c (print_all): Likewise.
65542 (main): Likewise.
65543 * posix/getopt.c (exchange): Likewise.
65544 * posix/glob.c (globfree): Likewise.
65545 (prefix_array): Likewise.
65546 (__glob_pattern_type): Likewise.
65547 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65548 (NS_GET32): Likewise.
65549 (NS_PUT16): Likewise.
65550 (NS_PUT32): Likewise.
65551 * resolv/gethnamaddr.c (getanswer): Likewise.
65552 (gethostbyname2): Likewise.
65553 (gethostbyaddr): Likewise.
65554 (_gethtent): Likewise.
65555 (_gethtbyname2): Likewise.
65556 (_gethtbyaddr): Likewise.
65557 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65558 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65559 * resolv/res_init.c (__res_vinit): Likewise.
65560 (net_mask): Likewise.
65561 * resolv/res_mkquery.c (outchar): Likewise.
65562 (PRINT): Likewise.
65563 * stdio-common/printf_fp.c (outchar): Likewise.
65564 (PRINT): Likewise.
65565 * stdio-common/printf_fphex.c (outchar): Likewise.
65566 (PRINT): Likewise.
65567 * stdio-common/printf_size.c (outchar): Likewise.
65568 (PRINT): Likewise.
65569 * stdio-common/test_rdwr.c (main): Likewise.
65570 * stdio-common/tfformat.c (matches): Likewise.
65571 * stdio-common/vfprintf.c (outchar): Likewise.
65572 (printf_unknown): Likewise.
65573 (buffered_vfprintf): Likewise.
65574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65575 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65576 (ReadFile): Likewise.
65577 * stdlib/qsort.c (SWAP): Likewise.
65578 (_quicksort): Likewise.
65579 * stdlib/setenv.c (__add_to_environ): Likewise.
65580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65581 * stdlib/strtol_l.c (__strtol_l): Likewise.
65582 * stdlib/tst-strtod.c (main): Likewise.
65583 * stdlib/tst-strtol.c (main): Likewise.
65584 * stdlib/tst-strtoll.c (main): Likewise.
65585 * string/bits/string2.h (__strcmp_cc): Likewise.
65586 (__strcmp_cg): Likewise.
65587 (__strcspn_c1): Likewise.
65588 (__strcspn_c2): Likewise.
65589 (__strcspn_c3): Likewise.
65590 (__strspn_c1): Likewise.
65591 (__strspn_c2): Likewise.
65592 (__strspn_c3): Likewise.
65593 (__strsep_1c): Likewise.
65594 (__strsep_2c): Likewise.
65595 (__strsep_3c): Likewise.
65596 * string/memccpy.c (__memccpy): Likewise.
65597 * string/stpcpy.c (__stpcpy): Likewise.
65598 * string/strcmp.c (strcmp): Likewise.
65599 * string/strrchr.c (strrchr): Likewise.
65600 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65601 Likewise.
65602 * sysdeps/mach/hurd/getcwd.c
65603 (_hurd_canonicalize_directory_name_internal): Likewise.
65604 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65605 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65606 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65607 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65608 Likewise, in both definitions.
65609 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65610 definitions.
65611 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65612 64] (__bswap_64): Likewise.
65613 * time/test_time.c (main): Likewise.
65614 * time/tzfile.c (__tzfile_read): Likewise.
65615 (__tzfile_compute): Likewise.
65616 * time/tzset.c (__tzset_parse_tz): Likewise.
65617 (tzset_internal): Likewise.
65618 (compute_change): Likewise.
65619 * wcsmbs/wcscat.c (__wcscat): Likewise.
65620 * wcsmbs/wcschr.c (wcschr): Likewise.
65621 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65622 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65623 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65624 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65625 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65626 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65627 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65628 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65629 * wcsmbs/wmemset.c (wmemset): Likewise.
65630
65631 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65632
65633 * scripts/config.guess: Update to version 2013-05-16.
65634 * scripts/config.sub: Update to version 2013-04-24.
65635 * scripts/install-sh: Update to version 2011-11-20.07.
65636 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65637 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65638
65639 2013-06-06 Ondƙej Bílka <neleai@seznam.cz>
65640
65641 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65642 * elf/sln.c: Likewise.
65643 * hurd/hurd/ioctl.h: Likewise.
65644 * hurd/hurdmalloc.c: Likewise.
65645 * hurd/xattr.c: Likewise.
65646 * include/shlib-compat.h: Likewise.
65647 * inet/ruserpass.c: Likewise.
65648 * libio/iofgets_u.c: Likewise.
65649 * libio/iofgetws_u.c: Likewise.
65650 * locale/programs/ld-identification.c: Likewise.
65651 * locale/programs/ld-time.c: Likewise.
65652 * mach/msg-destroy.c: Likewise.
65653 * nss/nss_files/files-netgrp.c: Likewise.
65654 * resolv/res_data.c: Likewise.
65655 * soft-fp/op-1.h: Likewise.
65656 * soft-fp/op-2.h: Likewise.
65657 * soft-fp/op-4.h: Likewise.
65658 * soft-fp/op-common.h: Likewise.
65659 * stdio-common/printf_fphex.c: Likewise.
65660 * stdlib/strtod_l.c: Likewise.
65661 * sunrpc/rpc/clnt.h: Likewise.
65662 * sysdeps/generic/framestate.c: Likewise.
65663 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65664 * sysdeps/i386/bsd-setjmp.S: Likewise.
65665 * sysdeps/i386/__longjmp.S: Likewise.
65666 * sysdeps/i386/setjmp.S: Likewise.
65667 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65668 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65669 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65670 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65672 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65673 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65676 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65677 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65678 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65679 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65680 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65681 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65683 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65684 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65685 * sysdeps/ieee754/support.c: Likewise.
65686 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65687 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65688 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65689 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65690 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65691 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65692 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65693 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65694 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65695 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65696 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65697 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65698 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65699 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65700 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65701 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65702 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65704
65705 2013-06-05 Ondƙej Bílka <neleai@seznam.cz>
65706
65707 * posix/transbug.c: Remove executable mode.
65708
65709 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65710
65711 * crypt/speeds.c: Remove trailing whitespace.
65712 * dlfcn/default.c: Likewise.
65713 * elf/ifuncdep2.c: Likewise.
65714 * elf/ifuncmain1.c: Likewise.
65715 * elf/ifuncmain1vis.c: Likewise.
65716 * elf/testobj.h: Likewise.
65717 * elf/tst-stackguard1.c: Likewise.
65718 * gmon/sys/gmon.h: Likewise.
65719 * hurd/hurdmsg.c: Likewise.
65720 * hurd/new-fd.c: Likewise.
65721 * hurd/ports-get.c: Likewise.
65722 * iconvdata/ibm1008_420.c: Likewise.
65723 * inet/tst-getni1.c: Likewise.
65724 * inet/tst-getni2.c: Likewise.
65725 * libio/ioungetc.c: Likewise.
65726 * libio/wfiledoalloc.c: Likewise.
65727 * manual/libm-err-tab.pl: Likewise.
65728 * math/w_dremf.c: Likewise.
65729 * misc/ftruncate.c: Likewise.
65730 * posix/bug-glob2.c: Likewise.
65731 * posix/tst-pcre.c: Likewise.
65732 * posix/wait4.c: Likewise.
65733 * resolv/README: Likewise.
65734 * resolv/res_debug.h: Likewise.
65735 * resolv/tst-inet_ntop.c: Likewise.
65736 * setjmp/bug269-setjmp.c: Likewise.
65737 * soft-fp/extended.h: Likewise.
65738 * soft-fp/op-1.h: Likewise.
65739 * soft-fp/op-2.h: Likewise.
65740 * soft-fp/op-4.h: Likewise.
65741 * soft-fp/op-8.h: Likewise.
65742 * soft-fp/testit.c: Likewise.
65743 * stdio-common/bug16.c: Likewise.
65744 * stdlib/random.c: Likewise.
65745 * sunrpc/rpcsvc/rquota.x: Likewise.
65746 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65747 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65748 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65749 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65750 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65751 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65752 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65753 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65754 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65755 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65756 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65757 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65758 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65759 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65761 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65762 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65764 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65767 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65768 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65769 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65770 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65771 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65775 * sysdeps/ieee754/s_lib_version.c: Likewise.
65776 * sysdeps/mach/hurd/check_fds.c: Likewise.
65777 * sysdeps/mach/hurd/getsockname.c: Likewise.
65778 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65779 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65780 * sysdeps/powerpc/bits/link.h: Likewise.
65781 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65782 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65783 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65784 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65785 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65786 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65787 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65788 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65789 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65790 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65791 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65792 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65793 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65794 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65795 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65796 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65799 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65800 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65801 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65802 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65803 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65804 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65805 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65807 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65808 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65809 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65810 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65811 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65812 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65813 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65814 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65815 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65816 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65817 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65818 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65819 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65820 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65821 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65822 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65823 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65824 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65825 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65826 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65827 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65828 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65829 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65830 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65833 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65834 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65835 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65836 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65837 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65838 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65839 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65840 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65841 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65842 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65843 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65844 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65845 * sysdeps/powerpc/sysdep.h: Likewise.
65846 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65847 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65848 * sysdeps/sh/dl-trampoline.S: Likewise.
65849 * sysdeps/sh/memset.S: Likewise.
65850 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65851 * sysdeps/sh/strlen.S: Likewise.
65852 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65853 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65854 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65855 * sysdeps/sparc/sparc32/rem.S: Likewise.
65856 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65857 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65858 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65859 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65860 * sysdeps/sparc/sparc32/urem.S: Likewise.
65861 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65862 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65863 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65864 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65865 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65866 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65867 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65868 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65869 * sysdeps/unix/bsd/times.c: Likewise.
65870 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65871 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65875 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65876 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65877 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65879 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65880 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65881 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65882 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65883 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65884 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65885 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65886 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65887 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65888 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65889 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65890 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65891 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65892 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65893 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65894 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65895 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65896 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65897 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65898 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65899 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65900 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65901 * sysdeps/x86_64/strcspn.S: Likewise.
65902
65903 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65904
65905 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65906 generated file. Regenerate properly from gen-translit.pl.
65907 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65908 locale/C-translit.h.
65909
65910 2013-06-05 Andreas Schwab <schwab@suse.de>
65911
65912 [BZ #15100]
65913 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65914 week as 6 instead of -1.
65915 * time/tst-strptime.c (day_tests): Add test case.
65916
65917 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65918
65919 * sysdeps/generic/math_private.h
65920 (libc_feholdexcept_setround_53bit): Replace with
65921 libc_feholdsetround_53bit.
65922 (libc_feupdateenv_53bit): Replace with
65923 libc_feresetround_53bit.
65924 (SET_RESTORE_ROUND_53BIT): Adjust.
65925
65926 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65927
65928 * string/test-strchrnul.c: Add copyright header.
65929
65930 * posix/tst-getaddrinfo4.c: Increase test timeout.
65931
65932 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65933
65934 [BZ #15536]
65935 * math/libm-test.inc (MAX_EXP): Remove
65936 (MIN_EXP): Define.
65937 (ulp): Use MIN_EXP - MANT_DIG.
65938 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65939
65940 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65941
65942 * po/be.po: Revert last change.
65943 * po/zh_CN.po: Likewise.
65944 * po/header.pot: Likewise.
65945
65946 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65947
65948 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65949 link-libc-deps to empty as target-specific variable.
65950 * Makerules (link-libc-args): New variable.
65951 (libc-for-link): Likewise.
65952 (link-libc-deps): Likewise.
65953 (lib%.so): Depend on $(link-libc-deps). Link with
65954 $(link-libc-args).
65955 (build-module): Link with $(link-libc-args).
65956 (build-module-asneeded): Likewise.
65957 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65958 list of objects.
65959 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65960 target-specific variable.
65961 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65962 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65963 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65964 libc.
65965 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65966 libc and ld.so.
65967 ($(objpfx)libpcprofile.so): Likewise.
65968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65969 libc_nonshared.a.
65970 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65971 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65972 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65973 $(link-libc-deps).
65974 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65975 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65976 * login/Makefile ($(objpfx)libutil.so): Likewise.
65977 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65978 * math/Makefile ($(objpfx)libm.so): Likewise.
65979 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65980 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65981 variable instead of depending directly on libc.
65982 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65983 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65984 $(link-libc-deps).
65985 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65986 libc.
65987 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65988 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65989 ($(objpfx)libanl.so): Likewise.
65990 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65991 ld.so.
65992 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65993 $(link-libc-deps).
65994 * sysdeps/i386/fpu/Makefile: Remove file.
65995 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65996 ($(objpfx)libm.so): Remove dependency on ld.so.
65997
65998 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65999
66000 [BZ # 15553]
66001 * nis/yp_xdr.c (XDRMAXNAME): Define.
66002 (XDRMAXRECORD): Define.
66003 (xdr_domainname): Use XDRMAXNAME.
66004 (xdr_mapname): Likewise.
66005 (xdr_peername): Likewise.
66006 (xdr_keydat): Use XDRMAXRECORD.
66007 (xdr_valdat): Likewise.
66008
66009 2013-05-30 Jeff Law <law@redhat.com>
66010
66011 [BZ #14256]
66012 * manual/errno.texi (ESTALE): Update to account for more than
66013 just NFS file systems.
66014 * sysdeps/gnu/errlist.c: Regenerated.
66015
66016 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66017
66018 [BZ #15465]
66019 * elf/Makefile (tests): Add tst-null-argv.
66020 (modules-names): Add tst-null-argv-lib.
66021 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66022 (tst-null-argv-ENV): Set environment for tst-null-argv.
66023 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66024 (RTLD_PROGNAME): New macro.
66025 * elf/tst-null-argv.c: New test case.
66026 * elf/tst-null-argv-lib.c: Library for test case.
66027 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66028 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66029 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66030 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66031 * elf/dl-init.c (call_init): Likewise.
66032 (_dl_init): Likewise.
66033 * elf/dl-load.c (print_search_path): Likewise.
66034 (_dl_map_object): Likewise.
66035 * elf/dl-lookup.c (do_lookup_x): Likewise.
66036 (add_dependency): Likewise.
66037 (_dl_lookup_symbol_x): Likewise.
66038 (_dl_debug_bindings): Likewise.
66039 * elf/dl-open.c (_dl_show_scope): Likewise.
66040 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66041 * elf/dl-version.c (match_symbol): Likewise.
66042 (_dl_check_map_versions): Likewise.
66043 * elf/rtld.c (dl_main): Likewise.
66044 (print_unresolved): Use RTLD_PROGNAME.
66045 (print_missing_version): Likewise.
66046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66047 (elf_machine_rela): Likewise.
66048 * sysdeps/powerpc/powerpc32/dl-machine.c
66049 (__process_machine_rela): Likewise.
66050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66051 Likewise.
66052 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66053 Likewise.
66054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66055 Likewise.
66056 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66058 Likewise.
66059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66060 Likewise.
66061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66062
66063 2013-05-28 Carlos O'Donell <carlos@redhat.com>
66064
66065 * po/be.po: Add descriptive title.
66066 * po/zh_CN.po: Likewise.
66067 * po/header.pot: Likewise.
66068
66069 2013-05-28 Mike Frysinger <vapier@gentoo.org>
66070
66071 * locale/programs/locarchive.c (create_archive): Inlucde fname in
66072 error message.
66073 (enlarge_archive): Likewise.
66074
66075 2013-05-28 Ben North <ben@redfrontdoor.org>
66076
66077 * manual/arith.texi (frexp): It is the magnitude of the return
66078 value which lies in [0.5, 1), not the return value itself.
66079
66080 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66081
66082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66083
66084 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
66085
66086 * stdio-common/bug26.c (main): Correct fscanf template.
66087
66088 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66089 declare _dl_skip_args.
66090
66091 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66092 Don't declare.
66093
66094 * manual/platform.texi: Add missing @end deftypefun.
66095
66096 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66097
66098 [BZ #15529]
66099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66100 bit of mantissa of 2^16382.
66101 * math/libm-test.inc (hypot_test_data): Add more tests.
66102
66103 * math/libm-test.inc: Add drem and pow10 to list of tested
66104 functions.
66105 (pow10_test): New function.
66106 (drem_test): Likewise.
66107 (drem_test_tonearest): Likewise.
66108 (drem_test_towardzero): Likewise.
66109 (drem_test_downward): Likewise.
66110 (drem_test_upward): Likewise.
66111 (main): Call the new functions.
66112
66113 * math/libm-test.inc (finite_test_data): Remove.
66114 (finite_test): Run tests from isfinite_test_data.
66115 (gamma_test_data): Remove.
66116 (gamma_test): Run tests from lgamma_test_data.
66117 * sysdeps/i386/fpu/libm-test-ulps: Update.
66118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66119
66120 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66121
66122 * manual/platform.texi: Add PowerPC PPR function set documentation.
66123 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66124 implementation.
66125
66126 2013-05-24 Carlos O'Donell <carlos@redhat.com>
66127
66128 * math/libm-test.inc (MAX_EXP): Define.
66129 (ULPDIFF): Define.
66130 (ulp): New function.
66131 (check_float_internal): Use ULPDIFF.
66132 (cpow_test): Disable failing test.
66133 (check_ulp): Test ulp() implementation.
66134 (main): Call check_ulp before starting tests.
66135
66136 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66137
66138 * math/gen-libm-test.pl (generate_testfile): Do not handle
66139 START_DATA and END_DATA.
66140 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66141 END_DATA.
66142 (acos_tonearest_test_data): Likewise.
66143 (acos_towardzero_test_data): Likewise.
66144 (acos_downward_test_data): Likewise.
66145 (acos_upward_test_data): Likewise.
66146 (acosh_test_data): Likewise.
66147 (asin_test_data): Likewise.
66148 (asin_tonearest_test_data): Likewise.
66149 (asin_towardzero_test_data): Likewise.
66150 (asin_downward_test_data): Likewise.
66151 (asin_upward_test_data): Likewise.
66152 (asinh_test_data): Likewise.
66153 (atan_test_data): Likewise.
66154 (atanh_test_data): Likewise.
66155 (atan2_test_data): Likewise.
66156 (cabs_test_data): Likewise.
66157 (cacos_test_data): Likewise.
66158 (cacosh_test_data): Likewise.
66159 (carg_test_data): Likewise.
66160 (casin_test_data): Likewise.
66161 (casinh_test_data): Likewise.
66162 (catan_test_data): Likewise.
66163 (catanh_test_data): Likewise.
66164 (cbrt_test_data): Likewise.
66165 (ccos_test_data): Likewise.
66166 (ccosh_test_data): Likewise.
66167 (ceil_test_data): Likewise.
66168 (cexp_test_data): Likewise.
66169 (cimag_test_data): Likewise.
66170 (clog_test_data): Likewise.
66171 (clog10_test_data): Likewise.
66172 (conj_test_data): Likewise.
66173 (copysign_test_data): Likewise.
66174 (cos_test_data): Likewise.
66175 (cos_tonearest_test_data): Likewise.
66176 (cos_towardzero_test_data): Likewise.
66177 (cos_downward_test_data): Likewise.
66178 (cos_upward_test_data): Likewise.
66179 (cosh_test_data): Likewise.
66180 (cosh_tonearest_test_data): Likewise.
66181 (cosh_towardzero_test_data): Likewise.
66182 (cosh_downward_test_data): Likewise.
66183 (cosh_upward_test_data): Likewise.
66184 (cpow_test_data): Likewise.
66185 (cproj_test_data): Likewise.
66186 (creal_test_data): Likewise.
66187 (csin_test_data): Likewise.
66188 (csinh_test_data): Likewise.
66189 (csqrt_test_data): Likewise.
66190 (ctan_test_data): Likewise.
66191 (ctan_tonearest_test_data): Likewise.
66192 (ctan_towardzero_test_data): Likewise.
66193 (ctan_downward_test_data): Likewise.
66194 (ctan_upward_test_data): Likewise.
66195 (ctanh_test_data): Likewise.
66196 (ctanh_tonearest_test_data): Likewise.
66197 (ctanh_towardzero_test_data): Likewise.
66198 (ctanh_downward_test_data): Likewise.
66199 (ctanh_upward_test_data): Likewise.
66200 (erf_test_data): Likewise.
66201 (erfc_test_data): Likewise.
66202 (exp_test_data): Likewise.
66203 (exp_tonearest_test_data): Likewise.
66204 (exp_towardzero_test_data): Likewise.
66205 (exp_downward_test_data): Likewise.
66206 (exp_upward_test_data): Likewise.
66207 (exp10_test_data): Likewise.
66208 (exp2_test_data): Likewise.
66209 (expm1_test_data): Likewise.
66210 (fabs_test_data): Likewise.
66211 (fdim_test_data): Likewise.
66212 (finite_test_data): Likewise.
66213 (floor_test_data): Likewise.
66214 (fma_test_data): Likewise.
66215 (fma_towardzero_test_data): Likewise.
66216 (fma_downward_test_data): Likewise.
66217 (fma_upward_test_data): Likewise.
66218 (fmax_test_data): Likewise.
66219 (fmin_test_data): Likewise.
66220 (fmod_test_data): Likewise.
66221 (fpclassify_test_data): Likewise.
66222 (frexp_test_data): Likewise.
66223 (gamma_test_data): Likewise.
66224 (hypot_test_data): Likewise.
66225 (ilogb_test_data): Likewise.
66226 (isfinite_test_data): Likewise.
66227 (isgreater_test_data): Likewise.
66228 (isgreaterequal_test_data): Likewise.
66229 (isinf_test_data): Likewise.
66230 (isless_test_data): Likewise.
66231 (islessequal_test_data): Likewise.
66232 (islessgreater_test_data): Likewise.
66233 (isnan_test_data): Likewise.
66234 (isnormal_test_data): Likewise.
66235 (issignaling_test_data): Likewise.
66236 (isunordered_test_data): Likewise.
66237 (j0_test_data): Likewise.
66238 (j1_test_data): Likewise.
66239 (jn_test_data): Likewise.
66240 (ldexp_test_data): Likewise.
66241 (lgamma_test_data): Likewise.
66242 (lrint_test_data): Likewise.
66243 (lrint_tonearest_test_data): Likewise.
66244 (lrint_towardzero_test_data): Likewise.
66245 (lrint_downward_test_data): Likewise.
66246 (lrint_upward_test_data): Likewise.
66247 (llrint_test_data): Likewise.
66248 (llrint_tonearest_test_data): Likewise.
66249 (llrint_towardzero_test_data): Likewise.
66250 (llrint_downward_test_data): Likewise.
66251 (llrint_upward_test_data): Likewise.
66252 (log_test_data): Likewise.
66253 (log10_test_data): Likewise.
66254 (log1p_test_data): Likewise.
66255 (log2_test_data): Likewise.
66256 (logb_test_data): Likewise.
66257 (logb_downward_test_data): Likewise.
66258 (lround_test_data): Likewise.
66259 (llround_test_data): Likewise.
66260 (modf_test_data): Likewise.
66261 (nearbyint_test_data): Likewise.
66262 (nextafter_test_data): Likewise.
66263 (nexttoward_test_data): Likewise.
66264 (pow_test_data): Likewise.
66265 (pow_tonearest_test_data): Likewise.
66266 (pow_towardzero_test_data): Likewise.
66267 (pow_downward_test_data): Likewise.
66268 (pow_upward_test_data): Likewise.
66269 (remainder_test_data): Likewise.
66270 (remainder_tonearest_test_data): Likewise.
66271 (remainder_towardzero_test_data): Likewise.
66272 (remainder_downward_test_data): Likewise.
66273 (remainder_upward_test_data): Likewise.
66274 (remquo_test_data): Likewise.
66275 (rint_test_data): Likewise.
66276 (rint_tonearest_test_data): Likewise.
66277 (rint_towardzero_test_data): Likewise.
66278 (rint_downward_test_data): Likewise.
66279 (rint_upward_test_data): Likewise.
66280 (round_test_data): Likewise.
66281 (scalb_test_data): Likewise.
66282 (scalbn_test_data): Likewise.
66283 (scalbln_test_data): Likewise.
66284 (signbit_test_data): Likewise.
66285 (sin_test_data): Likewise.
66286 (sin_tonearest_test_data): Likewise.
66287 (sin_towardzero_test_data): Likewise.
66288 (sin_downward_test_data): Likewise.
66289 (sin_upward_test_data): Likewise.
66290 (sincos_test_data): Likewise.
66291 (sinh_test_data): Likewise.
66292 (sinh_tonearest_test_data): Likewise.
66293 (sinh_towardzero_test_data): Likewise.
66294 (sinh_downward_test_data): Likewise.
66295 (sinh_upward_test_data): Likewise.
66296 (sqrt_test_data): Likewise.
66297 (tan_test_data): Likewise.
66298 (tan_tonearest_test_data): Likewise.
66299 (tan_towardzero_test_data): Likewise.
66300 (tan_downward_test_data): Likewise.
66301 (tan_upward_test_data): Likewise.
66302 (tanh_test_data): Likewise.
66303 (tgamma_test_data): Likewise.
66304 (trunc_test_data): Likewise.
66305 (y0_test_data): Likewise.
66306 (y1_test_data): Likewise.
66307 (yn_test_data): Likewise.
66308 (significand_test_data): Likewise.
66309
66310 * math/gen-libm-test.pl (@functions): Remove variable.
66311 (generate_testfile): Don't handle START and END lines.
66312 * math/libm-test.inc (START): New macro.
66313 (END): Likewise.
66314 (END_COMPLEX): Likewise.
66315 (acos_test): Use END macro without arguments.
66316 (acos_test_tonearest): Likewise.
66317 (acos_test_towardzero): Likewise.
66318 (acos_test_downward): Likewise.
66319 (acos_test_upward): Likewise.
66320 (acosh_test): Likewise.
66321 (asin_test): Likewise.
66322 (asin_test_tonearest): Likewise.
66323 (asin_test_towardzero): Likewise.
66324 (asin_test_downward): Likewise.
66325 (asin_test_upward): Likewise.
66326 (asinh_test): Likewise.
66327 (atan_test): Likewise.
66328 (atanh_test): Likewise.
66329 (atan2_test): Likewise.
66330 (cabs_test): Likewise.
66331 (cacos_test): Use END_COMPLEX macro without arguments.
66332 (cacosh_test): Likewise.
66333 (carg_test): Use END macro without arguments.
66334 (casin_test): Use END_COMPLEX macro without arguments.
66335 (casinh_test): Likewise.
66336 (catan_test): Likewise.
66337 (catanh_test): Likewise.
66338 (cbrt_test): Use END macro without arguments.
66339 (ccos_test): Use END_COMPLEX macro without arguments.
66340 (ccosh_test): Likewise.
66341 (ceil_test): Use END macro without arguments.
66342 (cexp_test): Use END_COMPLEX macro without arguments.
66343 (cimag_test): Use END macro without arguments.
66344 (clog_test): Use END_COMPLEX macro without arguments.
66345 (clog10_test): Likewise.
66346 (conj_test): Likewise.
66347 (copysign_test): Use END macro without arguments.
66348 (cos_test): Likewise.
66349 (cos_test_tonearest): Likewise.
66350 (cos_test_towardzero): Likewise.
66351 (cos_test_downward): Likewise.
66352 (cos_test_upward): Likewise.
66353 (cosh_test): Likewise.
66354 (cosh_test_tonearest): Likewise.
66355 (cosh_test_towardzero): Likewise.
66356 (cosh_test_downward): Likewise.
66357 (cosh_test_upward): Likewise.
66358 (cpow_test): Use END_COMPLEX macro without arguments.
66359 (cproj_test): Likewise.
66360 (creal_test): Use END macro without arguments.
66361 (csin_test): Use END_COMPLEX macro without arguments.
66362 (csinh_test): Likewise.
66363 (csqrt_test): Likewise.
66364 (ctan_test): Likewise.
66365 (ctan_test_tonearest): Likewise.
66366 (ctan_test_towardzero): Likewise.
66367 (ctan_test_downward): Likewise.
66368 (ctan_test_upward): Likewise.
66369 (ctanh_test): Likewise.
66370 (ctanh_test_tonearest): Likewise.
66371 (ctanh_test_towardzero): Likewise.
66372 (ctanh_test_downward): Likewise.
66373 (ctanh_test_upward): Likewise.
66374 (erf_test): Use END macro without arguments.
66375 (erfc_test): Likewise.
66376 (exp_test): Likewise.
66377 (exp_test_tonearest): Likewise.
66378 (exp_test_towardzero): Likewise.
66379 (exp_test_downward): Likewise.
66380 (exp_test_upward): Likewise.
66381 (exp10_test): Likewise.
66382 (exp2_test): Likewise.
66383 (expm1_test): Likewise.
66384 (fabs_test): Likewise.
66385 (fdim_test): Likewise.
66386 (finite_test): Likewise.
66387 (floor_test): Likewise.
66388 (fma_test): Likewise.
66389 (fma_test_towardzero): Likewise.
66390 (fma_test_downward): Likewise.
66391 (fma_test_upward): Likewise.
66392 (fmax_test): Likewise.
66393 (fmin_test): Likewise.
66394 (fmod_test): Likewise.
66395 (fpclassify_test): Likewise.
66396 (frexp_test): Likewise.
66397 (gamma_test): Likewise.
66398 (hypot_test): Likewise.
66399 (ilogb_test): Likewise.
66400 (isfinite_test): Likewise.
66401 (isgreater_test): Likewise.
66402 (isgreaterequal_test): Likewise.
66403 (isinf_test): Likewise.
66404 (isless_test): Likewise.
66405 (islessequal_test): Likewise.
66406 (islessgreater_test): Likewise.
66407 (isnan_test): Likewise.
66408 (isnormal_test): Likewise.
66409 (issignaling_test): Likewise.
66410 (isunordered_test): Likewise.
66411 (j0_test): Likewise.
66412 (j1_test): Likewise.
66413 (jn_test): Likewise.
66414 (ldexp_test): Likewise.
66415 (lgamma_test): Likewise.
66416 (lrint_test): Likewise.
66417 (lrint_test_tonearest): Likewise.
66418 (lrint_test_towardzero): Likewise.
66419 (lrint_test_downward): Likewise.
66420 (lrint_test_upward): Likewise.
66421 (llrint_test): Likewise.
66422 (llrint_test_tonearest): Likewise.
66423 (llrint_test_towardzero): Likewise.
66424 (llrint_test_downward): Likewise.
66425 (llrint_test_upward): Likewise.
66426 (log_test): Likewise.
66427 (log10_test): Likewise.
66428 (log1p_test): Likewise.
66429 (log2_test): Likewise.
66430 (logb_test): Likewise.
66431 (logb_test_downward): Likewise.
66432 (lround_test): Likewise.
66433 (llround_test): Likewise.
66434 (modf_test): Likewise.
66435 (nearbyint_test): Likewise.
66436 (nextafter_test): Likewise.
66437 (nexttoward_test): Likewise.
66438 (pow_test): Likewise.
66439 (pow_test_tonearest): Likewise.
66440 (pow_test_towardzero): Likewise.
66441 (pow_test_downward): Likewise.
66442 (pow_test_upward): Likewise.
66443 (remainder_test): Likewise.
66444 (remainder_test_tonearest): Likewise.
66445 (remainder_test_towardzero): Likewise.
66446 (remainder_test_downward): Likewise.
66447 (remainder_test_upward): Likewise.
66448 (remquo_test): Likewise.
66449 (rint_test): Likewise.
66450 (rint_test_tonearest): Likewise.
66451 (rint_test_towardzero): Likewise.
66452 (rint_test_downward): Likewise.
66453 (rint_test_upward): Likewise.
66454 (round_test): Likewise.
66455 (scalb_test): Likewise.
66456 (scalbn_test): Likewise.
66457 (scalbln_test): Likewise.
66458 (signbit_test): Likewise.
66459 (sin_test): Likewise.
66460 (sin_test_tonearest): Likewise.
66461 (sin_test_towardzero): Likewise.
66462 (sin_test_downward): Likewise.
66463 (sin_test_upward): Likewise.
66464 (sincos_test): Likewise.
66465 (sinh_test): Likewise.
66466 (sinh_test_tonearest): Likewise.
66467 (sinh_test_towardzero): Likewise.
66468 (sinh_test_downward): Likewise.
66469 (sinh_test_upward): Likewise.
66470 (sqrt_test): Likewise.
66471 (tan_test): Likewise.
66472 (tan_test_tonearest): Likewise.
66473 (tan_test_towardzero): Likewise.
66474 (tan_test_downward): Likewise.
66475 (tan_test_upward): Likewise.
66476 (tanh_test): Likewise.
66477 (tgamma_test): Likewise.
66478 (trunc_test): Likewise.
66479 (y0_test): Likewise.
66480 (y1_test): Likewise.
66481 (yn_test): Likewise.
66482 (significand_test): Likewise.
66483
66484 2013-05-24 Ondƙej Bílka <neleai@seznam.cz>
66485
66486 [BZ #15381]
66487 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66488
66489 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66490
66491 [BZ #14894]
66492 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66493 __ppc_mdoio and __ppc_mdoom.
66494 * manual/platform.texi: Document new functions __ppc_yield,
66495 __ppc_mdoio and __ppc_mdoom.
66496
66497 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66498
66499 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66500 (main): Mention "tls" pseudo-hwcap is legacy.
66501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66502
66503 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66504
66505 * math/gen-libm-test.pl (parse_args): Output only string of
66506 arguments as text for test name, not full call or descriptions of
66507 tests for extra outputs.
66508 (generate_testfile): Do not pass function name to parse_args.
66509 Generate this_func variable from START.
66510 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66511 field to arg_str.
66512 (struct test_ff_f_data): Likewise.
66513 (test_ff_f_data_nexttoward): Likewise.
66514 (struct test_fi_f_data): Likewise.
66515 (struct test_fl_f_data): Likewise.
66516 (struct test_if_f_data): Likewise.
66517 (struct test_fff_f_data): Likewise.
66518 (struct test_c_f_data): Likewise.
66519 (struct test_f_f1_data): Likewise. Remove field extra_name.
66520 (struct test_fF_f1_data): Likewise.
66521 (struct test_ffI_f1_data): Likewise.
66522 (struct test_c_c_data): Rename test_name field to arg_str.
66523 (struct test_cc_c_data): Likewise.
66524 (struct test_f_i_data): Likewise.
66525 (struct test_ff_i_data): Likewise.
66526 (struct test_f_l_data): Likewise.
66527 (struct test_f_L_data): Likewise.
66528 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66529 and extra2_name.
66530 (COMMON_TEST_SETUP): New macro.
66531 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66532 (COMMON_TEST_CLEANUP): Likewise.
66533 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66534 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66535 macros.
66536 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66537 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66538 macros.
66539 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66540 (RUN_TEST_fff_f): Take argument string. Call new setup and
66541 cleanup macros.
66542 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66543 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66544 macros.
66545 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66546 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66547 macros.
66548 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66549 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66550 cleanup macros.
66551 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66552 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66553 cleanup macros.
66554 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66555 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66556 cleanup macros.
66557 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66558 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66559 macros.
66560 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66561 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66562 macros.
66563 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66564 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66565 macros.
66566 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66567 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66568 cleanup macros.
66569 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66570 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66571 cleanup macros.
66572 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66573 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66574 macros.
66575 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66576 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66577 cleanup macros.
66578 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66579 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66580 macros.
66581 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66582 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66583 macros.
66584 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66585 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66586 cleanup macros.
66587 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66588
66589 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66590
66591 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66592 to _sifields.sigfault.
66593 (si_addr_lsb): Define new macro.
66594 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66595 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66596 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66597
66598 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66599
66600 [BZ #15441]
66601 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66602 returns -1.
66603 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66604 null return -1.
66605 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66606 loading the domain.
66607
66608 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66609
66610 * math/gen-libm-test.pl (parse_args): Do not include expected
66611 result in test name.
66612 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66613 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66614 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66615 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66616 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66618
66619 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66620
66621 * benchtests/Makefile: Sort function entries.
66622
66623 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66624 tanh, asinh, acosh, atanh.
66625 * benchtests/acos-inputs: New file.
66626 * benchtests/acosh-inputs: New file.
66627 * benchtests/asin-inputs: New file.
66628 * benchtests/asinh-inputs: New file.
66629 * benchtests/atanh-inputs: New file.
66630 * benchtests/cosh-inputs: New file.
66631 * benchtests/log-inputs: New file.
66632 * benchtests/sinh-inputs: New file.
66633 * benchtests/tanh-inputs: New file.
66634
66635 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66636
66637 [BZ #15339]
66638 * posix/tst-getaddrinfo4.c: New test.
66639 * posix/Makefile (tests): Add it.
66640
66641 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66642
66643 [BZ #15339]
66644 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66645 when no services were used.
66646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66647 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66648
66649 2013-05-21 Andreas Schwab <schwab@suse.de>
66650
66651 [BZ #15014]
66652 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66653 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66654 successful.
66655 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66656 redundant variable declarations and reallocation of buffer when
66657 parsing as IPv6 address. Always set NSS status when called from
66658 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66659 buffer too small. Correct computation of needed size.
66660 * nss/Makefile (tests): Add test-digits-dots.
66661 * nss/test-digits-dots.c: New test.
66662
66663 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66664
66665 * benchtests/Makefile: Remove instructions for adding
66666 benchmark tests.
66667 * benchtests/README: New file to explain how to execute and
66668 enhance the benchmark tests.
66669
66670 2013-05-21 Andreas Schwab <schwab@suse.de>
66671
66672 [BZ #15493]
66673 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66674 * setjmp/tst-sigsetjmp.c: New test.
66675
66676 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66677
66678 * sysdeps/x86_64/memset.S (memset): New implementation.
66679 (__bzero): Likewise.
66680 (__memset_tail): New function.
66681
66682 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66683
66684 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66685 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66686 __memcpy_sse2_unaligned ifunc selection.
66687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66688 Add memcpy-sse2-unaligned.S.
66689 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66690 Add: __memcpy_sse2_unaligned.
66691
66692 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66693
66694 [BZ #15490]
66695 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66696 math_force_eval before restoring floating-point envrionment.
66697 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66699 Likewise.
66700 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66701 <math_private.h>.
66702 (__nearbyintl): Use math_force_eval before restoring
66703 floating-point environment.
66704 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66705
66706 * math/gen-libm-test.pl (special_functions): Remove.
66707 (parse_args): Don't handle TEST_extra. Handle functions with no
66708 return value.
66709 * math/libm-test.inc (struct test_sincos_data): Replace with
66710 struct test_fFF_11_data.
66711 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66712 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66713 (sincos_test_data): Change element type to struct
66714 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66715 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66716 RUN_TEST_LOOP_sincos.
66717 * math/README.libm-test: Don't mention special handling of
66718 individual functions.
66719 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66725
66726 * math/gen-libm-test.pl (get_variable): Remove function.
66727 (parse_args): Don't show pointer parameters to call in test
66728 names. Use "extra output N" in test names for extra outputs
66729 rather than naming variables.
66730
66731 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66732
66733 [BZ #15488]
66734 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66735 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66736 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66737 double tests.
66738 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66739 disable.
66740 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66741 check_long_double.
66742
66743 * math/gen-libm-test.pl (@tests): Remove variable.
66744 ($count): Likewise.
66745 (new_test): Remove function.
66746 (show_exceptions): New function.
66747 (special_functions): Use show_exceptions instead of new_test.
66748 (parse_args): Likewise.
66749 (generate_testfile): Pass only function name in generated call to
66750 print_max_error or print_complex_max_error.
66751 (get_ulps): Do not handle complex tests specially.
66752 (output_test): Rename to ...
66753 (get_all_ulps_for_test): ... this. Return a string rather than
66754 printing to a file. Require ulps to be present.
66755 (output_ulps): Generate arrays rather than #defines.
66756 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66757 (struct ulp_data): New type.
66758 (BUILD_COMPLEX_ULP): Remove macro.
66759 (compare_ulp_data): New function.
66760 (find_ulps): Likewise.
66761 (find_test_ulps): Likewise.
66762 (find_function_ulps): Likewise.
66763 (find_complex_function_ulps): Likewise.
66764 (print_max_error): Determine allowed ulps using
66765 find_function_ulps.
66766 (print_complex_max_error): Determine allowed ulps using
66767 find_complex_function_ulps.
66768 (check_float_internal): Determine max ulps using find_test_ulps.
66769 (check_float): Do not take max_ulp parameter. Update call to
66770 check_float_internal.
66771 (check_complex): Likewise.
66772 (check_int): Do not take max_ulp parameter.
66773 (check_long): Likewise.
66774 (check_bool): Likewise.
66775 (check_longlong): Likewise.
66776 (struct test_f_f_data): Remove max_ulp field.
66777 (struct test_ff_f_data): Likewise.
66778 (struct test_ff_f_data_nexttoward): Likewise.
66779 (struct test_fi_f_data): Likewise.
66780 (struct test_fl_f_data): Likewise.
66781 (struct test_if_f_data): Likewise.
66782 (struct test_fff_f_data): Likewise.
66783 (struct test_c_f_data): Likewise.
66784 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66785 (struct test_fF_f1_data): Likewise.
66786 (struct test_ffI_f1_data): Likewise.
66787 (struct test_c_c_data): Remove max_ulp field.
66788 (struct test_cc_c_data): Likewise.
66789 (struct test_f_i_data): Likewise.
66790 (struct test_ff_i_data): Likewise.
66791 (struct test_f_l_data): Likewise.
66792 (struct test_f_L_data): Likewise.
66793 (struct test_sincos_data): Likewise.
66794 (RUN_TEST_f_f): Do not handle ulps.
66795 (RUN_TEST_LOOP_f_f): Likewise.
66796 (RUN_TEST_2_f): Likewise.
66797 (RUN_TEST_LOOP_2_f): Likewise.
66798 (RUN_TEST_fff_f): Likewise.
66799 (RUN_TEST_LOOP_fff_f): Likewise.
66800 (RUN_TEST_c_f): Likewise.
66801 (RUN_TEST_LOOP_c_f): Likewise.
66802 (RUN_TEST_f_f1): Likewise.
66803 (RUN_TEST_LOOP_f_f1): Likewise.
66804 (RUN_TEST_fF_f1): Likewise.
66805 (RUN_TEST_LOOP_fF_f1): Likewise.
66806 (RUN_TEST_fI_f1): Likewise.
66807 (RUN_TEST_LOOP_fI_f1): Likewise.
66808 (RUN_TEST_ffI_f1): Likewise.
66809 (RUN_TEST_LOOP_ffI_f1): Likewise.
66810 (RUN_TEST_c_c): Likewise.
66811 (RUN_TEST_LOOP_c_c): Likewise.
66812 (RUN_TEST_cc_c): Likewise.
66813 (RUN_TEST_LOOP_cc_c): Likewise.
66814 (RUN_TEST_f_i): Likewise.
66815 (RUN_TEST_LOOP_f_i): Likewise.
66816 (RUN_TEST_f_i_tg): Likewise.
66817 (RUN_TEST_LOOP_f_i_tg): Likewise.
66818 (RUN_TEST_ff_i_tg): Likewise.
66819 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66820 (RUN_TEST_f_b): Likewise.
66821 (RUN_TEST_LOOP_f_b): Likewise.
66822 (RUN_TEST_f_b_tg): Likewise.
66823 (RUN_TEST_LOOP_f_b_tg): Likewise.
66824 (RUN_TEST_f_l): Likewise.
66825 (RUN_TEST_LOOP_f_l): Likewise.
66826 (RUN_TEST_f_L): Likewise.
66827 (RUN_TEST_LOOP_f_L): Likewise.
66828 (RUN_TEST_sincos): Likewise.
66829 (RUN_TEST_LOOP_sincos): Likewise.
66830
66831 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66832
66833 [BZ #15480]
66834 [BZ #15485]
66835 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66836 main case of finite arguments, set rounding mode to FE_TONEAREST
66837 and discard exceptions.
66838 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66839 exceptions.
66840 (remainder_tonearest_test_data): New variable.
66841 (remainder_test_tonearest): New function.
66842 (remainder_towardzero_test_data): New variable.
66843 (remainder_test_towardzero): New function.
66844 (remainder_downward_test_data): New variable.
66845 (remainder_test_downward): New function.
66846 (remainder_upward_test_data): New variable.
66847 (remainder_test_upward): New function.
66848 (main): Call the new test functions.
66849
66850 * math/libm-test.inc (struct test_f_f1_data): Remove field
66851 extra_init.
66852 (struct test_fF_f1_data): Likewise.
66853 (struct test_ffI_f1_data): Likewise.
66854 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66855 based on value of EXTRA_EXPECTED.
66856 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66857 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66858 EXTRA_VAR based on value of EXTRA_EXPECTED.
66859 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66860 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66861 EXTRA_VAR based on value of EXTRA_EXPECTED.
66862 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66863 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66864 EXTRA_VAR based on value of EXTRA_EXPECTED.
66865 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66866 * math/gen-libm-test.pl (parse_args): Don't output initializers
66867 for extra output values.
66868
66869 * math/libm-test.inc (check_int): Expect result to be exactly
66870 equal to expected value and do not handle ulps.
66871 (check_long): Likewise.
66872 (check_longlong): Likewise.
66873
66874 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66875 exceptions.
66876 (cimag_test_data): Likewise.
66877 (conj_test_data): Likewise.
66878 (copysign_test_data): Likewise.
66879 (cproj_test_data): Likewise.
66880 (creal_test_data): Likewise.
66881 (fabs_test_data): Likewise.
66882 (fdim_test_data): Likewise.
66883 (finite_test_data): Likewise.
66884 (floor_test_data): Likewise.
66885 (fmax_test_data): Likewise.
66886 (fmin_test_data): Likewise.
66887 (fmod_test_data): Likewise.
66888 (fpclassify_test_data): Likewise.
66889 (frexp_test_data): Likewise.
66890 (ilogb_test_data): Likewise.
66891 (isfinite_test_data): Likewise.
66892 (isgreater_test_data): Likewise.
66893 (isgreaterequal_test_data): Likewise.
66894 (isinf_test_data): Likewise.
66895 (isless_test_data): Likewise.
66896 (islessequal_test_data): Likewise.
66897 (islessgreater_test_data): Likewise.
66898 (isnan_test_data): Likewise.
66899 (isnormal_test_data): Likewise.
66900 (issignaling_test_data): Likewise.
66901 (isunordered_test_data): Likewise.
66902 (ldexp_test_data): Likewise.
66903 (lrint_test_data): Likewise.
66904 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66905 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66906 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66907 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66908 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66909 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66910 test input.
66911 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66912 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66913 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66914 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66915 that test input.
66916 (lrint_downward_test_data): Test for "inexact" exceptions.
66917 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66918 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66919 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66920 test input.
66921 (lrint_upward_test_data): Test for "inexact" exceptions.
66922 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66923 test input.
66924 (llrint_test_data): Test for "inexact" exceptions.
66925 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66926 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66927 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66928 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66929 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66930 (llrint_downward_test_data): Test for "inexact" exceptions.
66931 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66932 (llrint_upward_test_data): Test for "inexact" exceptions.
66933 (logb_test_data): Likewise.
66934 (logb_downward_test_data): Likewise.
66935 (nextafter_test_data): Likewise.
66936 (nexttoward_test_data): Likewise.
66937 (remainder_test_data): Likewise.
66938 (remquo_test_data): Likewise.
66939 (scalbn_test_data): Likewise.
66940 (scalbln_test_data): Likewise.
66941 (signbit_test_data): Likewise.
66942 (sqrt_test_data): Likewise.
66943 (significand_test_data): Likewise.
66944
66945 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66946
66947 [BZ #15424]
66948 * benchtests/bench-modf.c (struct args): Mark arg0 as
66949 volatile.
66950 * scripts/bench.pl: Mark members of struct args as volatile.
66951
66952 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66953
66954 [BZ # 15497]
66955 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66956 negative infinity on POWER6 or lower.
66957 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66958
66959 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66960
66961 [BZ #15442]
66962 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66963 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66964 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66965 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66966 (_FP_SETQNAN): New macro.
66967 (_FP_SETQNAN_SEMIRAW): Likewise.
66968 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66969 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66970 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66971 (FP_EXTEND): Use _FP_FRAC_SNANP.
66972 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66973 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66974 into account.
66975 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66976 New macro.
66977 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66978 Likewise.
66979
66980 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66981
66982 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66983 with DIVIDE_BY_ZERO_EXCEPTION.
66984 (gamma_test_data): Likewise.
66985 (lgamma_test_data): Likewise.
66986 (log_test_data): Likewise.
66987 (log10_test_data): Likewise.
66988 (log2_test_data): Likewise.
66989 (tgamma_test_data): Likewise.
66990
66991 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66992 (acos_test_tonearest): Likewise.
66993 (acos_test_towardzero): Likewise.
66994 (acos_test_downward): Likewise.
66995 (acos_test_upward): Likewise.
66996 (acosh_test): Likewise.
66997 (asin_test): Likewise.
66998 (asin_test_tonearest): Likewise.
66999 (asin_test_towardzero): Likewise.
67000 (asin_test_downward): Likewise.
67001 (asin_test_upward): Likewise.
67002 (asinh_test): Likewise.
67003 (atan_test): Likewise.
67004 (atanh_test): Likewise.
67005 (atan2_test): Likewise.
67006 (cabs_test): Likewise.
67007 (cacos_test): Likewise.
67008 (cacosh_test): Likewise.
67009 (casin_test): Likewise.
67010 (casinh_test): Likewise.
67011 (catan_test): Likewise.
67012 (catanh_test): Likewise.
67013 (cbrt_test): Likewise.
67014 (ccos_test): Likewise.
67015 (ccosh_test): Likewise.
67016 (cexp_test): Likewise.
67017 (clog_test): Likewise.
67018 (clog10_test): Likewise.
67019 (cos_test): Likewise.
67020 (cos_test_tonearest): Likewise.
67021 (cos_test_towardzero): Likewise.
67022 (cos_test_downward): Likewise.
67023 (cos_test_upward): Likewise.
67024 (cosh_test): Likewise.
67025 (cosh_test_tonearest): Likewise.
67026 (cosh_test_towardzero): Likewise.
67027 (cosh_test_downward): Likewise.
67028 (cosh_test_upward): Likewise.
67029 (cpow_test): Likewise.
67030 (csin_test): Likewise.
67031 (csinh_test): Likewise.
67032 (csqrt_test): Likewise.
67033 (ctan_test): Likewise.
67034 (ctan_test_tonearest): Likewise.
67035 (ctan_test_towardzero): Likewise.
67036 (ctan_test_downward): Likewise.
67037 (ctan_test_upward): Likewise.
67038 (ctanh_test): Likewise.
67039 (ctanh_test_tonearest): Likewise.
67040 (ctanh_test_towardzero): Likewise.
67041 (ctanh_test_downward): Likewise.
67042 (ctanh_test_upward): Likewise.
67043 (erf_test): Likewise.
67044 (erfc_test): Likewise.
67045 (exp_test): Likewise.
67046 (exp_test_tonearest): Likewise.
67047 (exp_test_towardzero): Likewise.
67048 (exp_test_downward): Likewise.
67049 (exp_test_upward): Likewise.
67050 (exp10_test): Likewise.
67051 (exp2_test): Likewise.
67052 (expm1_test): Likewise.
67053 (fmod_test): Likewise.
67054 (gamma_test): Likewise.
67055 (hypot_test): Likewise.
67056 (j0_test): Likewise.
67057 (j1_test): Likewise.
67058 (jn_test): Likewise.
67059 (lgamma_test): Likewise.
67060 (log_test): Likewise.
67061 (log10_test): Likewise.
67062 (log1p_test): Likewise.
67063 (log2_test): Likewise.
67064 (logb_test_downward): Likewise.
67065 (pow_test): Likewise.
67066 (pow_test_tonearest): Likewise.
67067 (pow_test_towardzero): Likewise.
67068 (pow_test_downward): Likewise.
67069 (pow_test_upward): Likewise.
67070 (remainder_test): Likewise.
67071 (remquo_test): Likewise.
67072 (sin_test): Likewise.
67073 (sin_test_tonearest): Likewise.
67074 (sin_test_towardzero): Likewise.
67075 (sin_test_downward): Likewise.
67076 (sin_test_upward): Likewise.
67077 (sincos_test): Likewise.
67078 (sinh_test): Likewise.
67079 (sinh_test_tonearest): Likewise.
67080 (sinh_test_towardzero): Likewise.
67081 (sinh_test_downward): Likewise.
67082 (sinh_test_upward): Likewise.
67083 (sqrt_test): Likewise.
67084 (tan_test): Likewise.
67085 (tan_test_tonearest): Likewise.
67086 (tan_test_towardzero): Likewise.
67087 (tan_test_downward): Likewise.
67088 (tan_test_upward): Likewise.
67089 (tanh_test): Likewise.
67090 (tgamma_test): Likewise.
67091 (y0_test): Likewise.
67092 (y1_test): Likewise.
67093 (yn_test): Likewise.
67094
67095 * math/gen-libm-test.pl (adjust_arg): Remove function.
67096 (special_function): Remove argument $in_func. Only handle
67097 generating output for tables of tests, not inside functions.
67098 (parse_args): Likewise.
67099 (generate_testfile): Remove variable $in_func. Update call to
67100 parse_args.
67101 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67102 (MINUS_ZERO_INIT): Rename macro to minus_zero.
67103 (PLUS_INFTY_INIT): Rename macro to plus_infty.
67104 (MINUS_INFTY_INIT): Rename macro to minus_infty.
67105 (QNAN_VALUE_INIT): Rename macro to qnan_value.
67106 (MAX_VALUE_INIT): Rename macro to max_value.
67107 (MIN_VALUE_INIT): Rename macro to min_value.
67108 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67109 (plus_zero): Remove variable.
67110 (minus_zero): Likewise.
67111 (plus_infty): Likewise.
67112 (minus_infty): Likewise.
67113 (qnan_value): Likewise.
67114 (max_value): Likewise.
67115 (min_value): Likewise.
67116 (min_subnorm_value): Likewise.
67117
67118 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67119
67120 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67121 uint64_t or uint32_t usage.
67122 * crypt/sha256-block.c: Likewise.
67123 * crypt/sha256-crypt.c: Likewise.
67124 * crypt/sha256.c: Likewise.
67125 * crypt/sha512-block.c: Likewise.
67126 * crypt/sha512-crypt.c: Likewise.
67127 * crypt/sha512.c: Likewise.
67128 * debug/backtrace-tst.c: Likewise.
67129 * debug/pcprofiledump.c: Likewise.
67130 * elf/cache.c: Likewise.
67131 * elf/dl-cache.c: Likewise.
67132 * elf/dl-misc.c: Likewise.
67133 * elf/dl-profile.c: Likewise.
67134 * elf/dl-support.c: Likewise.
67135 * elf/ldconfig.c: Likewise.
67136 * elf/sprof.c: Likewise.
67137 * iconv/dummy-repertoire.c: Likewise.
67138 * iconv/iconv_charmap.c: Likewise.
67139 * iconv/skeleton.c: Likewise.
67140 * iconvdata/8bit-generic.c: Likewise.
67141 * iconvdata/cp737.h: Likewise.
67142 * iconvdata/cp775.h: Likewise.
67143 * iconvdata/ibm1008.h: Likewise.
67144 * iconvdata/ibm1025.h: Likewise.
67145 * iconvdata/ibm1046.h: Likewise.
67146 * iconvdata/ibm1097.h: Likewise.
67147 * iconvdata/ibm1112.h: Likewise.
67148 * iconvdata/ibm1122.h: Likewise.
67149 * iconvdata/ibm1123.h: Likewise.
67150 * iconvdata/ibm1124.h: Likewise.
67151 * iconvdata/ibm1129.h: Likewise.
67152 * iconvdata/ibm1130.h: Likewise.
67153 * iconvdata/ibm1132.h: Likewise.
67154 * iconvdata/ibm1133.h: Likewise.
67155 * iconvdata/ibm1137.h: Likewise.
67156 * iconvdata/ibm1140.h: Likewise.
67157 * iconvdata/ibm1141.h: Likewise.
67158 * iconvdata/ibm1142.h: Likewise.
67159 * iconvdata/ibm1143.h: Likewise.
67160 * iconvdata/ibm1144.h: Likewise.
67161 * iconvdata/ibm1145.h: Likewise.
67162 * iconvdata/ibm1146.h: Likewise.
67163 * iconvdata/ibm1147.h: Likewise.
67164 * iconvdata/ibm1148.h: Likewise.
67165 * iconvdata/ibm1149.h: Likewise.
67166 * iconvdata/ibm1153.h: Likewise.
67167 * iconvdata/ibm1154.h: Likewise.
67168 * iconvdata/ibm1155.h: Likewise.
67169 * iconvdata/ibm1156.h: Likewise.
67170 * iconvdata/ibm1157.h: Likewise.
67171 * iconvdata/ibm1158.h: Likewise.
67172 * iconvdata/ibm1160.h: Likewise.
67173 * iconvdata/ibm1161.h: Likewise.
67174 * iconvdata/ibm1162.h: Likewise.
67175 * iconvdata/ibm1163.h: Likewise.
67176 * iconvdata/ibm1164.h: Likewise.
67177 * iconvdata/ibm1166.h: Likewise.
67178 * iconvdata/ibm1167.h: Likewise.
67179 * iconvdata/ibm12712.h: Likewise.
67180 * iconvdata/ibm1390.h: Likewise.
67181 * iconvdata/ibm1399.h: Likewise.
67182 * iconvdata/ibm16804.h: Likewise.
67183 * iconvdata/ibm4517.h: Likewise.
67184 * iconvdata/ibm4899.h: Likewise.
67185 * iconvdata/ibm4909.h: Likewise.
67186 * iconvdata/ibm4971.h: Likewise.
67187 * iconvdata/ibm5347.h: Likewise.
67188 * iconvdata/ibm803.h: Likewise.
67189 * iconvdata/ibm856.h: Likewise.
67190 * iconvdata/ibm901.h: Likewise.
67191 * iconvdata/ibm902.h: Likewise.
67192 * iconvdata/ibm9030.h: Likewise.
67193 * iconvdata/ibm9066.h: Likewise.
67194 * iconvdata/ibm921.h: Likewise.
67195 * iconvdata/ibm922.h: Likewise.
67196 * iconvdata/ibm9448.h: Likewise.
67197 * iconvdata/isiri-3342.h: Likewise.
67198 * iconvdata/jis0201.h: Likewise.
67199 * include/link.h: Likewise.
67200 * include/netdb.h: Likewise.
67201 * inet/check_native.c: Likewise.
67202 * inet/check_pf.c: Likewise.
67203 * inet/getipv4sourcefilter.c: Likewise.
67204 * inet/getnameinfo.c: Likewise.
67205 * inet/getsourcefilter.c: Likewise.
67206 * inet/htonl.c: Likewise.
67207 * inet/setipv4sourcefilter.c: Likewise.
67208 * inet/setsourcefilter.c: Likewise.
67209 * inet/test-inet6_opt.c: Likewise.
67210 * inet/tst-network.c: Likewise.
67211 * locale/C-collate.c: Likewise.
67212 * locale/C-ctype.c: Likewise.
67213 * locale/C-time.c: Likewise.
67214 * locale/C-translit.h: Likewise.
67215 * locale/loadarchive.c: Likewise.
67216 * locale/programs/3level.h: Likewise.
67217 * locale/programs/charmap.c: Likewise.
67218 * locale/programs/charmap.h: Likewise.
67219 * locale/programs/ld-address.c: Likewise.
67220 * locale/programs/ld-collate.c: Likewise.
67221 * locale/programs/ld-ctype.c: Likewise.
67222 * locale/programs/ld-identification.c: Likewise.
67223 * locale/programs/ld-measurement.c: Likewise.
67224 * locale/programs/ld-messages.c: Likewise.
67225 * locale/programs/ld-monetary.c: Likewise.
67226 * locale/programs/ld-name.c: Likewise.
67227 * locale/programs/ld-numeric.c: Likewise.
67228 * locale/programs/ld-paper.c: Likewise.
67229 * locale/programs/ld-telephone.c: Likewise.
67230 * locale/programs/ld-time.c: Likewise.
67231 * locale/programs/linereader.c: Likewise.
67232 * locale/programs/locale.c: Likewise.
67233 * locale/programs/locarchive.c: Likewise.
67234 * locale/programs/locfile.h: Likewise.
67235 * locale/programs/repertoire.c: Likewise.
67236 * locale/programs/simple-hash.c: Likewise.
67237 * locale/programs/simple-hash.h: Likewise.
67238 * malloc/memusage.c: Likewise.
67239 * malloc/memusagestat.c: Likewise.
67240 * nis/nis_defaults.c: Likewise.
67241 * nis/nis_hash.c: Likewise.
67242 * nis/nis_print.c: Likewise.
67243 * nis/nis_xdr.c: Likewise.
67244 * nscd/connections.c: Likewise.
67245 * nscd/hstcache.c: Likewise.
67246 * nscd/nscd_gethst_r.c: Likewise.
67247 * nscd/nscd_getserv_r.c: Likewise.
67248 * nscd/nscd_helper.c: Likewise.
67249 * nscd/servicescache.c: Likewise.
67250 * nss/makedb.c: Likewise.
67251 * nss/nss_db/db-XXX.c: Likewise.
67252 * nss/nss_db/db-initgroups.c: Likewise.
67253 * nss/nss_db/db-netgrp.c: Likewise.
67254 * nss/nss_files/files-network.c: Likewise.
67255 * nss/nss_files/files-parse.c: Likewise.
67256 * posix/bug-regex5.c: Likewise.
67257 * posix/fnmatch_loop.c: Likewise.
67258 * posix/regcomp.c: Likewise.
67259 * posix/regexec.c: Likewise.
67260 * posix/tst-rfc3484-2.c: Likewise.
67261 * posix/tst-rfc3484-3.c: Likewise.
67262 * posix/tst-rfc3484.c: Likewise.
67263 * resolv/nss_dns/dns-canon.c: Likewise.
67264 * resolv/nss_dns/dns-network.c: Likewise.
67265 * resolv/res_init.c: Likewise.
67266 * resolv/res_mkquery.c: Likewise.
67267 * resolv/tst-aton.c: Likewise.
67268 * stdlib/cxa_atexit.c: Likewise.
67269 * stdlib/cxa_finalize.c: Likewise.
67270 * stdlib/gen-fpioconst.c: Likewise.
67271 * stdlib/strtol_l.c: Likewise.
67272 * string/tst-endian.c: Likewise.
67273 * sunrpc/auth_des.c: Likewise.
67274 * sunrpc/clnt_udp.c: Likewise.
67275 * sunrpc/rtime.c: Likewise.
67276 * sunrpc/svcauth_des.c: Likewise.
67277 * sunrpc/xdr.c: Likewise.
67278 * sunrpc/xdr_intXX_t.c: Likewise.
67279 * sunrpc/xdr_rec.c: Likewise.
67280 * sysdeps/generic/ldconfig.h: Likewise.
67281 * sysdeps/generic/ldsodefs.h: Likewise.
67282 * sysdeps/generic/memusage.h: Likewise.
67283 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67284 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67285 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67289 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67290 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67291 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67292 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67293 * sysdeps/posix/getaddrinfo.c: Likewise.
67294 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67295 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67296 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67298 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67299 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67300 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67301 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67302 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67303 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67304 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67305 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67306 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67307 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67308 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67309 * sysdeps/x86_64/dl-tls.h: Likewise.
67310 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67311 * time/alt_digit.c: Likewise.
67312 * time/era.c: Likewise.
67313 * wcsmbs/tst-c16c32-1.c: Likewise.
67314
67315 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67316
67317 * math/libm-test.inc (struct test_sincos_data): New type.
67318 (RUN_TEST_LOOP_sincos): New macro.
67319 (sincos_test_data): New variable.
67320 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67321
67322 2013-05-16 Richard Henderson <rth@redhat.com>
67323
67324 * math/atest-exp2.c (LIMB64): New macro.
67325 (CONSTSZ): New macro.
67326 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67327 (hexdig): Move ...
67328 (print_mpn_fp): ... to function scope.
67329 (read_mpn_hex): Remove.
67330 (get_log2): Remove.
67331 (exp2_mpn): Use mp_log2.
67332 (main): Use mp_exp1.
67333
67334 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67335
67336 * math/libm-test.inc: Remove comment about not testing "inexact"
67337 exceptions.
67338 (INEXACT_EXCEPTION): New macro.
67339 (NO_INEXACT_EXCEPTION): Likewise.
67340 (INVALID_EXCEPTION_OK): Update value.
67341 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67342 (OVERFLOW_EXCEPTION_OK): Likewise.
67343 (UNDERFLOW_EXCEPTION_OK): Likewise.
67344 (IGNORE_ZERO_INF_SIGN): Likewise.
67345 (ERRNO_UNCHANGED): Likewise.
67346 (ERRNO_EDOM): Likewise.
67347 (ERRNO_ERANGE): Likewise.
67348 (test_exceptions): Handle testing "inexact" exceptions.
67349 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67350 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67351 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67352 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67353 INEXACT_EXCEPTION.
67354 (rint_towardzero_test_data): Likewise.
67355 (rint_downward_test_data): Likewise.
67356 (rint_upward_test_data): Likewise.
67357
67358 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67359 with OVERFLOW_EXCEPTION.
67360 (exp10_test_data): Likewise.
67361 (exp2_test_data): Likewise.
67362 (expm1_test_data): Likewise.
67363 (lgamma_test_data): Likewise.
67364 (pow_test_data): Likewise.
67365 (tgamma_test_data): Likewise.
67366 (yn_test_data): Remove duplicate test of overflow.
67367
67368 * math/libm-test.inc (struct test_cc_c_data): New type.
67369 (RUN_TEST_LOOP_cc_c): New macro.
67370 (cpow_test_data): New variable.
67371 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67372
67373 * math/libm-test.inc (struct test_f_L_data): New type.
67374 (RUN_TEST_LOOP_f_L): New macro.
67375 (llrint_test_data): New variable.
67376 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67377 (llrint_tonearest_test_data): New variable.
67378 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67379 (llrint_towardzero_test_data): New variable.
67380 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67381 (llrint_downward_test_data): New variable.
67382 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67383 (llrint_upward_test_data): New variable.
67384 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67385 (llround_test_data): New variable.
67386 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67387
67388 2013-05-13 Peter Collingbourne <pcc@google.com>
67389
67390 * math/atest-exp2.c (get_log2): Remove const attribute.
67391
67392 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67393
67394 * math/libm-test.inc (struct test_f_l_data): New type.
67395 (RUN_TEST_LOOP_f_l): New macro.
67396 (lrint_test_data): New variable.
67397 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67398 (lrint_tonearest_test_data): New variable.
67399 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67400 (lrint_towardzero_test_data): New variable.
67401 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67402 (lrint_downward_test_data): New variable.
67403 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67404 (lrint_upward_test_data): New variable.
67405 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67406 (lround_test_data): New variable.
67407 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67408
67409 2013-05-15 Peter Collingbourne <pcc@google.com>
67410
67411 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67412 (EXTRACT_WORDS64) Use where appropriate.
67413 (INSERT_WORDS64) Likewise.
67414
67415 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67416 constraints with x constraints.
67417 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67418
67419 * malloc/obstack.c (_obstack_compat): Add initializer.
67420
67421 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67422
67423 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67424 si_trapno and add si_addr_lsb to _sifields.sigfault.
67425 (si_trapno): Remove macro.
67426 (si_addr_lsb): Define new macro.
67427 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67428
67429 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67430
67431 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67432 instead of TEST_f_l.
67433 (llrint_test_tonearest): Likewise.
67434 (llrint_test_towardzero): Likewise.
67435 (llrint_test_downward): Likewise.
67436 (llrint_test_upward): Likewise.
67437 (llround_test): Likewise.
67438
67439 * math/libm-test.inc (struct test_f_i_data): Add comment.
67440 (RUN_TEST_LOOP_f_b): New macro.
67441 (RUN_TEST_LOOP_f_b_tg): Likewise.
67442 (finite_test_data): New variable.
67443 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67444 (isfinite_test_data): New variable.
67445 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67446 (isinf_test_data): New variable.
67447 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67448 (isnan_test_data): New variable.
67449 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67450 (isnormal_test_data): New variable.
67451 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67452 (issignaling_test_data): New variable.
67453 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67454 (signbit_test_data): New variable.
67455 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67456
67457 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67458 with INVALID_EXCEPTION.
67459 (acosh_test_data): Likewise.
67460 (asin_test_data): Likewise.
67461 (atanh_test_data): Likewise.
67462 (fmod_test_data): Likewise.
67463 (log_test_data): Likewise.
67464 (log10_test_data): Likewise.
67465 (log2_test_data): Likewise.
67466 (pow_test_data): Likewise.
67467 (sqrt_test_data): Likewise.
67468 (y0_test_data): Likewise.
67469 (y1_test_data): Likewise.
67470 (yn_test_data): Likewise.
67471
67472 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67473 function contents.
67474
67475 * math/libm-test.inc (struct test_ff_i_data): New type.
67476 (RUN_TEST_LOOP_ff_i_tg): New macro.
67477 (isgreater_test_data): New variable.
67478 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67479 (isgreaterequal_test_data): New variable.
67480 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67481 (isless_test_data): New variable.
67482 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67483 (islessequal_test_data): New variable.
67484 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67485 (islessgreater_test_data): New variable.
67486 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67487 (isunordered_test_data): New variable.
67488 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67489
67490 2013-05-14 David S. Miller <davem@davemloft.net>
67491
67492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67493
67494 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67495
67496 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67497
67498 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67499 extra_test to int.
67500 (struct test_f_i_data): Change type of max_ulp to int.
67501
67502 * math/libm-test.inc (test_ffI_f1_data): New type.
67503 (RUN_TEST_LOOP_ffI_f1): New macro.
67504 (remquo_test_data): New variable.
67505 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67506
67507 * setjmp/tst-setjmp-fp.c: New file.
67508 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67509 (link-libm): New variable.
67510 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67511
67512 * math/libm-test.inc (struct test_f_i_data): New type.
67513 (RUN_TEST_LOOP_f_i): New macro.
67514 (RUN_TEST_LOOP_f_i_tg): Likewise.
67515 (fpclassify_test_data): New variable.
67516 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67517 (ilogb_test_data): New variable.
67518 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67519
67520 * math/libm-test.inc (scalbln_test): Correct function name in END
67521 call.
67522
67523 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67524 (RUN_TEST_LOOP_fI_f1): New macro.
67525 (frexp_test_data): New variable.
67526 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67527
67528 * math/libm-test.inc (struct test_fF_f1_data): New type.
67529 (RUN_TEST_LOOP_fF_f1): New macro.
67530 (modf_test_data): New variable.
67531 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67532
67533 * math/libm-test.inc (struct test_f_f1_data): New type.
67534 (RUN_TEST_LOOP_f_f1): New macro.
67535 (gamma_test_data): New variable.
67536 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67537 (lgamma_test_data): New variable.
67538 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67539
67540 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67541
67542 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67543 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67544 (main): Comment "tls" pseudo-hwcap.
67545
67546 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67547
67548 * math/libm-test.inc (struct test_fl_f_data): New type.
67549 (RUN_TEST_LOOP_fl_f): New variable.
67550 (scalbln_test_data): New variable.
67551 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67552
67553 * math/libm-test.inc (struct test_fi_f_data): New type.
67554 (RUN_TEST_LOOP_fi_f): New macro.
67555 (ldexp_test_data): New variable.
67556 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67557 (scalbn_test_data): New variable.
67558 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67559
67560 * math/libm-test.inc (struct test_c_f_data): New type.
67561 (RUN_TEST_LOOP_c_f): New macro.
67562 (cabs_test_data): New variable.
67563 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67564 (carg_test_data): New variable.
67565 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67566 (cimag_test_data): New variable.
67567 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67568 (creal_test_data): New variable.
67569 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67570
67571 * math/libm-test.inc (struct test_if_f_data): New type.
67572 (RUN_TEST_LOOP_if_f): New macro.
67573 (jn_test_data): New variable.
67574 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67575 (yn_test_data): New variable.
67576 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67577
67578 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67579
67580 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67581
67582 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67583 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67584
67585 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67586
67587 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67588 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67589 (bench-deps): Add bench-timing.h.
67590 * benchtests-bench-skeleton.c: Include bench-timing.h.
67591 (main): Use TIMING_* macros instead of clock_gettime.
67592 * benchtests/bench-timing.h: New file.
67593
67594 [BZ #14582]
67595 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67596 Renamed from _LIB_VERSION.
67597 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67598
67599 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67600
67601 * math/libm-test.inc (struct test_fff_f_data): New type.
67602 (RUN_TEST_LOOP_fff_f): New macro.
67603 (fma_test_data): New variable.
67604 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67605 (fma_towardzero_test_data): New variable.
67606 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67607 (fma_downward_test_data): New variable.
67608 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67609 (fma_upward_test_data): New variable.
67610 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67611
67612 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67613 (struct test_c_c_data): New type.
67614 (RUN_TEST_LOOP_c_c): New macro.
67615 (cacos_test_data): New variable.
67616 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67617 (cacosh_test_data): New variable.
67618 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67619 (casin_test_data): New variable.
67620 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67621 (casinh_test_data): New variable.
67622 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67623 (catan_test_data): New variable.
67624 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67625 (catanh_test_data): New variable.
67626 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67627 (ccos_test_data): New variable.
67628 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67629 (ccosh_test_data): New variable.
67630 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67631 (cexp_test_data): New variable.
67632 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67633 (clog_test_data): New variable.
67634 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67635 (clog10_test_data): New variable.
67636 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67637 (conj_test_data): New variable.
67638 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67639 (cproj_test_data): New variable.
67640 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67641 (csin_test_data): New variable.
67642 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67643 (csinh_test_data): New variable.
67644 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67645 (csqrt_test_data): New variable.
67646 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67647 (ctan_test_data): New variable.
67648 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67649 (ctan_tonearest_test_data): New variable.
67650 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67651 (ctan_towardzero_test_data): New variable.
67652 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67653 (ctan_downward_test_data): New variable.
67654 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67655 (ctan_upward_test_data): New variable.
67656 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67657 (ctanh_test_data): New variable.
67658 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67659 (ctanh_tonearest_test_data): New variable.
67660 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67661 (ctanh_towardzero_test_data): New variable.
67662 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67663 (ctanh_downward_test_data): New variable.
67664 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67665 (ctanh_upward_test_data): New variable.
67666 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67667 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67668 of BUILD_COMPLEX.
67669
67670 * math/libm-test.inc (struct test_ff_f_data): New type.
67671 (struct test_ff_f_data_nexttoward): Likewise.
67672 (RUN_TEST_LOOP_2_f): New macro.
67673 (RUN_TEST_LOOP_ff_f): Likewise.
67674 (atan2_test_data): New variable.
67675 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67676 (copysign_test_data): New variable.
67677 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67678 (fdim_test_data): New variable.
67679 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67680 (fmax_test_data): New variable.
67681 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67682 (fmin_test_data): New variable.
67683 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67684 (fmod_test_data): New variable.
67685 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67686 (hypot_test_data): New variable.
67687 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67688 (nextafter_test_data): New variable.
67689 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67690 (nexttoward_test_data): New variable.
67691 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67692 (pow_test_data): New variable.
67693 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67694 (pow_tonearest_test_data): New variable.
67695 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67696 (pow_towardzero_test_data): New variable.
67697 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67698 (pow_downward_test_data): New variable.
67699 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67700 (pow_upward_test_data): New variable.
67701 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67702 (remainder_test_data): New variable.
67703 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67704 (scalb_test_data): New variable.
67705 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67706 * sysdeps/i386/fpu/libm-test-ulps: Update.
67707
67708 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67709
67710 * math/libm-test.inc (fma_test): Use max_value instead of local
67711 variable fltmax.
67712 (nextafter_test): Likewise.
67713
67714 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67715 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67716 (acos_downward_test_data): New variable.
67717 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67718 (acos_upward_test_data): New variable.
67719 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67720 (acosh_test_data): New variable.
67721 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67722 (asin_test_data): New variable.
67723 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67724 (asin_tonearest_test_data): New variable.
67725 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67726 (asin_towardzero_test_data): New variable.
67727 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67728 (asin_downward_test_data): New variable.
67729 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67730 (asin_upward_test_data): New variable.
67731 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67732 (asinh_test_data): New variable.
67733 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67734 (atan_test_data): New variable.
67735 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67736 (atanh_test_data): New variable.
67737 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67738 (cbrt_test_data): New variable.
67739 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67740 (ceil_test_data): New variable.
67741 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67742 (cos_test_data): New variable.
67743 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67744 (cos_tonearest_test_data): New variable.
67745 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67746 (cos_towardzero_test_data): New variable.
67747 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67748 (cos_downward_test_data): New variable.
67749 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67750 (cos_upward_test_data): New variable.
67751 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67752 (cosh_test_data): New variable.
67753 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67754 (cosh_tonearest_test_data): New variable.
67755 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67756 (cosh_towardzero_test_data): New variable.
67757 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67758 (cosh_downward_test_data): New variable.
67759 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67760 (cosh_upward_test_data): New variable.
67761 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67762 (erf_test_data): New variable.
67763 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67764 (erfc_test_data): New variable.
67765 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67766 (exp_test_data): New variable.
67767 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67768 (exp_tonearest_test_data): New variable.
67769 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67770 (exp_towardzero_test_data): New variable.
67771 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67772 (exp_downward_test_data): New variable.
67773 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67774 (exp_upward_test_data): New variable.
67775 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67776 (exp10_test_data): New variable.
67777 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67778 (exp2_test_data): New variable.
67779 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67780 (expm1_test_data): New variable.
67781 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67782 (fabs_test_data): New variable.
67783 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67784 (floor_test_data): New variable.
67785 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67786 (j0_test_data): New variable.
67787 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67788 (j1_test_data): New variable.
67789 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67790 (log_test_data): New variable.
67791 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67792 (log10_test_data): New variable.
67793 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67794 (log1p_test_data): New variable.
67795 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67796 (log2_test_data): New variable.
67797 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67798 (logb_test_data): New variable.
67799 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67800 (logb_downward_test_data): New variable.
67801 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67802 (nearbyint_test_data): New variable.
67803 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67804 (rint_test_data): New variable.
67805 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67806 (rint_tonearest_test_data): New variable.
67807 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67808 (rint_towardzero_test_data): New variable.
67809 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67810 (rint_downward_test_data): New variable.
67811 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67812 (rint_upward_test_data): New variable.
67813 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67814 (round_test_data): New variable.
67815 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67816 (sin_test_data): New variable.
67817 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67818 (sin_tonearest_test_data): New variable.
67819 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67820 (sin_towardzero_test_data): New variable.
67821 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67822 (sin_downward_test_data): New variable.
67823 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67824 (sin_upward_test_data): New variable.
67825 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67826 (sinh_test_data): New variable.
67827 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67828 (sinh_tonearest_test_data): New variable.
67829 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67830 (sinh_towardzero_test_data): New variable.
67831 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67832 (sinh_downward_test_data): New variable.
67833 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67834 (sinh_upward_test_data): New variable.
67835 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67836 (sqrt_test_data): New variable.
67837 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67838 (tan_test_data): New variable.
67839 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67840 (tan_tonearest_test_data): New variable.
67841 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67842 (tan_towardzero_test_data): New variable.
67843 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67844 (tan_downward_test_data): New variable.
67845 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67846 (tan_upward_test_data): New variable.
67847 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67848 (tanh_test_data): New variable.
67849 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67850 (tgamma_test_data): New variable.
67851 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67852 (trunc_test_data): New variable.
67853 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67854 (y0_test_data): New variable.
67855 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67856 (y1_test_data): New variable.
67857 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67858 (significand_test_data): New variable.
67859 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67860
67861 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67862
67863 [BZ #12387]
67864 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67865
67866 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67867
67868 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67869
67870 2013-05-10 Andreas Jaeger <aj@suse.de>
67871
67872 [BZ #15448]
67873 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67874 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67875
67876 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67877
67878 * math/gen-libm-test.pl (adjust_arg): New function.
67879 (special_functions): Handle generating output in both functions
67880 and arrays.
67881 (parse_args): Likewise.
67882 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67883 $in_func argument to parse_args.
67884 * math/libm-test.inc (struct test_f_f_data): New type.
67885 (IF_ROUND_INIT_): New macro.
67886 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67887 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67888 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67889 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67890 (ROUND_RESTORE_): Likewise.
67891 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67892 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67893 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67894 (ROUND_RESTORE_FE_UPWARD): Likewise.
67895 (RUN_TEST_LOOP_f_f): New macro.
67896 (acos_test_data): New variable.
67897 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67898 (acos_tonearest_test_data): New variable.
67899 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67900
67901 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67902
67903 * benchtests/bench-skeleton.c (startup): Fix coding style.
67904
67905 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67906
67907 [BZ #6809]
67908 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67909 negative infinity argument.
67910 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67911 negative infinity argument.
67912 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67913 negative infinity argument.
67914 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67915 domain errors.
67916
67917 2013-05-10 Florian Weimer <fweimer@redhat.com>
67918
67919 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67920 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67921 * iconv/iconv_prog.c (main): Likewise.
67922 * locale/programs/charmap-dir.c (charmap_readdir)
67923 (fopen_uncompressed): Likewise.
67924 * locale/programs/locfile.c (siblings_uncached)
67925 (write_locale_data): Use lstat64 instead of lstat.
67926 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67927 stat.
67928
67929 2013-05-10 Andreas Jaeger <aj@suse.de>
67930
67931 [BZ #15395]
67932 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67933 localization.
67934 Include <locale.h>.
67935
67936 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67937
67938 * elf/dl-close.c (_dl_close_worker): Add comments.
67939
67940 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67941
67942 [BZ #15359]
67943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67944 high part of pi/2.
67945 (__ieee754_rem_pio2l): Update comments.
67946
67947 [BZ #15429]
67948 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67949 high part of pi/2.
67950 (__ieee754_rem_pio2l): Update comments.
67951
67952 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67953 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67954
67955 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67956 M_PI_4l.
67957
67958 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67959 (M_PI_34_LOG10El): Likewise.
67960 (M_PI2_LOG10El): Likewise.
67961 (M_PI4_LOG10El): Likewise.
67962 (M_PI_LOG10El): Likewise.
67963
67964 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67965
67966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67967
67968 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67969
67970 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67971 (MINUS_ZERO_INIT): Likewise.
67972 (PLUS_INFTY_INIT): Likewise.
67973 (MINUS_INFTY_INIT): Likewise.
67974 (QNAN_VALUE_INIT): Likewise.
67975 (MAX_VALUE_INIT): Likewise.
67976 (MIN_VALUE_INIT): Likewise.
67977 (MIN_SUBNORM_VALUE_INIT): Likewise.
67978 (plus_zero): Initialize with PLUS_ZERO_INIT.
67979 (minus_zero): Initialize with MINUS_ZERO_INIT.
67980 (plus_infty): Initialize with PLUS_INFTY_INIT.
67981 (minus_infty): Initialize with MINUS_INFTY_INIT.
67982 (qnan_value): Initialize with QNAN_VALUE_INIT.
67983 (max_value): Initialize with MAX_VALUE_INIT.
67984 (min_value): Initialize with MIN_VALUE_INIT.
67985 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67986
67987 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67988 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67989 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67990 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67991
67992 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67993 (RUN_TEST_2_f): Likewise.
67994 (RUN_TEST_ff_f): Likewise.
67995 (RUN_TEST_fi_f): Likewise.
67996 (RUN_TEST_fl_f): Likewise.
67997 (RUN_TEST_fff_f): Likewise.
67998 (RUN_TEST_c_f): Likewise.
67999 (RUN_TEST_f_f1): Likewise.
68000 (RUN_TEST_fF_f1): Likewise.
68001 (RUN_TEST_fI_f1): Likewise.
68002 (RUN_TEST_ffI_f1): Likewise.
68003 (RUN_TEST_c_c): Likewise.
68004 (RUN_TEST_cc_c): Likewise.
68005 (RUN_TEST_f_i): Likewise.
68006 (RUN_TEST_f_i_tg): Likewise.
68007 (RUN_TEST_ff_i_tg): Likewise.
68008 (RUN_TEST_f_b): Likewise.
68009 (RUN_TEST_f_b_tg): Likewise.
68010 (RUN_TEST_f_l): Likewise.
68011 (RUN_TEST_f_L): Likewise.
68012 (RUN_TEST_sincos): Likewise.
68013 * math/gen-libm-test.pl (new_test): Take new argument to indicate
68014 whether to show exceptions. Do not include ");\n" in return
68015 value.
68016 (special_functions): Output call to RUN_TEST_sincos instead of
68017 check_float calls. Update calls to new_test.
68018 (parse_args): Output call to single RUN_TEST_* macro instead of
68019 check_* calls and other assignments. Update calls to new_test.
68020
68021 [BZ #2546]
68022 [BZ #2560]
68023 [BZ #5159]
68024 [BZ #15426]
68025 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68026 input to result for tgamma overflow.
68027 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68028 (gamma_coeff): New variable.
68029 (NCOEFF): New macro.
68030 (gamma_positive): New function.
68031 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68032 underflow here. Use gamma_positive instead of exp (lgamma) for
68033 other arguments.
68034 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68035 (gamma_coeff): New variable.
68036 (NCOEFF): New macro.
68037 (gammaf_positive): New function.
68038 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68039 underflow here. Use gamma_positive instead of exp (lgamma) for
68040 other arguments.
68041 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68042 (gamma_coeff): New variable.
68043 (NCOEFF): New macro.
68044 (gammal_positive): New function.
68045 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68046 underflow here. Use gamma_positive instead of exp (lgamma) for
68047 other arguments.
68048 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68049 (gamma_coeff): New variable.
68050 (NCOEFF): New macro.
68051 (gammal_positive): New function.
68052 (__ieee754_gammal_r): Handle positive infinity, overflow and
68053 underflow here. Handle NaN the same as positive infinity. Remove
68054 check x < 0xffffffff for negative integers. Use gamma_positive
68055 instead of exp (lgamma) for other arguments.
68056 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68057 (gamma_coeff): New variable.
68058 (NCOEFF): New macro.
68059 (gammal_positive): New function.
68060 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68061 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68062 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68063 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68064 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68065 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68066 * sysdeps/generic/math_private.h (__gamma_productf): New
68067 prototype.
68068 (__gamma_product): Likewise.
68069 (__gamma_productl): Likewise.
68070 * math/Makefile (libm-calls): Add gamma_product.
68071 * math/libm-test.inc (tgamma_test): Add more tests.
68072 * sysdeps/i386/fpu/libm-test-ulps: Update.
68073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68074
68075 2013-05-08 Ondƙej Bílka <neleai@seznam.cz>
68076
68077 * benchtests/bench-skeleton.c (main): Preheat CPU.
68078
68079 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
68080
68081 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68082
68083 2013-05-07 Roland McGrath <roland@hack.frob.com>
68084
68085 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68086 and _dl_skip_args_internal.
68087
68088 2013-05-07 Carlos O'Donell <carlos@redhat.com>
68089
68090 * manual/message.texi (Message Translation): Talk about users.
68091 Message to key mapping impacts design.
68092
68093 2013-05-06 Roland McGrath <roland@hack.frob.com>
68094
68095 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68096
68097 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68098
68099 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68100 * sysdeps/wordsize-64/glob64.c: ... here.
68101
68102 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68103 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68104 New macros.
68105
68106 * debug/getlogin_r_chk.c: Moved to ...
68107 * login/getlogin_r_chk.c: ... here.
68108 * debug/Makefile (routines): Move getlogin_r_chk to ...
68109 * login/Makefile (routines): ... here.
68110 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68111 * login/Versions (libc: GLIBC_2.4): ... here.
68112
68113 * io/poll.c (__poll): Renamed from poll.
68114 Add libc_hidden_def.
68115 (poll): Define as weak alias.
68116
68117 * debug/ptsname_r_chk.c: Moved to ...
68118 * login/ptsname_r_chk.c: ... here.
68119 * debug/Makefile (routines): Move ptsname_r_chk to ...
68120 * login/Makefile (routines): ... here.
68121 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68122 * login/Versions (libc: GLIBC_2.4): ... here.
68123
68124 * posix/getlogin.c: Moved to ...
68125 * login/getlogin.c: ... here.
68126 * posix/getlogin_r.c: Moved to ...
68127 * login/getlogin_r.c: ... here.
68128 * posix/getlogin_r.c: Moved to ...
68129 * login/getlogin_r.c: ... here.
68130 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68131 * login/Makefile (routines): ... here.
68132 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68133 * login/Versions (libc: GLIBC_2.0): ... here.
68134
68135 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68136 (setrlimit): Define as weak alias.
68137
68138 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68139 Call __ names for open, ftruncate, and close.
68140 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68141 (truncate): Define as weak alias.
68142
68143 2013-05-06 Joseph Myers <joseph@codesourcery.com>
68144
68145 * math/gen-libm-test.pl (parse_args): Initialize x before each
68146 test of frexp, modf and remquo.
68147
68148 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68149 test signgam value.
68150
68151 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68152
68153 [BZ #15418]
68154 [BZ #15419]
68155 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68156 internal tests.
68157 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68158
68159 2013-05-06 Roland McGrath <roland@hack.frob.com>
68160
68161 * elf/dl-writev.h: New file.
68162 * elf/dl-misc.c: Include it.
68163 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68164 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68165
68166 2013-05-04 Joseph Myers <joseph@codesourcery.com>
68167
68168 * math/libm-test.inc (noXFails): Remove variable.
68169 (noXPasses): Likewise.
68170 (BUILD_COMPLEX_INT): Remove macro.
68171 (print_screen): Remove xfail argument.
68172 (print_screen_max_error): Likewise.
68173 (update_stats): Likewise.
68174 (print_max_error): Likewise. Update calls to other affected
68175 functions.
68176 (print_complex_max_error): Likewise.
68177 (test_single_exception): Update calls to print_screen.
68178 (test_single_errno): Likewise.
68179 (check_float_internal): Remove xfail argument. Update calls to
68180 other affected functions.
68181 (check_float): Likewise.
68182 (check_complex): Likewise.
68183 (check_int): Likewise.
68184 (check_long): Likewise.
68185 (check_bool): Likewise.
68186 (check_longlong): Likewise.
68187 (main): Don't print noXFails and noXPasses.
68188 * math/gen-libm-test.pl (top level): Don't mention expected
68189 failure handling in comment.
68190 (new_test): Don't handle expected failures.
68191 (parse_args): Don't mention expected failure handling in comment.
68192 (generate_testfile): Don't handle expected failures.
68193 (parse_ulps): Likewise.
68194 (print_ulps_file): Likewise.
68195 (get_failure): Remove function.
68196 (output_test): Don't handle expected failures.
68197 * make/README.libm-test: Don't mention expected failure handling.
68198
68199 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68200 (minus_zero): Likewise.
68201 (plus_infty): Likewise.
68202 (minus_infty): Likewise.
68203 (qnan_value): Likewise.
68204 (max_value): Likewise.
68205 (min_value): Likewise.
68206 (min_subnorm_value): Likewise.
68207 (initialize): Do not initialize those variables dynamically.
68208
68209 2013-05-03 Roland McGrath <roland@hack.frob.com>
68210
68211 * io/open.c (__open_2): Moved to ...
68212 * io/open_2.c: ... this new file.
68213 * io/open64.c (__open64_2): Moved to ...
68214 * io/open64_2.c: ... this new file.
68215 * io/openat.c (__openat_2): Moved to ...
68216 * io/openat_2.c: ... this new file.
68217 * io/openat64.c (__openat64_2): Moved to ...
68218 * io/openat64_2.c: ... this new file.
68219 * io/Makefile (routines): Add them.
68220 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68221 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68222 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68223 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68224 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68225 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68226 (__openat64): Add hidden_ver.
68227 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68228 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68229
68230 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68231 Separately conditionalize setting of GLRO(dl_sysinfo) so
68232 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68233 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68234
68235 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68236
68237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68239 definition.
68240 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68241 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68242 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68243 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68244 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68245
68246 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68247
68248 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68249 test signgam value.
68250
68251 * math/libm-test.inc (hypot_test): Do not use
68252 IGNORE_ZERO_INF_SIGN.
68253
68254 2013-05-03 Andreas Jaeger <aj@suse.de>
68255
68256 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68257 Linux 3.9.
68258 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68259 (PF_MAX): Adjust for VSOCK change.
68260
68261 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68262
68263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68264
68265 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68266
68267 [BZ #15264]
68268 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68269 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68270 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68271
68272 2013-05-02 David S. Miller <davem@davemloft.net>
68273
68274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68275
68276 2013-05-01 Ondƙej Bílka <neleai@seznam.cz>
68277
68278 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68279
68280 2013-05-01 Roland McGrath <roland@hack.frob.com>
68281
68282 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68283
68284 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68285
68286 [BZ #14952]
68287 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68288 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68289 Use __attribute__ ((__gnu_inline__)).
68290 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68291 Don't use __attribute__ ((__gnu_inline__)).
68292
68293 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68294
68295 [BZ #15423]
68296 * math/s_catan.c (__catan): Handle small real or imaginary part of
68297 input specially to avoid spurious underflow.
68298 * math/s_catanf.c (__catanf): Likewise.
68299 * math/s_catanh.c (__catanh): Likewise.
68300 * math/s_catanhf.c (__catanhf): Likewise.
68301 * math/s_catanhl.c (__catanhl): Likewise.
68302 * math/s_catanl.c (__catanl): Likewise.
68303 * math/libm-test.inc (catan_test): Add more tests.
68304 (catanh_test): Likewise.
68305 * sysdeps/i386/fpu/libm-test-ulps: Update.
68306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68307
68308 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68309
68310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68311
68312 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68313
68314 [BZ #15416]
68315 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68316 accurately for denominator in atan2.
68317 * math/s_catanf.c (__catanf): Likewise.
68318 * math/s_catanh.c (__catanh): Likewise.
68319 * math/s_catanhf.c (__catanhf): Likewise.
68320 * math/s_catanhl.c (__catanhl): Likewise.
68321 * math/s_catanl.c (__catanl): Likewise.
68322 * math/libm-test.inc (catan_test): Add more tests.
68323 (catanh_test): Likewise.
68324 * sysdeps/i386/fpu/libm-test-ulps: Update.
68325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68326
68327 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68328
68329 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68330
68331 * benchtests/Makefile (bench): Remove slow benchmarks.
68332 * benchtests/atan-inputs: Add slow benchmark inputs.
68333 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68334 (BENCH_FUNC): Accept variant offset.
68335 (VARIANT): Define.
68336 * benchtests/bench-skeleton.c (main): Run benchmark for each
68337 variant.
68338 * benchtests/cos-inputs: Add slow benchmark inputs.
68339 * benchtests/exp-inputs: Likewise.
68340 * benchtests/pow-inputs: Likewise.
68341 * benchtests/sin-inputs: Likewise.
68342 * benchtests/slowatan-inputs: Remove.
68343 * benchtests/slowatan.c: Remove.
68344 * benchtests/slowcos-inputs: Remove.
68345 * benchtests/slowcos.c: Remove.
68346 * benchtests/slowexp-inputs: Remove.
68347 * benchtests/slowexp.c: Remove.
68348 * benchtests/slowpow-inputs: Remove.
68349 * benchtests/slowpow.c: Remove.
68350 * benchtests/slowsin-inputs: Remove.
68351 * benchtests/slowsin.c: Remove.
68352 * benchtests/slowtan-inputs: Remove.
68353 * benchtests/slowtan.c: Remove.
68354 * benchtests/tan-inputs: Add slow benchmark inputs.
68355 * scripts/bench.pl: Parse comments and directives.
68356
68357 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68358 in CPPFLAGS.
68359 ($(objpfx)bench-%.c): Remove *-ITER.
68360 * benchtests/bench-modf.c: Remove definition of ITER.
68361 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68362 (main): Loop for DURATION seconds instead of fixed number of
68363 iterations.
68364 * scripts/bench.pl: Don't expect iterations in parameters.
68365
68366 2013-04-29 Roland McGrath <roland@hack.frob.com>
68367
68368 * io/fchdir.c (__fchdir): Renamed from fchdir.
68369 (fchdir): Define as weak alias.
68370
68371 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68372
68373 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68374 (ERRNO_EDOM): Likewise.
68375 (ERRNO_ERANGE): Likewise.
68376 (noErrnoTests): New variable.
68377 (init_max_error): Set errno to 0.
68378 (test_single_errno): New function.
68379 (test_errno): Likewise.
68380 (check_float_internal): Call test_errno. Set errno to 0.
68381 (check_complex): Refer to errno tests in comment.
68382 (check_int): Call test_errno. Set errno to 0.
68383 (check_long): Likewise.
68384 (check_bool): Likewise.
68385 (check_longlong): Likewise.
68386 (cos_test): Use ERRNO_* flags for errno tests instead of
68387 check_int.
68388 (expm1_test): Likewise.
68389 (fmod_test): Likewise.
68390 (ilogb_test): Likewise.
68391 (lgamma_test): Likewise.
68392 (pow_test): Likewise.
68393 (remainder_test): Likewise.
68394 (sin_test): Likewise.
68395 (tan_test): Likewise.
68396 (yn_test): Likewise.
68397 (initialize): Set errno to 0.
68398 (main): Print number of errno tests.
68399 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68400
68401 2013-04-29 Andreas Jaeger <aj@suse.de>
68402
68403 [BZ #15084]
68404 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68405 and RES_USEVC.
68406
68407 [BZ #15085]
68408 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68409 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68410 unimplemented.
68411
68412 [BZ #15380]
68413 * stdlib/random.c (__initstate): Return NULL if
68414 __initstate fails.
68415
68416 [BZ #15086]
68417 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68418 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68419 RES_SNGLKUPREOP.
68420
68421 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68422
68423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68424
68425 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68426
68427 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68428 of individual tests.
68429 (casin_test): Likewise.
68430 (casinh_test): Likewise.
68431
68432 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68433
68434 [BZ #15409]
68435 * math/s_catan.c (__catan): Handle arguments with large real or
68436 imaginary part separately without squaring.
68437 * math/s_catanf.c (__catanf): Likewise.
68438 * math/s_catanh.c (__catanh): Likewise.
68439 * math/s_catanhf.c (__catanhf): Likewise.
68440 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68441 and redefine.
68442 (__catanhl): Handle arguments with large real or imaginary part
68443 separately without squaring.
68444 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68445 and redefine.
68446 (__catanl): Handle arguments with large real or imaginary part
68447 separately without squaring.
68448 * math/libm-test.inc (catan_test): Add more tests.
68449 (catanh_test): Likewise.
68450 * sysdeps/i386/fpu/libm-test-ulps: Update.
68451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68452
68453 2013-04-27 Andreas Jaeger <aj@suse.de>
68454
68455 [BZ #15007]
68456 * stdlib/stdlib.h: Update guards for qecvt.
68457 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68458 <stdlib.h>.
68459
68460 2013-04-27 Allan McRae <allan@archlinux.org>
68461
68462 * sysdeps/i386/fpu/libm-test-ulps: Update.
68463
68464 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68465
68466 [BZ #15406]
68467 * math/s_catan.c: Include <float.h>.
68468 (__catan): Ensure underflow exception occurs for underflowed
68469 result.
68470 * math/s_catanf.c: Include <float.h>.
68471 (__catanf): Ensure underflow exception occurs for underflowed
68472 result.
68473 * math/s_catanh.c: Include <float.h>.
68474 (__catanh): Ensure underflow exception occurs for underflowed
68475 result.
68476 * math/s_catanhf.c: Include <float.h>.
68477 (__catanhf): Ensure underflow exception occurs for underflowed
68478 result.
68479 * math/s_catanhl.c: Include <float.h>.
68480 (__catanhl): Ensure underflow exception occurs for underflowed
68481 result.
68482 * math/s_catanl.c: Include <float.h>.
68483 (__catanl): Ensure underflow exception occurs for underflowed
68484 result.
68485 * math/libm-test.inc (catan_test): Add more tests.
68486 (catanh_test): Likewise.
68487
68488 [BZ #15405]
68489 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68490 underflowed result.
68491 * math/s_ccoshf.c (__ccoshf): Likewise.
68492 * math/s_ccoshl.c (__ccoshl): Likewise.
68493 * math/s_csin.c (__csin): Likewise.
68494 * math/s_csinf.c (__csinf): Likewise.
68495 * math/s_csinh.c (__csinh): Likewise.
68496 * math/s_csinhf.c (__csinhf): Likewise.
68497 * math/s_csinhl.c (__csinhl): Likewise.
68498 * math/s_csinl.c (__csinl): Likewise.
68499 * math/libm-test.inc (ccos_test): Add more tests.
68500 (ccosh_test): Likewise.
68501 (csin_test): Likewise.
68502 (csinh_test): Likewise.
68503
68504 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68505
68506 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68507 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68508 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68509 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68510 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68511 powerpc/power5+/fpu folders.
68512 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68513
68514
68515 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68516
68517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68518
68519 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68520
68521 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68522 additions to variable.
68523 [$(config-machine) = x86_64] (modules-names): Likewise.
68524 ($(objpfx)tst-audit3): Remove dependency.
68525 ($(objpfx)tst-audit3.out): Likewise.
68526 ($(objpfx)tst-audit4): Likewise.
68527 ($(objpfx)tst-audit4.out): Likewise.
68528 ($(objpfx)tst-audit5): Likewise.
68529 ($(objpfx)tst-audit5.out): Likewise.
68530 ($(objpfx)tst-audit6): Likewise.
68531 ($(objpfx)tst-audit6.out): Likewise.
68532 ($(objpfx)tst-audit7): Likewise.
68533 ($(objpfx)tst-audit7.out): Likewise.
68534 (tst-audit3-ENV): Remove variable.
68535 (tst-audit4-ENV): Likewise.
68536 (tst-audit5-ENV): Likewise.
68537 (tst-audit6-ENV): Likewise.
68538 (tst-audit7-ENV): Likewise.
68539 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68540 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68541 addition to variable.
68542 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68543 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68544 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68545 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68546 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68547 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68548 tst-audit3, tst-audit4 and tst-audit5.
68549 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68550 tst-audit6 and tst-audit7.
68551 [$(subdir) = elf] (modules-names): Add audit modules for those
68552 tests.
68553 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68554 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68555 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68556 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68557 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68558 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68559 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68560 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68561 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68562 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68563 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68564 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68565 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68566 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68567 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68568 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68569 Likewise.
68570 [$(subdir) = elf && $(config-cflags-avx) = yes]
68571 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68572 [$(subdir) = elf && $(config-cflags-avx) = yes]
68573 (CFLAGS-tst-auditmod4a.c): Likewise.
68574 [$(subdir) = elf && $(config-cflags-avx) = yes]
68575 (CFLAGS-tst-auditmod4b.c): Likewise.
68576 [$(subdir) = elf && $(config-cflags-avx) = yes]
68577 (CFLAGS-tst-auditmod6b.c): Likewise.
68578 [$(subdir) = elf && $(config-cflags-avx) = yes]
68579 (CFLAGS-tst-auditmod6c.c): Likewise.
68580 [$(subdir) = elf && $(config-cflags-avx) = yes]
68581 (CFLAGS-tst-auditmod7b.c): Likewise.
68582 * elf/tst-audit3.c: Move to ...
68583 * sysdeps/x86_64/tst-audit3.c: ... here.
68584 * elf/tst-audit4.c: Move to ...
68585 * sysdeps/x86_64/tst-audit4.c: ... here.
68586 * elf/tst-audit5.c: Move to ...
68587 * sysdeps/x86_64/tst-audit5.c: ... here.
68588 * elf/tst-audit6.c: Move to ...
68589 * sysdeps/x86_64/tst-audit6.c: ... here.
68590 * elf/tst-audit7.c: Move to ...
68591 * sysdeps/x86_64/tst-audit7.c: ... here.
68592 * elf/tst-auditmod3a.c: Move to ...
68593 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68594 * elf/tst-auditmod3b.c: Move to ...
68595 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68596 * elf/tst-auditmod4a.c: Move to ...
68597 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68598 * elf/tst-auditmod4b.c: Move to ...
68599 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68600 * elf/tst-auditmod5a.c: Move to ...
68601 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68602 * elf/tst-auditmod5b.c: Move to ...
68603 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68604 * elf/tst-auditmod6a.c: Move to ...
68605 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68606 * elf/tst-auditmod6b.c: Move to ...
68607 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68608 * elf/tst-auditmod6c.c: Move to ...
68609 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68610 * elf/tst-auditmod7a.c: Move to ...
68611 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68612 * elf/tst-auditmod7b.c: Move to ...
68613 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68614
68615 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68616
68617 [BZ #15366]
68618 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68619 define unconditionally.
68620 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68621 define unconditionally.
68622 (INT8_C, INT16_C, etc.): Likewise.
68623
68624 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68625
68626 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68627 __ehdr_start with hidden visibility.
68628
68629 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68630
68631 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68632
68633 * math/libm-test.inc (cos_test): Use accurate hex constants.
68634 (sincost_test): Likewise.
68635
68636 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68637
68638 * math/libm-test.inc (catan_test): Add more tests.
68639 (catanh_test): Likewise.
68640
68641 * math/s_catanf.c (__catanf): Use suffixed floating-point
68642 constants.
68643 * math/s_catanhf.c (__catanhf): Likewise.
68644 * math/s_catanhl.c (__catanhl): Likewise.
68645 * math/s_catanl.c (__catanl): Likewise.
68646
68647 [BZ #15394]
68648 * math/s_catan.c (__catan): Calculate imaginary part of result
68649 with log1p not log unless computing log of number close to 0.
68650 * math/s_catanf.c (__catanf): Likewise.
68651 * math/s_catanl.c (__catanl): Likewise.
68652 * math/s_catanh.c (__catanh): Calculate real part of result with
68653 log1p not log unless computing log of number close to 0.
68654 * math/s_catanhf.c (__catanhf): Likewise.
68655 * math/s_catanhl.c (__catanhl): Likewise.
68656 * math/libm-test.inc (catan_test): Add more tests.
68657 (catanh_test): Likewise.
68658 * sysdeps/i386/fpu/libm-test-ulps: Update.
68659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68660
68661 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68662
68663 * benchtests/Makefile: Mention files in which fast and slow
68664 paths of math functions are implemented.
68665
68666 2013-04-23 Roland McGrath <roland@hack.frob.com>
68667
68668 * sysdeps/posix/timespec_get.c: New file.
68669
68670 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68671
68672 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68673 POWER.
68674 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68675 for POWER.
68676 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68677 powerpc/power5/fpu folders.
68678 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68679 * benchtests/Makefile: Add modf testcase.
68680 * benchtests/bench-modf.c: New file: Benchmark test for mo
68681
68682 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68683
68684 [BZ #14888]
68685 * time/Makefile (tests): Add tst-strptime-whitespace.
68686 * time/strptime_l.c (get_number): Use ISSPACE.
68687 (__strptime_internal): Likewise.
68688 * time/tst-strptime-whitespace.c: New test case.
68689
68690 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68691
68692 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68693 member.
68694 (_nss_files_init): Set it here.
68695
68696 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68697
68698 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68699 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68700 unsigned.
68701
68702 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68703
68704 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68705
68706 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68707
68708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68709 size just once.
68710
68711 2013-04-21 David S. Miller <davem@davemloft.net>
68712
68713 * po/ru.po: Update Russion translation from translation project.
68714
68715 2013-04-17 Adam Conrad <adconrad@0c3.net>
68716
68717 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68718 and setfsgid.
68719
68720 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68721
68722 * configure.in: Remove i386 configure warning. Remove i386 case.
68723 * configure: Regenerate.
68724 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68725 Add example to error message.
68726 * sysdeps/i386/configure: Regenerate.
68727
68728 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68729
68730 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68731 slowtan.
68732 * benchtests/cos-inputs: New file.
68733 * benchtests/slowcos-inputs: New file.
68734 * benchtests/slowcos.c: New file.
68735 * benchtests/slowtan-inputs: New file.
68736 * benchtests/slowtan.c: New file.
68737 * benchtests/tan-inputs: New file.
68738
68739 2013-04-16 Roland McGrath <roland@hack.frob.com>
68740
68741 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68742 considered kosher.
68743
68744 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68745
68746 * benchtests/Makefile: Include cppflags-iterator.mk to add
68747 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68748
68749 * Makefile.in (bench-clean): New target.
68750 * benchtests/Makefile (bench-clean): Likewise.
68751
68752 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68753
68754 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68755
68756 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68757
68758 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68759
68760 2013-04-15 Andreas Schwab <schwab@suse.de>
68761
68762 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68764 * nscd/pwdcache.c (cache_addpw): Likewise.
68765 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68766 more than recsize.
68767
68768 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68769
68770 * benchtests/Makefile (bench): Write all output to
68771 bench-out.tmp together.
68772
68773 2013-04-15 Andreas Schwab <schwab@suse.de>
68774
68775 * nscd/nscd.c (main): Don't fork again after closing files.
68776
68777 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68778
68779 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68780
68781 * benchtests/Rules (bench-deps): Collect dependencies into a
68782 single variable. Add Makefile to dependencies.
68783 ($(objpfx)bench-%.c): Depend on bench-deps.
68784
68785 2013-04-12 Roland McGrath <roland@hack.frob.com>
68786 Xavier Roche <roche+kml2@exalead.com>
68787
68788 [BZ #15361]
68789 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68790 just that it's a file descriptor.
68791 * manual/llio.texi (Synchronizing AIO Operations): Update description
68792 for EBADF error from aio_fsync.
68793
68794 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68795
68796 * Rules (bench): Move target definition...
68797 * benchtests/Makefile: ... here.
68798
68799 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68800
68801 * math/libm-test.inc (cos_test): Fix PI/2 test.
68802 (sincos_test): Likewise.
68803 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68804 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68805
68806 2013-04-11 Andreas Schwab <schwab@suse.de>
68807
68808 [BZ #13988]
68809 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68810 accept exponent character only when digits were seen.
68811 * stdio-common/Makefile (tests): Add bug26.
68812 * stdio-common/bug26.c: New file.
68813
68814 [BZ #14293]
68815 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68816 non-freeable.
68817
68818 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68819
68820 * Makeconfig (rtld-prefix): Define built linker prefix.
68821 * Rules (run-bench): Use it.
68822 * math/Makefile (run-regen-ulps): Likewise.
68823
68824 * Rules (bench): Remove eval.
68825
68826 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68827 Roland McGrath <roland@hack.frob.com>
68828 Ondrej Bilka <neleai@seznam.cz>
68829
68830 [BZ #15346]
68831 * time/getdate.c: Include ctype.h and alloca.h.
68832 (__getdate_r): Trim leading and trailing spaces of input.
68833 * time/tst-getdate.c (tests): Add tests with leading and
68834 trailing spaces.
68835
68836 2013-04-08 Roland McGrath <roland@hack.frob.com>
68837
68838 [BZ #14280]
68839 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68840 when computing value.
68841
68842 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68843
68844 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68845 Use testrun.sh to run libm tests.
68846
68847 [BZ #15309]
68848 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68849
68850 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68851
68852 [BZ #15264]
68853 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68854
68855 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68856
68857 * Makefile.in (regen-ulps): New target.
68858 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68859 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68860 [ifneq (no,$(PERL)] (regen-ulps): New target.
68861 [ifeq (no,$(PERL)] (regen-ulps): New target.
68862 * math/libm-test.inc (ulps_file_name): Define.
68863 (output_dir): New variable.
68864 (options): Add "output-dir" option.
68865 (parse_opt): Handle 'o' case.
68866 (main): If output_dir is non-NULL use it as a prefix
68867 otherwise use "".
68868 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68869
68870 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68871
68872 [BZ #10060, #10062]
68873 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68874 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68875 fail configure if __sync_val_compare_and_swap is not inlined.
68876 * sysdeps/i386/configure: Regenerate.
68877 * configure.in: Build for i686 when configured for i386.
68878 * configure: Regenerate.
68879 * README: Remove i386 reference.
68880
68881 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68882
68883 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68884 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68885
68886 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68887
68888 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68889 (lmsnanval): New variables.
68890 (F): Add conversion tests.
68891 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68892 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68893
68894 * stdio-common/tstdiomisc.c (F): Properly collect individual
68895 tests' results.
68896
68897 [BZ #14686, #15336]
68898 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68899 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68900 Instead, use input NaN values or generate a qNaN by arithmetic
68901 operation. Also fix bugs to comply with the standard.
68902 * math/libm-test.inc (remainder_test): Add more tests.
68903
68904 [BZ #15335, #15342]
68905 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68906 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68907 input NaN values or generate a qNaN by arithmetic operation.
68908
68909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68910 unreachable code.
68911
68912 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68913 definitions.
68914
68915 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68916
68917 [BZ #14478]
68918 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68919 underflowed result.
68920 * math/s_cexpf.c (__cexpf): Likewise.
68921 * math/s_cexpl.c (__cexpl): Likewise.
68922 * math/libm-test.inc (cexp_test): Add more tests.
68923
68924 2013-04-03 Andreas Schwab <schwab@suse.de>
68925
68926 [BZ #15330]
68927 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68928 order arrays from heap if bigger than alloca cutoff.
68929
68930 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68931
68932 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68933 (SNAN_TESTS_double): Refer to GCC PR56831.
68934 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68935 GCC PR56828.
68936
68937 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68938
68939 * Rules (bench): Move bench.out after the run is complete.
68940
68941 * Rules (bench): Echo currently running benchmark.
68942
68943 * benchtests/Makefile (bench): Add atan and slowatan.
68944 * benchtests/atan-inputs: New file.
68945 * benchtests/slowatan-inputs: New file.
68946 * benchtests/slowatan.c: New file.
68947
68948 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68950 its value.
68951
68952 [BZ #15305]
68953 * sysdeps/unix/sysv/linux/kernel-features.h
68954 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68955 __ASSUME_XFS_RESTRICTED_CHOWN.
68956 * sysdeps/unix/sysv/linux/pathconf.c
68957 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68958 Save and restore errno.
68959
68960 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68961
68962 [BZ #15327]
68963 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68964 arguments using __kernel_casinh.
68965 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68966 arguments using __kernel_casinhf.
68967 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68968 arguments using __kernel_casinhl.
68969 * math/libm-test.inc (cacosh_test): Add more tests.
68970 * sysdeps/i386/fpu/libm-test-ulps: Update.
68971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68972
68973 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68974
68975 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68977
68978 * bench/Makefile (bench): Add sin and slowsin.
68979 * benchtests/sin-inputs: New file.
68980 * benchtests/slowsin-inputs: New file.
68981 * benchtests/slowsin.c: New file.
68982
68983 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68984 (bench): Add slowexp and slowpow.
68985 (exp-ITER): Increase iterations.
68986 (pow-ITER): Likewise.
68987 * benchtests/exp-inputs: Change input.
68988 * benchtests/pow-inputs: Likewise.
68989 * benchtests/slowexp-inputs: New file.
68990 * benchtests/slowexp.c: New file.
68991 * benchtests/slowpow-inputs: New file.
68992 * benchtests/slowpow.c: New file.
68993
68994 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68995
68996 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68997 instructions.
68998 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68999 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69000 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69001 * benchtests/Makefile: Add rint benchtest.
69002 * benchtests/rint-inputs: Input for rint benchtest.
69003
69004 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
69005
69006 * Versions.def (libm): Add GLIBC_2.18.
69007 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69008 hidden libm prototypes.
69009 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69010 * math/Makefile (libm-calls): Add s_issignaling.
69011 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69012 __issignalingf, __issignalingl. Adjust all libm.abilist files.
69013 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69014 declaration.
69015 * math/math.h [__USE_GNU] (issignaling): New macro.
69016 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69017 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69018 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69019 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69020 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69021 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69022 * manual/arith.texi (issignaling): New section.
69023 * manual/libm-err-tab.pl (@all_functions): Update comment.
69024 * math/gen-libm-test.pl (parse_args): Apply special handling for
69025 issignaling.
69026 * math/libm-test.inc (print_float, issignaling_test): New
69027 functions.
69028 (check_float_internal): Add issignaling checks.
69029 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69030 default definition.
69031 * sysdeps/powerpc/math-tests.h: New file.
69032 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69033 tests.
69034 * math/test-snan.c (TEST_FUNC): Likewise.
69035
69036 2013-03-30 David S. Miller <davem@davemloft.net>
69037
69038 * po/de.po: Update from translation team.
69039
69040 2013-03-30 Joseph Myers <joseph@codesourcery.com>
69041
69042 [BZ #10357]
69043 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69044 imaginary part less than 1.0 and real part less than 0.5
69045 specially.
69046 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69047 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69048 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69049 (cacos_test): Add more tests.
69050 (casin_test): Likewise.
69051 (casinh_test): Likewise.
69052 * sysdeps/i386/fpu/libm-test-ulps: Update.
69053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69054
69055 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
69056
69057 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69058 ONE with its value.
69059
69060 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69061 (__pow_mp): Replace ONE and MONE with their values.
69062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69065 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69066 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69067 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69068
69069 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69070
69071 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69072 (__pow_mp): Replace ZERO and MZERO with their values.
69073 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69075 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69077 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69078 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69079 (__sqr): Likewise.
69080
69081 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69082
69083 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69084
69085 2013-03-28 Roland McGrath <roland@hack.frob.com>
69086
69087 * include/stdlib.h [!SHARED] (__call_tls_dtors):
69088 Declare with __attribute__ ((weak)).
69089 * stdlib/exit.c (__libc_atexit) [!SHARED]:
69090 Call __call_tls_dtors only if it's not NULL.
69091
69092 2013-03-28 Roland McGrath <roland@hack.frob.com>
69093
69094 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69095 didn't do it already, then set _dl_phdr and _dl_phnum based on the
69096 magic __ehdr_start linker symbol if it's defined.
69097 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69098 them up here if it was already done.
69099
69100 * elf/dl-support.c (_dl_phdr): Make pointer to const.
69101 (_dl_aux_init): Use const in cast when setting it.
69102 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69103 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69104 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69105
69106 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69107 Declare them here.
69108 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69109 * csu/libc-tls.c: Nor here.
69110 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69111
69112 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69113 (__libc_message): Never call vsyslog.
69114
69115 2013-03-28 Alan Modra <amodra@gmail.com>
69116
69117 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69118 Define as empty.
69119 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69120 Likewise.
69121
69122 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69123
69124 [BZ #15214]
69125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69126 underflow.
69127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69128
69129 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69130
69131 [BZ #15304]
69132 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69133 Don't add gid passed as argument.
69134
69135 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69136
69137 2013-03-27 Joseph Myers <joseph@codesourcery.com>
69138
69139 [BZ #15307]
69140 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69141 imaginary part between 1.0 and 1.5 and real part less than 0.5
69142 specially.
69143 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69144 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69145 * math/libm-test.inc (cacos_test): Add more tests.
69146 (casin_test): Likewise.
69147 (casinh_test): Likewise.
69148 * sysdeps/i386/fpu/libm-test-ulps: Update.
69149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69150
69151 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69152
69153 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69154 constants.
69155 (norm): Likewise.
69156 (denorm): Likewise.
69157 (__dbl_mp): Likewise.
69158 (add_magnitudes): Likewise.
69159 (sub_magnitudes): Likewise.
69160 (__add): Likewise.
69161 (__sub): Likewise.
69162 (__mul): Likewise.
69163 (__sqr): Likewise.
69164 (__inv): Likewise.
69165 (__dvd): Likewise.
69166
69167 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69168 commented code.
69169 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69170 (__dubcos): Likewise.
69171 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69172 (__ieee754_acos): Likewise.
69173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69174 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69175 (__exp1): Likewise.
69176 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69177 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69178 (log1): Likewise.
69179 (my_log2): Likewise.
69180 (checkint): Likewise.
69181 * sysdeps/ieee754/dbl-64/e_remainder.c
69182 (__ieee754_remainder): Likewise.
69183 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69185 (bsloww): Likewise.
69186 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69187
69188 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69189 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69190 MANTISSA_STORE_T to store computations on mantissa. Use
69191 macros for rounding and division.
69192 (denorm): Likewise.
69193 (__dbl_mp): Likewise.
69194 (add_magnitudes): Likewise.
69195 (sub_magnitudes): Likewise.
69196 (__mul): Likewise.
69197 (__sqr): Likewise.
69198 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69199 powers of two in terms of TWOPOW macro.
69200 (mp_no): Make type of mantissa as MANTISSA_T.
69201 [!RADIXI]: Define RADIXI.
69202 [!TWO52]: Define TWO52.
69203 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69204
69205 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69206
69207 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69208 llroundl symbol when building for PPC32.
69209
69210 2013-03-24 Mark H Weaver <mhw@netris.org>
69211
69212 * manual/arith.texi (Normalization Functions): Fix prototypes for
69213 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69214
69215 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69216
69217 [BZ #13889]
69218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69219 high value to check if expl overflow.
69220 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69221 to check for underflow and overflow.
69222 * math/libm-test.inc: Add exp test.
69223
69224 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69225
69226 [BZ #11120]
69227 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69228 with NOT_IN_libc.
69229
69230 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69231
69232 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69233 symbol.
69234
69235 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69236
69237 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69238 wrap blocks consisting of several statements.
69239
69240 * sysdeps/generic/math-tests.h: New file.
69241 * sysdeps/i386/fpu/math-tests.h: Likewise.
69242 * math/test-snan.c: Include it.
69243 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69244
69245 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69246
69247 [BZ #15285]
69248 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69249 (__ieee754_j0l): Do not improve calculations using cos of twice
69250 input for inputs above LDBL_MAX / 2.0L.
69251 (__ieee754_y0l): Likewise.
69252 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69253 (__ieee754_j1l): Do not improve calculations using cos of twice
69254 input for inputs above LDBL_MAX / 2.0L.
69255 (__ieee754_y1l): Likewise.
69256 * math/libm-test.inc (j0_test): Add another test.
69257 (j1_test): Likewise.
69258 (y0_test): Likewise.
69259 (y1_test): Likewise.
69260 * sysdeps/i386/fpu/libm-test-ulps: Update.
69261
69262 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69263
69264 * Rules ($(objpfx)bench-%.c): Include code from a C source
69265 file.
69266
69267 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69268
69269 [BZ #15287]
69270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69271 imaginary part 1.0 and real part less than 0.5 specially.
69272 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69273 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69274 * math/libm-test.inc (cacos_test): Add more tests.
69275 (casin_test): Likewise.
69276 (casinh_test): Likewise.
69277 * sysdeps/i386/fpu/libm-test-ulps: Update.
69278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69279
69280 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69281
69282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69283 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69284
69285 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69286
69287 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69288 * config.make.in (config-cflags-sse4): Remove variable.
69289 (config-cflags-avx): Likewise.
69290 (config-cflags-sse2avx): Likewise.
69291 (config-cflags-novzeroupper): Likewise.
69292 (config-asflags-i686): Likewise.
69293 (have-mfma4): Likewise.
69294 (have-as-vis3): Likewise.
69295 (MIG): Likewise.
69296 * configure.in (MIG): Do not AC_SUBST.
69297 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69298 (libc_cv_cc_sse4): Do not AC_SUBST.
69299 (libc_cv_cc_avx): Likewise.
69300 (libc_cv_cc_sse2avx): Likewise.
69301 (libc_cv_cc_novzeroupper): Likewise.
69302 (libc_cv_cc_fma4): Likewise.
69303 (libc_cv_as_i686): Likewise.
69304 (libc_cv_sparc_as_vis3): Likewise.
69305 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69306 LIBC_CONFIG_VAR.
69307 (config-asflags-i686): Likewise.
69308 (config-cflags-avx): Likewise.
69309 (config-cflags-sse2avx): Likewise.
69310 (have-mfma4): Likewise.
69311 (config-cflags-novzeroupper): Likewise.
69312 * sysdeps/mach/configure.in (MIG): Likewise.
69313 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69314 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69315 LIBC_CONFIG_VAR.
69316 (config-cflags-avx): Likewise.
69317 (config-cflags-sse2avx): Likewise.
69318 (have-mfma4): Likewise.
69319 (config-cflags-novzeroupper): Likewise.
69320 * configure: Regenerated.
69321 * sysdeps/i386/configure: Likewise.
69322 * sysdeps/mach/configure: Likewise.
69323 * sysdeps/sparc/configure: Likewise.
69324 * sysdeps/x86_64/configure: Likewise.
69325
69326 2013-03-20 Roland McGrath <roland@hack.frob.com>
69327
69328 [BZ #14812]
69329 * locale/programs/localedef.c (options): Put N_ translation marker
69330 on argument names, not just descriptions.
69331
69332 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69333
69334 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69335
69336 2013-03-20 Ondƙej Bílka <neleai@seznam.cz>
69337
69338 [BZ #14176]
69339 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69340
69341 2013-03-19 Roland McGrath <roland@hack.frob.com>
69342
69343 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69344 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69345 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69346 [!BEFORE_ABORT] (before_abort): New function.
69347 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69348 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69349 (writev_for_fatal): New function.
69350 (WRITEV_FOR_FATAL): New macro; call that.
69351 (backtrace_and_maps): New function.
69352 (BEFORE_ABORT): New macro; call that.
69353 (struct str_list): Type removed.
69354 (__libc_message, __libc_fatal): Functions removed.
69355 Include <sysdeps/posix/libc_fatal.c> instead.
69356
69357 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69358
69359 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69360 constants.
69361 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69362 double constants.
69363
69364 2013-03-19 Andreas Schwab <schwab@suse.de>
69365
69366 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69367 * sysdeps/gnu/configure: Regenerate.
69368
69369 * configure.in: Substitute libc_cv_rtlddir.
69370 * configure: Regenerate.
69371 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69372 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69373 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69374 * elf/Makefile (install-others, CFLAGS-interp.c)
69375 (ldso_install, common-ldd-rewrite): Likewise.
69376 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69377 $(inst_slibdir)/$(rtld-installed-name).
69378 * scripts/rellns-sh: Add -p option.
69379 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69380 for source.
69381
69382 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69383
69384 * manual/nptl.texi: Renamed to ...
69385 * manual/threads.texi: ... this.
69386 * manual/Makefile (chapters): Update.
69387
69388 2013-03-18 Roland McGrath <roland@hack.frob.com>
69389
69390 [BZ #14812]
69391 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69392 on argument names, not just descriptions.
69393 * malloc/memusagestat.c (options): Likewise.
69394 * nss/getent.c (options): Likewise.
69395
69396 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69397
69398 [BZ #14812]
69399 * iconv/iconv_prog.c (options): Put N_ translation marker
69400 on argument names, not just descriptions.
69401 * iconv/iconvconfig.c (options): Likewise.
69402
69403 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69404
69405 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69406 implementation which is faster on all x86_64 architectures.
69407 Tested on AMD, Intel Nehalem, SNB, IVB.
69408 * sysdeps/x86_64/strnlen.S: Likewise.
69409
69410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69411 Remove all multiarch strlen and strnlen versions.
69412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69413 Remove strlen and strnlen related parts.
69414
69415 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69416 Inline strlen part.
69417 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69418
69419 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69420 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69421 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69422 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69423 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69424 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69425
69426 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69427
69428 * manual/memory.texi (Malloc Tunable Parameters):
69429 Sort parameters alphabetically. Add comments for missing entries.
69430
69431 2013-03-17 David S. Miller <davem@davemloft.net>
69432
69433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69434
69435 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69436
69437 [BZ #15283]
69438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69439 for arguments at most half maximum finite value.
69440 * math/libm-test.inc (j0_test): Add more tests.
69441 (j1_test): Likewise.
69442 (y0_test): Likewise.
69443 (y1_test): Likewise.
69444 * sysdeps/i386/fpu/libm-test-ulps: Update.
69445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69446
69447 [BZ #14155]
69448 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69449 1 / x and functions P and Q for arguments above 0x1p256L.
69450 (__ieee754_y0l): Likewise.
69451 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69452 (__ieee754_y1l): Likewise.
69453 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69454 (j1_test): Likewise.
69455 (y0_test): Likewise.
69456 (y1_test): Likewise.
69457
69458 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69459
69460 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69461 variable.
69462
69463 2013-03-15 Roland McGrath <roland@hack.frob.com>
69464
69465 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69466 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69467 zero since it's initialized to EXEC_PAGESIZE.
69468
69469 * sysdeps/unix/sysv/linux/ldsodefs.h
69470 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69471 * sysdeps/generic/ldsodefs.h: ... here.
69472
69473 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69474
69475 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69476
69477 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69478 math/test-snan.c.
69479 * math/test-snan.c: Renamed from
69480 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69481 * math/Makefile (tests): Add test-snan.
69482 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69483 test-powerpc-snan.
69484
69485 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69486 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69487 functions.
69488 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69489 __builtin_nan family of functions.
69490 * math/libm-test.inc (initialize): Initialize qnan_value with
69491 __builtin_nan family of functions.
69492 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69493 Remove variables.
69494 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69495 Remove functions.
69496 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69497 storage class. Initialize qNaN_var and sNaN_var with
69498 __builtin_nan and __builtin_nans families of functions,
69499 respectively.
69500
69501 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69502 (sqrt_test): Remove duplicate test with qNaN input.
69503 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69504 (round_test, signbit_test, significand_test): Note missing +/-Inf
69505 as well as qNaN tests.
69506
69507 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69508 qNaN_var. Fix a few strings, too.
69509 * math/libm-test.inc (nan_value): Rename to qnan_value.
69510 * math/gen-libm-test.pl (%beautify): Adjust to that.
69511 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69512 * math/test-misc.c (main): Likewise.
69513 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69514 to __qnan_bytes, and __qnan_union, respectively.
69515 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69516 Likewise.
69517 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69518 and lqnanval, respectively.
69519 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69520 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69521 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69522 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69523
69524 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69525 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69526 doubles.
69527
69528 * math/test-misc.c (main): Fix copy'n'pastos.
69529 * misc/tst-efgcvt.c (special): Likewise.
69530
69531 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69532 Remove declarations.
69533
69534 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69535
69536 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69537 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69538 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69539 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69540
69541 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69542
69543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69544 macro to return vdso values correctly in IFUNC implementations.
69545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69546 Optimization by using IFUNC.
69547
69548 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69549 Richard Henderson <rth@redhat.com>
69550 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69551
69552 * Makefile.in (bench): New target.
69553 * NEWS: Mention the benchmark framework.
69554 * Rules (bench): Likewise.
69555 (binaries-bench): Generate binaries for functions to
69556 benchmark.
69557 * benchtests/Makefile: New makefile for benchmark tests.
69558 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69559 programs.
69560 * benchtests/exp-inputs: New input file for EXP function.
69561 * benchtests/pow-inputs: New input file for POW function.
69562 * scripts/bench.pl: New script to generate source files for
69563 benchmark programs.
69564
69565 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69566
69567 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69568 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69569 computations on mantissa. Use macros for rounding and
69570 division.
69571 (denorm): Likewise.
69572 (__dbl_mp): Likewise.
69573 (add_magnitudes): Likewise.
69574 (sub_magnitudes): Likewise.
69575 (__mul): Likewise.
69576 (__sqr): Likewise.
69577 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69578 powers of two in terms of TWOPOW macro.
69579 (mp_no): Make type of mantissa as MANTISSA_T.
69580 [!RADIXI]: Define RADIXI.
69581 [!TWO52]: Define TWO52.
69582 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69583
69584 * manual/nptl.texi (cindex): Modify threads to pthreads.
69585
69586 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69587
69588 * sysdeps/x86_64/preconfigure: Regenerated.
69589
69590 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69591
69592 [BZ #14155]
69593 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69594 0x1p28 and above.
69595 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69596 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69597 0x1p28 and above.
69598 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69599 * math/libm-test.inc (j0_test): Do not allow one spurious
69600 underflow exception.
69601 (y1_test): Likewise.
69602
69603 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69604
69605 * manual/Makefile (chapters): Add nptl.
69606 * manual/debug.texi (Debugging Support): Add link to Threads
69607 chapter.
69608 * manual/nptl.texi: New file.
69609
69610 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69611
69612 2013-03-14 Petr Baudis <pasky@ucw.cz>
69613
69614 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69615 for non-NULL pointer before the memory validity test. Pointed
69616 out by Holger Brunck <holger.brunck@keymile.com>.
69617
69618 2013-03-13 Andreas Schwab <schwab@suse.de>
69619
69620 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69621 instead of .os.
69622
69623 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69624
69625 * timezone/zic.c: Update from tzcode 2013b.
69626
69627 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69628
69629 * manual/install.texi (Configuring and compiling):
69630 Mention i686 and i586.
69631 * INSTALL: Regenerate.
69632
69633 2013-03-12 Roland McGrath <roland@hack.frob.com>
69634
69635 * sysdeps/init_array/elf-init.c: New file.
69636 * csu/elf-init.c
69637 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69638 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69639
69640 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69641 __gmon_start__ as global, but as static with a .preinit_array pointer.
69642 * sysdeps/init_array/gmon-start.c: New file. Use that.
69643 * sysdeps/init_array/crti.S: New file, empty except for comments.
69644 * sysdeps/init_array/crtn.S: Likewise.
69645
69646 2013-03-11 Ondƙej Bílka <neleai@seznam.cz>
69647
69648 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69649 definining bcopy.
69650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69651 Remove Prefer_SSE_for_memop.
69652 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69653 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69654 HAS_PREFER_SSE_FOR_MEMOP.
69655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69656 memset-x86-64.
69657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69658 Remove bzero, memset ifunc support.
69659 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69660 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69661 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69662 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69663
69664 2013-03-11 Andreas Schwab <schwab@suse.de>
69665
69666 [BZ #15234]
69667 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69668 by SHLIB_COMPAT.
69669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69670 (GLIBC_2.16): Remove pthread_atfork.
69671
69672 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69673
69674 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69675 (ptestcases.h): Likewise.
69676
69677 2013-03-08 Roland McGrath <roland@hack.frob.com>
69678
69679 * Makeconfig ($(common-objpfx)config.status): Depend on
69680 sysdeps/*/preconfigure{,.in} too.
69681
69682 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69683
69684 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69685 (__free_hook): Use void * instead of __malloc_ptr_t.
69686 (__malloc_hook): Likewise.
69687 (__realloc_hook): Likewise.
69688 (__memalign_hook): Likewise.
69689 (__after_morecore_hook): Likewise.
69690 * malloc/arena.c (save_malloc_hook): Likewise.
69691 (save_free_hook): Likewise.
69692 * malloc/hooks.c (malloc_hook_ini): Likewise.
69693 (realloc_hook_ini): Likewise.
69694 (memalign_hook_ini): Likewise.
69695 * malloc/malloc.c (malloc_hook_ini): Likewise.
69696 (realloc_hook_ini): Likewise.
69697 (memalign_hook_ini): Likewise.
69698 (__free_hook): Likewise.
69699 (__malloc_hook): Likewise.
69700 (__realloc_hook): Likewise.
69701 (__memalign_hook): Likewise.
69702 (__libc_malloc): Likewise.
69703 (__libc_free): Likewise.
69704 (__libc_realloc): Likewise.
69705 (__libc_memalign): Likewise.
69706 (__libc_valloc): Likewise.
69707 (__libc_pvalloc): Likewise.
69708 (__libc_calloc): Likewise.
69709 (__posix_memalign): Likewise.
69710 * malloc/morecore.c (__sbrk): Likewise.
69711 (__default_morecore): Likewise.
69712
69713 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69714
69715 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69716 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69717 __malloc_ptrdiff_t.
69718
69719 * malloc/malloc.h (__malloc_size_t): Remove macro.
69720 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69721 __malloc_size_t.
69722 (old_memalign_hook): Likewise.
69723 (old_realloc_hook): Likewise.
69724 (struct hdr): Likewise.
69725 (flood): Likewise.
69726 (mallochook): Likewise.
69727 (memalignhook): Likewise.
69728 (reallochook): Likewise.
69729 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69730 (tr_old_realloc_hook): Likewise.
69731 (tr_old_memalign_hook): Likewise.
69732 (tr_mallochook): Likewise.
69733 (tr_reallochook): Likewise.
69734 (tr_memalignhook): Likewise.
69735
69736 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69737
69738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69739 default_ldbl_pack and using as default implementation.
69740 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69741 implementation.
69742 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69743 redundant definition.
69744 (ldbl_insert_mantissa): Likewise.
69745 (ldbl_canonicalize): Likewise.
69746 (ldbl_nearbyint): Likewise.
69747 (ldbl_pack): Rename to ldbl_pack_ppc.
69748 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69749 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69750 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69751
69752 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69753
69754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69755 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69756 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69757 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69759 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69760 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69761 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69762
69763 2013-03-07 Andreas Jaeger <aj@suse.de>
69764
69765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69766 bits/mman-linux.h.
69767
69768 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69769
69770 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69771 Include mpa.h and declare __MPEXP.
69772 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69773 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69774 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69775 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69777 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69778 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69779
69780 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69781 (__slowpow): Use long double EXPL and LOGL functions to
69782 compute POW.
69783 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69784 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69786 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69787 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69788 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69789
69790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69791 intermediate variable to calculate exponent.
69792 (__sqr): Likewise.
69793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69794 Likewise.
69795 (__sqr): Likewise.
69796
69797 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69798 [!NO__SQR]: Define __sqr.
69799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69800 and NO__SQR. Remove all code except __mul and __sqr. Include
69801 sysdeps/ieee754/dbl-64/mpa.c.
69802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69803
69804 [BZ #12723]
69805 * posix/Makefile (tests): Add tst-pathconf.
69806 * posix/tst-pathconf.c: New test case.
69807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69808 _PC_PIPE_BUF.
69809 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69810
69811 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69812
69813 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69814
69815 2013-03-06 Andreas Jaeger <aj@suse.de>
69816
69817 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69818 definition via __MAP_ANONYMOUS.
69819
69820 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69821 it's not part of Linux headers.
69822
69823 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69824 (MAP_HUGE_MASK): Define.
69825
69826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69827 Define.
69828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69830 Define.
69831 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69832 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69833 Define.
69834 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69836 Define.
69837 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69838
69839 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69840 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69841 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69842 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69843 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69844 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69845
69846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69847 Handle f2fs.
69848
69849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69850 Handle f2fs and efivarfs.
69851
69852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69853 f2fs.
69854
69855 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69856 (EFIVARFS_MAGIC): Add.
69857 (F2FS_LINK_MAX): Add.
69858
69859 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69860
69861 * stdio-common/vfprintf.c: Replace __builtin_expect with
69862 __glibc_unlikely.
69863
69864 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69865
69866 [BZ #13550]
69867 * sysdeps/generic/bp-sym.h: Remove file.
69868 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69869 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69870 <bp-sym.h> and <bp-asm.h>.
69871 (__longjmp): Don't use BP_SYM.
69872 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69873 and <bp-asm.h>.
69874 (memcpy): Don't use BP_SYM.
69875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69876 <bp-sym.h> and <bp-asm.h>.
69877 (memcpy): Don't use BP_SYM.
69878 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69879 <bp-asm.h>.
69880 (memcpy): Don't use BP_SYM.
69881 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69882 <bp-asm.h>.
69883 (memset): Don't use BP_SYM.
69884 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69885 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69886 (__bzero): Don't use BP_SYM.
69887 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69888 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69889 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69890 <bp-sym.h> and <bp-asm.h>.
69891 (memcmp): Don't use BP_SYM. Remove comment about bounded
69892 pointers.
69893 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69894 <bp-sym.h> and <bp-asm.h>.
69895 (memcpy): Don't use BP_SYM.
69896 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69897 <bp-sym.h> and <bp-asm.h>.
69898 (memset): Don't use BP_SYM.
69899 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69900 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69901 (__bzero): Don't use BP_SYM.
69902 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69903 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69904 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69905 <bp-sym.h> and <bp-asm.h>.
69906 (strncmp): Don't use BP_SYM. Remove comment about bounded
69907 pointers.
69908 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69909 <bp-sym.h> and <bp-asm.h>.
69910 (memcpy): Don't use BP_SYM.
69911 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69912 <bp-sym.h> and <bp-asm.h>.
69913 (memset): Don't use BP_SYM.
69914 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69915 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69916 (__bzero): Don't use BP_SYM.
69917 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69918 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69920 <bp-sym.h> and <bp-asm.h>.
69921 (__memchr): Don't use BP_SYM.
69922 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69923 <bp-sym.h> and <bp-asm.h>.
69924 (memcmp): Don't use BP_SYM. Remove comment about bounded
69925 pointers.
69926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69927 <bp-sym.h> and <bp-asm.h>.
69928 (memcpy): Don't use BP_SYM.
69929 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69930 <bp-sym.h> and <bp-asm.h>.
69931 (__mempcpy): Don't use BP_SYM.
69932 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69933 <bp-sym.h> and <bp-asm.h>.
69934 (__memrchr): Don't use BP_SYM.
69935 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69936 <bp-sym.h> and <bp-asm.h>.
69937 (memset): Don't use BP_SYM.
69938 (__bzero): Likewise.
69939 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69940 <bp-sym.h> and <bp-asm.h>.
69941 (__rawmemchr): Don't use BP_SYM.
69942 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69943 <bp-sym.h> and <bp-asm.h>.
69944 (__STRCMP): Don't use BP_SYM.
69945 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69946 <bp-sym.h> and <bp-asm.h>.
69947 (strchr): Don't use BP_SYM.
69948 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69949 <bp-sym.h> and <bp-asm.h>.
69950 (__strchrnul): Don't use BP_SYM.
69951 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69952 <bp-sym.h> and <bp-asm.h>.
69953 (strlen): Don't use BP_SYM.
69954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69955 <bp-sym.h> and <bp-asm.h>.
69956 (strncmp): Don't use BP_SYM. Remove comment about bounded
69957 pointers.
69958 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69959 <bp-sym.h> and <bp-asm.h>.
69960 (__strnlen): Don't use BP_SYM.
69961 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69962 <bp-sym.h> and <bp-asm.h>.
69963 (__GI__setjmp): Don't use BP_SYM.
69964 (_setjmp): Likewise.
69965 (__sigsetjmp): Likewise.
69966 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69967 (L(start_addresses)): Don't use BP_SYM.
69968 (_start): Likewise.
69969 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69970 <bp-asm.h>.
69971 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69972 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69973 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69974 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69975 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69976 <bp-asm.h>.
69977 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69978 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69979 about bounded pointers.
69980 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69981 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69982 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69983 <bp-asm.h>.
69984 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69985 about bounded pointers. Remove GKM FIXME comments.
69986 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69987 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69988 <bp-asm.h>.
69989 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69990 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69991 Remove GKM FIXME comments.
69992 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69993 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69994 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69995 <bp-asm.h>.
69996 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69997 about bounded pointers. Remove GKM FIXME comment.
69998 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69999 and <bp-asm.h>.
70000 (strncmp): Don't use BP_SYM. Remove comment about bounded
70001 pointers.
70002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70003 <bp-sym.h> and <bp-asm.h>.
70004 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70006 <bp-sym.h> and <bp-asm.h>.
70007 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70008 comment.
70009
70010 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70011
70012 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70013 call free(NULL).
70014
70015 2013-03-05 David S. Miller <davem@davemloft.net>
70016
70017 * po/es.po: Update from translation team.
70018
70019 2013-03-05 Andreas Jaeger <aj@suse.de>
70020
70021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70022 <bits/mman-linux.h>.
70023 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70024 is fine.
70025 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70026 <bits/mman-linux.h> to end of file.
70027 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70028 is fine.
70029 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70030 <bits/mman-linux.h> to end of file.
70031 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70032 is fine.
70033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70034 <bits/mman-linux.h> to end of file.
70035
70036 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70037 (MCL_CURRENT, MCL_FUTURE): Define here.
70038
70039 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70040
70041 [BZ #15232]
70042 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70043 attribute_hidden.
70044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70045
70046 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70047
70048 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70049 fourth parameter needed for rt_sigprocmask syscall.
70050 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70051 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70052 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70053 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70055 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70056
70057 2013-03-04 Joseph Myers <joseph@codesourcery.com>
70058
70059 [BZ #13550]
70060 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70061 comment about bounded pointers.
70062 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70063 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70064
70065 2013-03-04 Andreas Jaeger <aj@suse.de>
70066
70067 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70068 common definitions.
70069
70070 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70071 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70072 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70073 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70074 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70075 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70076
70077 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70078
70079 [BZ #15055]
70080 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70081 __ieee754_sqrl instead of __sqrl.
70082
70083 2013-03-01 Joseph Myers <joseph@codesourcery.com>
70084
70085 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70086 * sysdeps/powerpc/fpu_control.h: ... here.
70087 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70088 * sysdeps/powerpc/bits/fenvinline.h: ... here.
70089 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70090 * sysdeps/powerpc/bits/mathinline.h: ... here.
70091
70092 2013-03-01 Roland McGrath <roland@hack.frob.com>
70093
70094 * elf/dl-hwcaps.c (_dl_important_hwcaps):
70095 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70096 to just [NEED_DL_SYSINFO_DSO].
70097 * elf/dl-support.c: Likewise.
70098 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70099 * elf/rtld.c (dl_main): Likewise.
70100 * elf/setup-vdso.h (setup_vdso): Likewise.
70101 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70102 * sysdeps/unix/sysv/linux/dl-sysdep.c
70103 (_dl_discover_osversion): Likewise.
70104
70105 2013-03-01 Carlos O'Donell <carlos@redhat.com>
70106
70107 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70108 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70109
70110 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
70111
70112 * NEWS: Mention libm performance improvements and non-x86 PI
70113 futex support.
70114
70115 * csu/libc-start.c (__pthread_initialize_minimal): Change
70116 function arguments.
70117 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70118
70119 2013-02-28 Joseph Myers <joseph@codesourcery.com>
70120
70121 [BZ #13550]
70122 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70123 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70124 <bp-sym.h> and <bp-asm.h>.
70125 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70126 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70127 and <bp-asm.h>.
70128 (memcpy): Don't use BP_SYM.
70129 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70130 <bp-asm.h>.
70131 (__mpn_add_n): Don't use BP_SYM.
70132 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70133 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70134 and <bp-asm.h>.
70135 (__mpn_addmul_1): Don't use BP_SYM.
70136 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70137 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70138 <bp-sym.h>.
70139 (_setjmp): Don't use BP_SYM.
70140 (__novmx_setjmp): Likewise.
70141 (__GI__setjmp): Likewise.
70142 (__vmx_setjmp): Likewise.
70143 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70144 <bp-sym.h>.
70145 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70146 (__bzero): Don't use BP_SYM.
70147 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70148 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70149 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70150 <bp-sym.h> and <bp-asm.h>.
70151 (memcpy): Don't use BP_SYM.
70152 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70153 <bp-sym.h> and <bp-asm.h>.
70154 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70155 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70156 <bp-sym.h> and <bp-asm.h>.
70157 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70158 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70159 <bp-asm.h>.
70160 (__mpn_lshift): Don't use BP_SYM.
70161 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70162 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70163 <bp-asm.h>.
70164 (memset): Don't use BP_SYM.
70165 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70166 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70167 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70168 <bp-asm.h>.
70169 (__mpn_mul_1): Don't use BP_SYM.
70170 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70172 <bp-sym.h> and <bp-asm.h>.
70173 (memcmp): Don't use BP_SYM.
70174 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70175 <bp-sym.h> and <bp-asm.h>.
70176 (memcpy): Don't use BP_SYM.
70177 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70178 <bp-sym.h> and <bp-asm.h>.
70179 (memset): Don't use BP_SYM.
70180 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70181 <bp-sym.h> and <bp-asm.h>.
70182 (strncmp): Don't use BP_SYM.
70183 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70184 <bp-sym.h> and <bp-asm.h>.
70185 (memcpy): Don't use BP_SYM.
70186 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70187 <bp-sym.h> and <bp-asm.h>.
70188 (memset): Don't use BP_SYM.
70189 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70190 <bp-sym.h> and <bp-asm.h>.
70191 (__memchr): Don't use BP_SYM.
70192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70193 <bp-sym.h> and <bp-asm.h>.
70194 (memcmp): Don't use BP_SYM.
70195 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70196 <bp-sym.h> and <bp-asm.h>.
70197 (memcpy): Don't use BP_SYM.
70198 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70199 <bp-sym.h> and <bp-asm.h>.
70200 (__mempcpy): Don't use BP_SYM.
70201 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70202 <bp-sym.h> and <bp-asm.h>.
70203 (__memrchr): Don't use BP_SYM.
70204 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70205 <bp-sym.h> and <bp-asm.h>.
70206 (memset): Don't use BP_SYM.
70207 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70208 <bp-sym.h> and <bp-asm.h>.
70209 (__rawmemchr): Don't use BP_SYM.
70210 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70211 <bp-sym.h> and <bp-asm.h>.
70212 (__STRCMP): Don't use BP_SYM.
70213 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70214 <bp-sym.h> and <bp-asm.h>.
70215 (strchr): Don't use BP_SYM.
70216 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70217 <bp-sym.h> and <bp-asm.h>.
70218 (__strchrnul): Don't use BP_SYM.
70219 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70220 <bp-sym.h> and <bp-asm.h>.
70221 (strlen): Don't use BP_SYM.
70222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70223 <bp-sym.h> and <bp-asm.h>.
70224 (strncmp): Don't use BP_SYM.
70225 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70226 <bp-sym.h> and <bp-asm.h>.
70227 (__strnlen): Don't use BP_SYM.
70228 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70229 <bp-asm.h>.
70230 (__mpn_rshift): Don't use BP_SYM.
70231 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70232 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70233 <bp-sym.h> and <bp-asm.h>.
70234 (__sigsetjmp): Don't use BP_SYM.
70235 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70236 (L(start_addresses)): Don't use BP_SYM.
70237 (_start): Likewise.
70238 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70239 <bp-asm.h>.
70240 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70241 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70242 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70243 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70244 <bp-asm.h>.
70245 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70246 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70247 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70248 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70249 <bp-asm.h>.
70250 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70251 comments.
70252 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70253 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70254 <bp-asm.h>.
70255 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70256 FIXME comments.
70257 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70258 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70259 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70260 <bp-asm.h>.
70261 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70262 comment.
70263 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70264 and <bp-asm.h>.
70265 (strncmp): Don't use BP_SYM,
70266 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70267 <bp-asm.h>.
70268 (__mpn_sub_n): Don't use BP_SYM.
70269 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70270 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70271 and <bp-asm.h>.
70272 (__mpn_submul_1): Don't use BP_SYM.
70273 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70275 <bp-sym.h> and <bp-asm.h>.
70276 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70278 <bp-sym.h> and <bp-asm.h>.
70279 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70280 comment.
70281
70282 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70283
70284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70285 Use ZK to minimize writes to Z.
70286 (sub_magnitudes): Simplify code a bit.
70287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70288 Use ZK to minimize writes to Z.
70289 (sub_magnitudes): Simplify code a bit.
70290
70291 2013-02-27 Roland McGrath <roland@hack.frob.com>
70292
70293 * csu/gmon-start.c: Add special exception to license text.
70294
70295 2013-02-27 Richard Henderson <rth@redhat.com>
70296
70297 * scripts/config.guess: Update from config.git.
70298 * scripts/config.sub: Likewise.
70299
70300 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70301
70302 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70303
70304 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70305
70306 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70307
70308 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70309
70310 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70311
70312 2013-02-26 Roland McGrath <roland@hack.frob.com>
70313
70314 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70315 [$(build-shared = yes].
70316
70317 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70318
70319 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70320 (__mul): Reduce iterations for calculating mantissa.
70321
70322 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70323 MPTWO.
70324 (__mpranred): Likewise.
70325
70326 [BZ #15160]
70327 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70328 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70329
70330 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70331
70332 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70333 Define __attribute__.
70334
70335 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70336
70337 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70338 unused.
70339 * posix/regex_internal.h (__attribute): Remove.
70340 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70341 (re_string_context_at): Likewise.
70342 (bitset_not): Use __attribute__ and mark function as possibly
70343 unused.
70344 (bitset_merge): Likewise.
70345 (bitset_mask): Likewise.
70346 (re_string_char_size_at): Likewise.
70347 (re_string_wchar_at): Likewise.
70348 (re_string_elem_size_at): Likewise.
70349
70350 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70351
70352 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70353 code.
70354 (cc32): Likewise.
70355
70356 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70357 (__acr): Likewise.
70358 (__cpy): Likewise.
70359 (norm): Likewise.
70360 (denorm): Likewise.
70361 (__dbl_mp): Likewise.
70362 (add_magnitudes): Likewise.
70363 (sub_magnitudes): Likewise.
70364 (__mul): Likewise.
70365 (__inv): Likewise.
70366
70367 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70368 style.
70369
70370 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70371 style.
70372
70373 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70374 code.
70375
70376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70377 up changes with default code.
70378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70379 Likewise.
70380
70381 2013-02-24 Allan McRae <allan@archlinux.org>
70382
70383 * manual/socket.texi (The Internet Namespace): Order menu items
70384 to match that in the file.
70385
70386 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70387 node listing of the info page menu.
70388
70389 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70390
70391 [BZ #13550]
70392 * sysdeps/i386/bp-asm.h: Remove file.
70393 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70394 (PARMS): Do not use macros from bp-asm.h.
70395 (S1): Likewise.
70396 (S2): Likewise.
70397 (SIZE): Likewise.
70398 (__mpn_add_n): Do not use BP_SYM
70399 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70400 "bp-asm.h".
70401 (PARMS): Do not use macros from bp-asm.h.
70402 (S1): Likewise.
70403 (SIZE): Likewise.
70404 (__mpn_addmul_1): Do not use BP_SYM
70405 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70406 "bp-asm.h".
70407 (PARMS): Do not use macros from bp-asm.h.
70408 (SIGMSK): Likewise.
70409 (_setjmp): Likewise. Do not use BP_SYM.
70410 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70411 "bp-asm.h".
70412 (PARMS): Do not use macros from bp-asm.h.
70413 (SIGMSK): Likewise.
70414 (setjmp): Likewise. Do not use BP_SYM.
70415 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70416 "bp-asm.h".
70417 (PARMS): Do not use macros from bp-asm.h.
70418 (__frexp): Do not use BP_SYM.
70419 (frexp): Likewise.
70420 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70421 "bp-asm.h".
70422 (PARMS): Do not use macros from bp-asm.h.
70423 (__frexpf): Do not use BP_SYM.
70424 (frexpf): Likewise.
70425 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70426 "bp-asm.h".
70427 (PARMS): Do not use macros from bp-asm.h.
70428 (__frexpl): Do not use BP_SYM.
70429 (frexpl): Likewise.
70430 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70431 "bp-asm.h".
70432 (PARMS): Do not use macros from bp-asm.h.
70433 (__remquo): Do not use BP_SYM.
70434 (remquo): Likewise.
70435 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70436 "bp-asm.h".
70437 (PARMS): Do not use macros from bp-asm.h.
70438 (__remquof): Do not use BP_SYM.
70439 (remquof): Likewise.
70440 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70441 "bp-asm.h".
70442 (PARMS): Do not use macros from bp-asm.h.
70443 (__remquol): Do not use BP_SYM.
70444 (remquol): Likewise.
70445 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70446 "bp-asm.h".
70447 (PARMS): Do not use macros from bp-asm.h.
70448 (DEST): Likewise.
70449 (SRC): Likewise.
70450 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70451 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70452 "bp-asm.h".
70453 (PARMS): Do not use macros from bp-asm.h.
70454 (strlen): Do not use BP_SYM.
70455 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70456 "bp-asm.h".
70457 (PARMS): Do not use macros from bp-asm.h.
70458 (S1): Likewise.
70459 (S2): Likewise.
70460 (SIZE): Likewise.
70461 (__mpn_add_n): Do not use BP_SYM.
70462 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70463 "bp-asm.h".
70464 (PARMS): Do not use macros from bp-asm.h.
70465 (S1): Likewise.
70466 (SIZE): Likewise.
70467 (__mpn_addmul_1): Do not use BP_SYM.
70468 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70469 weak_alias.
70470 (bzero): Likewise.
70471 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70472 "bp-asm.h".
70473 (PARMS): Do not use macros from bp-asm.h.
70474 (S): Likewise.
70475 (SIZE): Likewise.
70476 (__mpn_lshift): Do not use BP_SYM.
70477 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70478 "bp-asm.h".
70479 (PARMS): Do not use macros from bp-asm.h.
70480 (DEST): Likewise.
70481 (SRC): Likewise.
70482 (LEN): Likewise.
70483 (memcpy): Likewise. Do not use BP_SYM.
70484 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70485 libc_hidden_def and weak_alias.
70486 (mempcpy): Do not use BP_SYM in weak_alias.
70487 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70488 "bp-asm.h".
70489 (PARMS): Do not use macros from bp-asm.h.
70490 (DEST): Likewise.
70491 (LEN): Likewise.
70492 [!BZERO_P] (CHR): Likewise.
70493 (memset): Likewise. Do not use BP_SYM.
70494 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70495 "bp-asm.h".
70496 (PARMS): Do not use macros from bp-asm.h.
70497 (S1): Likewise.
70498 (SIZE): Likewise.
70499 (__mpn_mul_1): Do not use BP_SYM.
70500 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70501 "bp-asm.h".
70502 (PARMS): Do not use macros from bp-asm.h.
70503 (S): Likewise.
70504 (SIZE): Likewise.
70505 (__mpn_rshift): Do not use BP_SYM.
70506 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70507 "bp-asm.h".
70508 (PARMS): Do not use macros from bp-asm.h.
70509 (STR): Likewise.
70510 (CHR): Likewise.
70511 (strchr): Likewise. Do not use BP_SYM.
70512 (index): Do not use BP_SYM in weak_alias.
70513 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70514 "bp-asm.h".
70515 (PARMS): Do not use macros from bp-asm.h.
70516 (DEST): Likewise.
70517 (SRC): Likewise.
70518 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70519 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70520 "bp-asm.h".
70521 (PARMS): Do not use macros from bp-asm.h.
70522 (strlen): Do not use BP_SYM.
70523 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70524 "bp-asm.h".
70525 (PARMS): Do not use macros from bp-asm.h.
70526 (S1): Likewise.
70527 (S2): Likewise.
70528 (SIZE): Likewise.
70529 (__mpn_sub_n): Do not use BP_SYM.
70530 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70531 "bp-asm.h".
70532 (PARMS): Do not use macros from bp-asm.h.
70533 (S1): Likewise.
70534 (SIZE): Likewise.
70535 (__mpn_submul_1): Do not use BP_SYM.
70536 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70537 "bp-asm.h".
70538 (PARMS): Do not use macros from bp-asm.h.
70539 (S1): Likewise.
70540 (S2): Likewise.
70541 (SIZE): Likewise.
70542 (__mpn_add_n): Do not use BP_SYM.
70543 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70544 weak_alias.
70545 (bzero): Likewise.
70546 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70547 "bp-asm.h".
70548 (PARMS): Do not use macros from bp-asm.h.
70549 (BLK2): Likewise.
70550 (LEN): Likewise.
70551 (memcmp): Do not use BP_SYM.
70552 (bcmp): Do not use BP_SYM in weak_alias.
70553 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70554 "bp-asm.h".
70555 (PARMS): Do not use macros from bp-asm.h.
70556 (DEST): Likewise.
70557 (SRC): Likewise.
70558 (LEN): Likewise.
70559 (memcpy): Likewise. Do not use BP_SYM.
70560 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70561 "bp-asm.h".
70562 (PARMS): Do not use macros from bp-asm.h.
70563 (DEST): Likewise.
70564 (SRC): Likewise.
70565 (LEN): Likewise.
70566 (memmove): Likewise. Do not use BP_SYM.
70567 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70568 "bp-asm.h".
70569 (PARMS): Do not use macros from bp-asm.h.
70570 (DEST): Likewise.
70571 (SRC): Likewise.
70572 (LEN): Likewise.
70573 (__mempcpy): Likewise. Do not use BP_SYM.
70574 (mempcpy): Do not use BP_SYM in weak_alias.
70575 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70576 "bp-asm.h".
70577 (PARMS): Do not use macros from bp-asm.h.
70578 (DEST): Likewise.
70579 (LEN): Likewise.
70580 [!BZERO_P] (CHR): Likewise.
70581 (memset): Likewise. Do not use BP_SYM.
70582 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70583 "bp-asm.h".
70584 (PARMS): Do not use macros from bp-asm.h.
70585 (STR2): Likewise.
70586 (strcmp): Do not use BP_SYM.
70587 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70588 "bp-asm.h".
70589 (PARMS): Do not use macros from bp-asm.h.
70590 (STR): Likewise.
70591 (DELIM): Likewise.
70592 [USE_AS_STRTOK_R] (SAVE): Likewise.
70593 (FUNCTION): Likewise. Do not use BP_SYM.
70594 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70595 aliases.
70596 (strtok_r): Likewise.
70597 (__GI___strtok_r): Likewise.
70598 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70599 (PARMS): Do not use macros from bp-asm.h.
70600 (S): Likewise.
70601 (SIZE): Likewise.
70602 (__mpn_lshift): Do not use BP_SYM.
70603 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70604 (PARMS): Do not use macros from bp-asm.h.
70605 (STR): Likewise.
70606 (CHR): Likewise.
70607 (__memchr): Do not use BP_SYM.
70608 (memchr): Do not use BP_SYM in weak_alias.
70609 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70610 (PARMS): Do not use macros from bp-asm.h.
70611 (BLK2): Likewise.
70612 (LEN): Likewise.
70613 (memcmp): Do not use BP_SYM.
70614 (bcmp): Do not use BP_SYM in weak_alias.
70615 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70616 (PARMS): Do not use macros from bp-asm.h.
70617 (S1): Likewise.
70618 (SIZE): Likewise.
70619 (__mpn_mul_1): Do not use BP_SYM.
70620 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70621 "bp-asm.h".
70622 (PARMS): Do not use macros from bp-asm.h.
70623 (STR): Likewise.
70624 (CHR): Likewise.
70625 (__rawmemchr): Do not use BP_SYM.
70626 (rawmemchr): Do not use BP_SYM in weak_alias.
70627 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70628 (PARMS): Do not use macros from bp-asm.h.
70629 (S): Likewise.
70630 (SIZE): Likewise.
70631 (__mpn_rshift): Do not use BP_SYM.
70632 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70633 (PARMS): Do not use macros from bp-asm.h.
70634 (SIGMSK): Likewise.
70635 (__sigsetjmp): Likewise. Do not use BP_SYM.
70636 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70637 (_start): Do not use BP_SYM.
70638 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70639 (PARMS): Do not use macros from bp-asm.h.
70640 (DEST): Likewise.
70641 (SRC): Likewise.
70642 (__stpcpy): Likewise. Do not use BP_SYM.
70643 (stpcpy): Do not use BP_SYM in weak_alias.
70644 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70645 "bp-asm.h".
70646 (PARMS): Do not use macros from bp-asm.h.
70647 (DEST): Likewise.
70648 (SRC): Likewise.
70649 (LEN): Likewise.
70650 (__stpncpy): Likewise. Do not use BP_SYM.
70651 (stpncpy): Do not use BP_SYM in weak_alias.
70652 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70653 (PARMS): Do not use macros from bp-asm.h.
70654 (STR): Likewise.
70655 (CHR): Likewise.
70656 (strchr): Likewise. Do not use BP_SYM.
70657 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70658 "bp-asm.h".
70659 (PARMS): Do not use macros from bp-asm.h.
70660 (STR): Likewise.
70661 (CHR): Likewise.
70662 (__strchrnul): Likewise. Do not use BP_SYM.
70663 (strchrnul): Do not use BP_SYM in weak_alias.
70664 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70665 "bp-asm.h".
70666 (PARMS): Do not use macros from bp-asm.h.
70667 (STOP): Likewise.
70668 (strcspn): Do not use BP_SYM.
70669 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70670 "bp-asm.h".
70671 (PARMS): Do not use macros from bp-asm.h.
70672 (STR): Likewise.
70673 (STOP): Likewise.
70674 (strpbrk): Likewise. Do not use BP_SYM.
70675 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70676 "bp-asm.h".
70677 (PARMS): Do not use macros from bp-asm.h.
70678 (STR): Likewise.
70679 (CHR): Likewise.
70680 (strrchr): Likewise. Do not use BP_SYM.
70681 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70682 (PARMS): Do not use macros from bp-asm.h.
70683 (SKIP): Likewise.
70684 (strspn): Do not use BP_SYM.
70685 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70686 (PARMS): Do not use macros from bp-asm.h.
70687 (STR): Likewise.
70688 (DELIM): Likewise.
70689 (SAVE): Likewise.
70690 (FUNCTION): Likewise. Do not use BP_SYM.
70691 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70692 aliases.
70693 (strtok_r): Likewise.
70694 (__GI___strtok_r): Likewise.
70695 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70696 (PARMS): Do not use macros from bp-asm.h.
70697 (S1): Likewise.
70698 (S2): Likewise.
70699 (SIZE): Likewise.
70700 (__mpn_sub_n): Do not use BP_SYM.
70701 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70702 "bp-asm.h".
70703 (PARMS): Do not use macros from bp-asm.h.
70704 (S1): Likewise.
70705 (SIZE): Likewise.
70706 (__mpn_submul_1): Do not use BP_SYM.
70707 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70708 <bp-sym.h>.
70709 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70710 and <bp-asm.h>.
70711 (PARMS): Do not use macros from bp-asm.h.
70712 (FLAGS): Likewise.
70713 (PTID): Likewise.
70714 (TLS): Likewise.
70715 (CTID): Likewise.
70716 (__clone): Do not use BP_SYM.
70717 (clone): Do not use BP_SYM in weak_alias.
70718 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70719 and <bp-asm.h>.
70720 (PARMS): Do not use macros from bp-asm.h.
70721 (LEN): Likewise.
70722 (__mmap64): Do not use BP_SYM.
70723 (mmap64): Do not use BP_SYM in weak_alias.
70724 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70725 <bp-sym.h> and <bp-asm.h>.
70726 (PARMS): Do not use macros from bp-asm.h.
70727 (__posix_fadvise64_l64): Do not use BP_SYM.
70728 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70729 (PARMS): Do not use macros from bp-asm.h.
70730 (NSOPS): Likewise.
70731 (semtimedop): Do not use BP_SYM.
70732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70733 and <bp-asm.h>.
70734
70735 2013-02-21 Allan McRae <allan@archlinux.org>
70736
70737 * manual/message.texi (Charset conversion in gettext):
70738 Move @end statement to beginning of line.
70739
70740 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70741
70742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70743 static.
70744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70745 Likewise.
70746
70747 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70748 (denorm): Likewise.
70749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70751
70752 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70753
70754 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70755 tail-call to the resolved function if pltexit isn't needed.
70756
70757 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70758
70759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70760 or Y being zero as being unlikely.
70761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70762 Likewise.
70763
70764 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70765
70766 * manual/nss.texi (System Databases and Name Service Switch):
70767 Remove frobnicate @pxref.
70768
70769 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70770
70771 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70772 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70773
70774 2013-02-20 Petr Machata <pmachata@redhat.com>
70775
70776 * elf/elf.h (R_ARM_TARGET1): New macro.
70777 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70778 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70779 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70780 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70781 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70782 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70783 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70784 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70785 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70786 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70787 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70788 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70789 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70790 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70791 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70792 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70793 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70794 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70795 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70796 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70797 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70798 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70799 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70800 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70801 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70802 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70803 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70804 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70805 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70806 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70807 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70808 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70809 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70810 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70811 (R_ARM_THM_GOT_BREL12): Likewise.
70812 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70813 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70814 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70815 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70816 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70817 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70818 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70819 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70820 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70821
70822 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70823
70824 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70825 __attribute_used__ to __attribute__ ((unused)).
70826
70827 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70828
70829 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70830 powerpc mpa.c.
70831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70832 comment formatting.
70833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70834
70835 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70836
70837 [BZ #13550]
70838 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70839 Remove macro.
70840 (ENTER): Remove both macro definitions.
70841 (LEAVE): Likewise.
70842 (CHECK_BOUNDS_LOW): Likewise.
70843 (CHECK_BOUNDS_HIGH): Likewise.
70844 (CHECK_BOUNDS_BOTH): Likewise.
70845 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70846 (RETURN_BOUNDED_POINTER): Likewise.
70847 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70848 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70849 (POP_ERRNO_LOCATION_RETURN): Likewise.
70850 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70851 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70852 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70853 macros.
70854 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70855 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70856 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70857 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70858 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70859 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70860 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70861 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70862 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70863 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70864 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70865 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70866 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70867 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70868 removed macros.
70869 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70870 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70871 macros.
70872 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70873 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70874 * sysdeps/i386/i586/memset.S (memset): Likewise.
70875 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70876 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70877 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70878 macros.
70879 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70880 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70881 Change uses of L(2) to L(out).
70882 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70883 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70884 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70885 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70886 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70887 removed macros.
70888 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70889 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70890 macros.
70891 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70892 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70893 (RETURN): Do not use macro LEAVE.
70894 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70895 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70896 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70897 * sysdeps/i386/i686/memset.S (memset): Likewise.
70898 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70899 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70900 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70901 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70902 Likewise.
70903 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70904 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70905 L(1_2) and L(1_3) into L(1).
70906 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70907 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70908 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70909 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70910 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70911 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70912 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70913 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70914 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70915 macros.
70916 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70917 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70918 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70919 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70920 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70921 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70922 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70923 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70924 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70925 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70926 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70927 * sysdeps/i386/strspn.S (strspn): Likewise.
70928 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70929 conditional code.
70930 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70931 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70932 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70933 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70934 L(1_3) into L(1_1).
70935 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70936 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70937 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70938 macros.
70939 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70940
70941 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70942
70943 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70944 macro.
70945
70946 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70947
70948 * math/atest-exp.c (exp_mpn): Remove ROUND.
70949 * math/atest-exp2.c (exp_mpn): Likewise.
70950 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70951
70952 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70953 * stdlib/tst-tls-atexit-lib.c: Likewise.
70954 * stdlib/tst-tls-atexit.c: Likewise.
70955
70956 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70957
70958 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70959 and __attribute_alloc_size__.
70960
70961 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70962
70963 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70964 __attribute_alloc_size__.
70965 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70966 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70967
70968 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70969
70970 * include/programs/xmalloc.h: New file.
70971 * catgets/gencat.c: Include it.
70972 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70973 * elf/pldd.c: Likewise.
70974 * iconv/iconv_charmap.c: Likewise.
70975 * iconv/iconvconfig.c: Likewise.
70976 * iconv/strtab.c: Likewise.
70977 * locale/programs/locale.c: Likewise.
70978 * locale/programs/localedef.h: Likewise.
70979 * locale/programs/simple-hash.c: Likewise.
70980 * nscd/nscd.h: Likewise.
70981 * nss/makedb.c: Likewise.
70982 * sysdeps/generic/ldconfig.h: Likewise.
70983
70984 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70985
70986 * Versions.def: Add GLIBC_2.18.
70987 * include/link.h (struct link_map): New member l_tls_dtor_count.
70988 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70989 (__call_tls_dtors): Likewise.
70990 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70991 __cxa_thread_atexit_impl.
70992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70993 Likewise.
70994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70995 Likewise.
70996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70997 Likewise.
70998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70999 Likewise.
71000 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71002 Likewise.
71003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71004 Likewise.
71005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71007 Likewise.
71008 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71009 (tests): Add test case tst-tls-atexit.
71010 (modules-names): Add shared library for tst-tls-atexit.
71011 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71012 (GLIBC_PRIVATE): Add __call_tls_dtors.
71013 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71014 for libstdc++.
71015 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71016 * stdlib/tst-tls-atexit.c: New test case.
71017 * stdlib/tst-tls-atexit-lib.c: New test case.
71018
71019 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71020
71021 * elf/Versions (ld): Add _dl_find_dso_for_object.
71022 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71023 * elf/dl-open.c (_dl_find_dso_for_object): New function.
71024 (dl_open_worker): Use _dl_find_dso_for_object.
71025 * elf/dl-sym.c (do_sym): Likewise.
71026 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71027
71028 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71029
71030 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71031 Syntactic changes only.
71032 (_dl_runtime_profile): Do a tail-call to the resolved function.
71033
71034 2013-02-17 Joseph Myers <joseph@codesourcery.com>
71035
71036 [BZ #13550]
71037 * sysdeps/x86_64/bp-asm.h: Remove file.
71038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71039 <bp-sym.h> and <bp-asm.h>.
71040 (__clone): Do not use BP_SYM.
71041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71042 <bp-sym.h> and <bp-asm.h>.
71043 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71044 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71045 "bp-asm.h".
71046 (_setjmp): Do not use BP_SYM.
71047 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71048 "bp-asm.h".
71049 (setjmp): Do not use BP_SYM.
71050 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71051 libc_hidden_def.
71052 (mempcpy): Do not use BP_SYM in weak_alias.
71053 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71054 "bp-asm.h".
71055 (strchr): Do not use BP_SYM.
71056 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71057 "bp-asm.h".
71058 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71059 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71060 (_start): Do not use BP_SYM.
71061 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71062 "bp-asm.h".
71063 (strcat): Do not use BP_SYM.
71064 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71065 "bp-asm.h".
71066 (STRCMP): Do not use BP_SYM.
71067 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71068 "bp-asm.h".
71069 (STRCPY): Do not use BP_SYM.
71070 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71071 "bp-asm.h".
71072 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71073 "bp-asm.h".
71074 (FUNCTION): Do not use BP_SYM.
71075 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71076 weak_alias.
71077 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71078
71079 2013-02-17 Andreas Jaeger <aj@suse.de>
71080
71081 * time/Versions: Sort entries.
71082 * string/Versions: Likewise.
71083 * resolv/Versions: Likewise.
71084 * posix/Versions: Likewise.
71085 * iconv/Versions: Likewise.
71086 * elf/Versions: Likewise.
71087 * wcsmbs/Versions: Likewise.
71088
71089 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
71090
71091 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71092 loop termination condition.
71093
71094 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71095 variable to calculate EZ.
71096 (__sqr): Likewise.
71097
71098 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71099 the lower precision input.
71100
71101 2013-02-15 Joseph Myers <joseph@codesourcery.com>
71102
71103 [BZ #13550]
71104 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71105 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71106 (run-via-rtld-prefix): Do not handle %-bp tests.
71107 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71108 (all-object-suffixes): Remove .ob.
71109 (bppfx): Remove variable.
71110 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71111 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71112 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71113 [$(build-bounded) = yes] (libtype.ob): Likewise.
71114 * Makerules (elide-routines.ob): Remove variable.
71115 (do-tests-clean): Do not handle *-bp.out.
71116 (common-mostlyclean): Do not handle *-bp and *-bp.out.
71117 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71118 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71119 (tests): Do not include $(tests-bp.out).
71120 (xtests): Do not include $(xtests-bp.out).
71121 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71122 [$(build-bounded) = yes] ($(addprefix
71123 $(objpfx),$(binaries-bounded))): Remove rule.
71124 ($(objpfx)%-bp.out): Remove rule.
71125 * config.make.in (build-bounded): Remove variable.
71126 * crypt/Makefile [$(build-bounded) = yes]
71127 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71128 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71129 append to variable.
71130 [$(build-bounded) = yes] (install-lib): Likewise.
71131 [$(build-bounded) = yes] (generated): Likewise.
71132 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71133 Remove rule.
71134 * intl/Makefile [$(build-bounded) = yes]
71135 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71136 * math/Makefile [$(build-bounded) = yes]
71137 ($(tests:%=$(objpfx)%-bp): Likewise.
71138 * misc/Makefile [$(build-bounded) = yes]
71139 ($(objpfx)tst-tsearch-bp): Likewise.
71140 * nptl/Makeconfig (bounded-thread-library): Remove variable.
71141 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71142 Remove dependency.
71143 * string/Makefile (o-objects.ob): Remove variable.
71144 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71145 (CFLAGS-.ob): Remove variable.
71146 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71147 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71148 both definitions of variable.
71149 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71150 (ASFLAGS-.ob): Remove variable.
71151
71152 2013-02-14 Joseph Myers <joseph@codesourcery.com>
71153
71154 [BZ #13550]
71155 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71156 Remove __BOUNDED_POINTERS__ from condition.
71157 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71158 * string/bits/string2.h [!__NO_STRING_INLINES &&
71159 !__BOUNDED_POINTERS__]: Likewise.
71160 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71161 Likewise.
71162 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71163 Remove conditional code.
71164 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71165 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71166 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71167 condition.
71168
71169 [BZ #13550]
71170 * csu/libc-start.c: Do not include <bp-sym.h>.
71171 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71172 * elf/dl-open.c: Do not include <bp-sym.h>.
71173 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71174 * math/fegetenv.c: Do not include <bp-sym.h>.
71175 (fegetenv): Do not use BP_SYM in versioned symbols.
71176 * nptl/sysdeps/pthread/bits/libc-lockP.h
71177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71178 <bp-sym.h>.
71179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71180 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71182 (__pthread_mutex_destroy): Likewise.
71183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71184 (__pthread_mutex_lock): Likewise.
71185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71186 (__pthread_mutex_trylock): Likewise.
71187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71188 (__pthread_mutex_unlock): Likewise.
71189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71190 (__pthread_mutexattr_init): Likewise.
71191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71192 (__pthread_mutexattr_destroy): Likewise.
71193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71194 (__pthread_mutexattr_settype): Likewise.
71195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71196 (__pthread_rwlock_init): Likewise.
71197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71198 (__pthread_rwlock_destroy): Likewise.
71199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71200 (__pthread_rwlock_rdlock): Likewise.
71201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71202 (__pthread_rwlock_tryrdlock): Likewise.
71203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71204 (__pthread_rwlock_wrlock): Likewise.
71205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71206 (__pthread_rwlock_trywrlock): Likewise.
71207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71208 (__pthread_rwlock_unlock): Likewise.
71209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71210 (__pthread_key_create): Likewise.
71211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71212 (__pthread_setspecific): Likewise.
71213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71214 (__pthread_getspecific): Likewise.
71215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71216 Likewise.
71217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71218 (_pthread_cleanup_push_defer): Likewise.
71219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71220 (_pthread_cleanup_pop_restore): Likewise.
71221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71222 (pthread_setcancelstate): Likewise.
71223 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71224 <bp-sym.h>.
71225 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71226 (memchr): Do not use BP_SYM in weak_alias.
71227 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71228 (fegetenv): Do not use BP_SYM in versioned symbols.
71229 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71230 (fesetenv): Do not use BP_SYM in versioned symbols.
71231 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71232 (feupdateenv): Do not use BP_SYM in versioned symbols.
71233 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71234 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71235 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71236 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71237 (open64): Do not use BP_SYM in weak_alias.
71238 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71239 (fegetenv): Do not use BP_SYM in versioned symbols.
71240 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71241 (fesetenv): Do not use BP_SYM in versioned symbols.
71242 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71243 (feupdateenv): Do not use BP_SYM in versioned symbols.
71244 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71245 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71246 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71247 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71248 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71249 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71250 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71251 <bp-sym.h>.
71252 (__libc_start_main): Do not use BP_SYM.
71253
71254 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71255
71256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71257 redundant return line.
71258 (norm): Likewise.
71259 (denorm): Likewise.
71260 (dbl_mp): Likewise.
71261 (sub_magnitudes): Likewise.
71262 (__add): Likewise.
71263 (__sub): Likewise.
71264 (__mul): Likewise.
71265 (__inv): Likewise.
71266 (__dvd): Likewise.
71267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71268 (norm): Likewise.
71269 (denorm): Likewise.
71270 (dbl_mp): Likewise.
71271 (sub_magnitudes): Likewise.
71272 (__add): Likewise.
71273 (__sub): Likewise.
71274 (__mul): Likewise.
71275 (__inv): Likewise.
71276 (__dvd): Likewise.
71277
71278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71279 instead of __mul.
71280 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71281 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71282 (cc32): Likewise.
71283
71284 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71285 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71287 of __mul for squares.
71288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71289 function
71290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71291 Likewise.
71292 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71294
71295 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71296
71297 [BZ #13550]
71298 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71299 code.
71300 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71301 prototype or function definition. Rename ubp_* variables and
71302 parameters. Remove argv definitions conditional on
71303 [__BOUNDED_POINTERS__].
71304 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71305 * elf/dl-runtime.c (_dl_fixup): Likewise.
71306 * include/set-hooks.h (RUN_HOOK): Likewise.
71307 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71308 definition.
71309 * string/strcpy.c (strcpy): Do not use __unbounded.
71310 * sysdeps/generic/frame.h (struct layout): Likewise.
71311 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71312 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71313 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71314 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71315 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71316 (__backtrace): Likewise.
71317 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71318 use __ptrvalue.
71319 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71320 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71321 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71322 Likewise.
71323 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71324 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71325 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71326 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71327 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71328 Do not use __unbounded.
71329 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71330 Rename __unboundedrlimits parameter to rlimits in prototype.
71331 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71332 Do not use __unbounded.
71333 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71334 not use __ptrvalue.
71335 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71336 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71337 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71338 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71339 __ptrvalue or __unbounded.
71340 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71341 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71342 use __unbounded.
71343 (__new_msgctl): Do not use __ptrvalue.
71344 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71345 __unbounded.
71346 (__libc_msgrcv): Do not use __ptrvalue.
71347 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71348 startup_info): Do not use __unbounded.
71349 (__libc_start_main): Likewise. Rename ubp_* variables and
71350 parameters. Remove argv definitions conditional on
71351 [__BOUNDED_POINTERS__].
71352 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71353 __ptrvalue.
71354 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71355 use __unbounded.
71356 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71357 or __ptrvalue.
71358 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71359 use __unbounded.
71360 (__new_shmctl): Do not use __ptrvalue.
71361 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71362 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71363 Likewise.
71364 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71366 (__libc_sigaction): Likewise.
71367 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71368 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71369 Likewise.
71370 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71371
71372 2013-02-13 Ondƙej Bílka <neleai@seznam.cz>
71373
71374 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71375
71376 * string/mempcpy.c: Implement by calling memcpy.
71377
71378 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71379
71380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71381
71382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71383 evaluation.
71384
71385 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71386 values in the mantissa.
71387
71388 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71389 minimize writes to Z.
71390 (sub_magnitudes): Simplify code a bit.
71391
71392 2013-02-12 Roland McGrath <roland@hack.frob.com>
71393
71394 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71395 from the message. The linker prefixes all warnings with that already.
71396
71397 2013-02-12 Andreas Schwab <schwab@suse.de>
71398
71399 [BZ #15078]
71400 * posix/regexec.c (extend_buffers): Add parameter min_len.
71401 (check_matching): Pass minimum needed length.
71402 (clean_state_log_if_needed): Likewise.
71403 (get_subexp): Likewise.
71404 * posix/Makefile (tests): Add bug-regex34.
71405 (bug-regex34-ENV): Define.
71406 * posix/bug-regex34.c: New file.
71407
71408 [BZ #11561]
71409 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71410 elements compare against the byte sequence of it, not its name.
71411 * posix/Makefile (tests): Add bug-regex35.
71412 (bug-regex35-ENV): Define.
71413 * posix/bug-regex35.c: New file.
71414
71415 2013-02-11 Tom de Vries <tom@codesourcery.com>
71416
71417 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71418 comment.
71419 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71420 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71421 (CHECK_EOL): Add undef.
71422
71423 2013-02-11 Ondƙej Bílka <neleai@seznam.cz>
71424
71425 * bits/stdlib-bsearch.h: New file.
71426 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71427 * stdlib/stdlib.h: Likewise.
71428
71429 2013-02-11 Roland McGrath <roland@hack.frob.com>
71430
71431 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71432 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71433 declaration.
71434 * manual/search.texi (Array Search Function): Add missing const in
71435 lfind prototype.
71436 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71437 declaration to use rlim_t.
71438 (Basic Scheduling Functions): Remove erroneous const from
71439 sched_getparam prototype. Remove erroneous * from
71440 sched_get_priority_max and sched_get_priority_min prototypes.
71441 (Resource Usage): Fix summary @comment on vtimes to refer to
71442 sys/vtimes.h rather than vtimes.h.
71443 Add missing *s in vtimes prototype.
71444 (Limits on Resources): Fix ulimit prototype to return long int.
71445 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71446 prototypes to use long int rather than double.
71447 (BSD Random): Fix initstate and setstate to use char *, not void *.
71448 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71449 prototype to make second argument 'struct aiocb64 *const[]'.
71450 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71451 (Status of AIO Operations): Remove erroneous const in aio_return and
71452 aio_return64 prototypes.
71453 (Synchronizing I/O): Fix sync prototype to return void.
71454 * manual/startup.texi (Suboptions): Remove an erroneous const in
71455 getsubopt prototype.
71456 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71457 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71458 use size_t rather than int.
71459 (Scanning All Users): Likewise for getpwent_r.
71460 (Setting Groups): Add missing const to setgroups prototype.
71461 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71462 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71463 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71464 'const void *' rather than 'const char *'.
71465 (Host Address Functions): Likewise for inet_ntop.
71466 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71467 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71468 ssize_t for return value.
71469 (Sending Data): Likewise for send, sendto, sendmsg.
71470 (Socket Option Functions): Add a missing const in setsockopt prototype.
71471 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71472 use wchar_t for the argument.
71473 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71474 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71475 take no arguments.
71476 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71477 double/float/long double for second argument.
71478 Fix return types of significand, significandf, significandl.
71479 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71480 argument in fchmod prototype.
71481 (File Owner): Use uid_t and gid_t in fchown prototype.
71482 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71483 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71484 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71485 use 'const struct dirent **' as argument types to CMP function pointer
71486 argument.
71487 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71488 (File Times): Fix summary magic @comment for struct utimbuf and utime
71489 to refer to utime.h, not time.h.
71490 * manual/string.texi (Argz Functions): Add missing const in
71491 argz_extract and argz_next prototypes.
71492 (Finding Tokens in a String): Likewise for basename.
71493 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71494 (Copying and Concatenation): Fix typo in wmemmove prototype.
71495 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71496 (Signal Stack): Remove erroneous const in sigstack prototype.
71497 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71498 prototype.
71499 (Simple Calendar Time): Likewise for stime.
71500 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71501 prototype.
71502 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71503 say sys/sysctl.h instead.
71504 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71505 and vsyslog prototypes.
71506
71507 2013-02-11 Tom de Vries <tom@codesourcery.com>
71508
71509 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71510 Remove.
71511
71512 2013-02-11 Roland McGrath <roland@hack.frob.com>
71513
71514 * misc/sys/mman.h: Fix typo in mremap comment.
71515
71516 2013-02-08 Roland McGrath <roland@hack.frob.com>
71517
71518 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71519 the '\0' terminator.
71520
71521 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71522
71523 [BZ #13550]
71524 * debug/segfault.c: Don't include <bp-checks.h>.
71525 * sysdeps/generic/bp-checks.h: Remove file.
71526 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71527 (__GETDENTS): Don't use CHECK_N.
71528 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71529 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71530 (__getgroups): Don't use CHECK_N.
71531 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71532 (setgroups): Don't use CHECK_N.
71533 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71534 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71535 (__libc_msgrcv): Don't use CHECK_N.
71536 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71537 (__libc_msgsnd): Don't use CHECK_N.
71538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71539 <bp-checks.h>.
71540 (__libc_pread): Don't use CHECK_N.
71541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71542 include <bp-checks.h>.
71543 (__libc_pread64): Don't use CHECK_N.
71544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71545 include <bp-checks.h>.
71546 (__libc_pwrite): Don't use CHECK_N.
71547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71548 include <bp-checks.h>.
71549 (__libc_pwrite64): Don't use CHECK_N.
71550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71551 <bp-checks.h>.
71552 (__libc_pread): Don't use CHECK_N.
71553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71554 include <bp-checks.h>.
71555 (__libc_pread64): Don't use CHECK_N.
71556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71557 include <bp-checks.h>.
71558 (__libc_pwrite): Don't use CHECK_N.
71559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71560 include <bp-checks.h>.
71561 (__libc_pwrite64): Don't use CHECK_N.
71562 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71563 (do_pread): Don't use CHECK_N.
71564 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71565 (do_pread64): Don't use CHECK_N.
71566 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71567 (do_pwrite): Don't use CHECK_N.
71568 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71569 (do_pwrite64): Don't use CHECK_N.
71570 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71571 (__libc_readv): Don't use CHECK_N.
71572 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71573 (semop): Don't use CHECK_N.
71574 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71575 <bp-checks.h>.
71576 (semtimedop): Don't use CHECK_N.
71577 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71578 (__libc_pread): Don't use CHECK_N.
71579 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71580 <bp-checks.h>.
71581 (__libc_pread64): Don't use CHECK_N.
71582 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71583 <bp-checks.h>.
71584 (__libc_pwrite): Don't use CHECK_N.
71585 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71586 <bp-checks.h>.
71587 (__libc_pwrite64): Don't use CHECK_N.
71588 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71589 <bp-checks.h>.
71590 (__libc_msgrcv): Don't use CHECK_N.
71591 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71592 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71593 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71594 (__libc_writev): Don't use CHECK_N.
71595
71596 2013-02-08 Roland McGrath <roland@hack.frob.com>
71597
71598 * string/strcpy.c: Removed unused variable.
71599
71600 * Makeconfig (+sysdep-includes): Define with := rather than =.
71601 Use an existing include/ subdir of each sysdeps dir before it.
71602
71603 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71604
71605 * nscd/connection.c (register_traced_file): Comment function.
71606 [HAVE_INOTIFY] (union __inev): Define.
71607 [HAVE_INOTIFY] (inotify_check_files): New function.
71608 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71609 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71610 clear_db_cache.
71611 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71612
71613 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71614
71615 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71616 loaded if not already and that a failure is permanent.
71617
71618 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71619
71620 [BZ #15006]
71621 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71622 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71623
71624 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71625
71626 [BZ #13550]
71627 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71628 (CHECK_1_NULL_OK): Likewise.
71629 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71630 (__fxstat): Do not use CHECK_1.
71631 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71632 <bp-checks.h>.
71633 (___fxstat64): Do not use CHECK_1.
71634 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71635 <bp-checks.h>.
71636 (__fxstatat): Do not use CHECK_1.
71637 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71638 <bp-checks.h>.
71639 (__fxstatat64): Do not use CHECK_1.
71640 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71641 <bp-checks.h>.
71642 (__fxstat): Do not use CHECK_1.
71643 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71644 <bp-checks.h>.
71645 (__fxstatat): Do not use CHECK_1.
71646 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71647 <bp-checks.h>.
71648 (__getresgid): Do not use CHECK_1.
71649 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71650 <bp-checks.h>.
71651 (__getresuid): Do not use CHECK_1.
71652 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71653 <bp-checks.h>.
71654 (__lxstat): Do not use CHECK_1.
71655 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71656 <bp-checks.h>.
71657 (__old_msgctl): Do not use CHECK_1.
71658 (__new_msgctl): Likewise.
71659 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71660 <bp-checks.h>.
71661 (__new_setrlimit): Do not use CHECK_1.
71662 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71663 <bp-checks.h>.
71664 (__old_shmctl): Do not use CHECK_1.
71665 (__new_shmctl): Likewise.
71666 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71667 <bp-checks.h>.
71668 (__xstat): Do not use CHECK_1.
71669 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71670 (__lxstat): Do not use CHECK_1.
71671 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71672 <bp-checks.h>.
71673 (___lxstat64): Do not use CHECK_1.
71674 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71675 (__old_msgctl): Do not use CHECK_1.
71676 (__new_msgctl): Likewise.
71677 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71678 <bp-checks.h>.
71679 (__gettimeofday): Do not use CHECK_1.
71680 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71681 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71682 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71683 <bp-checks.h>.
71684 (__gettimeofday): Do not use CHECK_1.
71685 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71686 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71687 (__new_shmctl): Do not use CHECK_1.
71688 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71689 <bp-checks.h>.
71690 (do_sigtimedwait): Do not use CHECK_1.
71691 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71692 <bp-checks.h>.
71693 (do_sigwaitinfo): Do not use CHECK_1.
71694 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71695 <bp-checks.h>.
71696 (msgctl): Do not use CHECK_1.
71697 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71698 <bp-checks.h>.
71699 (shmctl): Do not use CHECK_1.
71700 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71701 (ustat): Do not use CHECK_1.
71702 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71703 <bp-checks.h>.
71704 (__fxstat): Do not use CHECK_1.
71705 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71706 <bp-checks.h>.
71707 (__fxstatat): Do not use CHECK_1.
71708 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71709 <bp-checks.h>.
71710 (__lxstat): Do not use CHECK_1.
71711 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71712 <bp-checks.h>.
71713 (__xstat): Do not use CHECK_1.
71714 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71715 (__xstat): Do not use CHECK_1.
71716 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71717 (___xstat64): Do not use CHECK_1.
71718
71719 [BZ #13550]
71720 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71721 definitions.
71722 (CHECK_BOUNDS_HIGH): Likewise.
71723 * string/strcpy.c: Do not include <bp-checks.h>.
71724 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71725
71726 2013-02-07 Roland McGrath <roland@hack.frob.com>
71727
71728 * nscd/nscd-client.h (__nscd_drop_map_ref):
71729 Add __attribute__ ((unused)).
71730 * nis/nss-nisplus.h (niserr2nss): Likewise.
71731
71732 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71733 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71734
71735 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71736 Remove inline keyword.
71737 * include/rounding-mode.h (round_away): Likewise.
71738 * libio/wfileops.c (adjust_wide_data): Likewise.
71739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71740 (__m128i_strloadu_tolower): Likewise.
71741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71742 (__m128i_strloadu_tolower): Likewise.
71743 * time/mktime.c (ydhms_diff): Likewise.
71744 * locale/elem-hash.h (elem_hash): Likewise.
71745 * locale/setlocale.c (setdata): Likewise.
71746 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71747 (re_string_wchar_at): Likewise.
71748 (bitset_not, bitset_merge, bitset_mask): Likewise.
71749 [!(__GNUC__ > 3)] (inline): Remove macro.
71750 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71751 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71752 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71753 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71754 * string/memcmp.c (memcmp_bytes): Likewise.
71755 * locale/programs/locarchive.c (compute_hashval): Likewise.
71756 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71757 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71758 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71759 * nss/getent.c (print_rpc, print_protocols): Likewise.
71760 (print_passwd, print_group, print_aliases): Likewise.
71761 * nis/nss-nisplus.h (niserr2nss): Likewise.
71762 * nscd/connections.c (restart_p): Likewise.
71763 Change return type to bool.
71764
71765 2013-02-05 Roland McGrath <roland@hack.frob.com>
71766
71767 * Makeconfig (all-Depend-files): Add existing
71768 $(sorted-subdirs:=/Depend) files.
71769 (all-subdirs): Remove nss.
71770 * sysdeps/unix/inet/Subdirs: Add it here instead.
71771 * hesiod/Depend: New file.
71772
71773 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71774 instead of calling alloca.
71775
71776 * io/lseek.c (__lseek): Rename to __libc_lseek.
71777 Define __lseek as an alias.
71778
71779 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71780
71781 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71782
71783 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71784 else clause and remove check for non-standard endianness.
71785
71786 2013-02-04 David S. Miller <davem@davemloft.net>
71787
71788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71789
71790 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71791
71792 [BZ #13550]
71793 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71794 (__ubp_memchr): Remove prototype.
71795 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71796 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71797 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71798 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71799 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71800 Remove alias.
71801 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71802 (__ubp_memchr): Likewise.
71803 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71804 (__ubp_memchr): Likewise.
71805 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71806 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71807 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71808 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71809 CHECK_STRING.
71810 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71811 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71812 (__getcwd): Do not use CHECK_STRING.
71813 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71814 <bp-checks.h>.
71815 (__real_chown): Do not use CHECK_STRING.
71816 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71817 <bp-checks.h>.
71818 (fchownat): Do not use CHECK_STRING.
71819 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71820 CHECK_STRING.
71821 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71822 <bp-checks.h>.
71823 (__lchown): Do not use CHECK_STRING.
71824 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71825 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71826 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71827 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71829 include <bp-checks.h>.
71830 (truncate64): Do not use CHECK_STRING.
71831 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71832 <bp-checks.h>.
71833 (__real_chown): Do not use CHECK_STRING.
71834 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71835 <bp-checks.h>.
71836 (__lchown): Do not use CHECK_STRING.
71837 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71838 <bp-checks.h>.
71839 (__chown): Do not use CHECK_STRING.
71840 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71841 <bp-checks.h>.
71842 (truncate64): Do not use CHECK_STRING.
71843 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71844 Likewise.
71845 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71846 (__xmknod): Do not use CHECK_STRING.
71847 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71848 <bp-checks.h>.
71849 (__xmknodat): Do not use CHECK_STRING.
71850 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71851 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71852
71853 2013-02-04 Andreas Schwab <schwab@suse.de>
71854
71855 [BZ #14142]
71856 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71857 * include/netdb.h: Likewise for h_errno.
71858 * elf/tst-stackguard1.c: Include <tls.h>.
71859
71860 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71861
71862 * elf/link.h (struct link_map): Extend the l_addr comment.
71863 * include/link.h (struct link_map): Likewise.
71864
71865 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71866
71867 [BZ #13550]
71868 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71869 (BOUNDED_1): Remove macro.
71870 * debug/backtrace.c: Don't include <bp-checks.h>.
71871 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71872 (__backtrace): Likewise.
71873 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71874 <bp-checks.h>.
71875 (__backtrace): Don't use BOUNDED_1.
71876 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71877 <bp-checks.h>.
71878 (__backtrace): Don't use BOUNDED_1.
71879 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71880 (__backtrace): Don't use BOUNDED_1.
71881 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71882 (shmat): Don't use BOUNDED_N.
71883
71884 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71885
71886 [BZ #13550]
71887 * sysdeps/generic/bp-start.h: Remove file.
71888 * csu/libc-start.c: Don't include <bp-start.h>.
71889 (LIBC_START_MAIN): Set up __environ directly instead of using
71890 INIT_ARGV_and_ENVIRON.
71891 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71892 <bp-start.h>.
71893
71894 [BZ #13550]
71895 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71896 definitions.
71897 (CHECK_FCNTL): Likewise.
71898 (CHECK_N_PAGES): Likewise.
71899
71900 [BZ #13550]
71901 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71902 definitions.
71903 (CHECK_SIGSET_NULL_OK): Likewise.
71904 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71905 <bp-checks.h>.
71906 (sigpending): Don't use CHECK_SIGSET.
71907 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71908 <bp-checks.h>.
71909 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71910 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71911 <bp-checks.h>.
71912 (do_sigsuspend): Don't use CHECK_SIGSET.
71913 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71914 use CHECK_SIGSET.
71915 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71916 (do_sigwait): Don't use CHECK_SIGSET.
71917 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71918 use CHECK_SIGSET.
71919 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71920 include <bp-checks.h>.
71921 (sigpending): Don't use CHECK_SIGSET.
71922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71923 include <bp-checks.h>.
71924 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71925 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71926 <bp-checks.h>.
71927 (sigpending): Don't use CHECK_SIGSET.
71928 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71929 <bp-checks.h>.
71930 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71931
71932 [BZ #13550]
71933 * sysdeps/generic/bp-semctl.h: Remove file.
71934 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71935 <bp-checks.h> and <bp-semctl.h>.
71936 (__old_semctl): Don't use CHECK_SEMCTL.
71937 (__new_semctl): Likewise.
71938 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71939 and <bp-semctl.h>.
71940 (__old_semctl): Don't use CHECK_SEMCTL.
71941 (__new_semctl): Likewise.
71942 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71943 <bp-checks.h> and <bp-semctl.h>.
71944 (__old_semctl): Don't use CHECK_SEMCTL.
71945 (__new_semctl): Likewise.
71946 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71947 <bp-checks.h> and <bp-semctl.h>.
71948 (semctl): Don't use CHECK_SEMCTL.
71949
71950 [BZ #13550]
71951 * Makerules (elide-bp-thunks): Remove variable.
71952 (elide-routines.oS): Don't use $(elide-bp-thunks).
71953 (elide-routines.os): Likewise.
71954 (elide-routines.o): Likewise.
71955 (elide-routines.op): Likewise.
71956 (elide-routines.og): Likewise.
71957 (objects): Don't use $(bp-thunks).
71958 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71959 include.
71960 (common-generated): Do not add s-proto-bp.d.
71961 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71962 (int): Likewise.
71963 (typ): Likewise.
71964 Do not generate makefile rules for bounded-pointer thunks.
71965 * sysdeps/generic/bp-thunks.h: Remove file.
71966 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71967 * sysdeps/unix/s-proto-bp.S: Likewise.
71968
71969 [BZ #15062]
71970 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71971 parts of result separately when argument is not close to line from
71972 -i to i and one part of argument is small.
71973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71975 * math/libm-test.inc (cacos_test): Add more tests.
71976 (casin_test): Likewise.
71977 (casinh_test): Likewise.
71978 * sysdeps/i386/fpu/libm-test-ulps: Update.
71979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71980
71981 2013-01-31 David S. Miller <davem@davemloft.net>
71982
71983 * po/de.po: Update from translation team.
71984
71985 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71986
71987 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71988
71989 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71990
71991 * configure.in (_AC_PROG_CC_C89): New definition.
71992 * configure: Regenerate.
71993
71994 * configure.in (AC_PROG_CPP): New definition.
71995 * configure: Regenerate.
71996
71997 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71998
71999 * debug/tst-backtrace.h: New file.
72000 * debug/tst-backtrace2.c: Include tst-backtrace.h.
72001 (ret): Remove variable.
72002 (x): Likewise.
72003 (FAIL): Remove macro.
72004 (NO_INLINE): Likewise.
72005 (fn1): Use match function instead of strstr.
72006 * debug/tst-backtrace3.c: Include tst-backtrace.h.
72007 (ret): Remove variable.
72008 (x): Likewise.
72009 (FAIL): Remove macro.
72010 (NO_INLINE): Likewise.
72011 (fn): Use match function instead of strstr.
72012 * debug/tst-backtrace4.c: Include tst-backtrace.h.
72013 (ret): Remove variable.
72014 (x): Likewise.
72015 (FAIL): Remove macro.
72016 (NO_INLINE): Likewise.
72017 (handle_signal): Use match function instead of strstr.
72018 * debug/tst-backtrace5.c: Include tst-backtrace.h.
72019 (ret): Remove variable.
72020 (x): Likewise.
72021 (FAIL): Remove macro.
72022 (NO_INLINE): Likewise.
72023 (handle_signal): Use match function instead of strstr.
72024
72025 2013-01-23 Roland McGrath <roland@hack.frob.com>
72026
72027 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72028
72029 2013-01-23 David S. Miller <davem@davemloft.net>
72030
72031 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72032 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72033 argument of CAS if possible.
72034 * sysdeps/sparc/sparc64/bits/atomic.h
72035 (__arch_compare_and_exchange_val_32_acq): Likewise.
72036 (__arch_compare_and_exchange_val_64_acq): Likewise.
72037
72038 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
72039
72040 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72041 * sysdeps/posix/ulimit.c: ... this.
72042 Include <limits.h>.
72043 * sysdeps/unix/bsd/ulimit.c: Remove file.
72044
72045 2013-01-23 Adam Conrad <adconrad@0c3.net>
72046
72047 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72048 (LDFLAGS-tst-array5): Likewise.
72049
72050 2013-01-23 Joseph Myers <joseph@codesourcery.com>
72051
72052 [BZ #15036]
72053 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72054 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72055 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72056 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72057
72058 2013-01-21 David S. Miller <davem@davemloft.net>
72059
72060 * sysdeps/sparc/backtrace.c: New file.
72061 * sysdeps/sparc/sparc32/backtrace.h: New file.
72062 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72063 * sysdeps/sparc/sparc64/backtrace.h: New file.
72064 * sysdeps/sparc/sparc64/backtrace.c: Delete.
72065 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72066 -funwind-tables.
72067
72068 2013-01-21 Andreas Schwab <schwab@suse.de>
72069
72070 [BZ #15020]
72071 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72072 closed its stdout.
72073
72074 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
72075
72076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72077 "mpa2.h".
72078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72079
72080 2013-01-18 Joseph Myers <joseph@codesourcery.com>
72081 Mark Mitchell <mark@codesourcery.com>
72082 Tom de Vries <tom@codesourcery.com>
72083 Paul Pluzhnikov <ppluzhnikov@google.com>
72084
72085 * debug/tst-backtrace2.c: New file.
72086 * debug/tst-backtrace3.c: Likewise.
72087 * debug/tst-backtrace4.c: Likewise.
72088 * debug/tst-backtrace5.c: Likewise.
72089 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72090 (CFLAGS-tst-backtrace3.c): Likewise.
72091 (CFLAGS-tst-backtrace4.c): Likewise.
72092 (CFLAGS-tst-backtrace5.c): Likewise.
72093 (LDFLAGS-tst-backtrace2): Likewise.
72094 (LDFLAGS-tst-backtrace3): Likewise.
72095 (LDFLAGS-tst-backtrace4): Likewise.
72096 (LDFLAGS-tst-backtrace5): Likewise.
72097 (tests): Add new tests tst-backtrace2, tst-backtrace3,
72098 tst-backtrace4 and tst-backtrace5.
72099
72100 2013-01-18 Anton Blanchard <anton@samba.org>
72101 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72102
72103 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72104 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72105 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72106 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72108 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72109 "+r" and remove output regs list as redundant. Add explicit inline
72110 asm to specify register of return val to work around compiler codegen
72111 bug. Remove (int) cast on return value. Add return type parameter to
72112 use in macro so that this macro does not truncate return value for
72113 64-bit values.
72114 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72115 pass to INTERNAL_VSYSCALL_NCS.
72116 (INLINE_VSYSCALL): Add 'long int' as return type to
72117 INTERNAL_VSYSCALL_NCS macro invocation.
72118 (INTERNAL_VSYSCALL): Add 'long int' as return type to
72119 INTERNAL_VSYSCALL_NCS macro invocation.
72120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72121
72122 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72123
72124 [BZ #14496]
72125 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72126 Fix application of SIMD FP exception mask.
72127
72128 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72129 mp_no from a power of two.
72130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72131 __mpexp_twomm1. Use __pow_mp.
72132
72133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72134 multiplication.
72135
72136 2013-01-17 David S. Miller <davem@davemloft.net>
72137
72138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72139
72140 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72141
72142 [BZ #15023]
72143 * include/complex.h: Condition contents on [!_COMPLEX_H].
72144 (__kernel_casinhf): New prototype.
72145 (__kernel_casinh): Likewise.
72146 (__kernel_casinhl): Likewise.
72147 * math/Makefile (libm_calls): Add k_casinh.
72148 * math/k_casinh.c: New file.
72149 * math/k_casinhf.c: Likewise.
72150 * math/k_casinhl.c: Likewise.
72151 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72152 finite nonzero arguments.
72153 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72154 finite nonzero arguments.
72155 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72156 finite nonzero arguments.
72157 * math/s_casinh.c: Do not include <float.h>.
72158 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72159 * math/s_casinhf.c: Do not include <float.h>.
72160 (__casinhf): Move code for finite nonzero arguments to
72161 k_casinhf.c.
72162 * math/s_casinhl.c: Do not include <float.h>.
72163 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72164 redefine.
72165 (__casinhl): Move code for finite nonzero arguments to
72166 k_casinhl.c.
72167 * math/libm-test.inc (cacos_test): Add more tests.
72168 * sysdeps/i386/fpu/libm-test-ulps: Update.
72169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72170
72171 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
72172
72173 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72174 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72175 [!HAVE_MREMAP]: Remove [defined linux] case.
72176 * malloc/arena.c: Do not include <malloc-sysdep.h>.
72177
72178 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
72179
72180 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72181
72182 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72183
72184 * elf/elf.h (R_386_SIZE32): New relocation.
72185 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72186 R_386_SIZE32.
72187 (elf_machine_rela): Likewise.
72188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72189 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72190
72191 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72192
72193 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72194 (FP_FAST_FMA): Do not define.
72195 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72196 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72197 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72198 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72199 !_SOFT_FLOAT]: Likewise.
72200 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72201 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72202 value.
72203 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72204 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72205 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72206 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72207 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72208 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72209 file.
72210
72211 2013-01-16 Andreas Schwab <schwab@suse.de>
72212
72213 [BZ #14327]
72214 * include/stdlib.h (__mktemp): Add declaration.
72215 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72216 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72217
72218 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72219
72220 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72221 definitions.
72222 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72223 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72224 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72225 definitions here.
72226 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72227 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72228 definitions.
72229 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72230 and ONE.
72231 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72232 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72233 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72234 definitions.
72235 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72236 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72237 definitions.
72238 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72239
72240 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72241
72242 2013-01-15 David S. Miller <davem@davemloft.net>
72243
72244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72245 trunc{,f} to libm-sysdep_routes.
72246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72248 file.
72249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72251 file.
72252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72253 file.
72254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72256 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72257 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72258 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72259 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72260 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72261 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72262
72263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72264 nearbyint{,f} to libm-sysdep_routes.
72265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72267 New file.
72268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72269 file.
72270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72271 New file.
72272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72273 file.
72274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72276 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72277 file.
72278 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72279 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72280 file.
72281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72282 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72283 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72284
72285 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72286 libc_feholdexcept and libc_fesetenv.
72287
72288 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72289
72290 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72291
72292 2013-01-14 David S. Miller <davem@davemloft.net>
72293
72294 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72295 (SPARC_ASM_VIS2_IFUNC): Likewise.
72296 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72298 use of 'siam' instruction.
72299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72300 Likewise.
72301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72302 Likewise.
72303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72304 Likewise.
72305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72310 file.
72311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72312 file.
72313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72314 file.
72315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72316 file.
72317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72322 new VIS2 routines.
72323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72326 Likewise.
72327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72332 routines to libm-sysdep_routines.
72333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72334
72335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72336 fdim/fdimf to libm-sysdep_routines.
72337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72338 file.
72339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72341 file.
72342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72345 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72346 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72347 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72348 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72349
72350 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72351
72352 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72353 to optimize copies.
72354
72355 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72358
72359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72360 local variable MPTWO.
72361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72362 Likewise.
72363
72364 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72365
72366 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72367 GLOB_NOESCAPE.
72368
72369 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72370
72371 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72372
72373 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72374
72375 * manual/pattern.texi (glob_t): Document gl_flags.
72376 (glob64_t): Likewise.
72377
72378 2013-01-11 David S. Miller <davem@davemloft.net>
72379
72380 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72381 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72382 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72383 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72384 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72385 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72386 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72387 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72388 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72389 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72390 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72391 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72392 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72393
72394 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72395 sparc V9 rather than using V8 code.
72396 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72397 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72398
72399 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72400 Move to...
72401 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72402 Here.
72403
72404 2013-01-11 Roland McGrath <roland@hack.frob.com>
72405
72406 [BZ #14941]
72407 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72408 not in the main loop.
72409 * configure: Regenerated.
72410
72411 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72412
72413 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72414 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72415 to just #else.
72416 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72417 [!__GLIBC_HAVE_LONG_LONG] case.
72418 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72419 condition to just #else.
72420 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72421 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72422 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72423 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72424 unconditional.
72425 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72426 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72427 #elif condition to just #else.
72428 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72429 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72430 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72431 #elif condition to just #else.
72432
72433 2013-01-11 Steve Ellcey <sellcey@mips.com>
72434
72435 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72436 (EF_MIPS_ARCH_64): Fix value.
72437 (EF_MIPS_ARCH_32R2): New.
72438 (EF_MIPS_ARCH_64R2): New.
72439
72440 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72441
72442 * Makeconfig (+link-pie-before-libc): New.
72443 (+link-pie-after-libc): Likewise.
72444 (+link-pie-tests): Likewise.
72445 (+link-pie): Rewritten.
72446 (link-before-libc): Remove $(config-LDFLAGS).
72447 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72448 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72449 (config-LDFLAGS): Renamed to ...
72450 (rtld-LDFLAGS): This.
72451 (rtld-tests-LDFLAGS): New macro.
72452 (link-libc-rpath-link): Likewise.
72453 (link-libc-tests-rpath-link): Likewise.
72454 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72455 (link-libc): Prepand $(link-libc-rpath-link).
72456 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72457 (test-program-prefix): New macro.
72458 (test-via-rtld-prefix): Likewise.
72459 (test-program-cmd): Likewise.
72460 (host-test-program-cmd): Likewise.
72461 * Makefile ($(common-objpfx)testrun.sh): Replace
72462 $(run-program-prefix) with $(test-program-prefix).
72463 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72464 $(rtld-LDFLAGS).
72465 ($(common-objpfx)shlib.lds): Likewise.
72466 (build-module-helper): Likewise.
72467 ($(common-objpfx)format.lds): Likewise.
72468 * Rules (binaries-pie-tests): New.
72469 (binaries-pie-notests): Likewise.
72470 (binaries-pie): Rewritten.
72471 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72472 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72473 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72474 (make-test-out): Replace $(host-built-program-cmd) with
72475 $(host-test-program-cmd).
72476 * config.make.in (build-hardcoded-path-in-tests): New variable.
72477 * configure.in (--enable-hardcoded-path-in-tests): New configure
72478 option.
72479 (hardcoded_path_in_tests): New AC_SUBST.
72480 * configure: Regenerated.
72481 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72482 $(built-program-cmd) with $(test-program-cmd).
72483 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72484 (test_program_cmd): This.
72485 * elf/Makefile ($(objpfx)order.out): Run test with
72486 $(test-program-prefix).
72487 ($(objpfx)order2.out): Likewise.
72488 ($(objpfx)tst-initorder.out): Likewise.
72489 ($(objpfx)tst-initorder2.out): Likewise.
72490 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72491 $(test-program-cmd).
72492 ($(objpfx)tst-array1-static.out): Likewise.
72493 ($(objpfx)tst-array2.out): Likewise.
72494 ($(objpfx)tst-array3.out): Likewise.
72495 ($(objpfx)tst-array4.out): Likewise.
72496 ($(objpfx)tst-array5.out): Likewise.
72497 ($(objpfx)tst-array5-static.out): Likewise.
72498 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72499 $(test-program-cmd).
72500 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72501 $(run-program-prefix) with $(test-program-prefix).
72502 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72503 (test_program_prefix): This.
72504 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72505 $(run-program-prefix) with $(test-program-prefix).
72506 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72507 (test_program_prefix): This.
72508 * iconvdata/tst-tables.sh: Likewise.
72509 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72510 $(run-program-prefix) with $(test-program-prefix).
72511 ($(objpfx)tst-translit.out): Likewise.
72512 ($(objpfx)tst-gettext2.out): Likewise.
72513 ($(objpfx)tst-gettext4.out): Likewise.
72514 ($(objpfx)tst-gettext6.out): Likewise.
72515 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72516 (test_program_prefix): This.
72517 * intl/tst-gettext2.sh: Likewise.
72518 * intl/tst-gettext4.sh Likewise.
72519 * intl/tst-gettext6.sh: Likewise.
72520 * intl/tst-translit.sh: Likewise.
72521 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72522 with $(test-program-cmd).
72523 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72524 $(run-program-prefix) with $(test-program-prefix).
72525 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72526 (test_program_prefix): This.
72527 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72528 $(run-program-prefix) with $(test-program-prefix).
72529 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72530 (test_program_prefix): This.
72531 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72532 * posix/Makefile ($(objpfx)globtest.out): Replace
72533 $(run-via-rtld-prefix) and $(test-wrapper) with
72534 $(test-program-prefix) and $(test-via-rtld-prefix).
72535 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72536 $(test-program-prefix).
72537 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72538 $(host-test-program-cmd).
72539 (tst-spawn-ARGS): Likewise.
72540 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72541 $(test-program-prefix).
72542 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72543 (test_via_rtld_prefix): This.
72544 (test_wrapper): Renamed to ...
72545 (test_program_prefix): This.
72546 (run_program_prefix): Replaced by test_program_prefix.
72547 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72548 (test_program_prefix): This.
72549 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72550 with $(host-test-program-cmd).
72551 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72552 $(run-program-prefix) with $(test-program-prefix).
72553 ($(objpfx)tst-printf.out): Likewise.
72554 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72555 $(test-program-cmd).
72556 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72557 (test_program_prefix): This.
72558 * stdio-common/tst-unbputc.sh: Likewise.
72559 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72560 $(run-program-prefix) with $(test-program-prefix).
72561 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72562 (test_program_prefix): This.
72563 * string/Makefile ($(objpfx)tst-svc.out): Replace
72564 $(built-program-cmd) with $(test-program-cmd).
72565
72566 2013-01-11 Andreas Jaeger <aj@suse.de>
72567
72568 [BZ #15003]
72569 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72570 value. Sync with Linux 3.7.
72571
72572 2013-01-10 David S. Miller <davem@davemloft.net>
72573
72574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72575 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72576 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72577
72578 2013-01-10 Roland McGrath <roland@hack.frob.com>
72579
72580 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72581 never set.
72582 * configure: Regenerated.
72583
72584 2013-01-10 David S. Miller <davem@davemloft.net>
72585
72586 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72587 sparc V9 rather than using V8 code.
72588 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72589 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72590
72591 2013-01-10 Roland McGrath <roland@hack.frob.com>
72592
72593 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72594 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72595 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72596 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72597 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72598 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72599 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72600 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72601 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72602 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72603 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72604 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72605 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72606 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72607 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72608 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72609 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72610 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72611 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72612 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72613 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72614 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72615 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72616 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72617 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72618 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72619 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72620
72621 2013-01-10 David S. Miller <davem@davemloft.net>
72622
72623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72624
72625 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72626
72627 * posix/Makefile (tests-static): New variable.
72628 (tests): Add $(tests-static).
72629 (tst-exec-static-ARGS): New variable.
72630 (tst-spawn-static-ARGS): Likewise.
72631 * posix/tst-exec-static.c: New file.
72632 * posix/tst-spawn-static.c: Likewise.
72633 * posix/tst-exec.c: Support run directly.
72634 * posix/tst-spawn.c: Likewise.
72635
72636 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72637
72638 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72639 long.
72640 * math/bits/mathcalls.h (llrint): Likewise.
72641 (llround): Likewise.
72642 * stdlib/stdlib.h (struct drand48_data): Likewise.
72643 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72644 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72645 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72646 Likewise.
72647 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72648 Likewise.
72649 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72650 (elf_greg_t): Likewise.
72651 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72652 (__jmp_buf): Likewise.
72653 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72654 definitions.
72655 (llrint): Likewise, for all definitions.
72656 (llrintl): Likewise.
72657
72658 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72659 Remove [__GNUC__] condition.
72660 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72661 condition to just [__USE_ISOC99].
72662 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72663
72664 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72665
72666 [BZ #14200]
72667 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72668 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72669 defined.
72670 (_POSIX_V6_ILP32_OFF32): Likewise.
72671 (_XBS5_ILP32_OFF32): Likewise.
72672 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72673 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72674
72675 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72676
72677 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72678
72679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72680 doubles __mpexp_twomm1. Adjust usage.
72681 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72682 Remove.
72683
72684 2013-01-10 Andreas Schwab <schwab@suse.de>
72685
72686 [BZ #14964]
72687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72688 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72689
72690 2013-01-09 David S. Miller <davem@davemloft.net>
72691
72692 [BZ #15003]
72693 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72694 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72695 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72696 (TCP_FASTOPEN): Define.
72697 (tcp_repair_opt): New structure.
72698 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72699 enum values.
72700 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72701 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72702 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72703 (tcp_cookie_transactions): New structure.
72704
72705 2013-01-09 Anton Blanchard <anton@samba.org>
72706
72707 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72708 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72709 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72710 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72711
72712 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72713
72714 * include/features.h (__USE_ANSI): Remove.
72715
72716 2013-01-09 Roland McGrath <roland@hack.frob.com>
72717
72718 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72719
72720 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72721
72722 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72723
72724 * sysdeps/s390/fpu/libm-test-ulps: Update.
72725
72726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72727
72728 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72729 (__acr): Likewise.
72730 (__cpy): Likewise.
72731 (norm): Likewise.
72732 (denorm): Likewise.
72733 (__mp_dbl): Likewise.
72734 (__dbl_mp): Likewise.
72735 (add_magnitudes): Likewise.
72736 (sub_magnitudes): Likewise.
72737 (__add): Likewise.
72738 (__sub): Likewise.
72739 (__mul): Likewise.
72740 (__inv): Likewise.
72741 (__dvd): Likewise.
72742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72743 (__acr): Likewise.
72744 (__cpy): Likewise.
72745 (norm): Likewise.
72746 (denorm): Likewise.
72747 (__mp_dbl): Likewise.
72748 (__dbl_mp): Likewise.
72749 (add_magnitudes): Likewise.
72750 (sub_magnitudes): Likewise.
72751 (__add): Likewise.
72752 (__sub): Likewise.
72753 (__mul): Likewise.
72754 (__inv): Likewise.
72755 (__dvd): Likewise.
72756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72757 (__acr): Likewise.
72758 (__cpy): Likewise.
72759 (norm): Likewise.
72760 (denorm): Likewise.
72761 (__mp_dbl): Likewise.
72762 (__dbl_mp): Likewise.
72763 (add_magnitudes): Likewise.
72764 (sub_magnitudes): Likewise.
72765 (__add): Likewise.
72766 (__sub): Likewise.
72767 (__mul): Likewise.
72768 (__inv): Likewise.
72769 (__dvd): Likewise.
72770
72771 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72772
72773 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72774 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72775 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72776 2 && __USE_EXTERN_INLINES]: Likewise.
72777
72778 2013-01-08 Andreas Jaeger <aj@suse.de>
72779
72780 [BZ #14985]
72781 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72782 Remove.
72783 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72784 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72785
72786 2013-01-07 Anton Blanchard <anton@samba.org>
72787
72788 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72789 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72790 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72791 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72792 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72794 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72795 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72797 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72798 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72799 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72800 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72801 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72802 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72803 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72804 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72806 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72807 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72809 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72811 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72812 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72813 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72814 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72815 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72816 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72817 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72818 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72820 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72821 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72822 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72823 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72824 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72825 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72826 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72827 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72828 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72829 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72830 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72831
72832 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72833
72834 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72835 (__MALLOC_PMT): Likewise.
72836 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72837 [__GNUC__], only on [_LIBC].
72838 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72839 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72840 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72841 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72842 forward declaration.
72843 (realloc_hook_ini): Likewise.
72844 (memalign_hook_ini): Likewise.
72845 (__libc_memalign): Do not use __MALLOC_PMT in variable
72846 declaration.
72847 (__libc_valloc): Likewise.
72848 (__libc_pvalloc): Likewise.
72849 (__libc_calloc): Likewise.
72850 (__posix_memalign): Likewise.
72851
72852 [BZ #14996]
72853 * math/s_casinh.c: Include <float.h>.
72854 (__casinh): Do not do computation with squaring and square root
72855 for large arguments.
72856 * math/s_casinhf.c: Include <float.h>.
72857 (__casinhf): Do not do computation with squaring and square root
72858 for large arguments.
72859 * math/s_casinhl.c: Include <float.h>.
72860 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72861 (__casinhl): Do not do computation with squaring and square root
72862 for large arguments.
72863 * math/libm-test.inc (casin_test): Add more tests.
72864 (casinh_test): Likewise.
72865 * sysdeps/i386/fpu/libm-test-ulps: Update.
72866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72867
72868 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72869
72870 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72871 (__x86_64_raw_data_cache_size): Likewise.
72872 (__x86_64_data_cache_size_half): Likewise.
72873 (__x86_64_raw_data_cache_size_half): Likewise.
72874 (__x86_64_shared_cache_size): Likewise.
72875 (__x86_64_raw_shared_cache_size): Likewise.
72876 (__x86_64_shared_cache_size_half): Likewise.
72877 (__x86_64_raw_shared_cache_size_half): Likewise.
72878 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72879 to ...
72880 (__x86_data_cache_size): This.
72881 (__x86_64_raw_data_cache_size): Renamed to ...
72882 (__x86_raw_data_cache_size): This.
72883 (__x86_64_data_cache_size_half): Renamed to ...
72884 (__x86_data_cache_size_half): This.
72885 (__x86_64_raw_data_cache_size_half): Renamed to ...
72886 (__x86_raw_data_cache_size_half): This.
72887 (__x86_64_shared_cache_size): Renamed to ...
72888 (__x86_shared_cache_size): This.
72889 (__x86_64_raw_shared_cache_size): Renamed to ...
72890 (__x86_raw_shared_cache_size): This.
72891 (__x86_64_shared_cache_size_half): Renamed to ...
72892 (__x86_shared_cache_size_half): This.
72893 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72894 (__x86_raw_shared_cache_size_half): This.
72895 * sysdeps/x86_64/memcpy.S: Updated.
72896 * sysdeps/x86_64/memset.S: Likewise.
72897 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72898 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72900
72901 2013-01-04 David S. Miller <davem@davemloft.net>
72902
72903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72904
72905 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72906
72907 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72908 1 to avoid redefinition warning.
72909 (__USE_GNU): Don't define.
72910 (init_signaling_nan): Protoize.
72911
72912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72913
72914 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72915
72916 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72918 (__cpymn): Likewise.
72919 (norm): Remove commented code.
72920 (denorm): Likewise.
72921 (__mp_dbl): Likewise.
72922 (__inv): Likewise.
72923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72924 (__cpymn): Likewise.
72925 (norm): Remove commented code.
72926 (denorm): Likewise.
72927 (__mp_dbl): Likewise.
72928 (__inv): Likewise.
72929
72930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72931 mp_no value for 1.0 and 2.0.
72932 (norm): Use RADIXI instead of radixi.d.
72933 (denorm): Likewise.
72934 (__mul): Use 0.0 instead of zero.d.
72935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72936 mp_no value for 1.0 and 2.0.
72937 (norm): Use RADIXI instead of radixi.d.
72938 (denorm): Likewise.
72939 (__mul): Use 0.0 instead of zero.d.
72940
72941 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72942
72943 [BZ #14994]
72944 * math/s_casinh.c (__casinh): Reduce finite argument to first
72945 quadrant then set signs of results at the end.
72946 * math/s_casinhf.c (__casinhf): Likewise.
72947 * math/s_casinhl.c (__casinhl): Likewise.
72948 * math/libm-test.inc (casin_test): Add more tests.
72949 (casinh_test): Likewise.
72950 * sysdeps/i386/fpu/libm-test-ulps: Update.
72951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72952
72953 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72954
72955 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72956
72957 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72958
72959 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72960 declarations.
72961 (denorm): Likewise.
72962 (__mp_dbl): Likewise.
72963 (__inv): Likewise.
72964
72965 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72966 and adjust the header comment.
72967
72968 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72969 variable name from declaration.
72970
72971 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72972
72973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72974 Initialize COMMON_CPUID_INDEX_7 element.
72975 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72976 (CPUID_RTM): Likewise.
72977 (HAS_RTM): Likewise.
72978 (COMMON_CPUID_INDEX_7): New enum.
72979
72980 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72981
72982 [BZ #14981]
72983 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72984 size is zero, record memory as freed.
72985
72986 2013-01-03 Andreas Jaeger <aj@suse.de>
72987
72988 * po/ia.po: Add new Interlingua translation.
72989
72990 2012-01-03 Allan McRae <allan@archlinux.org>
72991
72992 * locale/programs/localedef.c: Fix description of '--posix' flag.
72993
72994 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72995
72996 * NEWS: Update dates in second copyright notice.
72997 * README: Update copyright dates in example.
72998 * manual/libc.texinfo: Update copyright dates.
72999 * scripts/test-installation.pl: Update copyright date in --version
73000 output.
73001
73002 * hurd/ctty-input.c: Fix copyright notice formatting.
73003 * hurd/ctty-output.c: Likewise.
73004 * hurd/dtable.c: Likewise.
73005 * hurd/hurd-raise.c: Likewise.
73006 * hurd/hurdprio.c: Likewise.
73007 * hurd/msgportdemux.c: Likewise.
73008 * misc/sys/file.h: Likewise.
73009 * misc/sys/ioctl.h: Likewise.
73010 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73011 * sysdeps/mach/hurd/chdir.c: Likewise.
73012 * sysdeps/mach/hurd/fchdir.c: Likewise.
73013 * sysdeps/mach/hurd/rename.c: Likewise.
73014 * sysdeps/mach/hurd/rmdir.c: Likewise.
73015 * sysdeps/mach/hurd/seekdir.c: Likewise.
73016 * sysdeps/mach/hurd/setsid.c: Likewise.
73017 * sysdeps/posix/wait3.c: Likewise.
73018
73019 * All files with FSF copyright notices: Update copyright dates
73020 using scripts/update-copyrights.
73021 * intl/plural.c: Regenerated.
73022 * locale/programs/charmap-kw.h: Likewise.
73023 * locale/programs/locfile-kw.h: Likewise.
73024
73025 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
73026
73027 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73028 four values.
73029
73030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73031 calculation loop and add branch prediction.
73032
73033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73034 check access beyond bounds of m1np.
73035
73036 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73037 MPTWO.
73038 (__inv): Remove local variable MPTWO to use the global
73039 constant.
73040 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73042 variable MPTWO.
73043 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73044 MP3HALFS static const.
73045
73046 2013-01-01 David S. Miller <davem@davemloft.net>
73047
73048 * po/ca.po: Update from translation team.
73049
73050 2013-01-01 Joseph Myers <joseph@codesourcery.com>
73051
73052 * scripts/update-copyrights: New file.
73053 * Makeconfig: Reformat copyright notice.
73054 * ctype/ctype.h: Likewise.
73055 * debug/swprintf_chk.c: Likewise.
73056 * elf/dl-cache.c: Likewise.
73057 * elf/dl-debug.c: Likewise.
73058 * elf/dl-object.c: Likewise.
73059 * grp/initgroups.c: Likewise.
73060 * hurd/Makefile: Likewise.
73061 * hurd/hurd/signal.h: Likewise.
73062 * hurd/hurdfault.c: Likewise.
73063 * hurd/hurdioctl.c: Likewise.
73064 * hurd/hurdlookup.c: Likewise.
73065 * hurd/intr-msg.c: Likewise.
73066 * iconv/gconv_open.c: Likewise.
73067 * libio/swprintf.c: Likewise.
73068 * locale/lc-ctype.c: Likewise.
73069 * locale/nl_langinfo.c: Likewise.
73070 * mach/Machrules: Likewise.
73071 * mach/Makefile: Likewise.
73072 * malloc/obstack.h: Likewise.
73073 * manual/Makefile: Likewise.
73074 * manual/tsort.awk: Likewise.
73075 * misc/bits/stab.def: Likewise.
73076 * nis/nis_print_group_entry.c: Likewise.
73077 * nis/nis_table.c: Likewise.
73078 * nis/nss_compat/compat-pwd.c: Likewise.
73079 * nis/nss_compat/compat-spwd.c: Likewise.
73080 * po/Makefile: Likewise.
73081 * posix/fnmatch.c: Likewise.
73082 * posix/regex.h: Likewise.
73083 * resolv/Makefile: Likewise.
73084 * resolv/nss_dns/dns-network.c: Likewise.
73085 * resolv/res_hconf.c: Likewise.
73086 * scripts/gen-sorted.awk: Likewise.
73087 * soft-fp/soft-fp.h: Likewise.
73088 * stdio-common/printf.h: Likewise.
73089 * stdlib/monetary.h: Likewise.
73090 * stdlib/random.c: Likewise.
73091 * stdlib/random_r.c: Likewise.
73092 * sysdeps/generic/Makefile: Likewise.
73093 * sysdeps/gnu/Makefile: Likewise.
73094 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73095 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73096 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73104 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73105 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73106 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73107 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73108 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73109 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73110 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73111 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73114 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73115 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73116 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73117 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73118 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73119 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73120 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73122 * sysdeps/mach/hurd/errnos.awk: Likewise.
73123 * sysdeps/mach/hurd/fork.c: Likewise.
73124 * sysdeps/mach/hurd/getcwd.c: Likewise.
73125 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73126 * sysdeps/mach/hurd/mmap.c: Likewise.
73127 * sysdeps/mach/hurd/utimes.c: Likewise.
73128 * sysdeps/mach/hurd/xmknod.c: Likewise.
73129 * sysdeps/posix/profil.c: Likewise.
73130 * sysdeps/posix/readdir_r.c: Likewise.
73131 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73132 * sysdeps/powerpc/bits/setjmp.h: Likewise.
73133 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73134 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73135 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73136 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73137 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73138 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73140 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73141 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73142 * sysdeps/pthread/lio_listio.c: Likewise.
73143 * sysdeps/sparc/dl-procinfo.h: Likewise.
73144 * sysdeps/unix/i386/sysdep.S: Likewise.
73145 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73146 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73147 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73148 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73150 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73151 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73152 * sysdeps/unix/sysv/linux/speed.c: Likewise.
73153 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73154 * sysdeps/wordsize-32/divdi3.c: Likewise.
73155 * time/sys/time.h: Likewise.
73156 * wcsmbs/Makefile: Likewise.
73157
73158 2013-01-01 David S. Miller <davem@davemloft.net>
73159
73160 * po/fr.po: Update from translation team.
73161
73162 * catgets/gencat.c: Update copyright year.
73163 * csu/version.c: Likewise.
73164 * debug/catchsegv.sh: Likewise.
73165 * debug/pcprofiledump.c: Likewise.
73166 * debug/xtrace.sh: Likewise.
73167 * elf/ldconfig.c: Likewise.
73168 * elf/ldd.bash.in: Likewise.
73169 * elf/pldd.c: Likewise.
73170 * elf/sotruss.ksh: Likewise.
73171 * elf/sprof.c: Likewise.
73172 * iconv/iconv_prog.c: Likewise.
73173 * iconv/iconvconfig.c: Likewise.
73174 * locale/programs/locale.c: Likewise.
73175 * locale/programs/localedef.c: Likewise.
73176 * login/programs/pt_chown.c: Likewise.
73177 * malloc/memusage.sh: Likewise.
73178 * malloc/memusagestat.c: Likewise.
73179 * malloc/mtrace.pl: Likewise.
73180 * nscd/nscd.c: Likewise.
73181 * nss/getent.c: Likewise.
73182 * nss/makedb.c: Likewise.
73183 * posix/getconf.c: Likewise.
73184
73185 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73186
73187 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73188 numbers.
73189
73190 2012-12-30 Mike Frysinger <vapier@gentoo.org>
73191
73192 * math/bits/mathcalls.h (modf): Use __nonnull.
73193
73194 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73195
73196 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73197 (split): Use macro CN instead of the bare value.
73198 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73199 could be used.
73200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73201 instead of the bare value.
73202 (power1): Likewise.
73203
73204 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73205
73206 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73207 __ATAN_TWOM.
73208 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73209
73210 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73211 their values.
73212 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73213 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73214 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73215 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73216
73217 2012-12-28 Andreas Jaeger <aj@suse.de>
73218
73219 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73220 values are from Linux 3.7.
73221
73222 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73223 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73224
73225 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73226
73227 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73228 TRUE case.
73229
73230 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73231 (norm): Likewise.
73232 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73233 variables with preprocessor constants.
73234 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73235 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73236 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73237
73238 2012-12-27 Bruno Haible <bruno@clisp.org>
73239
73240 [BZ #14317]
73241 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73242 only if needed.
73243
73244 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73245
73246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73247 and use variable directly.
73248 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73249
73250 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73251 MPONE.
73252 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73254 variable MPONE.
73255 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73257 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73258 include directive. Remove local variable MPONE.
73259 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73260 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73262
73263 2012-12-25 David S. Miller <davem@davemloft.net>
73264
73265 * version.h (RELEASE): Set to "development".
73266 (VERSION): Set to "2.17.90".
73267 * NEWS: Add 2.18 section.
73268
73269 2012-12-21 David S. Miller <davem@davemloft.net>
73270
73271 * po/hr.po: Update from translation team.
73272
73273 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73274
73275 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73276
73277 2012-12-19 Steve Ellcey <sellcey@mips.com>
73278
73279 * NEWS: Mention new memcpy for MIPS.
73280
73281 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73282
73283 * manual/contrib.texi (Contributors): Spelling correction.
73284
73285 2012-12-15 David S. Miller <davem@davemloft.net>
73286
73287 * po/ru.po: Update from translation team.
73288
73289 2012-12-13 David S. Miller <davem@davemloft.net>
73290
73291 * NEWS: Mention IFUNC testsuite enhancements.
73292
73293 * po/pl.po: Update from translation team.
73294 * po/bg.po: Likewise.
73295
73296 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73297 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73298
73299 2012-12-11 David S. Miller <davem@davemloft.net>
73300
73301 * po/sv.po: Update from translation team.
73302
73303 * po/vi.po: Update from translation team.
73304
73305 * po/cs.po: Update from translation team.
73306
73307 * po/de.po: Update from translation team.
73308 * po/eo.po: Likewise.
73309 * po/nl.po: Likewise.
73310
73311 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73312
73313 [BZ #14246]
73314 * manual/argp.texi (Argp Helper Functions): Move node to follow
73315 Argp Parsing State.
73316
73317 [BZ #14872]
73318 * manual/conf.texi (Limits on File System Capacity): Mention if
73319 terminating null is included in the max size.
73320
73321 2012-12-10 Andreas Jaeger <aj@suse.de>
73322
73323 * po/cs.po: Update from translation team.
73324
73325 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73326
73327 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73328 void pointer and cast to uintptr_t.
73329 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73330 path.
73331 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73332 * sysdeps/s390/s390-64/memset.S: Likewise.
73333
73334 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73335
73336 [BZ #14833]
73337 * menual/message.texi (Message Translation): Fix typos.
73338 (Helper programs for gettext): Likewise.
73339
73340 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73341
73342 [BZ #14898]
73343 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73344 Change to -1.
73345
73346 2012-12-07 David S. Miller <davem@davemloft.net>
73347
73348 * po/libc.pot: Update.
73349
73350 2012-12-07 Richard Henderson <rth@redhat.com>
73351
73352 [BZ #10114]
73353 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73354 normal/normal case to before the switch.
73355 (_FP_DIV): Likewise.
73356
73357 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73358 Mike Frysinger <vapier@gentoo.org>
73359
73360 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73361 check for __NR_fadvise64_64.
73362
73363 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73364
73365 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73366 0, not just to plain "0" as a statement.
73367 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73368 with cw.
73369
73370 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73371
73372 * NEWS: Use sourceware.org in Bugzilla URL.
73373
73374 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73375
73376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73377 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73378
73379 * stdio-common/tst-put-error.c (do_test): Add newline to the
73380 padded test to ensure flush.
73381
73382 2012-12-05 Jeff Law <law@redhat.com>
73383
73384 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73385
73386 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73387
73388 * README: Don't refer to ports add-on as distributed separately.
73389 Mention AArch64 in list of systems supported in the ports add-on.
73390
73391 * LICENSES: Add more non-FSF copyright and license notices.
73392
73393 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73394 ((unused)).
73395
73396 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73397
73398 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73399 10000 as width of padded output.
73400
73401 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73402
73403 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73404
73405 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73406 variable LX with __attribute__ ((unused)).
73407 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73408 Likewise.
73409 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73411 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73412 with __attribute__ ((unused)).
73413
73414 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73415
73416 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73417
73418 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73419
73420 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73421 (CFLAGS-nldbl-acos.c): New variable.
73422 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73423 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73424 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73425 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73426 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73427 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73428 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73429 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73430 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73431 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73432 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73433 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73434 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73435 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73436 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73437 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73438 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73439 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73440 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73441 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73442 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73443 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73444 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73445 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73446 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73447 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73448 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73449 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73450 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73451 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73452 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73453 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73454 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73455 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73456 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73457 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73458 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73459 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73460 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73461 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73462 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73463 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73464 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73465 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73466 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73467 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73468 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73469 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73470 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73471 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73472 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73473 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73474 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73475 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73476 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73477 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73478 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73479 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73480 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73481 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73482 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73483 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73484 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73485 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73486 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73487 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73488 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73489 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73490 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73491 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73492 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73493 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73494 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73495 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73496 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73497 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73498 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73499 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73500 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73501 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73502 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73503 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73504 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73505 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73506 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73507 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73508 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73509 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73510 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73511 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73512 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73513 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73514 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73515 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73516 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73517 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73518 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73519
73520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73521 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73522
73523 [BZ #14914]
73524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73525 whole low double instead of just low 47 bits when splitting values
73526 into two parts.
73527
73528 2012-12-03 Allan McRae <allan@archlinux.org>
73529
73530 * manual/stdio.texi (Predefined Printf Handlers): Remove
73531 @hsep and @vsep usage.
73532
73533 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73534
73535 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73536 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73537
73538 2012-12-03 Jeff Law <law@redhat.com>
73539
73540 * time/sys/time.h (settimeofday): Do not mark TV argument
73541 as __nonnull.
73542
73543 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73544
73545 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73546 when currently writing and seek to current position when not.
73547 * libio/Makefile (tests): Remove bug-fclose1.
73548 * libio/bug-fclose1.c: Delete.
73549
73550 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73551
73552 * manual/arith.texi (feenableexcept): Fix typo.
73553 (fedisableexcept): Likewise.
73554
73555 2012-11-30 Roland McGrath <roland@hack.frob.com>
73556
73557 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73558 second, differently-typed declaration, rather than a cast.
73559
73560 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73561
73562 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73563 * include/rpc/svc.h: ... here.
73564
73565 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73566
73567 [BZ #13013]
73568 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73569 depending n and resplen2 to catch cases where answer
73570 equals answerp2.
73571
73572 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73573
73574 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73575 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73576
73577 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73578
73579 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73580
73581 2012-11-29 Roland McGrath <roland@hack.frob.com>
73582
73583 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73584
73585 2012-11-28 Jeff Law <law@redhat.com>
73586
73587 [BZ #13761]
73588 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73589 dataset_temporary. Track alloca usage into alloca_used.
73590 If dataset is large allocate and release it via malloc/free.
73591
73592 2012-06-04 Florian Weimer <fweimer@redhat.com>
73593
73594 [BZ #14197]
73595 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73596
73597 2012-11-28 David S. Miller <davem@davemloft.net>
73598
73599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73600
73601 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73602
73603 [BZ #14803]
73604 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73605 of pi/2 rounded to nearest to 64 bits.
73606 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73607 nearest to 64 bits.
73608 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73609 bits.
73610
73611 2012-11-28 Jeff Law <law@redhat.com>
73612 Martin Osvald <mosvald@redhat.com>
73613
73614 [BZ #14889]
73615 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73616 * sunrpc/svc.c: Include time.h.
73617 (__svc_accept_failed): New function.
73618 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73619 any reason other than EINTR, call __svc_accept_failed.
73620 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73621 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73622
73623 2012-11-28 Andreas Schwab <schwab@suse.de>
73624
73625 * scripts/abilist.awk: Also handle indirect functions in .opd
73626 section.
73627
73628 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73629
73630 [BZ #13881]
73631 * sysdeps/x86/fpu/powl_helper.c: New file.
73632 * sysdeps/x86/fpu/Makefile: Likewise.
73633 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73634 (p3): New object.
73635 (__ieee754_powl): Use __powl_helper for finite arguments except
73636 integer exponents below 8.
73637 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73638 (p3): New object.
73639 (__ieee754_powl): Use __powl_helper for finite arguments except
73640 integer exponents below 8.
73641 * math/libm-test.inc (pow_test): Add more tests and enable some
73642 previously disabled tests.
73643 * sysdeps/i386/fpu/libm-test-ulps: Update.
73644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73645
73646 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73647 Carlos O'Donell <carlos_odonell@mentor.com>
73648
73649 * nss/makedb.c (is_prime): Assert that input is odd and greater
73650 than 4. Note that fact in a comment too.
73651 (next_prime): Add 4 to input.
73652
73653 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73654
73655 [BZ #11741]
73656 * libio/Makefile (tests): Add test case tst-fwrite-error.
73657 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73658 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73659 * libio/tst-fwrite-error.c: New test case.
73660
73661 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73662
73663 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73664 before casting to void *.
73665 * include/libc-internal.h (__pointer_type): New macro.
73666 (__integer_if_pointer_type_sub): Likewise.
73667 (__integer_if_pointer_type): Likewise.
73668 (cast_to_integer): Likewise.
73669 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73670 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73671 before casting to atomic64_t.
73672 (atomic_exchange_acq): Likewise.
73673 (__arch_exchange_and_add_body): Likewise.
73674 (__arch_add_body): Likewise.
73675 (atomic_add_negative): Likewise.
73676 (atomic_add_zero): Likewise.
73677
73678 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73679
73680 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73681 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73682 (add_fdes): Likewise.
73683 (linear_search_fdes): Likewise.
73684 (binary_search_unencoded_fdes): Likewise.
73685
73686 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73687
73688 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73689
73690 2012-11-24 Adam Conrad <adconrad@0c3.net>
73691
73692 * configure.in: Autodetect C++ header directories.
73693 * configure: Regenerated.
73694
73695 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73696
73697 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73698
73699 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73700
73701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73702
73703 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73704
73705 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73706 LDBL_MANT_DIG == 106]: Disable some tests.
73707 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73708 Likewise.
73709 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73710 Likewise.
73711
73712 [BZ #14871]
73713 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73714 input for small inputs. Return +/- pi/2 for large inputs.
73715 * math/libm-test.inc (atan_test): Add more tests.
73716
73717 * sysdeps/generic/unwind-dw2-fde-glibc.c
73718 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73719 __attribute__ ((unused)).
73720
73721 [BZ #14645]
73722 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73723 x * y if x and y are nonzero and z is zero.
73724
73725 [BZ #14811]
73726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73727 nonzero exponents with absolute value below 0x1p-117 to +/-
73728 0x1p-117.
73729
73730 [BZ #14869]
73731 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73732 up arguments below 2**-450, not just those below 2**-500.
73733 * math/libm-test.inc (hypot_test): Add another test.
73734
73735 [BZ #14868]
73736 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73737 Return a+b for ratio over 2**120, not 2**60.
73738 * math/libm-test.inc (hypot_test): Add another test.
73739
73740 * math/libm-test.inc (clog_test): Use
73741 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73742 (clog10_test): Likewise.
73743
73744 [BZ #6778]
73745 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73746
73747 2012-11-22 Andreas Schwab <schwab@suse.de>
73748
73749 * sysdeps/i386/fpu/libm-test-ulps: Update.
73750
73751 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73752
73753 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73754 printf output with newline.
73755
73756 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73757
73758 [BZ #14865]
73759 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73760 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73761 -z nodlopen, -z initfirst and -z execstack support.
73762 * configure: Regenerated.
73763
73764 * elf/elf.h (DF_1_NODIRECT): New macro.
73765 (DF_1_IGNMULDEF): Likewise.
73766 (DF_1_NOKSYMS): Likewise.
73767 (DF_1_NOHDR): Likewise.
73768 (DF_1_EDITED): Likewise.
73769 (DF_1_NORELOC): Likewise.
73770 (DF_1_SYMINTPOSE): Likewise.
73771 (DF_1_GLOBAUDIT): Likewise.
73772 (DF_1_SINGLETON): Likewise.
73773 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73774 DT_1_SUPPORTED_MASK bits.
73775 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73776
73777 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73778
73779 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73780
73781 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73782
73783 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73784 macro.
73785
73786 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73787 (sendmmsg): Move declarations...
73788 * socket/sys/socket.h: ... here.
73789 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73790 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73791 include it from...
73792 * socket/recvmmsg.c: ... this new file.
73793 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73794 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73795 definition of __sendmmsg hidden.
73796 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73797 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73798 Move ENOSYS stub into and include it from...
73799 * socket/sendmmsg.c: ... this new file.
73800 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73801 (sysdep_routines): Move recvmmsg and sendmmsg...
73802 * socket/Makefile (routines): ... here.
73803 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73804 (GLIBC_PRIVATE): Add __sendmmsg.
73805 * include/sys/socket.h (__sendmmsg): Add declarations.
73806 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73807 sendmmsg.
73808
73809 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73810
73811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73812 variable I1 with __attribute__ ((unused)).
73813 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73814
73815 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73816
73817 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73818 DUMMY variables with __attribute__ ((unused)).
73819
73820 * bits/byteswap.h: Include <bits/types.h>.
73821 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73822
73823 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73824
73825 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73826 string_t. Do not manually set errno.
73827 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73828 length with __strnlen. Make sure to both set errno and return it on
73829 failure.
73830
73831 2012-11-19 David S. Miller <davem@davemloft.net>
73832
73833 With help from Joseph Myers.
73834 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73835 very large arguments properly.
73836 * math/libm-test.inc (atan_test): New tests.
73837 (atan2_test): New tests.
73838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73840
73841 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73842
73843 [BZ #14856]
73844 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73845 Define to 3.
73846
73847 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73848 [POSIX] (EADDRNOTAVAIL): Likewise.
73849 [POSIX] (EAFNOSUPPORT): Likewise.
73850 [POSIX] (EALREADY): Likewise.
73851 [POSIX] (ECONNABORTED): Likewise.
73852 [POSIX] (ECONNREFUSED): Likewise.
73853 [POSIX] (ECONNRESET): Likewise.
73854 [POSIX] (EDESTADDRREQ): Likewise.
73855 [POSIX] (EDQUOT): Likewise.
73856 [POSIX] (EHOSTUNREACH): Likewise.
73857 [POSIX] (EIDRM): Likewise.
73858 [POSIX] (EISCONN): Likewise.
73859 [POSIX] (ELOOP): Likewise.
73860 [POSIX] (EMULTIHOP): Likewise.
73861 [POSIX] (ENETDOWN): Likewise.
73862 [POSIX] (ENETUNREACH): Likewise.
73863 [POSIX] (ENOBUFS): Likewise.
73864 [POSIX] (ENODATA): Likewise.
73865 [POSIX] (ENOLINK): Likewise.
73866 [POSIX] (ENOMSG): Likewise.
73867 [POSIX] (ENOPROTOOPT): Likewise.
73868 [POSIX] (ENOSR): Likewise.
73869 [POSIX] (ENOSTR): Likewise.
73870 [POSIX] (ENOTCONN): Likewise.
73871 [POSIX] (ENOTSOCK): Likewise.
73872 [POSIX] (EOPNOTSUPP): Likewise.
73873 [POSIX] (EOVERFLOW): Likewise.
73874 [POSIX] (EPROTO): Likewise.
73875 [POSIX] (EPROTONOSUPPORT): Likewise.
73876 [POSIX] (EPROTOTYPE): Likewise.
73877 [POSIX] (ESTALE): Likewise.
73878 [POSIX] (ETIME): Likewise.
73879 [POSIX] (ETXTBSY): Likewise.
73880 [POSIX] (EWOULDBLOCK): Likewise.
73881 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73882 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73883 [POSIX] (SEEK_CUR): Likewise.
73884 [POSIX] (SEEK_END): Likewise.
73885 [POSIX || UNIX98] (mode_t): Do not require.
73886 [POSIX] (off_t): Likewise.
73887 [POSIX] (pid_t): Likewise.
73888 [POSIX] (sys/stat.h): Do not allow header.
73889 [POSIX] (unistd.h): Likewise.
73890 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73891 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73892 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73893 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73894 require.
73895 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73896 sigevent): Specify elements.
73897 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73898 entry.
73899 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73900 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73901
73902 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73903 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73904 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73905 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73906 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73907 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73908 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73909 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73910 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73911 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73912 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73913 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73914 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73915 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73916 Likewise.
73917 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73918 Likewise.
73919 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73920 Likewise.
73921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73922 Likewise.
73923 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73924 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73925 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73926 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73927 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73928 Specify lower bound on value.
73929 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73930 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73931 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73932 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73933 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73934 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73935 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73936 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73937 value.
73938 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73939 as optional.
73940 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73941 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73942 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73943 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73944 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73945 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73946 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73947 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73948 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73949 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73950 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73951 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73952 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73953 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73954 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73955 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73956 entry.
73957 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73958 optional.
73959 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73960 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73961 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73962 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73963 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73964 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73965 Likewise.
73966 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73967 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73968 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73969 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73970 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73971 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73972 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73973 as optional.
73974 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73975 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73976 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73977 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73978 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73979 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73980 specify as optional.
73981 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73982 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73983 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73984 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73985 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73986 [XPG3] (NL_LANGMAX): Likewise.
73987 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73988 [POSIX || XPG3] (NL_NMAX): Likewise.
73989 [POSIX || XPG3] (NL_SETMAX): Likewise.
73990 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73991 [XPG3] (NZERO): Likewise.
73992 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73993 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73994 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73995 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73996 (REG_ERANGE): Expect.
73997 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73998 optional-constant.
73999 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74000 Use (void) in prototype.
74001 [POSIX] (*_t): Allow.
74002 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74003 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74004 (WRDE_BADVAL): Expect.
74005
74006 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74007 expect.
74008 [XPG3 || XPG4] (O_RSYNC): Likewise.
74009 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74010 Likewise.
74011 [XPG3 || XPG4] (pthread_sigmask): Likewise.
74012 [XPG3 || XPG4] (sigqueue): Likewise.
74013 [XPG3 || XPG4] (sigtimedwait): Likewise.
74014 [XPG3 || XPG4] (sigwaitinfo): Likewise.
74015 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74016 [XPG3 || XPG4] (vsnprintf): Likewise.
74017 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74018 Likewise.
74019 [XPG3 || XPG4] (blksize_t): Likewise.
74020 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74021 Likewise.
74022 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74023 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74024 [XPG3 || XPG4] (struct itimerspec): Likewise.
74025 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74026 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74027 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74028 [XPG3 || XPG4] (clockid_t): Likewise.
74029 [XPG3 || XPG4] (timer_t): Likewise.
74030 [XPG3 || XPG4] (clock_getres): Likewise.
74031 [XPG3 || XPG4] (clock_gettime): Likewise.
74032 [XPG3 || XPG4] (clock_settime): Likewise.
74033 [XPG3 || XPG4] (nanosleep): Likewise.
74034 [XPG3 || XPG4] (timer_create): Likewise.
74035 [XPG3 || XPG4] (timer_delete): Likewise.
74036 [XPG3 || XPG4] (timer_gettime): Likewise.
74037 [XPG3 || XPG4] (timer_getoverrun): Likewise.
74038 [XPG3 || XPG4] (timer_settime): Likewise.
74039 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74040 [XPG3 || XPG4] (getlogin_r): Likewise.
74041 [XPG3 || XPG4] (pread): Likewise.
74042 [XPG3 || XPG4] (pthread_atfork): Likewise.
74043 [XPG3 || XPG4] (pwrite): Likewise.
74044
74045 [BZ #14835]
74046 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74047 <bits/siginfo.h>.
74048
74049 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
74050
74051 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74052 finalizing MALLSTREAM.
74053
74054 * sysdeps/mach/hurd/syncfs.c: New file.
74055
74056 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
74057
74058 [BZ #14719]
74059 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74060 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74061 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74062 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74063 (_nss_dns_gethostbyname4_r): Likewise.
74064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74065 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74066
74067 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
74068
74069 [BZ #13763]
74070 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74071
74072 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
74073
74074 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74075 * elf/cache.c (print_entry): Print ",AArch64" for
74076 FLAG_AARCH64_LIB64
74077
74078 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74079 * elf/cache.c (print_entry): Print ",hard-float" for
74080 FLAG_ARM_LIBHF.
74081
74082 2012-11-18 David S. Miller <davem@davemloft.net>
74083
74084 With help from Joseph Myers.
74085 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74086 cutoff to 2**-13.
74087 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74088 cutoff to 2**-25.
74089 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74090 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74091 small.
74092 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74093 * math/libm-test.inc (y0_test): New tests.
74094 (y1_test): New tests.
74095 * sysdeps/i386/fpu/libm-test-ulps: Update.
74096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74098
74099 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
74100
74101 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74102 64-bit targets.
74103 * configure: Regenerated.
74104
74105 2012-11-17 David S. Miller <davem@davemloft.net>
74106
74107 [BZ #14811]
74108 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74109 nonzero exponents with absolute value below 0x1p-128 to +/-
74110 0x1p-128.
74111
74112 2012-11-17 Joseph Myers <joseph@codesourcery.com>
74113
74114 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74115
74116 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74117
74118 * posix/getconf-speclist.c: New file.
74119 * posix/posix-envs.def: Likewise.
74120 * posix/confstr.c (START_ENV_GROUP): New macro.
74121 (END_ENV_GROUP): Likewise.
74122 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74123 (KNOWN_PRESENT_ENV_STRING): Likewise.
74124 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74125 (UNKNOWN_ENVIRONMENT): Likewise.
74126 (confstr): Include posix-envs.def instead of handling
74127 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74128 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74129 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74130 (END_ENV_GROUP): Likewise.
74131 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74132 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74133 (UNKNOWN_ENVIRONMENT): Likewise.
74134 (__sysconf): Include posix-envs.def instead of handling associated
74135 cases directly here.
74136 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74137 preprocessing getconf-speclist.c rather than running getconf or
74138 generating empty file.
74139
74140 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
74141
74142 * scripts/check-local-headers.sh: Ignore 'mach' headers.
74143
74144 2012-11-16 Andrej Lajovic <natrij@gmail.com>
74145
74146 [BZ #14672]
74147 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74148
74149 2012-11-16 David S. Miller <davem@davemloft.net>
74150
74151 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74152 smaller than LDBL_EPSILON/2.0L, just return xm1.
74153
74154 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74155
74156 * elf/tst-array1.c (init): Set constructor priority to 1000.
74157 (fini): Set destructor priority to 1000.
74158 * elf/tst-array2dep.c: Likewise.
74159
74160 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74161
74162 [BZ #11741]
74163 * libio/fileops.c (_IO_new_file_write): Correctly return error.
74164 (_IO_new_file_xsputn): Also return EOF if none of the input
74165 data was written when overflow failed.
74166 * libio/iopadn.c (_IO_padn): Likewise.
74167 * libio/iowpadn.c (_IO_wpadn): Likewise.
74168 * stdio-common/tst-put-error.c: Add copyright notice.
74169 (do_test): Add case for printing padded string.
74170 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74171 _IO_padn returned error.
74172 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74173 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74174 return EOF.
74175
74176 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74177
74178 * libio/libioP.h: Add comment note that the references to C++
74179 bits are now obsolete.
74180
74181 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74182
74183 * math/libm-test.inc (check_complex): Use asprintf.
74184
74185 2012-11-14 Joseph Myers <joseph@codesourcery.com>
74186
74187 * debug/pcprofiledump.c (print_version): Update copyright year.
74188 * malloc/memusagestat.c (print_version): Likewise.
74189
74190 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74191
74192 [BZ #14831]
74193 * elf/Makefile (tests): Add tst-audit8.
74194 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74195 ($(objpfx)tst-audit8.out): New target.
74196 (tst-audit8-ENV): New variable.
74197 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74198 audit if l_reloc_result is NULL.
74199 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74200 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74201 * elf/tst-audit8.c: New file.
74202
74203 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74204
74205 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74206 * misc/Makefile (CFLAGS-select.c): Define.
74207 * posix/Makefile (CFLAGS-pause.c): Define.
74208
74209 2012-11-13 David S. Miller <davem@davemloft.net>
74210
74211 * crypt/Makefile: Move test targets after toplevel Rules
74212 inclusion. Grab any necessary sysdep routines when linking.
74213 * crypt/md5.c (md5_process_block): Remove define, we will always
74214 name it __md5_process_block.
74215 (md5_finish_ctx): Update md5_process_block call.
74216 (md5_stream): Likewise.
74217 (md5_process_bytes): Likewise.
74218 (md5_process_block): Rename to __md5_process_block and move to ...
74219 * crypt/md5-block.c: ... here.
74220 * crypt/sha256.c (sha256_process_block): Move to ...
74221 * crypt/sha256-block.c: ... here.
74222 * crypt/sha512.c (sha512_process_block): Move to ...
74223 * crypt/sha512-block.c: ... here.
74224 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74225 path.
74226 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74227 * sysdeps/sparc/sparc64/multiarch/Makefile
74228 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74229 crypt subdir.
74230 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74231 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74232 multiarch changes.
74233 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74234 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74235 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74236 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74237 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74238 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74239 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74240 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74241 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74242 file.
74243 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74244 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74245 file.
74246 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74247
74248 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74249
74250 * timezone/tzselect.ksh: Update from tzcode git revision
74251 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74252 * timezone/zdump.c: Likewise.
74253 * timezone/zic.c: Likewise.
74254 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74255 in TZVERSION setting, not $(PKGVERSION).
74256 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74257 REPORT_BUGS_TO settings.
74258
74259 [BZ #14838]
74260 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74261 macro.
74262
74263 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74264
74265 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74266 detection to immediately after _FP_ROUND().
74267 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74268 bits are 0.
74269
74270 2012-11-11 David S. Miller <davem@davemloft.net>
74271
74272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74273 inttypes.h
74274 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74275 __close rather than their public counterparts.
74276
74277 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74278
74279 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74280 file.
74281 [UNIX98] (sem_timedwait): Do not expect.
74282 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74283 [XPG4 || UNIX98] (sockatmark): Do not expect.
74284 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74285 (clock_getcpuclockid): Do not expect.
74286 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74287 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74288 Do not expect.
74289 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74290 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74291 [UNIX98] (vwscanf): Likewise.
74292 [UNIX98] (vswscanf): Likewise.
74293
74294 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74295
74296 * timezone/version.h: Remove file.
74297 * timezone/README: Do not refer to version.h.
74298 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74299 $(objpfx)version.h.
74300 ($(objpfx)zdump.o): Likewise.
74301 ($(objpfx)version.h): New target.
74302
74303 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74304 2012i.
74305 * timezone/README: Don't mention modification to tzselect.ksh.
74306 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74307 work on unmodified tzselect.ksh. Substitute version numbers in
74308 tzselect.ksh.
74309
74310 * Makefile (format-me): Remove.
74311 (INSTALL): Adjust indentation. Use commands directly instead of
74312 using $(format-me).
74313
74314 * aclocal.m4 (ACX_PKGVERSION): New macro.
74315 (ACX_BUGURL): Likewise.
74316 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74317 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74318 (REPORT_BUGS_TO): Likewise.
74319 * configure: Regenerated.
74320 * config.h.in (PKGVERSION): New macro.
74321 (REPORT_BUGS_TO): Likewise.
74322 * config.make.in (PKGVERSION): New variable.
74323 (PKGVERSION_TEXI): Likewise.
74324 (REPORT_BUGS_TO): Likewise.
74325 (REPORT_BUGS_TEXI): Likewise.
74326 * Makefile (format-me): Use -I$(common-objpfx)manual.
74327 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74328 ($(common-objpfx)manual/%): New target.
74329 (manual/%): Remove target.
74330 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74331 (print_version): Use PKGVERSION.
74332 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74333 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74334 and REPORT_BUGS_TO.
74335 ($(objpfx)xtrace): Likewise.
74336 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74337 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74338 (print_version): Use PKGVERSION.
74339 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74340 (do_version): Use PKGVERSION.
74341 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74342 REPORT_BUGS_TO.
74343 (common-ldd-rewrite): Likewise.
74344 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74345 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74346 (print_version): Use PKGVERSION.
74347 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74348 * elf/pldd.c (argp_program_bug_address): Remove variable.
74349 (more_help): New function.
74350 (argp): Use more_help.
74351 (print_version): Use PKGVERSION.
74352 * elf/sln.c (main): Use PKGVERSION.
74353 (usage): Use REPORT_BUGS_TO.
74354 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74355 (top level): Use PKGVERSION.
74356 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74357 (print_version): Use PKGVERSION.
74358 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74359 (print_version): Use PKGVERSION.
74360 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74361 (print_version): Use PKGVERSION.
74362 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74363 (print_version): Use PKGVERSION.
74364 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74365 (print_version): Use PKGVERSION.
74366 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74367 (print_version): Use PKGVERSION.
74368 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74369 and BUGURL.
74370 ($(objpfx)memusage): Likewise.
74371 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74372 (do_version): Use PKGVERSION.
74373 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74374 (print_version): Use PKGVERSION.
74375 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74376 ($PKGVERSION): New variable.
74377 ($REPORT_BUGS_TO): Likewise.
74378 (usage): Use $REPORT_BUGS_TO.
74379 (top level): Use $PKGVERSION.
74380 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74381 ($(objpfx)pkgvers.texi): New rule.
74382 ($(objpfx)stamp-pkgvers): Likewise.
74383 * manual/install.texi: Include pkgvers.texi.
74384 (--with-pkgversion): Document new configure option.
74385 (--with-bugurl): Likewise.
74386 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74387 than necessarily for this particular distribution. Use
74388 REPORT_BUGS_TO for where to report bugs.
74389 * INSTALL: Regenerated.
74390 * manual/libc.texinfo: Include pkgvers.texi.
74391 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74392 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74393 (print_version): Use PKGVERSION.
74394 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74395 (print_version): Use PKGVERSION.
74396 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74397 (print_version): Use PKGVERSION.
74398 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74399 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74400 macro.
74401 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74402 (print_version): Use PKGVERSION.
74403 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74404 (print_version): Use PKGVERSION.
74405 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74406 and PKGVERSION.
74407
74408 * timezone/checktab.awk: Update from tzcode 2012i.
74409 * timezone/ialloc.c: Likewise.
74410 * timezone/private.h: Likewise.
74411 * timezone/scheck.c: Likewise.
74412 * timezone/tzfile.h: Likewise.
74413 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74414 (TZVERSION): Hardcode tzcode version number.
74415 * timezone/zdump.c: Update from tzcode 2012i.
74416 * timezone/zic.c: Likewise.
74417 * timezone/version.h: New file.
74418 * timezone/README: Describe version.h. Update upstream location.
74419
74420 [BZ #14824]
74421 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74422 (mktemp): Enable declaration.
74423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74427 Likewise.
74428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74429 Likewise.
74430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74431 Likewise.
74432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74433 Likewise.
74434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74435 Likewise.
74436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74437 Likewise.
74438
74439 [BZ #14821]
74440 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74441 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74442 for copies of such integer values.
74443 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74444 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74445
74446 2012-11-09 Andreas Jaeger <aj@suse.de>
74447
74448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74449 definitions and declarations that are provided by
74450 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74451
74452 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74453
74454 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74455 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74456 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74457 definition.
74458
74459 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74460
74461 * elf/elf.h: Update comment before AArch64 relocations.
74462
74463 2012-11-07 David S. Miller <davem@davemloft.net>
74464
74465 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74467 (__start_context): Declare.
74468 (__makecontext_ret): Delete.
74469 (__makecontext): Hook up __start_context instead of
74470 __makecontext_ret.
74471 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74472 (sysdep_routines): Add __start_context when in stdlib.
74473
74474 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74475
74476 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74477 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74478 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74479 hardcoded "nm".
74480 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74481 (READELF): New variable. Use it instead of hardcoded "readelf".
74482
74483 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74484
74485 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74486 * sysdeps/x86/Makefile: Here.
74487 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74488 * sysdeps/x86/tst-xmmymm.sh: This.
74489
74490 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74491
74492 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74493 expectations.
74494 [UNIX98] (pthread_barrier_t): Do not expect.
74495 [UNIX98] (pthread_barrierattr_t): Likewise.
74496 [UNIX98] (pthread_spinlock_t): Likewise.
74497 [UNIX98] (pthread_barrier_destroy): Likewise.
74498 [UNIX98] (pthread_barrier_init): Likewise.
74499 [UNIX98] (pthread_barrier_wait): Likewise.
74500 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74501 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74502 [UNIX98] (pthread_barrierattr_init): Likewise.
74503 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74504 [UNIX98] (pthread_getcpuclockid): Likewise.
74505 [UNIX98] (pthread_mutex_timedlock): Likewise.
74506 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74507 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74508 [UNIX98] (pthread_sigmask): Likewise.
74509 [UNIX98] (pthread_spin_destroy): Likewise.
74510 [UNIX98] (pthread_spin_init): Likewise.
74511 [UNIX98] (pthread_spin_lock): Likewise.
74512 [UNIX98] (pthread_spin_trylock): Likewise.
74513 [UNIX98] (pthread_spin_unlock): Likewise.
74514 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74515 Do not expect.
74516 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74517 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74518 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74519 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74520 [XPG3 || XPG4] (pthread_key_t): Likewise.
74521 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74522 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74523 [XPG3 || XPG4] (pthread_once_t): Likewise.
74524 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74525 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74526 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74527 [XPG3 || XPG4] (pthread_t): Likewise.
74528
74529 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74530 not expect.
74531 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74532
74533 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74534 Change function return type to int.
74535
74536 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74537 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74538 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74539 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74540 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74541 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74542 [!POSIX] (posix_madvise): Likewise.
74543 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74544 && !UNIX98].
74545 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74546 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74547 (mode_t): Likewise.
74548 (posix_mem_offset): Likewise.
74549 (posix_typed_mem_get_info): Likewise.
74550 (posix_typed_mem_open): Likewise.
74551
74552 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74553 Change condition to [XOPEN2K8].
74554
74555 * conform/conformtest.pl: Preprocess allow-header data with -x c
74556 instead of from stdin.
74557 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74558 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74559 [C99-based standards] (cerfc): Likewise.
74560 [C99-based standards] (cexp2): Likewise.
74561 [C99-based standards] (cexpm1): Likewise.
74562 [C99-based standards] (clog10): Likewise.
74563 [C99-based standards] (clog1p): Likewise.
74564 [C99-based standards] (clog2): Likewise.
74565 [C99-based standards] (clgamma): Likewise.
74566 [C99-based standards] (ctgamma): Likewise.
74567 [C99-based standards] (cerff): Likewise.
74568 [C99-based standards] (cerfcf): Likewise.
74569 [C99-based standards] (cexp2f): Likewise.
74570 [C99-based standards] (cexpm1f): Likewise.
74571 [C99-based standards] (clog10f): Likewise.
74572 [C99-based standards] (clog1pf): Likewise.
74573 [C99-based standards] (clog2f): Likewise.
74574 [C99-based standards] (clgammaf): Likewise.
74575 [C99-based standards] (ctgammaf): Likewise.
74576 [C99-based standards] (cerfl): Likewise.
74577 [C99-based standards] (cerfcl): Likewise.
74578 [C99-based standards] (cexp2l): Likewise.
74579 [C99-based standards] (cexpm1l): Likewise.
74580 [C99-based standards] (clog10l): Likewise.
74581 [C99-based standards] (clog1pl): Likewise.
74582 [C99-based standards] (clog2l): Likewise.
74583 [C99-based standards] (clgammal): Likewise.
74584 [C99-based standards] (ctgammal): Likewise.
74585 * conform/data/inttypes.h-data [C99-based standards]: Include
74586 stdint.h-data. Remove all expectations for stdint.h contents.
74587 [C99-based standards] (PRI*): Do not allow.
74588 [C99-based standards] (SCN*): Likewise.
74589 [C99-based standards] (*_t): Likewise.
74590 [C99-based-standards] (PRId8): Expect macro.
74591 [C99-based-standards] (PRIi8): Likewise.
74592 [C99-based-standards] (PRIo8): Likewise.
74593 [C99-based-standards] (PRIu8): Likewise.
74594 [C99-based-standards] (PRIx8): Likewise.
74595 [C99-based-standards] (PRIX8): Likewise.
74596 [C99-based-standards] (SCNd8): Likewise.
74597 [C99-based-standards] (SCNi8): Likewise.
74598 [C99-based-standards] (SCNo8): Likewise.
74599 [C99-based-standards] (SCNu8): Likewise.
74600 [C99-based-standards] (SCNx8): Likewise.
74601 [C99-based-standards] (PRIdLEAST8): Likewise.
74602 [C99-based-standards] (PRIiLEAST8): Likewise.
74603 [C99-based-standards] (PRIoLEAST8): Likewise.
74604 [C99-based-standards] (PRIuLEAST8): Likewise.
74605 [C99-based-standards] (PRIxLEAST8): Likewise.
74606 [C99-based-standards] (PRIXLEAST8): Likewise.
74607 [C99-based-standards] (SCNdLEAST8): Likewise.
74608 [C99-based-standards] (SCNiLEAST8): Likewise.
74609 [C99-based-standards] (SCNoLEAST8): Likewise.
74610 [C99-based-standards] (SCNuLEAST8): Likewise.
74611 [C99-based-standards] (SCNxLEAST8): Likewise.
74612 [C99-based-standards] (PRIdFAST8): Likewise.
74613 [C99-based-standards] (PRIiFAST8): Likewise.
74614 [C99-based-standards] (PRIoFAST8): Likewise.
74615 [C99-based-standards] (PRIuFAST8): Likewise.
74616 [C99-based-standards] (PRIxFAST8): Likewise.
74617 [C99-based-standards] (PRIXFAST8): Likewise.
74618 [C99-based-standards] (SCNdFAST8): Likewise.
74619 [C99-based-standards] (SCNiFAST8): Likewise.
74620 [C99-based-standards] (SCNoFAST8): Likewise.
74621 [C99-based-standards] (SCNuFAST8): Likewise.
74622 [C99-based-standards] (SCNxFAST8): Likewise.
74623 [C99-based-standards] (PRId16): Likewise.
74624 [C99-based-standards] (PRIi16): Likewise.
74625 [C99-based-standards] (PRIo16): Likewise.
74626 [C99-based-standards] (PRIu16): Likewise.
74627 [C99-based-standards] (PRIx16): Likewise.
74628 [C99-based-standards] (PRIX16): Likewise.
74629 [C99-based-standards] (SCNd16): Likewise.
74630 [C99-based-standards] (SCNi16): Likewise.
74631 [C99-based-standards] (SCNo16): Likewise.
74632 [C99-based-standards] (SCNu16): Likewise.
74633 [C99-based-standards] (SCNx16): Likewise.
74634 [C99-based-standards] (PRIdLEAST16): Likewise.
74635 [C99-based-standards] (PRIiLEAST16): Likewise.
74636 [C99-based-standards] (PRIoLEAST16): Likewise.
74637 [C99-based-standards] (PRIuLEAST16): Likewise.
74638 [C99-based-standards] (PRIxLEAST16): Likewise.
74639 [C99-based-standards] (PRIXLEAST16): Likewise.
74640 [C99-based-standards] (SCNdLEAST16): Likewise.
74641 [C99-based-standards] (SCNiLEAST16): Likewise.
74642 [C99-based-standards] (SCNoLEAST16): Likewise.
74643 [C99-based-standards] (SCNuLEAST16): Likewise.
74644 [C99-based-standards] (SCNxLEAST16): Likewise.
74645 [C99-based-standards] (PRIdFAST16): Likewise.
74646 [C99-based-standards] (PRIiFAST16): Likewise.
74647 [C99-based-standards] (PRIoFAST16): Likewise.
74648 [C99-based-standards] (PRIuFAST16): Likewise.
74649 [C99-based-standards] (PRIxFAST16): Likewise.
74650 [C99-based-standards] (PRIXFAST16): Likewise.
74651 [C99-based-standards] (SCNdFAST16): Likewise.
74652 [C99-based-standards] (SCNiFAST16): Likewise.
74653 [C99-based-standards] (SCNoFAST16): Likewise.
74654 [C99-based-standards] (SCNuFAST16): Likewise.
74655 [C99-based-standards] (SCNxFAST16): Likewise.
74656 [C99-based-standards] (PRId32): Likewise.
74657 [C99-based-standards] (PRIi32): Likewise.
74658 [C99-based-standards] (PRIo32): Likewise.
74659 [C99-based-standards] (PRIu32): Likewise.
74660 [C99-based-standards] (PRIx32): Likewise.
74661 [C99-based-standards] (PRIX32): Likewise.
74662 [C99-based-standards] (SCNd32): Likewise.
74663 [C99-based-standards] (SCNi32): Likewise.
74664 [C99-based-standards] (SCNo32): Likewise.
74665 [C99-based-standards] (SCNu32): Likewise.
74666 [C99-based-standards] (SCNx32): Likewise.
74667 [C99-based-standards] (PRIdLEAST32): Likewise.
74668 [C99-based-standards] (PRIiLEAST32): Likewise.
74669 [C99-based-standards] (PRIoLEAST32): Likewise.
74670 [C99-based-standards] (PRIuLEAST32): Likewise.
74671 [C99-based-standards] (PRIxLEAST32): Likewise.
74672 [C99-based-standards] (PRIXLEAST32): Likewise.
74673 [C99-based-standards] (SCNdLEAST32): Likewise.
74674 [C99-based-standards] (SCNiLEAST32): Likewise.
74675 [C99-based-standards] (SCNoLEAST32): Likewise.
74676 [C99-based-standards] (SCNuLEAST32): Likewise.
74677 [C99-based-standards] (SCNxLEAST32): Likewise.
74678 [C99-based-standards] (PRIdFAST32): Likewise.
74679 [C99-based-standards] (PRIiFAST32): Likewise.
74680 [C99-based-standards] (PRIoFAST32): Likewise.
74681 [C99-based-standards] (PRIuFAST32): Likewise.
74682 [C99-based-standards] (PRIxFAST32): Likewise.
74683 [C99-based-standards] (PRIXFAST32): Likewise.
74684 [C99-based-standards] (SCNdFAST32): Likewise.
74685 [C99-based-standards] (SCNiFAST32): Likewise.
74686 [C99-based-standards] (SCNoFAST32): Likewise.
74687 [C99-based-standards] (SCNuFAST32): Likewise.
74688 [C99-based-standards] (SCNxFAST32): Likewise.
74689 [C99-based-standards] (PRId64): Likewise.
74690 [C99-based-standards] (PRIi64): Likewise.
74691 [C99-based-standards] (PRIo64): Likewise.
74692 [C99-based-standards] (PRIu64): Likewise.
74693 [C99-based-standards] (PRIx64): Likewise.
74694 [C99-based-standards] (PRIX64): Likewise.
74695 [C99-based-standards] (SCNd64): Likewise.
74696 [C99-based-standards] (SCNi64): Likewise.
74697 [C99-based-standards] (SCNo64): Likewise.
74698 [C99-based-standards] (SCNu64): Likewise.
74699 [C99-based-standards] (SCNx64): Likewise.
74700 [C99-based-standards] (PRIdLEAST64): Likewise.
74701 [C99-based-standards] (PRIiLEAST64): Likewise.
74702 [C99-based-standards] (PRIoLEAST64): Likewise.
74703 [C99-based-standards] (PRIuLEAST64): Likewise.
74704 [C99-based-standards] (PRIxLEAST64): Likewise.
74705 [C99-based-standards] (PRIXLEAST64): Likewise.
74706 [C99-based-standards] (SCNdLEAST64): Likewise.
74707 [C99-based-standards] (SCNiLEAST64): Likewise.
74708 [C99-based-standards] (SCNoLEAST64): Likewise.
74709 [C99-based-standards] (SCNuLEAST64): Likewise.
74710 [C99-based-standards] (SCNxLEAST64): Likewise.
74711 [C99-based-standards] (PRIdFAST64): Likewise.
74712 [C99-based-standards] (PRIiFAST64): Likewise.
74713 [C99-based-standards] (PRIoFAST64): Likewise.
74714 [C99-based-standards] (PRIuFAST64): Likewise.
74715 [C99-based-standards] (PRIxFAST64): Likewise.
74716 [C99-based-standards] (PRIXFAST64): Likewise.
74717 [C99-based-standards] (SCNdFAST64): Likewise.
74718 [C99-based-standards] (SCNiFAST64): Likewise.
74719 [C99-based-standards] (SCNoFAST64): Likewise.
74720 [C99-based-standards] (SCNuFAST64): Likewise.
74721 [C99-based-standards] (SCNxFAST64): Likewise.
74722 [C99-based-standards] (PRIdMAX): Likewise.
74723 [C99-based-standards] (PRIiMAX): Likewise.
74724 [C99-based-standards] (PRIoMAX): Likewise.
74725 [C99-based-standards] (PRIuMAX): Likewise.
74726 [C99-based-standards] (PRIxMAX): Likewise.
74727 [C99-based-standards] (PRIXMAX): Likewise.
74728 [C99-based-standards] (SCNdMAX): Likewise.
74729 [C99-based-standards] (SCNiMAX): Likewise.
74730 [C99-based-standards] (SCNoMAX): Likewise.
74731 [C99-based-standards] (SCNuMAX): Likewise.
74732 [C99-based-standards] (SCNxMAX): Likewise.
74733 [C99-based-standards] (PRIdPTR): Likewise.
74734 [C99-based-standards] (PRIiPTR): Likewise.
74735 [C99-based-standards] (PRIoPTR): Likewise.
74736 [C99-based-standards] (PRIuPTR): Likewise.
74737 [C99-based-standards] (PRIxPTR): Likewise.
74738 [C99-based-standards] (PRIXPTR): Likewise.
74739 [C99-based-standards] (SCNdPTR): Likewise.
74740 [C99-based-standards] (SCNiPTR): Likewise.
74741 [C99-based-standards] (SCNoPTR): Likewise.
74742 [C99-based-standards] (SCNuPTR): Likewise.
74743 [C99-based-standards] (SCNxPTR): Likewise.
74744 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74745 allow.
74746 * conform/data/stdint.h-data: Update comments to clarify
74747 requirements.
74748 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74749 type.
74750 [C99-based standards] (INT8_MAX): Likewise.
74751 [C99-based standards] (INT16_MIN): Likewise.
74752 [C99-based standards] (INT16_MAX): Likewise.
74753 [C99-based standards] (INT32_MIN): Likewise.
74754 [C99-based standards] (INT32_MAX): Likewise.
74755 [C99-based standards] (INT64_MIN): Likewise.
74756 [C99-based standards] (INT64_MAX): Likewise.
74757 [C99-based standards] (UINT8_MAX): Likewise.
74758 [C99-based standards] (UINT16_MAX): Likewise.
74759 [C99-based standards] (UINT32_MAX): Likewise.
74760 [C99-based standards] (UINT64_MAX): Likewise.
74761 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74762 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74763 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74764 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74765 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74766 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74767 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74768 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74769 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74770 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74771 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74772 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74773 [C99-based standards] (INT_FAST8_MIN): Likewise.
74774 [C99-based standards] (INT_FAST8_MAX): Likewise.
74775 [C99-based standards] (INT_FAST16_MIN): Likewise.
74776 [C99-based standards] (INT_FAST16_MAX): Likewise.
74777 [C99-based standards] (INT_FAST32_MIN): Likewise.
74778 [C99-based standards] (INT_FAST32_MAX): Likewise.
74779 [C99-based standards] (INT_FAST64_MIN): Likewise.
74780 [C99-based standards] (INT_FAST64_MAX): Likewise.
74781 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74782 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74783 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74784 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74785 [C99-based standards] (INTPTR_MIN): Likewise.
74786 [C99-based standards] (INTPTR_MAX): Likewise.
74787 [C99-based standards] (UINTPTR_MAX): Likewise.
74788 [C99-based standards] (INTMAX_MIN): Likewise.
74789 [C99-based standards] (INTMAX_MAX): Likewise.
74790 [C99-based standards] (UINTMAX_MAX): Likewise.
74791 [C99-based standards] (PTRDIFF_MIN): Likewise.
74792 [C99-based standards] (PTRDIFF_MAX): Likewise.
74793 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74794 [C99-based standards] (SIZE_MAX): Likewise.
74795 [C99-based standards] (WCHAR_MAX): Likewise.
74796 [C99-based standards] (WINT_MAX): Likewise.
74797 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74798 constraint on value.
74799 [C99-based standards] (WCHAR_MIN): Likewise.
74800 [C99-based standards] (WINT_MIN): Likewise.
74801 [C99-based standards] (*_t): Allow.
74802 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74803 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74804 Include math.h-data and complex.h-data. Remove all expectations
74805 of math.h and complex.h contents.
74806 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74807 at end of line.
74808 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74809 (struct tm): Expect tag.
74810 [C99-based-standards] (wcstof): Expect function.
74811 [C99-based-standards] (wcstold): Likewise.
74812 [C99-based-standards] (wcstoll): Likewise.
74813 [C99-based-standards] (wcstoull): Likewise.
74814 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74815 macro-int-constant. Specify type.
74816 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74817 constraint on value.
74818 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74819 Specify type.
74820 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74821 Specify value.
74822 [ISO C standards]: Do not allow headers.
74823 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74824 wcs[abcdefghijklmnopqrstuvwxyz]*.
74825 [ISO C standards] (*_t): Do not allow.
74826 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74827 Expect function.
74828 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74829 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74830 Specify type.
74831 [ISO C standards]: Do not allow headers.
74832 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74833 is[abcdefghijklmnopqrstuvwxyz]*.
74834 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74835 to[abcdefghijklmnopqrstuvwxyz]*.
74836 [ISO C standards] (*_t): Do not allow.
74837 * conform/data/stdalign.h-data: New file.
74838 * conform/data/stdbool.h-data: Likewise.
74839 * conform/data/stdnoreturn.h-data: Likewise.
74840
74841 2012-11-07 Roland McGrath <roland@hack.frob.com>
74842
74843 [BZ #14815]
74844 * manual/filesys.texi (Directory Entries): Typo fix.
74845 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74846
74847 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74848
74849 * elf/elf.h (EM_AARCH64): New macro.
74850 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74851 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74852 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74853 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74854 (R_AARCH64_TLSDESC): Likewise.
74855 (NT_ARM_TLS): Likewise.
74856 (NT_ARM_HW_BREAK): Likewise.
74857 (NT_ARM_HW_WATCH): Likewise.
74858
74859 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74860
74861 [BZ #14811]
74862 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74863 (__ieee754_powl): Saturate nonzero exponents with absolute value
74864 below 0x1p-79 to +/- 0x1p-79.
74865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74866 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74867 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74868 nonzero exponents with absolute value below 0x1p-32 to +/-
74869 0x1p-32.
74870 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74871 (__ieee754_powl): Saturate nonzero exponents with absolute value
74872 below 0x1p-79 to +/- 0x1p-79.
74873 * math/libm-test.inc (pow_test): Add more tests.
74874
74875 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74876
74877 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74878 _dl_s390_cap_flags with kernel. Increase string length.
74879 (_dl_s390_platforms): Add z196 and zEC12.
74880
74881 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74882
74883 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74884 Change XOPEN21K to XOPEN2K.
74885
74886 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74887
74888 * string/memmove.c: Use memcpy when possible.
74889
74890 2012-11-06 Andreas Jaeger <aj@suse.de>
74891
74892 * po/eo.po: Update from translation team.
74893
74894 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74895
74896 [BZ #14793]
74897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74898 exponent and small x and y exponents, scale x or y up. Increase
74899 by 2 the exponent used in scaling up.
74900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74902 * math/libm-test.inc (fma_test): Add more tests.
74903 (fma_test_towardzero): Likewise.
74904 (fma_test_downward): Likewise.
74905 (fma_test_upward): Likewise.
74906
74907 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74908
74909 [BZ #14805]
74910 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74911 fenv_t *.
74912
74913 [BZ #14801]
74914 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74915 namespace for names of struct fields.
74916 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74917 fenv_t fields.
74918 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74919 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74920
74921 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74922
74923 [BZ #3665]
74924 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74925
74926 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74927
74928 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74929 PTR_DEMANGLE.
74930
74931 [BZ #5246]
74932 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74933 PTR_DEMANGLE.
74934
74935 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74936
74937 [BZ #14797]
74938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74939 definitely overflow as x * y not x * y + z.
74940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74942 * math/libm-test.inc (fma_test): Add more tests.
74943 (fma_test_towardzero): Likewise.
74944 (fma_test_downward): Likewise.
74945 (fma_test_upward): Likewise.
74946
74947 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74948
74949 [BZ #157]
74950
74951 * include/stub-tag.h: Remove file.
74952 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74953 '#include' of it.
74954 * manual/maint.texi (Porting): Don't reference it.
74955 * Makerules ($(objpfx)stubs): Likewise.
74956 * dirent/closedir.c: Don't include <stub-tag.h>.
74957 * dirent/dirfd.c: Likewise.
74958 * dirent/fdopendir.c: Likewise.
74959 * dirent/getdents.c: Likewise.
74960 * dirent/getdents64.c: Likewise.
74961 * dirent/opendir.c: Likewise.
74962 * dirent/readdir.c: Likewise.
74963 * dirent/readdir64.c: Likewise.
74964 * dirent/readdir64_r.c: Likewise.
74965 * dirent/readdir_r.c: Likewise.
74966 * dirent/rewinddir.c: Likewise.
74967 * dirent/seekdir.c: Likewise.
74968 * dirent/telldir.c: Likewise.
74969 * gmon/profil.c: Likewise.
74970 * grp/setgroups.c: Likewise.
74971 * inet/if_index.c: Likewise.
74972 * io/access.c: Likewise.
74973 * io/chdir.c: Likewise.
74974 * io/chmod.c: Likewise.
74975 * io/chown.c: Likewise.
74976 * io/close.c: Likewise.
74977 * io/dup.c: Likewise.
74978 * io/dup2.c: Likewise.
74979 * io/dup3.c: Likewise.
74980 * io/euidaccess.c: Likewise.
74981 * io/faccessat.c: Likewise.
74982 * io/fchdir.c: Likewise.
74983 * io/fchmod.c: Likewise.
74984 * io/fchmodat.c: Likewise.
74985 * io/fchown.c: Likewise.
74986 * io/fchownat.c: Likewise.
74987 * io/fcntl.c: Likewise.
74988 * io/flock.c: Likewise.
74989 * io/fstatfs.c: Likewise.
74990 * io/fstatfs64.c: Likewise.
74991 * io/fstatvfs.c: Likewise.
74992 * io/fstatvfs64.c: Likewise.
74993 * io/futimens.c: Likewise.
74994 * io/fxstat.c: Likewise.
74995 * io/fxstat64.c: Likewise.
74996 * io/fxstatat.c: Likewise.
74997 * io/fxstatat64.c: Likewise.
74998 * io/getcwd.c: Likewise.
74999 * io/isatty.c: Likewise.
75000 * io/lchmod.c: Likewise.
75001 * io/lchown.c: Likewise.
75002 * io/link.c: Likewise.
75003 * io/linkat.c: Likewise.
75004 * io/lseek.c: Likewise.
75005 * io/lseek64.c: Likewise.
75006 * io/lxstat64.c: Likewise.
75007 * io/mkdir.c: Likewise.
75008 * io/mkdirat.c: Likewise.
75009 * io/mkfifo.c: Likewise.
75010 * io/mkfifoat.c: Likewise.
75011 * io/open.c: Likewise.
75012 * io/open64.c: Likewise.
75013 * io/openat.c: Likewise.
75014 * io/openat64.c: Likewise.
75015 * io/pipe.c: Likewise.
75016 * io/pipe2.c: Likewise.
75017 * io/poll.c: Likewise.
75018 * io/posix_fadvise.c: Likewise.
75019 * io/posix_fadvise64.c: Likewise.
75020 * io/posix_fallocate.c: Likewise.
75021 * io/posix_fallocate64.c: Likewise.
75022 * io/read.c: Likewise.
75023 * io/readlink.c: Likewise.
75024 * io/readlinkat.c: Likewise.
75025 * io/rmdir.c: Likewise.
75026 * io/sendfile.c: Likewise.
75027 * io/sendfile64.c: Likewise.
75028 * io/statfs.c: Likewise.
75029 * io/statfs64.c: Likewise.
75030 * io/statvfs.c: Likewise.
75031 * io/statvfs64.c: Likewise.
75032 * io/symlink.c: Likewise.
75033 * io/symlinkat.c: Likewise.
75034 * io/ttyname.c: Likewise.
75035 * io/ttyname_r.c: Likewise.
75036 * io/umask.c: Likewise.
75037 * io/unlink.c: Likewise.
75038 * io/unlinkat.c: Likewise.
75039 * io/utime.c: Likewise.
75040 * io/utimensat.c: Likewise.
75041 * io/write.c: Likewise.
75042 * io/xmknod.c: Likewise.
75043 * io/xmknodat.c: Likewise.
75044 * io/xstat.c: Likewise.
75045 * io/xstat64.c: Likewise.
75046 * login/getpt.c: Likewise.
75047 * login/grantpt.c: Likewise.
75048 * login/unlockpt.c: Likewise.
75049 * math/e_acoshl.c: Likewise.
75050 * math/e_acosl.c: Likewise.
75051 * math/e_asinl.c: Likewise.
75052 * math/e_atan2l.c: Likewise.
75053 * math/e_atanhl.c: Likewise.
75054 * math/e_coshl.c: Likewise.
75055 * math/e_expl.c: Likewise.
75056 * math/e_fmodl.c: Likewise.
75057 * math/e_gammal_r.c: Likewise.
75058 * math/e_hypotl.c: Likewise.
75059 * math/e_j0l.c: Likewise.
75060 * math/e_j1l.c: Likewise.
75061 * math/e_jnl.c: Likewise.
75062 * math/e_lgammal_r.c: Likewise.
75063 * math/e_log10l.c: Likewise.
75064 * math/e_log2l.c: Likewise.
75065 * math/e_logl.c: Likewise.
75066 * math/e_powl.c: Likewise.
75067 * math/e_rem_pio2l.c: Likewise.
75068 * math/e_sinhl.c: Likewise.
75069 * math/e_sqrtl.c: Likewise.
75070 * math/fclrexcpt.c: Likewise.
75071 * math/fedisblxcpt.c: Likewise.
75072 * math/feenablxcpt.c: Likewise.
75073 * math/fegetenv.c: Likewise.
75074 * math/fegetexcept.c: Likewise.
75075 * math/fegetround.c: Likewise.
75076 * math/feholdexcpt.c: Likewise.
75077 * math/fesetenv.c: Likewise.
75078 * math/fesetround.c: Likewise.
75079 * math/feupdateenv.c: Likewise.
75080 * math/fgetexcptflg.c: Likewise.
75081 * math/fraiseexcpt.c: Likewise.
75082 * math/fsetexcptflg.c: Likewise.
75083 * math/ftestexcept.c: Likewise.
75084 * math/k_cosl.c: Likewise.
75085 * math/k_rem_pio2l.c: Likewise.
75086 * math/k_sinl.c: Likewise.
75087 * math/k_tanl.c: Likewise.
75088 * math/s_asinhl.c: Likewise.
75089 * math/s_atanl.c: Likewise.
75090 * math/s_cbrtl.c: Likewise.
75091 * math/s_erfl.c: Likewise.
75092 * math/s_expm1l.c: Likewise.
75093 * math/s_log1pl.c: Likewise.
75094 * math/s_tanhl.c: Likewise.
75095 * misc/acct.c: Likewise.
75096 * misc/brk.c: Likewise.
75097 * misc/chflags.c: Likewise.
75098 * misc/chroot.c: Likewise.
75099 * misc/fchflags.c: Likewise.
75100 * misc/fgetxattr.c: Likewise.
75101 * misc/flistxattr.c: Likewise.
75102 * misc/fremovexattr.c: Likewise.
75103 * misc/fsetxattr.c: Likewise.
75104 * misc/fsync.c: Likewise.
75105 * misc/ftruncate.c: Likewise.
75106 * misc/futimes.c: Likewise.
75107 * misc/futimesat.c: Likewise.
75108 * misc/getdomain.c: Likewise.
75109 * misc/getdtsz.c: Likewise.
75110 * misc/gethostid.c: Likewise.
75111 * misc/gethostname.c: Likewise.
75112 * misc/getloadavg.c: Likewise.
75113 * misc/getpagesize.c: Likewise.
75114 * misc/getsysstats.c: Likewise.
75115 * misc/getxattr.c: Likewise.
75116 * misc/gtty.c: Likewise.
75117 * misc/ioctl.c: Likewise.
75118 * misc/lgetxattr.c: Likewise.
75119 * misc/listxattr.c: Likewise.
75120 * misc/llistxattr.c: Likewise.
75121 * misc/lremovexattr.c: Likewise.
75122 * misc/lsetxattr.c: Likewise.
75123 * misc/lutimes.c: Likewise.
75124 * misc/madvise.c: Likewise.
75125 * misc/mincore.c: Likewise.
75126 * misc/mlock.c: Likewise.
75127 * misc/mlockall.c: Likewise.
75128 * misc/mmap.c: Likewise.
75129 * misc/mprotect.c: Likewise.
75130 * misc/msync.c: Likewise.
75131 * misc/munlock.c: Likewise.
75132 * misc/munlockall.c: Likewise.
75133 * misc/munmap.c: Likewise.
75134 * misc/preadv.c: Likewise.
75135 * misc/preadv64.c: Likewise.
75136 * misc/ptrace.c: Likewise.
75137 * misc/pwritev.c: Likewise.
75138 * misc/pwritev64.c: Likewise.
75139 * misc/readv.c: Likewise.
75140 * misc/reboot.c: Likewise.
75141 * misc/remap_file_pages.c: Likewise.
75142 * misc/removexattr.c: Likewise.
75143 * misc/revoke.c: Likewise.
75144 * misc/select.c: Likewise.
75145 * misc/setdomain.c: Likewise.
75146 * misc/setegid.c: Likewise.
75147 * misc/seteuid.c: Likewise.
75148 * misc/sethostid.c: Likewise.
75149 * misc/sethostname.c: Likewise.
75150 * misc/setregid.c: Likewise.
75151 * misc/setreuid.c: Likewise.
75152 * misc/setxattr.c: Likewise.
75153 * misc/sstk.c: Likewise.
75154 * misc/stty.c: Likewise.
75155 * misc/swapoff.c: Likewise.
75156 * misc/swapon.c: Likewise.
75157 * misc/sync.c: Likewise.
75158 * misc/syncfs.c: Likewise.
75159 * misc/syscall.c: Likewise.
75160 * misc/truncate.c: Likewise.
75161 * misc/ualarm.c: Likewise.
75162 * misc/usleep.c: Likewise.
75163 * misc/ustat.c: Likewise.
75164 * misc/utimes.c: Likewise.
75165 * misc/vhangup.c: Likewise.
75166 * misc/writev.c: Likewise.
75167 * posix/_exit.c: Likewise.
75168 * posix/alarm.c: Likewise.
75169 * posix/execve.c: Likewise.
75170 * posix/fexecve.c: Likewise.
75171 * posix/fork.c: Likewise.
75172 * posix/fpathconf.c: Likewise.
75173 * posix/getaddrinfo.c: Likewise.
75174 * posix/getegid.c: Likewise.
75175 * posix/geteuid.c: Likewise.
75176 * posix/getgid.c: Likewise.
75177 * posix/getgroups.c: Likewise.
75178 * posix/getlogin.c: Likewise.
75179 * posix/getlogin_r.c: Likewise.
75180 * posix/getpgid.c: Likewise.
75181 * posix/getpid.c: Likewise.
75182 * posix/getppid.c: Likewise.
75183 * posix/getresgid.c: Likewise.
75184 * posix/getresuid.c: Likewise.
75185 * posix/getsid.c: Likewise.
75186 * posix/getuid.c: Likewise.
75187 * posix/glob64.c: Likewise.
75188 * posix/nanosleep.c: Likewise.
75189 * posix/pathconf.c: Likewise.
75190 * posix/pause.c: Likewise.
75191 * posix/posix_madvise.c: Likewise.
75192 * posix/pread.c: Likewise.
75193 * posix/pread64.c: Likewise.
75194 * posix/pwrite.c: Likewise.
75195 * posix/pwrite64.c: Likewise.
75196 * posix/sched_getaffinity.c: Likewise.
75197 * posix/sched_getp.c: Likewise.
75198 * posix/sched_gets.c: Likewise.
75199 * posix/sched_primax.c: Likewise.
75200 * posix/sched_primin.c: Likewise.
75201 * posix/sched_rr_gi.c: Likewise.
75202 * posix/sched_setaffinity.c: Likewise.
75203 * posix/sched_setp.c: Likewise.
75204 * posix/sched_sets.c: Likewise.
75205 * posix/sched_yield.c: Likewise.
75206 * posix/setgid.c: Likewise.
75207 * posix/setlogin.c: Likewise.
75208 * posix/setpgid.c: Likewise.
75209 * posix/setresgid.c: Likewise.
75210 * posix/setresuid.c: Likewise.
75211 * posix/setsid.c: Likewise.
75212 * posix/setuid.c: Likewise.
75213 * posix/sleep.c: Likewise.
75214 * posix/spawni.c: Likewise.
75215 * posix/sysconf.c: Likewise.
75216 * posix/times.c: Likewise.
75217 * posix/wait.c: Likewise.
75218 * posix/wait3.c: Likewise.
75219 * posix/wait4.c: Likewise.
75220 * posix/waitpid.c: Likewise.
75221 * resolv/gai_sigqueue.c: Likewise.
75222 * resource/getpriority.c: Likewise.
75223 * resource/getrlimit.c: Likewise.
75224 * resource/getrusage.c: Likewise.
75225 * resource/nice.c: Likewise.
75226 * resource/setpriority.c: Likewise.
75227 * resource/setrlimit.c: Likewise.
75228 * resource/ulimit.c: Likewise.
75229 * rt/aio_cancel.c: Likewise.
75230 * rt/aio_fsync.c: Likewise.
75231 * rt/aio_read.c: Likewise.
75232 * rt/aio_sigqueue.c: Likewise.
75233 * rt/aio_suspend.c: Likewise.
75234 * rt/aio_write.c: Likewise.
75235 * rt/clock_getres.c: Likewise.
75236 * rt/clock_gettime.c: Likewise.
75237 * rt/clock_nanosleep.c: Likewise.
75238 * rt/clock_settime.c: Likewise.
75239 * rt/lio_listio.c: Likewise.
75240 * rt/mq_close.c: Likewise.
75241 * rt/mq_getattr.c: Likewise.
75242 * rt/mq_notify.c: Likewise.
75243 * rt/mq_open.c: Likewise.
75244 * rt/mq_receive.c: Likewise.
75245 * rt/mq_send.c: Likewise.
75246 * rt/mq_setattr.c: Likewise.
75247 * rt/mq_timedreceive.c: Likewise.
75248 * rt/mq_timedsend.c: Likewise.
75249 * rt/mq_unlink.c: Likewise.
75250 * rt/shm_open.c: Likewise.
75251 * rt/shm_unlink.c: Likewise.
75252 * rt/timer_create.c: Likewise.
75253 * rt/timer_delete.c: Likewise.
75254 * rt/timer_getoverr.c: Likewise.
75255 * rt/timer_gettime.c: Likewise.
75256 * rt/timer_settime.c: Likewise.
75257 * setjmp/__longjmp.c: Likewise.
75258 * setjmp/setjmp.c: Likewise.
75259 * signal/kill.c: Likewise.
75260 * signal/killpg.c: Likewise.
75261 * signal/raise.c: Likewise.
75262 * signal/sigaction.c: Likewise.
75263 * signal/sigaltstack.c: Likewise.
75264 * signal/sigblock.c: Likewise.
75265 * signal/sigignore.c: Likewise.
75266 * signal/sigintr.c: Likewise.
75267 * signal/signal.c: Likewise.
75268 * signal/sigpause.c: Likewise.
75269 * signal/sigpending.c: Likewise.
75270 * signal/sigqueue.c: Likewise.
75271 * signal/sigreturn.c: Likewise.
75272 * signal/sigset.c: Likewise.
75273 * signal/sigsetmask.c: Likewise.
75274 * signal/sigstack.c: Likewise.
75275 * signal/sigsuspend.c: Likewise.
75276 * signal/sigtimedwait.c: Likewise.
75277 * signal/sigvec.c: Likewise.
75278 * signal/sigwait.c: Likewise.
75279 * signal/sigwaitinfo.c: Likewise.
75280 * signal/sysv_signal.c: Likewise.
75281 * socket/accept.c: Likewise.
75282 * socket/accept4.c: Likewise.
75283 * socket/bind.c: Likewise.
75284 * socket/connect.c: Likewise.
75285 * socket/getpeername.c: Likewise.
75286 * socket/getsockname.c: Likewise.
75287 * socket/getsockopt.c: Likewise.
75288 * socket/isfdtype.c: Likewise.
75289 * socket/listen.c: Likewise.
75290 * socket/recv.c: Likewise.
75291 * socket/recvfrom.c: Likewise.
75292 * socket/recvmsg.c: Likewise.
75293 * socket/send.c: Likewise.
75294 * socket/sendmsg.c: Likewise.
75295 * socket/sendto.c: Likewise.
75296 * socket/setsockopt.c: Likewise.
75297 * socket/shutdown.c: Likewise.
75298 * socket/sockatmark.c: Likewise.
75299 * socket/socket.c: Likewise.
75300 * socket/socketpair.c: Likewise.
75301 * stdio-common/ctermid.c: Likewise.
75302 * stdio-common/cuserid.c: Likewise.
75303 * stdio-common/remove.c: Likewise.
75304 * stdio-common/rename.c: Likewise.
75305 * stdio-common/renameat.c: Likewise.
75306 * stdio-common/tempname.c: Likewise.
75307 * stdlib/getcontext.c: Likewise.
75308 * stdlib/makecontext.c: Likewise.
75309 * stdlib/setcontext.c: Likewise.
75310 * stdlib/swapcontext.c: Likewise.
75311 * stdlib/system.c: Likewise.
75312 * streams/fattach.c: Likewise.
75313 * streams/fdetach.c: Likewise.
75314 * streams/getmsg.c: Likewise.
75315 * streams/getpmsg.c: Likewise.
75316 * streams/putmsg.c: Likewise.
75317 * streams/putpmsg.c: Likewise.
75318 * sysdeps/unix/bsd/getpt.c: Likewise.
75319 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75320 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75321 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75323 Likewise.
75324 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75325 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75326 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75327 * sysvipc/msgctl.c: Likewise.
75328 * sysvipc/msgget.c: Likewise.
75329 * sysvipc/msgrcv.c: Likewise.
75330 * sysvipc/msgsnd.c: Likewise.
75331 * sysvipc/semctl.c: Likewise.
75332 * sysvipc/semget.c: Likewise.
75333 * sysvipc/semop.c: Likewise.
75334 * sysvipc/semtimedop.c: Likewise.
75335 * sysvipc/shmat.c: Likewise.
75336 * sysvipc/shmctl.c: Likewise.
75337 * sysvipc/shmdt.c: Likewise.
75338 * sysvipc/shmget.c: Likewise.
75339 * termios/tcdrain.c: Likewise.
75340 * termios/tcflow.c: Likewise.
75341 * termios/tcflush.c: Likewise.
75342 * termios/tcgetattr.c: Likewise.
75343 * termios/tcgetpgrp.c: Likewise.
75344 * termios/tcsendbrk.c: Likewise.
75345 * termios/tcsetattr.c: Likewise.
75346 * termios/tcsetpgrp.c: Likewise.
75347 * time/adjtime.c: Likewise.
75348 * time/clock.c: Likewise.
75349 * time/getitimer.c: Likewise.
75350 * time/gettimeofday.c: Likewise.
75351 * time/setitimer.c: Likewise.
75352 * time/settimeofday.c: Likewise.
75353 * time/stime.c: Likewise.
75354 * time/time.c: Likewise.
75355
75356 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75357
75358 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75359 /usr/old/bin.
75360
75361 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75362 instead of spaces.
75363 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75364
75365 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75366
75367 [BZ #14796]
75368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75369 FE_TONEAREST before applying Dekker multiplication and Knuth
75370 addition. Clear inexact exceptions and check for exact zero
75371 results afterwards.
75372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75373 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75374 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75375 * math/libm-test.inc (fma_test): Add more tests.
75376 (fma_test_towardzero): Likewise.
75377 (fma_test_downward): Likewise.
75378 (fma_test_upward): Likewise.
75379 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75380 function.
75381 (libc_fesetround): New macro.
75382 (libc_fesetroundf): Likewise.
75383 (libc_fesetroundl): Likewise.
75384 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75385 function.
75386 (libc_fesetround_387): Likewise.
75387 (libc_fesetroundf): New macro.
75388 (libc_fesetround): Likewise.
75389 (libc_fesetroundl): Likewise.
75390 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75391 function.
75392 (libc_fesetroundf): New macro.
75393 (libc_fesetround): Likewise.
75394 (libc_fesetroundl): Likewise.
75395 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75396 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75397 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75398 libm_hidden_ver.
75399 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75400 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75401 libm_hidden_def.
75402 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75403 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75404 libm_hidden_ver.
75405 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75406 libm_hidden_def.
75407
75408 [BZ #3439]
75409 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75410 integer constant usable in #if and use that to give value to enum
75411 constant.
75412 (FE_DIVBYZERO): Likewise.
75413 (FE_UNDERFLOW): Likewise.
75414 (FE_OVERFLOW): Likewise.
75415 (FE_INVALID): Likewise.
75416 (FE_INVALID_SNAN): Likewise.
75417 (FE_INVALID_ISI): Likewise.
75418 (FE_INVALID_IDI): Likewise.
75419 (FE_INVALID_ZDZ): Likewise.
75420 (FE_INVALID_IMZ): Likewise.
75421 (FE_INVALID_COMPARE): Likewise.
75422 (FE_INVALID_SOFTWARE): Likewise.
75423 (FE_INVALID_SQRT): Likewise.
75424 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75425 (FE_TONEAREST): Likewise.
75426 (FE_TOWARDZERO): Likewise.
75427 (FE_UPWARD): Likewise.
75428 (FE_DOWNWARD): Likewise.
75429 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75430 (FE_DIVBYZERO): Likewise.
75431 (FE_OVERFLOW): Likewise.
75432 (FE_UNDERFLOW): Likewise.
75433 (FE_INEXACT): Likewise.
75434 (FE_TONEAREST): Likewise.
75435 (FE_DOWNWARD): Likewise.
75436 (FE_UPWARD): Likewise.
75437 (FE_TOWARDZERO): Likewise.
75438 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75439 (FE_UNDERFLOW): Likewise.
75440 (FE_OVERFLOW): Likewise.
75441 (FE_DIVBYZERO): Likewise.
75442 (FE_INVALID): Likewise.
75443 (FE_TONEAREST): Likewise.
75444 (FE_TOWARDZERO): Likewise.
75445 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75446 (FE_OVERFLOW): Likewise.
75447 (FE_UNDERFLOW): Likewise.
75448 (FE_DIVBYZERO): Likewise.
75449 (FE_INEXACT): Likewise.
75450 (FE_TONEAREST): Likewise.
75451 (FE_TOWARDZERO): Likewise.
75452 (FE_UPWARD): Likewise.
75453 (FE_DOWNWARD): Likewise.
75454 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75455 (FE_DIVBYZERO): Likewise.
75456 (FE_OVERFLOW): Likewise.
75457 (FE_UNDERFLOW): Likewise.
75458 (FE_INEXACT): Likewise.
75459 (FE_TONEAREST): Likewise.
75460 (FE_DOWNWARD): Likewise.
75461 (FE_UPWARD): Likewise.
75462 (FE_TOWARDZERO): Likewise.
75463
75464 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75465
75466 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75467
75468 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75469
75470 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75471 commands. Quote $PWD.
75472 (blacklist_exports): Don't use remove_newlines. Replace "declare
75473 -x" by "export".
75474 (remove_newlines): Remove.
75475
75476 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75477
75478 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75479 * stdlib/stdlib.h (atof): Moved to ...
75480 * include/bits/stdlib-float.h: Here. New file.
75481 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75482 * stdlib/bits/stdlib-float.h: New file.
75483 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75484 -mno-sse -mno-mmx.
75485 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75486 <xmmintrin.h>.
75487
75488 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75489
75490 * conform/conformtest.pl (@headers): Add fenv.h.
75491 * conform/data/fenv.h-data: New file.
75492 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75493 include of <math/fenv.h>.
75494
75495 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75496 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75497 && !UNIX98]. Enables tests for XOPEN2K8.
75498 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75499 POSIX2008]: Likewise.
75500
75501 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75502 (struct rusage): Do not expect type or its members.
75503
75504 [BZ #3439]
75505 * math/math.h (FP_NAN): Define macro to integer constant usable in
75506 #if and use that to give value to enum constant.
75507 (FP_INFINITE): Likewise.
75508 (FP_ZERO): Likewise.
75509 (FP_SUBNORMAL): Likewise.
75510 (FP_NORMAL): Likewise.
75511
75512 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75513
75514 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75515 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75516 arguments.
75517
75518 2012-11-02 Roland McGrath <roland@hack.frob.com>
75519
75520 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75521 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75522 autoconf-time if not.
75523 * configure.in: Remove AC_PREREQ.
75524
75525 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75526
75527 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75528 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75529 of the internal implementation.
75530
75531 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75532
75533 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75534 except include of <misc/sys/syslog.h>.
75535
75536 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75537
75538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75539 function returns with a NULL context exit with zero.
75540
75541 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75542
75543 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75544
75545 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75546
75547 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75548 (run_program_cmd): This.
75549 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75550 (tst_langinfo): New variable. Use it.
75551
75552 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75553
75554 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75555 floating point opcodes.
75556
75557 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75558
75559 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75560 variable.
75561
75562 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75563
75564 * sysdeps/mach/hurd/powerpc: Remove directory.
75565 * sysdeps/mach/powerpc: Likewise.
75566
75567 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75568
75569 * scripts/check-local-headers.sh: Ignore c++ headers.
75570
75571 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75572
75573 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75574 __libc_cleanup_region_start argument.
75575
75576 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75577
75578 [BZ #14784]
75579 [BZ #14785]
75580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75581 x * y using scaling, not as x * y + z.
75582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75584 * math/libm-test.inc (fma_test): Add more tests.
75585 (fma_test_towardzero): Likewise.
75586 (fma_test_downward): Likewise.
75587 (fma_test_upward): Likewise.
75588
75589 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75590
75591 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75592
75593 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75594
75595 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75596 New variable.
75597
75598 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75599
75600 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75601
75602 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75603
75604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75605 Fix sort order.
75606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75607 Likewise.
75608
75609 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75610
75611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75612 Fix the order of the list for glibc 2.17.
75613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75614 Likewise.
75615
75616 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75617
75618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75619
75620 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75621
75622 [BZ #14610]
75623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75624 for low part of x being zero before using __atanl (y).
75625 * math/libm-test.inc (atan2_test): Add another test.
75626
75627 * manual/install.texi (Configuring and compiling): Document
75628 general use of test-wrapper and test-wrapper-env.
75629 * INSTALL: Regenerated.
75630
75631 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75632 (__fma): Do not extract and scale down low bits on after-rounding
75633 systems when result rounded to normal precision would have normal
75634 exponent.
75635 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75636 (__fmal): Do not extract and scale down low bits on after-rounding
75637 systems when result rounded to normal precision would have normal
75638 exponent.
75639 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75640 (__fmal): Do not extract and scale down low bits on after-rounding
75641 systems when result rounded to normal precision would have normal
75642 exponent.
75643 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75644 macro.
75645 (fma_test): Add more tests.
75646 (fma_test_towardzero): Likewise.
75647 (fma_test_downward): Likewise.
75648 (fma_test_upward): Likewise.
75649
75650 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75651
75652 * sysdeps/i386/tininess.h: Renamed to ...
75653 * sysdeps/x86/tininess.h: This.
75654 * sysdeps/x86_64/tininess.h: Removed.
75655
75656 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75657
75658 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75659 input. Use $(build-program-cmd).
75660 ($(objpfx)tst-array1-static.out): Likewise.
75661 ($(objpfx)tst-array2.out): Likewise.
75662 ($(objpfx)tst-array3.out): Likewise.
75663 ($(objpfx)tst-array4.out): Likewise.
75664 ($(objpfx)tst-array5.out): Likewise.
75665 ($(objpfx)tst-array5-static.out): Likewise.
75666
75667 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75668
75669 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75670 if defined.
75671
75672 * nss/nsswitch.h (nss_interface_function): Provide new
75673 macro for use with NSS functions.
75674 * grp/initgroups.c: Use new macro.
75675 * nss/getXXbyYY.c: Likewise.
75676 * nss/getXXbyYY_r.c: Likewise.
75677 * nss/getXXent.c: Likewise.
75678 * nss/getXXent_r.c: Likewise.
75679 * sysdeps/posix/getaddrinfo.c: Likewise.
75680
75681 2012-10-30 Andreas Jaeger <aj@suse.de>
75682
75683 * po/ru.po: Update Russion translation from translation project.
75684
75685 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75686
75687 [BZ #14152]
75688 [BZ #14783]
75689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75690 result and shift together with sticky bit instead of replicating
75691 round-to-nearest rounding.
75692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75693 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75694 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75695 missing underflow exceptions.
75696 (fma_test_towardzero): Add more tests.
75697 (fma_test_downward): Likewise.
75698 (fma_test_upward): Likewise.
75699
75700 [BZ #14047]
75701 * sysdeps/generic/tininess.h: New file.
75702 * sysdeps/i386/tininess.h: Likewise.
75703 * sysdeps/sh/tininess.h: Likewise.
75704 * sysdeps/x86_64/tininess.h: Likewise.
75705 * stdlib/tst-strtod-underflow.c: Likewise.
75706 * stdlib/tst-tininess.c: Likewise.
75707 * stdlib/strtod_l.c: Include <tininess.h>.
75708 (round_and_return): Do not set errno for exact underflow cases.
75709 Force an underflow exception when setting errno for underflow.
75710 Determine underflow based on rounding to normal precision if
75711 TININESS_AFTER_ROUNDING.
75712 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75713 ERANGE for exact underflow cases.
75714 * stdlib/Makefile (tests): Add tst-tininess and
75715 tst-strtod-underflow.
75716 ($(objpfx)tst-tininess): Use $(link-libm).
75717 ($(objpfx)tst-strtod-underflow): Likewise.
75718
75719 2012-10-30 Andreas Jaeger <aj@suse.de>
75720
75721 [BZ #14767]
75722 * elf/Makefile (tests): Remove conditional for have-initfini-array
75723 since this is now always required and the variable does not exist
75724 anymore.
75725 (tests-static): Likewise.
75726 (modules-names): Likewise.
75727
75728 * po/eo.po: Add Esperanto translation from translation project.
75729
75730 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75731 merged with constructor/destructor.
75732 (init_array): Likewise.
75733 * elf/tst-array2dep.c (fini_array): Likewise.
75734 (init_array): Likewise.
75735
75736 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75737
75738 * manual/message.texi: Delete @cartouche tags.
75739
75740 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75741
75742 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75743 EOPNOTSUPP.
75744 * sysdeps/mach/hurd/fsync.c: Likewise.
75745
75746 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75747 [_POSIX_REALTIME_SIGNALS]: Change condition to
75748 [_POSIX_REALTIME_SIGNALS > 0].
75749
75750 2012-10-27 Andreas Jaeger <aj@suse.de>
75751
75752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75753 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75754 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75755 [__WORDSIZE != 64]: Likewise.
75756
75757 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75758
75759 * iconvdata/tst-table.sh: Remove ${SHELL}.
75760 * iconvdata/tst-tables.sh: Likewise.
75761
75762 2012-10-25 David S. Miller <davem@davemloft.net>
75763
75764 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75765 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75766 of strtoull.
75767
75768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75769 ifunc-impl-list.c
75770 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75771 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75772 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75773 file.
75774
75775 2012-10-25 Roland McGrath <roland@hack.frob.com>
75776
75777 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75778 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75779 __getdirentries.
75780
75781 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75782 Jim Blandy <jimb@codesourcery.com>
75783
75784 * scripts/cross-test-ssh.sh: New file.
75785 * manual/install.texi (Configuring and compiling): Document use of
75786 cross-test-ssh.sh.
75787 * INSTALL: Regenerated.
75788
75789 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75790
75791 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75792 EOPNOTSUPP.
75793
75794 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75795
75796 * Makeconfig (run-program-prefix): Fix comment.
75797
75798 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75799 Jim Blandy <jimb@codesourcery.com>
75800
75801 * Makeconfig (test-wrapper): New variable,
75802 (test-wrapper-env): Likewise.
75803 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75804 (run-built-tests): Define to yes.
75805 (run-program-prefix): Use $(test-wrapper).
75806 (built-program-cmd): Likewise.
75807 * Rules (make-test-out): Use $(test-wrapper-env) and
75808 $(host-built-program-cmd).
75809 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75810 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75811 tst-pathopt.sh.
75812 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75813 $(test-wrapper-env) to tst-rtld-load-self.sh.
75814 ($(objpfx)order2.out): Use $(test-wrapper).
75815 ($(objpfx)tst-initorder.out): Likewise.
75816 ($(objpfx)tst-initorder2.out): Likewise.
75817 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75818 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75819 (test_wrapper_env): New variable. Use it to run ld.so.
75820 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75821 Use it to run ld.so.
75822 (test_wrapper_env): Likewise.
75823 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75824 $(test-wrapper) to run-iconv-test.sh.
75825 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75826 (ICONV): Use $test_wrapper.
75827 * posix/Makefile ($(objpfx)globtest.out): Pass
75828 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75829 globtest.sh, not $(run-program-prefix).
75830 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75831 (test_wrapper): Likewise.
75832 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75833 set together with run_via_rtld_prefix.
75834 (run_program_prefix): Define in terms of test_wrapper and
75835 run_via_rtld_prefix.
75836
75837 2012-10-24 Roland McGrath <roland@hack.frob.com>
75838
75839 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75840 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75841 Targets removed.
75842
75843 [BZ #14743]
75844 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75845 Declare __clock_getres, __clock_gettime, __clock_settime,
75846 __clock_nanosleep, and __clock_getcpuclockid.
75847 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75848 Remove librt_hidden_def (clock_gettime).
75849 * sysdeps/unix/clock_gettime.c: Likewise.
75850 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75852 * rt/clock_getres.c: Define __clock_getres as an alias.
75853 * sysdeps/posix/clock_getres.c: Likewise.
75854 * rt/clock_settime.c: Define __clock_settime as an alias.
75855 * sysdeps/unix/clock_settime.c: Likewise.
75856 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75857 * sysdeps/unix/clock_nanosleep.c: Likewise.
75858 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75859 * rt/clock-compat.c: New file.
75860 * rt/Makefile (librt-routines): Add clock-compat and move
75861 $(clock-routines) to ...
75862 (routines): ... here, new variable.
75863 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75864 Don't add get_clockfreq here.
75865 * rt/Versions (libc: GLIBC_2.17): New version set.
75866 Add clock_* symbols here.
75867 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75868 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75869 (GLIBC_2.17): Add clock_* symbols.
75870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75874 Likewise.
75875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75876 Likewise.
75877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75881 * NEWS: Mention the move.
75882
75883 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75884 Use __open, __read, __close rather than their public counterparts.
75885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75886 (__get_clockfreq_via_cpuinfo): Likewise.
75887 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75888 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75889
75890 * config.h.in (HAVE_IFUNC): New #undef.
75891 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75892 was successful.
75893 * configure: Regenerated.
75894
75895 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75896
75897 * configure.in: Move READELF check to start of file.
75898 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75899 libc_cv_asm_gnu_indirect_function in the process.
75900 * configure: Regenerated.
75901
75902 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75903
75904 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75905 send the output to /dev/null.
75906 (libc_cv_cc_with_libunwind): Likewise.
75907 (libc_cv_as_noexecstack): Likewise.
75908 * configure: Regenerate.
75909
75910 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75911
75912 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75913
75914 * posix/globtest.sh (TMPDIR): Do not set.
75915 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75916 (testout): Likewise.
75917
75918 2012-10-24 Andreas Jaeger <aj@suse.de>
75919
75920 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75921 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75922 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75923 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75924 posix_fadvise64, posix_fallocate64.
75925
75926 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75927 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75928 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75929 Likewise.
75930 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75931 Likewise.
75932 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75933
75934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75935 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75936 <bits/fcntl-linux.h>.
75937 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75938
75939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75940 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75941 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75942 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75943 [__WORDSIZE != 64]: Likewise.
75944
75945 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75946
75947 * Makeconfig (run-built-tests): New variable.
75948 * Rules [$(cross-compiling) = yes]: Change condition to
75949 [$(run-built-tests) = no].
75950 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75951 to [$(run-built-tests) = yes].
75952 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75953 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75954 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75955 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75956 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75957 * io/Makefile [$(cross-compiling) = no]: Likewise.
75958 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75959 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75960 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75961 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75962 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75963 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75964 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75965 * string/Makefile [$(cross-compiling) = no]: Likewise.
75966
75967 * posix/Makefile ($(objpfx)globtest.out): Pass
75968 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75969 $(rtld-installed-name).
75970 * posix/globtest.sh (elf_objpfx): Remove variable.
75971 (rtld_installed_name): Likewise.
75972 (library_path): Likewise.
75973 (run_program_prefix): New variable. Use for running globtest
75974 binary.
75975
75976 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75977 Joseph Myers <joseph@codesourcery.com>
75978
75979 * Makeconfig (host-built-program-cmd): New variable.
75980 * elf/Makefile (tst-stackguard1-ARGS): Use
75981 $(host-built-program-cmd).
75982 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75983 (tst-spawn-ARGS): Likewise.
75984 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75985
75986 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75987 Jim Blandy <jimb@codesourcery.com>
75988
75989 * Makeconfig (run-via-rtld-prefix): New variable.
75990 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75991 (built-program-cmd): Likewise.
75992
75993 2012-10-22 Andreas Jaeger <aj@suse.de>
75994
75995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75996 __O_RSYNC if it exists, otherwise to O_SYNC.
75997
75998 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75999 Joseph Myers <joseph@codesourcery.com>
76000
76001 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76002 /dev/null.
76003 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76004 from /dev/null
76005 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76006 /dev/null.
76007
76008 2012-10-22 Andreas Jaeger <aj@suse.de>
76009
76010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76011 Define always.
76012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76013
76014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76015 bits/fcntl-linux.h.
76016
76017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76018 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76019
76020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76021 to __O_LARGEFILE.
76022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76023 to __O_LARGEFILE.
76024
76025 2012-10-21 Jim Blandy <jimb@codesourcery.com>
76026 Joseph Myers <joseph@codesourcery.com>
76027
76028 * config.make.in (NM): New variable.
76029
76030 2012-10-21 Andreas Jaeger <aj@suse.de>
76031
76032 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76033 definitions and declarations that are provided by
76034 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76035
76036 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76037
76038 [BZ #14683]
76039 * elf/Makefile (tests-static): Add tst-leaks1-static.
76040 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76041 ($(objpfx)tst-leaks1-static): New rule.
76042 ($(objpfx)tst-leaks1-static-mem): Likewise.
76043 (tst-leaks1-static-ENV): New macro.
76044 * elf/dl-open.c (dl_open_worker): Check the main application
76045 only if SHARED is defined.
76046 * elf/tst-leaks1-static.c: New file.
76047
76048 2012-10-20 Andreas Jaeger <aj@suse.de>
76049
76050 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76051 generic values for Linux.
76052 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76053 and declarations that are provided by <bits/fcntl-linux.h> and
76054 include <bits/fcntl-linux.h>.
76055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76057
76058 2012-10-20 Roland McGrath <roland@hack.frob.com>
76059
76060 * io/fcntl.h: Move include of <bits/types.h> to the top and
76061 include it unconditionally.
76062
76063 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76064
76065 * wcsmbs/Makefile (tests-ifunc): New variable.
76066 (tests): Add $(tests-ifunc).
76067 * wcsmbs/test-wcschr-ifunc.c: New file.
76068 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76069 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76070 * wcsmbs/test-wcslen-ifunc.c: Likewise.
76071 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76072 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76073
76074 * string/Makefile (tests-ifunc): New variable.
76075 (tests): Add $(tests-ifunc).
76076 * string/test-memccpy.c (TEST_NAME): New macro.
76077 * string/test-memchr.c (TEST_NAME): Likewise.
76078 * string/test-memcmp.c (TEST_NAME): Likewise.
76079 * string/test-memcpy.c (TEST_NAME): Likewise.
76080 * string/test-memmem.c (TEST_NAME): Likewise.
76081 * string/test-memmove.c (TEST_NAME): Likewise.
76082 * string/test-memset.c (TEST_NAME): Likewise.
76083 * string/test-rawmemchr.c (TEST_NAME): Likewise.
76084 * string/test-stpcpy.c (TEST_NAME): Likewise.
76085 * string/test-stpncpy.c (TEST_NAME): Likewise.
76086 * string/test-strcasecmp.c (TEST_NAME): Likewise.
76087 * string/test-strcasestr.c (TEST_NAME): Likewise.
76088 * string/test-strcat.c (TEST_NAME): Likewise.
76089 * string/test-strchr.c (TEST_NAME): Likewise.
76090 * string/test-strcmp.c(TEST_NAME): Likewise.
76091 * string/test-strcpy.c (TEST_NAME): Likewise.
76092 * string/test-strcspn.c (TEST_NAME): Likewise.
76093 * string/test-strlen.c (TEST_NAME): Likewise.
76094 * string/test-strncasecmp.c (TEST_NAME): Likewise.
76095 * string/test-strncmp.c (TEST_NAME): Likewise.
76096 * string/test-strncpy.c (TEST_NAME): Likewise.
76097 * string/test-strnlen.c (TEST_NAME): Likewise.
76098 * string/test-strpbrk.c (TEST_NAME): Likewise.
76099 * string/test-strrchr.c (TEST_NAME): Likewise.
76100 * string/test-strspn.c (TEST_NAME): Likewise.
76101 * string/test-strstr.c (TEST_NAME): Likewise.
76102 * string/test-bcopy-ifunc.c: New file.
76103 * string/test-bzero-ifunc.c: Likewise.
76104 * string/test-memccpy-ifunc.c: Likewise.
76105 * string/test-memchr-ifunc.c: Likewise.
76106 * string/test-memcmp-ifunc.c: Likewise.
76107 * string/test-memcpy-ifunc.c: Likewise.
76108 * string/test-memmem-ifunc.c: Likewise.
76109 * string/test-memmove-ifunc.c: Likewise.
76110 * string/test-mempcpy-ifunc.c: Likewise.
76111 * string/test-memset-ifunc.c: Likewise.
76112 * string/test-rawmemchr-ifunc.c: Likewise.
76113 * string/test-stpcpy-ifunc.c: Likewise.
76114 * string/test-stpncpy-ifunc.c: Likewise.
76115 * string/test-strcasecmp-ifunc.c: Likewise.
76116 * string/test-strcasestr-ifunc.c: Likewise.
76117 * string/test-strcat-ifunc.c: Likewise.
76118 * string/test-strchr-ifunc.c: Likewise.
76119 * string/test-strchrnul-ifunc.c: Likewise.
76120 * string/test-strcmp-ifunc.c: Likewise.
76121 * string/test-strcpy-ifunc.c: Likewise.
76122 * string/test-strcspn-ifunc.c: Likewise.
76123 * string/test-strlen-ifunc.c: Likewise.
76124 * string/test-strncasecmp-ifunc.c: Likewise.
76125 * string/test-strncat-ifunc.c: Likewise.
76126 * string/test-strncmp-ifunc.c: Likewise.
76127 * string/test-strncpy-ifunc.c: Likewise.
76128 * string/test-strnlen-ifunc.c: Likewise.
76129 * string/test-strpbrk-ifunc.c: Likewise.
76130 * string/test-strrchr-ifunc.c: Likewise.
76131 * string/test-strspn-ifunc.c: Likewise.
76132 * string/test-strstr-ifunc.c: Likewise.
76133
76134 * debug/Makefile (tests-ifunc): New variable.
76135 (tests): Add $(tests-ifunc).
76136 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76137 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76138 * debug/test-stpcpy_chk-ifunc.c: New file.
76139 * debug/test-strcpy_chk-ifunc.c: Likewise.
76140
76141 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
76142
76143 [BZ #13601]
76144 * elf/dl-load.c (open_verify): Retry read if the entire ELF
76145 header is not read in.
76146
76147 2012-10-19 Joseph Myers <joseph@codesourcery.com>
76148
76149 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
76150 script to $(SHELL) as $<. Pass $(common-objpfx) to script
76151 directly. Pass built executable to script as
76152 $(built-program-cmd).
76153 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
76154 $testprogram without using LD_LIBRARY_PATH and $ldso.
76155
76156 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76157 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76158 $(rtld-installed-name).
76159 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76160 (rtld_installed_name): Likewise.
76161 (library_path): Likewise.
76162 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
76163 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76164 $(run-program-prefix) to tst-tables.sh.
76165 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
76166 it to run tst-table-from and tst-table-to.
76167 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76168 Pass it to tst-table.sh.
76169 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76170 $(run-program-prefix) to tst-gettext.sh.
76171 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76172 tst-translit.sh.
76173 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76174 tst-gettext2.sh.
76175 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
76176 to run tst-gettext.
76177 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
76178 to run tst-gettext2.
76179 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
76180 to run tst-translit.
76181 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76182 $(run-program-prefix) to tst-mtrace.sh.
76183 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76184 to run tst-mtrace.
76185 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76186 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76187 $(rtld-installed-name).
76188 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76189 (rtld_installed_name): Likewise.
76190 (run_program_prefix): New variable. Use it to run wordexp-test.
76191
76192 * Makeconfig (ARCH): Remove all definitions.
76193 (machine): Likewise.
76194 [ARCH]: Remove conditional code.
76195 [!objdir]: Give error.
76196 [!objdir] (objpfx): Remove.
76197 [!objdir] (common-objpfx): Likewise.
76198 [!objdir] (common-objdir): Likewise.
76199 * configure.in (config_makefile): Remove. Hardcode Makefile in
76200 AC_CONFIG_FILES call.
76201 * configure: Regenerated.
76202
76203 [BZ #13888]
76204 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76205 or TMPDIR.
76206 (testout): Likewise.
76207
76208 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76209 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76210 $(rtld-installed-name).
76211 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76212 (rtld_installed_name): Likewise.
76213 (runit): Remove function.
76214 (run_getconf): New variable, Use it for running getconf binary.
76215
76216 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
76217
76218 [BZ #14716]
76219 * string/test-memmem.c (check_result): New function.
76220 (do_one_test): Use it.
76221 (check1): New function.
76222 (test_main): Use it.
76223
76224 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76225
76226 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76227
76228 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76229
76230 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76231 (_G_LSEEK64): Likewise.
76232 (_G_MMAP64): Likewise.
76233 (_G_FSTAT64): Likewise.
76234 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76235 (_G_LSEEK64): Likewise.
76236 (_G_MMAP64): Likewise.
76237 (_G_FSTAT64): Likewise.
76238 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76239 unconditional. Call __mmap64 directly.
76240 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76241 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76242 __lseek64 directly.
76243 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76244 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76245 __mmap64 directly.
76246 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76247 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76248 __lseek64 directly.
76249 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76250 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76251 __lseek64 directly.
76252 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76253 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76254 __lseek64 directly.
76255 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76256 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76257 __fxstat64 directly.
76258 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76259 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76260 unconditional.
76261 (freopen64) [!_G_OPEN64]: Remove conditional code.
76262 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76263 unconditional.
76264 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76265 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76266 unconditional.
76267 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76268 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76269 unconditional.
76270 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76271 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76272 unconditional.
76273 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76274 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76275 unconditional.
76276 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76277 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76278 unconditional.
76279 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76280 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76281 unconditional.
76282 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76283
76284 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76285
76286 [BZ #12140]
76287 * manual/memory.texi (Malloc Tunable Parameters): Add note
76288 about free list pointers overwriting some perturb bytes.
76289 Wording suggested by Roland McGrath.
76290
76291 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76292
76293 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76294 (lgamma_test): Likewise.
76295 (tgamma_test): Likewise.
76296
76297 2012-10-16 Florian Weimer <fweimer@redhat.com>
76298
76299 [BZ #14700]
76300 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76301 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76302
76303 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76304
76305 * NEWS: Mention BZ #14716.
76306 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76307 when removing AVAILABLE1_USES_J macro.
76308
76309 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76310
76311 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76312 (__bswap_64): __uint64_t for unsigned 64-bit int.
76313
76314 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76315
76316 * include/string.h (memmem): Declare libc hidden alias.
76317 * string/memmem.c (memmem): Define libc hidden alias.
76318 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76319 __read, __close instead of open, read, close.
76320
76321 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76322
76323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76324 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76325 global and hidden.
76326 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76327 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76328 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76329 Likewise.
76330 (__rawmemchr_sse2): Likewise.
76331 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76332 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76333 (__strchr_sse2): Likewise.
76334 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76335 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76336 (__strcasecmp_sse2): Likewise.
76337 (__strncasecmp_sse2): Likewise.
76338 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76339 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76340 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76341 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76342 (__strrchr_sse2): Likewise.
76343 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76344 ifunc-impl-list.c.
76345 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76346 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76347 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76348 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76349 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76353 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76354 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76355 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76356 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76357 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76358 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76359 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76360 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76361 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76362 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76363 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76364 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76365 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76366 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76367 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76368 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76369 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76370 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76371 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76372 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76373 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76374 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76375
76376 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76377 global and hidden.
76378 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76379 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76380 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76381 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76382 Likewise.
76383 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76384 Likewise.
76385 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76386 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76387 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76388 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76389 ifunc-impl-list.c.
76390 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76391 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76392 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76393 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76394 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76395 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76396 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76397 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76398 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76399 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76400 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76401 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76402 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76403 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76404 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76405 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76406 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76407 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76409 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76410 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76411 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76412 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76413 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76414 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76415 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76416 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76417 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76418 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76419 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76420 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76421 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76422 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76423 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76424 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76425 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76426 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76427 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76428 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76429 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76430 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76431
76432 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76433 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76434 * include/ifunc-impl-list.h: New file.
76435 * misc/ifunc-impl-list.c: Likewise.
76436 * misc/Makefile (routines): Add ifunc-impl-list.
76437 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76438 * string/test-string.h: Include <ifunc-impl-list.h>.
76439 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76440 TEST_NAME]: New variables.
76441 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76442 are defined.
76443 (test_init): Call __libc_ifunc_impl_list to initialize
76444 func_list if TEST_IFUNC and TEST_NAME are defined.
76445
76446 * string/Makefile (strop-tests): Add bcopy and bzero.
76447 * string/test-bcopy.c: New file.
76448 * string/test-bzero.c: Likewise.
76449 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76450 defined.
76451 * string/test-memset.c: Support bzero test if TEST_BZERO is
76452 defined.
76453 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76454 __libc_memmove.
76455 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76456 __libc_memset.
76457 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76458 of memset.
76459
76460 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76461
76462 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76463 * configure: Regenerated.
76464
76465 * Makeconfig (+link-static-before-libc): Don't include
76466 $(link-static-libc).
76467
76468 * libio/libio.h (_IO_pos_t): Remove.
76469
76470 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76471
76472 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76473 McGrath.
76474
76475 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76476
76477 * crypt/crypt-entry.c: Include fips-private.h.
76478 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76479 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76480 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76481 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76482
76483 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76484
76485 * crypt/crypt-private.h: Include stdbool.h.
76486 (_ufc_setup_salt_r): Return bool.
76487 * crypt/crypt-entry.c: Include errno.h.
76488 (__crypt_r): Return NULL with EINVAL for bad salt.
76489 * crypt/crypt_util.c (bad_for_salt): New.
76490 (_ufc_setup_salt_r): Check that salt is long enough and within
76491 the specified alphabet.
76492 * crypt/badsalttest.c: New file.
76493 * crypt/Makefile (tests): Add it.
76494 ($(objpfx)badsalttest): New.
76495
76496 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76497
76498 * NEWS: Add entry for BZ #14602.
76499
76500 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76501
76502 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76503 type-generic.
76504 * math/libm-test.inc: Update comment listing what functions and
76505 macros are tested.
76506 (isgreater_test): New function.
76507 (isgreaterequal_test): Likewise.
76508 (isless_test): Likewise.
76509 (islessequal_test): Likewise.
76510 (islessgreater_test): Likewise.
76511 (isunordered_test): Likewise.
76512 (main): Call the new functions.
76513
76514 2012-10-09 Roland McGrath <roland@hack.frob.com>
76515
76516 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76517 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76518 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76519 * sysdeps/i386/configure: Regenerated.
76520 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76521 * sysdeps/mach/configure: Regenerated.
76522 * sysdeps/mach/hurd/configure: Regenerated.
76523 * sysdeps/powerpc/configure: Regenerated.
76524 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76525 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76526 * sysdeps/s390/s390-32/configure: Regenerated.
76527 * sysdeps/s390/s390-64/configure: Regenerated.
76528 * sysdeps/sh/configure: Regenerated.
76529 * sysdeps/sparc/configure: Regenerated.
76530 * sysdeps/unix/sysv/linux/configure: Regenerated.
76531 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76532 * sysdeps/x86_64/configure: Regenerated.
76533
76534 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76535 defined. Don't check if MAP is NULL.
76536
76537 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76538
76539 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76540 (_G_stat64): Likewise.
76541 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76542 (_G_stat64): Likewise.
76543 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76544 instead of struct _G_stat64.
76545 * libio/fileops.c (mmap_remap_check): Likewise.
76546 (decide_maybe_mmap): Likewise.
76547 (_IO_new_file_seekoff): Likewise.
76548 (_IO_file_stat): Likewise.
76549 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76550 _G_off64_t.
76551 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76552 instead of struct _G_stat64.
76553 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76554
76555 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76556
76557 [BZ #14602]
76558 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76559 Replace with ...
76560 (CHECK_EOL): New macro.
76561 (two_way_short_needle): Check beginning of haystack for EOL. Use
76562 CHECK_EOL.
76563 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76564 Replace with CHECK_EOL.
76565 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76566 Replace with CHECK_EOL.
76567
76568 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76569
76570 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76571 type-generic.
76572 * math/libm-test.inc: Update comment listing what functions and
76573 macros are tested.
76574 (finite_test): New function.
76575 (isinf_test): Likewise.
76576 (isnan_test): Likewise.
76577 (fpclassify_test): Test subnormal input.
76578 (isfinite_test): Likewise.
76579 (isnormal_test): Likewise.
76580 (main): Call the new functions.
76581
76582 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76583
76584 [BZ #14660]
76585 * Makerules (%.dynsym): Force C locale when running
76586 $(OBJDUMP) --dynamic-syms.
76587
76588 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76589
76590 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76591 <stdint.h>.
76592
76593 2012-10-06 David S. Miller <davem@davemloft.net>
76594
76595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76596 upper 32-bits of the length value in %o2 since we use branch-on-register
76597 tests which consider the entire 64-bit register.
76598
76599 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76600
76601 * string/test-strstr.c (check2): Add a test for page boundary.
76602
76603 2012-10-05 David S. Miller <davem@davemloft.net>
76604
76605 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76606 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76607 file.
76608 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76609 sysdep_routines.
76610 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76611 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76612 and bzero when HWCAP_SPARC_CRYPTO is present.
76613
76614 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76615
76616 [BZ #14602]
76617 * string/test-strstr.c (check2): New function.
76618 (test_main): Call check2.
76619
76620 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76621 and bug-strchr1.
76622 * string/bug-strcasestr1.c (do_test): Moved to ...
76623 * string/test-strcasestr.c (check1): Here. New function.
76624 (do_one_test): Break out result checking code into ...
76625 (check_result): This. New function.
76626 (do_one_test): Call check_result.
76627 (test_main): Call check1.
76628 * string/bug-strchr1.c (do_test): Moved to ...
76629 * string/test-strchr.c (check1): Here. New function.
76630 (do_one_test): Break out result checking code into ...
76631 (check_result): This. New function.
76632 (do_one_test): Call check_result.
76633 (test_main): Call check1.
76634 * string/bug-strstr1.c (main): Moved to ...
76635 * string/test-strstr.c (check1): Here. New function.
76636 (do_one_test): Break out result checking code into ...
76637 (check_result): This. New function.
76638 (do_one_test): Call check_result.
76639 (test_main): Call check1.
76640 * string/bug-strcasestr1.c: Removed.
76641 * string/bug-strchr1.c: Likewise.
76642 * string/bug-strstr1.c: Likewise.
76643
76644 * elf/Makefile (dl-routines): Add hwcaps.
76645 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76646 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76647 (_dl_important_hwcaps): Moved to ...
76648 * elf/dl-hwcaps.c: Here. New file.
76649 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76650
76651 [BZ #14557]
76652 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76653 if IS_IN_rtld isn't defined.
76654
76655 * elf/dl-support.c (_dl_sysinfo_map): New.
76656 Include "get-dynamic-info.h" and "setup-vdso.h".
76657 (_dl_non_dynamic_init): Call setup_vdso.
76658 * elf/dynamic-link.h: Don't include <assert.h>.
76659 (elf_get_dynamic_info): Moved to ...
76660 * elf/get-dynamic-info.h: Here. New file.
76661 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76662 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76663 * elf/setup-vdso.h: Here. New file.
76664 * elf/rtld.c: Include "setup-vdso.h".
76665 (dl_main): Call setup_vdso.
76666
76667 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76668
76669 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76670 creal in comment listing functions tested. List finite, isinf,
76671 isnan, isless, islessequal, isgreater, isgreaterequal,
76672 islessgreater, isunordered, lgamma_r and pow10 as functions and
76673 macros not tested. Mention which functions not tested are aliases
76674 for other functions. Fix typo. Note that signs of NaNs are not
76675 tested.
76676
76677 * scripts/config.guess: Update from config.git.
76678 * scripts/config.sub: Likewise.
76679
76680 2012-10-04 Roland McGrath <roland@hack.frob.com>
76681
76682 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76683 * misc/madvise.c (madvise): Renamed to __madvise.
76684 Make madvise a weak alias.
76685 * include/sys/mman.h: Declare __madvise.
76686 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76687 * sysdeps/unix/syscalls.list
76688 (madvise): Make __madvise the strong name, and madvise a weak alias.
76689 * sysdeps/unix/sysv/linux/syscalls.list
76690 (madvise, mmap): Remove redundant entries.
76691 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76692 * malloc/malloc.c (mtrim): Likewise.
76693 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76694
76695 2012-10-03 Roland McGrath <roland@hack.frob.com>
76696
76697 * sysdeps/mach/hurd/dl-cache.c: File removed.
76698 * config.h.in (USE_LDCONFIG): New #undef.
76699 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76700 * configure: Regenerated.
76701 * elf/Makefile (dl-routines): Add dl-cache only under
76702 [$(use-ldconfig) = yes].
76703 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76704 cache on [USE_LDCONFIG].
76705 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76706 [USE_LDCONFIG].
76707 * elf/rtld.c (dl_main): Likewise.
76708
76709 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76710
76711 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76712 _SC_LEVEL4_CACHE_LINESIZE.
76713
76714 2012-10-03 Roland McGrath <roland@hack.frob.com>
76715
76716 * sysdeps/unix/bsd/confstr.h: File removed.
76717
76718 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76719
76720 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76721 sys/sdt-config.h.
76722
76723 2012-10-02 Roland McGrath <roland@hack.frob.com>
76724
76725 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76726 Make 'mapoff' field ElfW(Off) rather than off_t.
76727
76728 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76729
76730 * nscd/Makefile: Remove nscd-cflags and all its users.
76731 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76732 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76733
76734 [BZ #10631]
76735 * malloc.c (malloc_printerr): Clarify error message.
76736
76737 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76738
76739 [BZ #14648]
76740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76741 Set bit_FMA_Usable if FMA is supported.
76742 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76743 macro.
76744 (bit_FMA4_Usable): Updated.
76745 (index_FMA_Usable): New macro.
76746 (CPUID_FMA): Likewise.
76747 (HAS_FMA): Defined with bit_FMA_Usable.
76748
76749 2012-10-01 Roland McGrath <roland@hack.frob.com>
76750
76751 * bits/types.h (__swblk_t): Type removed.
76752 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76753 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76755 (__SWBLK_T_TYPE): Likewise.
76756 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76757 (__SWBLK_T_TYPE): Likewise.
76758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76759 (__SWBLK_T_TYPE): Likewise.
76760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76761 (__SWBLK_T_TYPE): Likewise.
76762
76763 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76764 Honza Horak <hhorak@redhat.com>
76765
76766 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76767 (xdr_mapname): Use YPMAXMAP as maxsize.
76768 (xdr_peername): Use YPMAXPEER as maxsize.
76769 (xdr_keydat): Use YPAXRECORD as maxsize.
76770 (xdr_valdat): Use YPMAXRECORD as maxsize.
76771
76772 2012-10-01 Roland McGrath <roland@hack.frob.com>
76773
76774 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76775
76776 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76777 * csu/init-first.c: ... here.
76778 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76779 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76781 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76782 * sysdeps/i386/init-first.c: File removed.
76783 * sysdeps/sh/init-first.c: File removed.
76784
76785 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76786
76787 [BZ #14645]
76788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76789 if x * y might underflow to zero and z is zero.
76790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76792 * math/libm-test.inc (min_subnorm_value): New variable.
76793 (fma_test): Add more tests.
76794 (fma_test_towardzero): Likewise.
76795 (fma_test_downward): Likewise.
76796 (fma_test_upward): Likewise.
76797 (initialize): Set min_subnorm_value.
76798
76799 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76800
76801 [BZ #14638]
76802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76803 0 + 0.
76804 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76805 mode for addition resulting in exact zero.
76806 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76808 exact 0 + 0.
76809 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76811 * math/libm-test.inc (fma_test): Add more tests.
76812 (fma_test_towardzero): New function.
76813 (fma_test_downward): Likewise.
76814 (fma_test_upward): Likewise.
76815 (main): Call the new functions.
76816
76817 2012-09-28 David S. Miller <davem@davemloft.net>
76818
76819 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76820
76821 2012-09-28 Roland McGrath <roland@hack.frob.com>
76822
76823 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76824 instead of SIGALRM.
76825
76826 * sysdeps/gnu/_G_config.h: Moved to ...
76827 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76828 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76829 * sysdeps/generic/_G_config.h: ... here.
76830
76831 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76832
76833 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76834
76835 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76836 Conditionalize target on [libnss_test1.so-version].
76837
76838 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76839
76840 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76841 (elfobjdir): Move out of conditionals.
76842
76843 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76844 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76845 (__nss_lookup_function): Conditionalize label remove_from_tree on
76846 [!DO_STATIC_NSS || SHARED], matching its only use.
76847
76848 2012-09-28 David S. Miller <davem@davemloft.net>
76849
76850 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76851 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76852 file.
76853 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76854 sysdep_routines.
76855 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76857 when HWCAP_SPARC_CRYPTO is present.
76858
76859 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76860
76861 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76862
76863 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76864
76865 [BZ #6530]
76866 * stdio-common/vfprintf.c (process_string_arg): Revert
76867 2000-07-22 change.
76868
76869 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76870
76871 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76872 for testcase.
76873 * stdio-common/tst-sprintf.c: Include <locale.h>
76874 (main): Test sprintf's handling of incomplete multibyte
76875 characters.
76876
76877 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76878
76879 * elf/dl-runtime.c (VERSYMIDX): Removed.
76880 * elf/dl-version.c (VERSYMIDX): Likewise.
76881 * elf/do-rel.h (VERSYMIDX): Likewise.
76882 (VALIDX): Likewise.
76883 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76884 * elf/rtld.c (VALIDX): Likewise.
76885 (ADDRIDX): Likewise.
76886 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76887 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76888 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76889 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76890 (VALIDX): Likewise.
76891 (ADDRIDX): Likewise.
76892
76893 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76894
76895 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76896
76897 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76898
76899 [BZ #11438]
76900 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76901 to global scope.
76902 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76903 addresses are in the same scope as 192.0.2/24.
76904 * posix/gai.conf: Document new scope table defaults.
76905
76906 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76907
76908 [BZ #5298]
76909 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76910 for ftell. Compute offsets from write pointers instead.
76911 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76912
76913 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76914
76915 [BZ #14543]
76916 * libio/Makefile (tests): New test case tst-fseek.
76917 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76918 combination works in wide mode.
76919 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76920 state when the external buffer state changes.
76921
76922 2012-09-27 David S. Miller <davem@davemloft.net>
76923
76924 [BZ #14376]
76925 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76926 pass reloc->r_addend in as the 'high' argument to
76927 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76928
76929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76930
76931 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76932
76933 * rt/tst-aio2.c: Include <pthread.h>.
76934 * rt/tst-aio3.c: Likewise.
76935
76936 2012-09-27 Steve Ellcey <sellcey@mips.com>
76937
76938 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76939
76940 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76941
76942 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76943 contents on [SHARED].
76944
76945 2012-09-26 Marek Polacek <polacek@redhat.com>
76946
76947 [BZ #14530]
76948 [BZ #13741]
76949 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76950 for C++ and GCC <4.3 as well as for non GCC compilers.
76951
76952 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76953
76954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76955
76956 2012-09-25 Roland McGrath <roland@hack.frob.com>
76957
76958 * Makefile.in (all, install): Declare with .PHONY.
76959 Reported by Michael Hope <michael.hope@linaro.org>.
76960
76961 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76962
76963 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76964 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76965 system header.
76966 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76967 Likewise.
76968 (sydep_routines): Add the new and the internal functions.
76969 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76970 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76972 (GLIBC_2.17): Add the new function.
76973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76974 (GLIBC_2.17): Likewise.
76975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76976 (GLIBC_2.17): Likewise.
76977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76978 (GLIBC_2.17): Likewise.
76979 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76980
76981 2012-09-25 Alan Modra <amodra@gmail.com>
76982
76983 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76984 Add release barrier before setting once_control to say
76985 initialisation is done. Add hints on lwarx. Use macro in
76986 place of isync.
76987 (clear_once_control): Add release barrier.
76988
76989 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76990
76991 [BZ #13629]
76992 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76993 specially.
76994 * math/s_clog10.c (__clog10): Likewise.
76995 * math/s_clog10f.c (__clog10f): Likewise.
76996 * math/s_clog10l.c (__clog10l): Likewise.
76997 * math/s_clogf.c (__clogf): Likewise.
76998 * math/s_clogl.c (__clogl): Likewise.
76999 * math/Makefile (libm-calls): Add x2y2m1.
77000 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77001 (__x2y2m1): Likewise.
77002 (__x2y2m1l): Likewise.
77003 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77004 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77005 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77006 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77007 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77008 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77009 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77010 * sysdeps/i386/fpu/libm-test-ulps: Update.
77011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77012
77013 [BZ #14621]
77014 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77015 int as type of variable DEPTH.
77016 (glob): Use size_t instead of int as type of variables NEWCOUNT
77017 and OLD_PATHC.
77018
77019 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77020
77021 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77022 Add s_sincosf-sse2.
77023 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77024 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77025 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77026 macros for using routine as __sincosf_ia32.
77027 Use macro for function declaration and weak_alias.
77028 * sysdeps/i386/fpu/libm-test-ulps: Update.
77029
77030 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77032
77033 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77034 subnormal argument.
77035 * math/s_cexpf.c (__cexpf): Likewise.
77036 * math/s_csinf.c (__csinf): Likewise.
77037 * math/s_csinhf.c (__csinhf): Likewise.
77038 * math/s_ctanf.c (__ctanf): Likewise.
77039 * math/s_ctanhf.c (__ctanhf): Likewise.
77040 * math/s_ccosh.c (__ccoshf): Likewise.
77041 * math/s_cexp.c (__cexpl): Likewise.
77042 * math/s_csin.c (__csin): Likewise.
77043 * math/s_csinh.c (__csinh): Likewise.
77044 * math/s_ctan.c (__ctan): Likewise.
77045 * math/s_ctanh.c (ctanh): Likewise.
77046 * math/s_ccoshl.c (__ccoshl): Likewise.
77047 * math/s_cexpl.c (__cexpl): Likewise.
77048 * math/s_csinl.c (__csinl): Likewise.
77049 * math/s_csinhl.c (__csinhl): Likewise.
77050 * math/s_ctanl.c (__ctanl): Likewise.
77051 * math/s_ctanhl.c (__ctanhl): Likewise.
77052
77053 2012-09-25 Joseph Myers <joseph@codesourcery.com>
77054
77055 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77056 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77057 (_IO_off_t): Define to __off_t, not _G_off_t.
77058 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77059 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77060 (_IO_wint_t): Define to wint_t, not _G_wint_t.
77061 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77062 type of __dummy and __dummy2 fields.
77063 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77064 (_G_ssize_t): Likewise.
77065 (_G_off_t): Likewise.
77066 (_G_pid_t): Likewise.
77067 (_G_uid_t): Likewise.
77068 (_G_wchar_t): Likewise.
77069 (_G_wint_t): Likewise.
77070 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77071 (_G_ssize_t): Likewise.
77072 (_G_off_t): Likewise.
77073 (_G_pid_t): Likewise.
77074 (_G_uid_t): Likewise.
77075 (_G_wchar_t): Likewise.
77076 (_G_wint_t): Likewise.
77077 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77078 (_G_ssize_t): Likewise.
77079 (_G_off_t): Likewise.
77080 (_G_pid_t): Likewise.
77081 (_G_uid_t): Likewise.
77082 (_G_wchar_t): Likewise.
77083 (_G_wint_t): Likewise.
77084
77085 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77086
77087 * malloc/arena.c: Include malloc-sysdep.h.
77088 (shrink_heap): Use check_may_shrink_heap to decide if madvise
77089 is sufficient to shrink the heap or an unmap is needed.
77090 * sysdeps/generic/malloc-sysdep.h: New file. Define
77091 new function check_may_shrink_heap.
77092 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
77093 new function check_may_shrink_heap.
77094
77095 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77096
77097 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77098 comments.
77099
77100 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
77101
77102 * catgets/test-gencat.sh: Add "set -e".
77103 * elf/tst-pathopt.sh: Likewise.
77104 * grp/tst_fgetgrent.sh: Likewise.
77105 * iconvdata/run-iconv-test.sh: Likewise.
77106 * intl/tst-gettext.sh: Likewise.
77107 * intl/tst-gettext2.sh: Likewise.
77108 * intl/tst-gettext4.sh: Likewise.
77109 * intl/tst-gettext6.sh: Likewise.
77110 * intl/tst-translit.sh: Likewise.
77111 * io/ftwtest-sh: Likewise.
77112 * libio/test-freopen.sh: Likewise.
77113 * malloc/tst-mtrace.sh: Likewise.
77114 * posix/globtest.sh: Likewise.
77115 * posix/tst-getconf.sh: Likewise.
77116 * posix/wordexp-tst.sh: Likewise.
77117 * stdio-common/tst-printf.sh: Likewise.
77118 * stdio-common/tst-unbputc.sh: Likewise.
77119 * stdlib/tst-fmtmsg.sh: Likewise.
77120 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77121 * catgets/Makefile: Do not specify -e option when running
77122 testsuite shell scripts.
77123 * elf/Makefile: Likewise.
77124 * grp/Makefile: Likewise.
77125 * iconvdata/Makefile: Likewise.
77126 * intl/Makefile: Likewise.
77127 * io/Makefile: Likewise.
77128 * libio/Makefile: Likewise.
77129 * malloc/Makefile: Likewise.
77130 * posix/Makefile: Likewise.
77131 * stdio-common/Makefile: Likewise.
77132 * stdlib/Makefile: Likewise.
77133 * sysdeps/x86_64/Makefile: Likewise.
77134
77135 * io/ftwtest-sh: Add copyright header.
77136 * posix/globtest.sh: Likewise.
77137 * posix/tst-getconf.sh: Likewise.
77138 * posix/wordexp-tst.sh: Likewise.
77139 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77140
77141 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
77142
77143 [BZ #13679]
77144 * Makeconfig (+link): Defined as $(+link-static) if
77145 $(build-shared) isn't yes.
77146 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77147 isn't yes.
77148 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77149
77150 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77151
77152 [BZ #14562]
77153 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77154 new chunk size with MALLOC_ALIGN_MASK.
77155
77156 2012-09-24 Joseph Myers <joseph@codesourcery.com>
77157
77158 [BZ #5044]
77159 * stdio-common/printf_fphex.c: Include <stdbool.h> and
77160 <rounding-mode.h>.
77161 (__printf_fphex): Determine rounding using get_rounding_mode and
77162 round_away.
77163 * stdio-common/tst-printf-round.c (struct hex_test): New
77164 structure.
77165 (hex_tests): New variable.
77166 (test_hex_in_one_mode): New function.
77167 (do_test): Also run tests for hex float output.
77168
77169 2012-09-21 Joseph Myers <joseph@codesourcery.com>
77170
77171 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77172 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77173 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77174 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77175 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77176 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77177 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77178 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77179
77180 2012-09-20 Joseph Myers <joseph@codesourcery.com>
77181
77182 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77183 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77184 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77185 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77186
77187 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
77188
77189 [BZ #14579]
77190 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77191 mode only.
77192 * elf/tst-rtld-load-self.sh: New test.
77193 * elf/Makefile: Run it.
77194
77195 2012-09-18 Joseph Myers <joseph@codesourcery.com>
77196
77197 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77198 (tst-writev-ENV): Remove.
77199 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77200
77201 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
77202
77203 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77204
77205 2012-09-17 Joseph Myers <joseph@codesourcery.com>
77206
77207 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77208 unconditional.
77209 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77210 Likewise.
77211 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77212 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77213 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77214 Likewise.
77215
77216 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77217
77218 [BZ #14587]
77219 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77220 * config.make.in (have-cpp-asm-debuginfo): Removed.
77221 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77222 * configure: Regenerated.
77223
77224 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77225
77226 [BZ #5044]
77227 * stdio-common/printf_fp.c: Include <stdbool.h> and
77228 <rounding-mode.h>.
77229 (___printf_fp): Determine rounding using get_rounding_mode and
77230 round_away.
77231 * stdio-common/tst-printf-round.c: New file.
77232 * stdio-common/Makefile (tests): Add tst-printf-round.
77233 (link-libm): New variable.
77234 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77235
77236 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77237
77238 [BZ #14576]
77239 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77240 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77241 Likewise.
77242 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77243 Likewise.
77244
77245 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77246
77247 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77248 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77249 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77250 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77251
77252 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77253
77254 [BZ #14518]
77255 * include/rounding-mode.h: New file.
77256 * sysdeps/generic/get-rounding-mode.h: Likewise.
77257 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77258 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77259 (MAX_VALUE): New macro.
77260 (MIN_VALUE): Likewise.
77261 (overflow_value): New function.
77262 (underflow_value): Likewise.
77263 (round_and_return): Use overflow_value and underflow_value to
77264 determine return values in overflow and underflow cases. Use
77265 round_away to determine rounding depending on rounding mode.
77266 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77267 determine return values in overflow and underflow cases.
77268 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77269 (struct test_results): New structure.
77270 (struct test): Use struct test_results to store expected results
77271 for all rounding modes.
77272 (TEST): Include expected results for all rounding modes.
77273 (test_in_one_mode): New function.
77274 (do_test): Use test_in_one_mode to compute and check results.
77275 Check results for all rounding modes.
77276 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77277 $(link-libm).
77278
77279 2012-12-09 Allan McRae <allan@archlinux.org>
77280
77281 * sysdeps/i386/fpu/libm-test-ulps: Update
77282
77283 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77284
77285 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77286 (_G_int32_t): Likewise.
77287 (_G_uint16_t): Likewise.
77288 (_G_uint32_t): Likewise.
77289 (_G_HAVE_BOOL): Likewise.
77290 (_G_HAVE_ATEXIT): Likewise.
77291 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77292 (_G_HAVE_IO_FILE_OPEN): Likewise.
77293 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77294 (_G_int32_t): Likewise.
77295 (_G_uint16_t): Likewise.
77296 (_G_uint32_t): Likewise.
77297 (_G_HAVE_BOOL): Likewise.
77298 (_G_HAVE_ATEXIT): Likewise.
77299 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77300 (_G_HAVE_IO_FILE_OPEN): Likewise.
77301 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77302 (_G_int32_t): Likewise.
77303 (_G_uint16_t): Likewise.
77304 (_G_uint32_t): Likewise.
77305 (_G_HAVE_BOOL): Likewise.
77306 (_G_HAVE_ATEXIT): Likewise.
77307 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77308 (_G_HAVE_IO_FILE_OPEN): Likewise.
77309
77310 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77311
77312 * csu/libc-tls.c: Update copyright years.
77313
77314 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77315
77316 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77317 [!_G_USING_THUNKS]: Remove conditional code.
77318 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77319 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77320
77321 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77322 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77323 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77324 (_G_VTABLE_LABEL_PREFIX): Likewise.
77325 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77326 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77327 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77328 (_G_VTABLE_LABEL_PREFIX): Likewise.
77329 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77330 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77331 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77332 (_G_VTABLE_LABEL_PREFIX): Likewise.
77333 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77334
77335 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77336
77337 * libio/Makefile: Include ../Makeconfig before tests.
77338 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77339 only if $(build-shared) is yes.
77340
77341 * iconv/gconv_db.c: Update copyright years.
77342
77343 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77344
77345 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77346 unwind info if defined PIC. Fix special cases description.
77347 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77348
77349 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77350 DP_HI_MASK entry.
77351 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77352
77353 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77354
77355 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77356
77357 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77358 is NULL.
77359
77360 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77361 (LDLIBS-tst-chk4): This.
77362 (LDFLAGS-tst-chk5): Renamed to ...
77363 (LDLIBS-tst-chk5): This.
77364 (LDFLAGS-tst-chk6): Renamed to ...
77365 (LDLIBS-tst-chk6): This.
77366 (LDFLAGS-tst-lfschk4): Renamed to ...
77367 (LDLIBS-tst-lfschk4): This.
77368 (LDFLAGS-tst-lfschk5): Renamed to ...
77369 (LDLIBS-tst-lfschk5): This.
77370 (LDFLAGS-tst-lfschk6): Renamed to ...
77371 (LDLIBS-tst-lfschk6): This.
77372
77373 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77374 on $(common-objpfx)soversions.mk.
77375
77376 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77377
77378 [BZ #10014]
77379 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77380 example host name.
77381
77382 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77383
77384 * malloc/arena.c (arena_get_retry): New function that gets
77385 another arena for the caller to try its request on.
77386 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77387 current arena cannot fulfill the request.
77388 (__libc_memalign): Likewise.
77389 (__libc_memalign): Likewise.
77390 (__libc_pvalloc): Likewise.
77391 (__libc_calloc): Likewise.
77392
77393 2012-09-05 John Tobey <john.tobey@gmail.com>
77394
77395 [BZ #13542]
77396 * manual/arith.texi (Operations on Complex): Fix description
77397 of carg branch cut.
77398
77399 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77400
77401 [BZ #10014]
77402 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77403 host name.
77404
77405 [BZ #10038]
77406 * manual/memory.texi (Memory): Make order of menu items match
77407 order of sections.
77408
77409 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77410
77411 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77412 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77413 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77414
77415 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77416
77417 * csu/libc-tls.c (static_dtv): Renamed to ...
77418 (_dl_static_dtv): This. Make it global.
77419 (_dl_initial_dtv): Removed.
77420 (__libc_setup_tls): Updated.
77421 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77422 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77423 DL_INITIAL_DTV.
77424
77425 2012-09-06 Petr Machata <pmachata@redhat.com>
77426
77427 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77428 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77429 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77430 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77431
77432 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77433
77434 [BZ #14545]
77435 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77436 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77437 freeing dtv[-1].
77438
77439 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77440
77441 [BZ #14544]
77442 * Makeconfig (link-static-before-libc): Replace $(+prector)
77443 with $(+prectorT).
77444 (link-static-after-libc): Replace $(+postctor) with
77445 $(+postctorT).
77446 (link-bounded): Replace $(+prector)/$(+postctor) with
77447 $(+prectorT)/$(+postctorT).
77448 (+prectorT): New macro.
77449 (+postctorT): Likewise.
77450
77451 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77452
77453 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77454 (round_str): Handle values above the maximum for IBM long double
77455 as inexact.
77456 * stdlib/tst-strtod-round.c (tests): Regenerated.
77457
77458 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77459
77460 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77461 assembler flag.
77462 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77463 zarch_nohighgprs around the zarch optimized routines.
77464 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77465 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77466 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77467 for zarch.
77468
77469 2012-09-05 David S. Miller <davem@davemloft.net>
77470
77471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77472
77473 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77474 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77475 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77476 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77477 entries.
77478
77479 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77480
77481 * malloc/arena.c: Fold copyright years.
77482 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77483
77484 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77485
77486 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77487
77488 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77489
77490 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77491
77492 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77493
77494 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77495 change internal state upon failure.
77496
77497 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77498
77499 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77500 * malloc/memusage.c (mmap): Likewise.
77501 (mmap64, mremap): Likewise. Adjust name in comment.
77502
77503 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77504
77505 * libio/fileops.c: Fix typos in comments.
77506 * libio/oldfileops.c: Likewise.
77507 * libio/wfileops.c: Likewise.
77508
77509 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77510
77511 [BZ #1349]
77512 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77513 (tst-malloc-usable-ENV): Set environment for test case.
77514 * malloc/hooks.c (malloc_check_get_size): New function to get
77515 requested size.
77516 * malloc/malloc.c (musable): Use malloc_check_get_size.
77517 * malloc/tst-malloc-usable.c: New test case.
77518
77519 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77520
77521 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77522
77523 2012-09-05 Allan McRae <allan@archlinux.org>
77524
77525 [BZ #13966]
77526 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77527 determine header location.
77528 * configure: Regenerated.
77529
77530 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77531
77532 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77533 float format.
77534 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77535 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77536 format.
77537 (test): Regenerate.
77538
77539 2012-09-04 David S. Miller <davem@davemloft.net>
77540
77541 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77542 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77544
77545 2012-09-04 Florian Weimer <fweimer@redhat.com>
77546
77547 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77548 failures.
77549
77550 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77551
77552 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77553
77554 [BZ #9914]
77555 * libio/iogetdelim.c: Include <limits.h>.
77556 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77557 + len + 1 would overflow.
77558
77559 2012-09-03 Andreas Jaeger <aj@suse.de>
77560
77561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77562 * sysdeps/i386/fpu/libm-test-ulps: Update.
77563
77564 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77565
77566 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77567 Add s_sinf-sse2, s_conf-sse2.
77568
77569 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77570 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77571 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77572 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77573
77574 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77575 for using routine as __sinf_ia32.
77576 Use macro for function declaration and weak_alias.
77577 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77578 for using routine as __cosf_ia32.
77579 Use macro for function declaration and weak_alias.
77580
77581 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77582 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77583
77584 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77585 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77587
77588 * math/libm-test.inc (cos_test): Add more test cases.
77589 (sin_test): Likewise.
77590 (sincos_test): Likewise.
77591
77592 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77593
77594 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77595 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77596 hidden.
77597 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77598
77599 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77600
77601 [BZ #14538]
77602 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77603 first element of the GOT.
77604 (elf_machine_load_address): Return the difference between
77605 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77606
77607 2012-09-01 Allan McRae <allan@archlinux.org>
77608
77609 [BZ #13412]
77610 * configure.in (AWK): Require gawk version 3.0 or later.
77611 * configure: Regenerated.
77612
77613 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77614
77615 * sysdeps/unix/sysv/linux/kernel-features.h
77616 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77618 [__NR_clock_getres]: Make code unconditional.
77619 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77620 (clock_getcpuclockid): Remove code left unreachable by removal of
77621 conditionals.
77622 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77623 code unconditional.
77624 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77626 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77627 Make code unconditional.
77628 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77629 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77630 * sysdeps/unix/sysv/linux/clock_settime.c
77631 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77632 conditional code.
77633 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77634 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77635
77636 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77637
77638 [BZ #14476]
77639 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77640 scripts/test-installation.pl.
77641
77642 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77643 and $ld_so_version if it is set.
77644
77645 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77646
77647 [BZ #14516]
77648 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77649 failure if reading from procfs failed.
77650 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77651
77652 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77653
77654 * sysdeps/unix/sysv/linux/kernel-features.h
77655 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77656 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77657 Remove conditional code.
77658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77659 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77660 Remove conditional code.
77661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77662 * sysdeps/unix/sysv/linux/i386/fxstat.c
77663 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77665 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77666 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77668 * sysdeps/unix/sysv/linux/i386/lxstat.c
77669 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77671 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77672 Remove conditional code.
77673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77674 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77675 Remove conditional code.
77676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77677 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77678 <kernel-features.h>.
77679 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77680 Remove.
77681 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77682 Remove conditional code.
77683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77684 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77685 Remove conditional.
77686
77687 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77688
77689 [BZ #5400]
77690 * NEWS: Add fixed bug number.
77691
77692 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77693
77694 [BZ #14519]
77695 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77696 underflowing exponent in case of negative sign.
77697 * stdlib/tst-strtod-round-data: Add more tests.
77698 * stdlib/tst-strtod-round.c (tests): Regenerated.
77699
77700 [BZ #3479]
77701 * stdlib/strtod_l.c (NDIG): Remove.
77702 (HEXNDIG): Likewise.
77703 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77704 smallest representable value.
77705 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77706 lie within an exact representation of 1/2 ulp of the result.
77707 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77708 unconditionally.
77709 (TENS_P9_IDX): Define unconditionally.
77710 (TENS_P9_SIZE): Likewise.
77711 (TENS_P10_IDX): Likewise.
77712 (TENS_P10_SIZE): Likewise.
77713 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77714 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77715 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77716 entries for 10^2^13 and 10^2^14.
77717 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77718 (TENS_P13_IDX): Define.
77719 (TENS_P13_SIZE): Likewise.
77720 (TENS_P14_IDX): Likewise.
77721 (TENS_P14_SIZE): Likewise.
77722 (_fpioconst_pow10): Change array size to
77723 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77724 unconditional.
77725 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77726 1024]: Add entries for 10^2^13 and 10^2^14.
77727 [LAST_POW10 > _LAST_POW10]: Remove #error.
77728 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77729 (_fpioconst_pow10): Change array size to
77730 FPIOCONST_POW10_ARRAY_SIZE.
77731 * stdlib/gen-fpioconst.c: New file.
77732 * stdlib/gen-tst-strtod-round.c: Likewise.
77733 * stdlib/tst-strtod-round-data: Likewise.
77734 * stdlib/tst-strtod-round.c: Likewise.
77735 * stdlib/Makefile (tests): Add tst-strtod-round.
77736
77737 [BZ #14459]
77738 * stdlib/strtod_l.c: Include <stdint.h>.
77739 (NDEBUG): Do not define.
77740 (round_and_return): Change EXPONENT parameter to type intmax_t.
77741 Rearrange calculations to avoid internal overflow possibilities.
77742 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77743 Rearrange calculations to avoid internal overflow possibilities.
77744 Assert that number fits inside MPNSIZE limbs.
77745 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77746 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77747 calculations and add assertions to avoid internal overflow
77748 possibilities. Add casts to avoid signed/unsigned operations.
77749 * stdlib/tst-strtod-overflow.c: New file.
77750 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77751
77752 2012-08-25 Marek Polacek <polacek@redhat.com>
77753
77754 * time/time.h: Fix some typos in comments.
77755
77756 2012-08-23 Roland McGrath <roland@hack.frob.com>
77757
77758 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77759 * posix/tst-rfc3484-2.c: Likewise.
77760 * posix/tst-rfc3484-3.c: Likewise.
77761
77762 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77763
77764 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77765 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77766
77767 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77768
77769 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77770 #include of fxstatat64.c.
77771
77772 2012-08-22 Roland McGrath <roland@hack.frob.com>
77773
77774 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77775 * shadow/getspent_r.c: Likewise.
77776 * shadow/getspnam.c: Likewise.
77777 * shadow/getspnam_r.c: Likewise.
77778 * gshadow/getsgent.c: Likewise.
77779 * gshadow/getsgent_r.c: Likewise.
77780 * gshadow/getsgnam.c: Likewise.
77781 * gshadow/getsgnam_r.c: Likewise.
77782 * inet/getnetbyad.c: Likewise.
77783 * inet/getnetbyad_r.c: Likewise.
77784 * inet/getnetbynm.c: Likewise.
77785 * inet/getnetbynm_r.c: Likewise.
77786 * inet/getnetent.c: Likewise.
77787 * inet/getnetent_r.c: Likewise.
77788 * inet/getproto.c: Likewise.
77789 * inet/getproto_r.c: Likewise.
77790 * inet/getprtent.c: Likewise.
77791 * inet/getprtent_r.c: Likewise.
77792 * inet/getprtname.c: Likewise.
77793 * inet/getprtname_r.c: Likewise.
77794 * inet/getrpcbyname.c: Likewise.
77795 * inet/getrpcbyname_r.c: Likewise.
77796 * inet/getrpcbynumber.c: Likewise.
77797 * inet/getrpcbynumber_r.c: Likewise.
77798 * inet/getrpcent.c: Likewise.
77799 * inet/getrpcent_r.c: Likewise.
77800 * inet/getaliasent.c: Likewise.
77801 * inet/getaliasent_r.c: Likewise.
77802 * inet/getaliasname.c: Likewise.
77803 * inet/getaliasname_r.c: Likewise.
77804 * nscd/getgrgid_r.c: Likewise.
77805 * nscd/getgrnam_r.c: Likewise.
77806 * nscd/gethstbyad_r.c: Likewise.
77807 * nscd/gethstbynm3_r.c: Likewise.
77808 * nscd/getpwnam_r.c: Likewise.
77809 * nscd/getpwuid_r.c: Likewise.
77810 * nscd/getsrvbynm_r.c: Likewise.
77811 * nscd/getsrvbypt_r.c: Likewise.
77812 * nscd/gai.c: Likewise.
77813
77814 * configure.in (build_nscd): New substituted variable, set
77815 by --disable-build-nscd and defaults to $use_nscd.
77816 * configure: Regenerated.
77817 * config.make.in (build-nscd): New substituted variable.
77818 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77819 Change conditional to require [$(build-nscd) = yes] as well.
77820 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77821
77822 [BZ #13696]
77823 * configure.in (use_nscd): New substituted variable, set by
77824 --disable-nscd. If enabled, define USE_NSCD.
77825 * configure: Regenerated.
77826 * config.h.in: Add USE_NSCD.
77827 * config.make.in (use-nscd): New substituted variable.
77828 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77829 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77830 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77831 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77832 (CFLAGS-getgrnam_r.c): Likewise.
77833 (CFLAGS-initgroups.c): Likewise.
77834 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77835 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77836 Variables removed.
77837 * inet/getnetgrent_r.c
77838 (nscd_setnetgrent): New function, broken out of ...
77839 (setnetgrent): ... here. Call it.
77840 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77841 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77842 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77843 * nscd/Makefile (routines, aux): Move definitions after include of
77844 Makeconfig. Conditionalize on [$(use-nscd) != no].
77845 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77846 Conditionalize on [USE_NSCD].
77847 (is_nscd, nscd_init_cb): Likewise.
77848 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77849 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77850 * nss/nss_db/db-init.c: Likewise.
77851 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77852 [USE_NSCD].
77853 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77854 (make_request): Use it.
77855 (cache_valid_p): New function.
77856 (__check_pf): Use it.
77857 * NEWS: Add item for --disable-nscd.
77858
77859 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77860
77861 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77862 to support sed >= 4.2.1-20-ga9bf076.
77863 * configure: Regenerated.
77864
77865 2012-08-22 Roland McGrath <roland@hack.frob.com>
77866
77867 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77868 Conditionalize whole body on [IREL].
77869
77870 2012-08-22 Jeff Law <law@redhat.com>
77871
77872 [BZ #14505]
77873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77874 if the family is PF_UNSPEC.
77875
77876 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77877
77878 * Makerules (lib-version): Rename from V.
77879 (install-lib-nosubdir): Change V to lib-version.
77880
77881 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77882
77883 [BZ #14252]
77884 * powerpc32/power6/wcschr.c: New file.
77885 * powerpc32/power6/wcscpy.c: New file.
77886 * powerpc32/power6/wcsrchr.c: New file.
77887 * powerpc64/power6/wcschr.c: New file.
77888 * powerpc64/power6/wcscpy.c: New file.
77889 * powerpc64/power6/wcsrchr.c: New file.
77890
77891 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77892
77893 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77894 (two_way_short_needle): Use it.
77895 * string/strstr.c (AVAILABLE1_USES_J): Define.
77896 * string/strcasestr.c: Likewise.
77897
77898 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77899 array references.
77900 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77901
77902 [BZ #11607]
77903 * NEWS: Add an entry.
77904 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77905 define their defaults.
77906 (two_way_short_needle): Detect end-of-string on-the-fly.
77907 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77908 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77909 * string/bug-strcasestr1.c: New test.
77910 * string/Makefile: Run it.
77911
77912 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77913
77914 [BZ #11607]
77915 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77916 the first character.
77917
77918 2012-08-21 Roland McGrath <roland@hack.frob.com>
77919
77920 * csu/elf-init.c (__libc_csu_irel): Function removed.
77921 * csu/libc-start.c (apply_irel): New function.
77922 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77923
77924 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77925
77926 * sysdeps/unix/sysv/linux/kernel-features.h
77927 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77928 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77929 <kernel-features.h>.
77930 [__NR_fadvise64_64]: Make code unconditional.
77931 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77932 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77933 !__NR_fadvise64_64)]: Likewise.
77934 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77935 !__NR_fadvise64_64))]: Likewise.
77936 [__NR_fadvise64]: Make code unconditional.
77937 [!__NR_fadvise64]: Remove conditional code.
77938 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77939 <kernel-features.h>.
77940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77941 unconditional.
77942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77943 conditional code.
77944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77945 not include <kernel-features.h>.
77946 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77947 unconditional.
77948 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77949 conditional code.
77950 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77951 include <kernel-features.h>.
77952 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77953 unconditional.
77954 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77955 conditional code.
77956
77957 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77958
77959 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77960 slight instruction rearrangements per scrollpipe analysis.
77961 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77962
77963 2012-08-20 Roland McGrath <roland@hack.frob.com>
77964
77965 * manual/syslog.texi (syslog; vsyslog, closelog):
77966 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77967 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77968
77969 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77970 DSOCAPS to match condition on defining it.
77971
77972 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77973
77974 * sysdeps/unix/sysv/linux/kernel-features.h
77975 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77977 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77978 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77980 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77981 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77983 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77984 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77985
77986 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77987 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77988
77989 * sysdeps/unix/sysv/linux/kernel-features.h
77990 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77991 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77992 unconditional.
77993 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77994 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77995 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77996 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77997 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77998 Make code unconditional.
77999 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78000 (__mmap64) [!__NR_mmap2]: Likewise.
78001 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78002 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78003 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78004 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78005 [__NR_mmap2]: Make code unconditional.
78006 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78007 (__mmap64) [!__NR_mmap2]: Likewise.
78008
78009 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78010
78011 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78012
78013 2012-08-18 Andreas Jaeger <aj@suse.de>
78014
78015 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78016
78017 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78018
78019 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78020 * include/unistd.h (__have_sock_cloexec): Likewise.
78021 (__have_pipe2): Likewise.
78022 (__have_dup3): Likewise.
78023
78024 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78025
78026 [BZ #9685]
78027 * include/unistd.h (__have_pipe2): Change define into an extern int.
78028 (__have_dup3): Likewise.
78029 * socket/have_sock_cloexec.c: Include fcntl.h.
78030 (__have_pipe2): New variable.
78031 (__have_dup3): Likewise.
78032
78033 2012-08-17 Mike Frysinger <vapier@gentoo.org>
78034
78035 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78036
78037 2012-08-17 Marek Polacek <polacek@redhat.com>
78038
78039 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78040 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78041
78042 2012-08-17 Roland McGrath <roland@hack.frob.com>
78043
78044 * configure.in: Add AC_SUBST for sysheaders.
78045 * configure: Regenerated.
78046 * config.make.in (sysheaders): New substituted variable.
78047
78048 * sysdeps/unix/mkfifo.c: Moved ...
78049 * sysdeps/posix/mkfifo.c: ... here.
78050 * sysdeps/unix/mkfifoat.c: Moved ...
78051 * sysdeps/posix/mkfifoat.c: ... here.
78052
78053 * sysdeps/unix/utime.c: Moved ...
78054 * sysdeps/posix/utime.c: ... here.
78055
78056 * sysdeps/unix/time.c: Moved ...
78057 * sysdeps/posix/time.c: ... here.
78058 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78059 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78060
78061 * sysdeps/unix/nice.c: Moved ...
78062 * sysdeps/posix/nice.c: ... here.
78063
78064 * sysdeps/unix/alarm.c: Moved ...
78065 * sysdeps/posix/alarm.c: ... here.
78066
78067 * intl/Makefile ($(codeset_mo)): Depend on the input file.
78068
78069 2012-08-17 Jeff Law <law@redhat.com>
78070
78071 * intl/Makefile (codeset_mo): New variable.
78072 ($(codeset_mo)): New target.
78073 (tst-codeset.out): Depend on that. Remove explicit rule.
78074 (tst-gettext3.out, tst-gettext5.out): Likewise.
78075 (LOCPATH-ENV, tst-codeset-ENV): New variables.
78076 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78077 * intl/tst-codeset.sh: Remove.
78078 * intl/tst-gettext3.sh: Likewise.
78079 * intl/tst-gettext5.sh: Likewise.
78080
78081 2012-08-17 Roland McGrath <roland@hack.frob.com>
78082
78083 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
78084 * sysdeps/unix/syscalls.list: ... here.
78085
78086 * sysdeps/posix/getaddrinfo.c
78087 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78088 (gaiconf_init, gaiconf_reload): Use them.
78089 [!_STATBUF_ST_NSEC]
78090 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78091 Define using time_t rather than struct timespec.
78092
78093 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78094 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78095 Macros removed.
78096 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78097 [!NO_THREADS].
78098 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78099 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78100 Likewise.
78101
78102 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78103 __libc_cleanup_push argument.
78104
78105 * bits/param.h: New file.
78106 * misc/sys/param.h: New file.
78107 * include/sys/param.h: New file.
78108 * misc/Makefile (headers): Add bits/param.h.
78109 * sysdeps/generic/sys/param.h: File removed.
78110 * sysdeps/unix/sysv/linux/bits/param.h: New file.
78111 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78112 * sysdeps/mach/hurd/bits/param.h: New file.
78113 * sysdeps/mach/hurd/sys/param.h: File removed.
78114
78115 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78116 last change.
78117
78118 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78119 [_IO_MTSAFE_IO].
78120 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78121 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78122 New macros.
78123
78124 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78125 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78126 rather than -D_IO_MTSAFE_IO conditionally.
78127 * stdio-common/Makefile (CPPFLAGS): Likewise.
78128 * wcsmbs/Makefile (CPPFLAGS): Likewise.
78129 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78130 Use $(libio-mtsafe).
78131 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78132 of -D_IO_MTSAFE_IO.
78133 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78134 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78135 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78136 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78137 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78138 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78139 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78140 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78141 (CFLAGS-fread_u_chk.c): Likewise.
78142 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78143 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78144 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78145 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78146 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78147 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78148 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78149 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78150 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78151
78152 * libio/Makefile: Test [$(libc-reentrant) = yes]
78153 instead of [$(filter %REENTRANT, $(defines)) nonempty].
78154
78155 * Makeconfig
78156 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78157 * sysdeps/pthread/configure: File removed.
78158 * sysdeps/pthread/Makeconfig: New file.
78159 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78160 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78161
78162 2012-08-16 Gary Benson <gbenson@redhat.com>
78163
78164 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78165 unmapping the first object in a namespace.
78166
78167 2012-08-16 Roland McGrath <roland@hack.frob.com>
78168
78169 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78170 (__internal_setnetgrent): ... this. Add internal_function to
78171 definition. Add libc_hidden_def.
78172 (setnetgrent): Update caller.
78173 (internal_endnetgrent): Renamed to ...
78174 (__internal_endnetgrent): ... this. Add internal_function to
78175 definition. Add libc_hidden_def.
78176 (endnetgrent): Update caller.
78177 (internal_getnetgrent_r): Renamed to ...
78178 (__internal_getnetgrent_r): ... this. Add internal_function to
78179 definition. Add libc_hidden_def.
78180 (__getnetgrent_r): Update caller.
78181 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
78182
78183 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78184
78185 * stdlib/longlong.h: Update from GCC.
78186
78187 2012-08-16 Roland McGrath <roland@hack.frob.com>
78188
78189 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78190 on _QL, which is set by umul_ppmm but never used.
78191 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78192 variables, which are set by GMP macros but never used.
78193 * stdio-common/_itowa.c (_itowa): Likewise.
78194 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78195 * stdlib/mod_1.c (mpn_mod_1): Likewise.
78196
78197 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
78198
78199 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78200 struct La_sh_regs is not constant.
78201 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78202 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78203 and struct La_sparc64_regs are not constant.
78204
78205 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78206
78207 * sysdeps/unix/sysv/linux/kernel-features.h
78208 (__ASSUME_POSIX_TIMERS): Remove.
78209 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78211 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78212 Make code unconditional.
78213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78214 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78215 Make code unconditional.
78216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78217 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78218 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78219 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78220 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78221 Make code unconditional.
78222 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78223 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78224 (__libc_missing_posix_timers): Remove.
78225
78226 2012-08-15 Roland McGrath <roland@hack.frob.com>
78227
78228 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78229 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78230
78231 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78232
78233 * elf/dl-sym.c: Include <stdlib.h>.
78234
78235 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78236 constants, which avoids warnings in 32-bit builds.
78237
78238 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78239 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78240
78241 * misc/lseek.c: File moved to ...
78242 * io/lseek.c: ... here.
78243
78244 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78245
78246 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78247 shifting LEN more than 31 bits at once.
78248
78249 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78250
78251 [BZ #14195]
78252 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78253 segmentation fault for a case of two empty input strings.
78254 * string/test-strncasecmp.c (check1): Renamed to...
78255 (bz12205): ...this.
78256 (bz14195): Add new testcase for two empty input strings and N > 0.
78257 (test_main): Call new testcase, adapt for renamed function.
78258
78259 2012-08-15 Andreas Jaeger <aj@suse.de>
78260
78261 [BZ #14090]
78262 * crypt/md5test2.c: New test, based on test supplied by Serge
78263 Belyshev <belyshev@depni.sinp.msu.ru>.
78264 * crypt/Makefile (xtests): Add md5test-giant..
78265 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78266
78267 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78268
78269 [BZ #14090]
78270 * crypt/md5.c (md5_process_block): Don't assume the buffer
78271 length is less than 2**32.
78272 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78273 length is less than 2**64.
78274
78275 2012-08-15 Roland McGrath <roland@hack.frob.com>
78276
78277 * string/str-two-way.h: Include <sys/param.h>.
78278 (MAX): Macro removed.
78279
78280 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78281 Move #define and #undef of memmove to just before and after
78282 including <string.h>.
78283
78284 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78285 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78286 and after including <string.h>. Move declarations of
78287 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78288 to before #include "string/memmove.c".
78289
78290 * include/dirent.h: Declare __getdirentries.
78291
78292 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78293 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78294
78295 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78296
78297 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78298 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78299 * sysdeps/i386/configure: Regenerated.
78300 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78301 STABS_CURRENT_FILE, and STABS_FUN.
78302 (END): Remove call to STABS_FUN_END.
78303 (STABS_CURRENT_FILE1): Delete.
78304 (STABS_CURRENT_FILE): Likewise.
78305 (STABS_FUN): Likewise.
78306 (STABS_FUN_END): Likewise.
78307 (STABS_FUN2): Likewise.
78308 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78309 * sysdeps/x86_64/configure: Regenerated.
78310
78311 2012-08-14 Roland McGrath <roland@hack.frob.com>
78312
78313 * elf/dl-open.c: Include <atomic.h>.
78314 * elf/dl-lookup.c: Likewise.
78315
78316 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78317
78318 * sysdeps/unix/sysv/linux/kernel-features.h
78319 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78320 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78321 unconditionally.
78322 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78323 unconditionally.
78324 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78325 condition on __ASSUME_CLONE_THREAD_FLAGS.
78326
78327 2012-08-14 Andreas Jaeger <aj@suse.de>
78328
78329 * sysdeps/i386/fpu/libm-test-ulps: Update.
78330
78331 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78332
78333 * include/atomic.h (atomic_exchange_and_add): Split into ...
78334 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78335 New atomic macros.
78336
78337 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78338
78339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78340
78341 2012-08-13 Jeff Law <law@redhat.com>
78342
78343 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78344 null byte in the output string.
78345
78346 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78347
78348 * sysdeps/unix/sysv/linux/kernel-features.h
78349 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78350 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78351 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78352 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78353 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78354 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78355 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78356
78357 2012-08-09 Jeff Law <law@redhat.com>
78358
78359 [BZ #13939]
78360 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78361 When avoid_arena is set, don't retry in the that arena. Pick the
78362 next one, whatever it might be.
78363 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78364 (arena_lock): Pass in new parameter to arena_get2.
78365 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78366 arena_get2.
78367 (__libc_malloc): Unify retrying after main arena failure with
78368 __libc_memalign version.
78369 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78370
78371 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78372
78373 [BZ #14166]
78374 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78375 to __redirect_strstr.
78376 (__strstr_sse42): Use typeof __redirect_strstr.
78377 (__strstr_ia32): Likewise.
78378 (__libc_strstr): New prototype.
78379 (strstr): Renamed to ...
78380 (__libc_strstr): This.
78381 (strstr): New strong alias of __libc_strstr.
78382 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78383 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78384 __redirect_time.
78385 Include <time.h>.
78386 (__libc_time): New prototype.
78387 (time_ifunc): Replace time with __libc_time.
78388 (time): New strong alias and hidden definition of __libc_time.
78389 (__GI_time): Remove strong alias.
78390 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78391 Include <stddef.h>.
78392 (memmove): Redefined to __redirect_memmove.
78393 (__memmove_sse2): Use typeof __redirect_memmove.
78394 (__memmove_ssse3): Likewise.
78395 (__memmove_ssse3_back): Likewise.
78396 (__libc_memmove): New prototype.
78397 (memmove): Renamed to ...
78398 (__libc_memmove): This.
78399 (memmove): New strong alias of __libc_memmove.
78400
78401 2012-08-08 Mark Salter <msalter@redhat.com>
78402
78403 * elf/elf.h
78404 (R_MN10300_TLS_GD): Define.
78405 (R_MN10300_TLS_LD): Likewise.
78406 (R_MN10300_TLS_LDO): Likewise.
78407 (R_MN10300_TLS_GOTIE): Likewise.
78408 (R_MN10300_TLS_IE): Likewise.
78409 (R_MN10300_TLS_LE): Likewise.
78410 (R_MN10300_TLS_DTPMOD): Likewise.
78411 (R_MN10300_TLS_DTPOFF): Likewise.
78412 (R_MN10300_TLS_TPOFF): Likewise.
78413 (R_MN10300_SYM_DIFF): Likewise.
78414 (R_MN10300_ALIGN): Likewise.
78415 (R_MN10300_NUM): Update.
78416
78417 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78418
78419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78420 Remove.
78421
78422 2012-08-08 Roland McGrath <roland@hack.frob.com>
78423
78424 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78425
78426 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78427 sysdeps/unix -> sysdeps/posix move.
78428 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78429
78430 2012-08-07 Allan McRae <allan@archlinux.org>
78431
78432 [BZ #14303]
78433 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78434 (SUNOS_CPP): Likewise.
78435 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78436 not found.
78437 (open_input): Call CPP using execvp.
78438
78439 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78440
78441 * sysdeps/unix/sysv/linux/kernel-features.h
78442 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78443 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78444 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78445 (__ASSUME_WAITID_SYSCALL): Likewise.
78446 * sysdeps/unix/sysv/linux/dl-execstack.c
78447 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78448 code unconditional.
78449 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78450 conditional code.
78451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78452 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78453 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78454 code.
78455 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78456 unconditional.
78457 [__ASSUME_WAITID_SYSCALL]: Likewise.
78458 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78459
78460 2012-08-07 Roland McGrath <roland@hack.frob.com>
78461
78462 * sysdeps/unix/closedir.c: Renamed to ...
78463 * sysdeps/posix/closedir.c: ... here.
78464 * sysdeps/unix/dirfd.c: Renamed to ...
78465 * sysdeps/posix/dirfd.c: ... here.
78466 * sysdeps/unix/dirstream.h: Renamed to ...
78467 * sysdeps/posix/dirstream.h: ... here.
78468 * sysdeps/unix/fdopendir.c: Renamed to ...
78469 * sysdeps/posix/fdopendir.c: ... here.
78470 * sysdeps/unix/opendir.c: Renamed to ...
78471 * sysdeps/posix/opendir.c: ... here.
78472 * sysdeps/unix/readdir.c: Renamed to ...
78473 * sysdeps/posix/readdir.c: ... here.
78474 * sysdeps/unix/readdir_r.c: Renamed to ...
78475 * sysdeps/posix/readdir_r.c: ... here.
78476 * sysdeps/unix/rewinddir.c: Renamed to ...
78477 * sysdeps/posix/rewinddir.c: ... here.
78478 * sysdeps/unix/seekdir.c: Renamed to ...
78479 * sysdeps/posix/seekdir.c: ... here.
78480 * sysdeps/unix/telldir.c: Renamed to ...
78481 * sysdeps/posix/telldir.c: ... here.
78482 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78483 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78484 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78485 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78486
78487 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78488 * bits/fcntl.h: ... here.
78489
78490 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78491 not 0.
78492 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78493 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78494 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78495 (struct flock): Move l_start, l_len to the beginning.
78496 Use __pid_t for l_pid.
78497 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78498 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78499 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78500 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78501 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78502 [__USE_LARGEFILE64] (struct flock64): New type.
78503 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78504
78505 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78506 * bits/dirent.h: ... here.
78507
78508 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78509 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78510
78511 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78512
78513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78514 Change from 2.6.0 to 2.6.16.
78515 * sysdeps/unix/sysv/linux/configure: Regenerated.
78516 * sysdeps/unix/sysv/linux/kernel-features.h
78517 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78518 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78519 version.
78520 (__ASSUME_UTIMES): Likewise.
78521 (__ASSUME_CLONE_STOPPED): Remove.
78522 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78523 architectures, not kernel version.
78524 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78525 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78526 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78527 (__ASSUME_WAITID_SYSCALL): Likewise.
78528 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78529 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78530 * README: State 2.6.16 as minimum Linux kernel version. Do not
78531 refer to older versions.
78532
78533 2012-08-06 Roland McGrath <roland@hack.frob.com>
78534
78535 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78536 Define alphasort64 as an alias.
78537 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78538 Define versionsort64 as an alias.
78539 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78540 Define scandir64 as an alias.
78541 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78542 Define scandirat64 as an alias.
78543 * dirent/alphasort64.c (alphasort64):
78544 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78545 * dirent/versionsort64.c: Likewise.
78546 * dirent/scandir64.c: Likewise.
78547 * dirent/scandirat64.c: Likewise.
78548 * sysdeps/wordsize-64/alphasort.c: File removed.
78549 * sysdeps/wordsize-64/alphasort64.c: File removed.
78550 * sysdeps/wordsize-64/scandir.c: File removed.
78551 * sysdeps/wordsize-64/scandir64.c: File removed.
78552 * sysdeps/wordsize-64/scandirat.c: File removed.
78553 * sysdeps/wordsize-64/scandirat64.c: File removed.
78554 * sysdeps/wordsize-64/versionsort.c: File removed.
78555 * sysdeps/wordsize-64/versionsort64.c: File removed.
78556 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78557 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78558 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78559 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78560 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78561 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78562 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78563 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78564
78565 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78566 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78567 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78569 [defined __arch64__ || defined __sparcv9]
78570 (__INO_T_MATCHES_INO64_T): New macro.
78571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78572 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78573 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78574 * sysdeps/unix/sysv/linux/bits/dirent.h
78575 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78576 (_DIRENT_MATCHES_DIRENT64): New macro.
78577
78578 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78579 Define lockf64 as an alias.
78580 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78581 Define fseeko64 as an alias.
78582 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78583 Define ftello64 as an alias.
78584 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78585 Define _IO_fgetpos64 and fgetpos64 as aliases.
78586 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78587 Define _IO_fsetpos64 and fsetpos64 as aliases.
78588 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78589 Conditionalize body on this.
78590 * libio/fseeko64.c: Likewise.
78591 * libio/ftello64.c: Likewise.
78592 * libio/iofgetpos64.c: Likewise.
78593 * libio/iofsetpos64.c: Likewise.
78594 * sysdeps/wordsize-64/lockf.c: File removed.
78595 * sysdeps/wordsize-64/lockf64.c: File removed.
78596 * sysdeps/wordsize-64/fseeko.c: File removed.
78597 * sysdeps/wordsize-64/fseeko64.c: File removed.
78598 * sysdeps/wordsize-64/ftello.c: File removed.
78599 * sysdeps/wordsize-64/ftello64.c: File removed.
78600 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78601 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78602 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78603 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78604 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78605 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78606 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78608 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78610 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78611 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78612 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78613 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78614
78615 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78617 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78619 [defined __arch64__ || defined __sparcv9]
78620 (__OFF_T_MATCHES_OFF64_T): New macro.
78621 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78622 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78624 (__OFF_T_MATCHES_OFF64_T): New macro.
78625
78626 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78627
78628 * stdlib/secure-getenv.c (__secure_getenv): Replace
78629 GLIBC_2_16 with GLIBC_2_17.
78630
78631 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78632
78633 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78634 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78635
78636 2012-08-03 David S. Miller <davem@davemloft.net>
78637
78638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78639
78640 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78641
78642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78643 Remove.
78644 (__ASSUME_CORRECT_SI_PID): Likewise.
78645 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78646 (__ASSUME_TMPFS_NAME): Likewise.
78647 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78648 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78649 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78650 (HAVE_AUX_SECURE): Make definition unconditional.
78651 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78652 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78653
78654 2012-08-03 Roland McGrath <roland@hack.frob.com>
78655
78656 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78657 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78658 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78659 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78660 __eloop_threshold instead of SYMLOOP_MAX.
78661
78662 * sysdeps/generic/eloop-threshold.h: New file.
78663 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78664 of MAXSYMLINKS.
78665 * elf/chroot_canon.c (chroot_canon): Likewise.
78666
78667 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78668
78669 [BZ #13717]
78670 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78671 Change to 2.6.0 everywhere.
78672 * sysdeps/unix/sysv/linux/configure: Regenerated.
78673 * sysdeps/unix/sysv/linux/kernel-features.h
78674 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78675 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78676 kernel versions.
78677 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78678 (__ASSUME_FUTEX_REQUEUE): Remove.
78679 (__ASSUME_STATFS64): Define unconditionally.
78680 (__ASSUME_AT_SECURE): Likewise.
78681 (__ASSUME_CORRECT_SI_PID): Likewise.
78682 (__ASSUME_TGKILL): Define without depending on kernel version for
78683 i386.
78684 (__ASSUME_UTIMES): Likewise.
78685 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78686 kernel version.
78687 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78688 (__ASSUME_TMPFS_NAME): Likewise.
78689 * README: Update reference to Linux kernel versions.
78690
78691 2012-08-02 Marek Polacek <polacek@redhat.com>
78692
78693 [BZ #14150]
78694 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78695 libc_cv_asm_type_prefix with %.
78696 * configure: Regenerated.
78697 * include/libc-symbols.h: Remove comment about
78698 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78699 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78700 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78701 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78702 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78703 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78704 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78705 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78706 * elf/tst-unique2mod1.c: Likewise.
78707 * elf/tst-unique1mod2.c: Likewise.
78708 * elf/tst-unique1mod1.c: Likewise.
78709 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78710 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78711 Replace ASM_TYPE_DIRECTIVE with .type.
78712 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78713 * sysdeps/i386/sysdep.h: Likewise.
78714 * sysdeps/x86_64/sysdep.h: Likewise.
78715 * sysdeps/sh/sysdep.h: Likewise.
78716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78717 Do not define ASM_TYPE_DIRECTIVE.
78718 * sysdeps/powerpc/sysdep.h: Likewise.
78719 * sysdeps/powerpc/powerpc32/sysdep.h:
78720 Replace ASM_TYPE_DIRECTIVE with .type.
78721 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78722 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78723 * sysdeps/i386/fpu/e_powf.S: Likewise.
78724 * sysdeps/i386/fpu/e_expl.S: Likewise.
78725 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78726 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78727 * sysdeps/i386/fpu/e_pow.S: Likewise.
78728 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78729 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78730 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78731 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78732 * sysdeps/i386/fpu/e_log2.S: Likewise.
78733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78734 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78735 * sysdeps/i386/fpu/e_powl.S: Likewise.
78736 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78737 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78738 * sysdeps/i386/fpu/e_logl.S: Likewise.
78739 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78740 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78741 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78742 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78743 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78744 * sysdeps/i386/fpu/e_log.S: Likewise.
78745 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78746 * sysdeps/i386/fpu/e_logf.S: Likewise.
78747 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78748 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78749 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78750 * sysdeps/i386/fpu/e_log10.S: Likewise.
78751 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78753 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78754 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78755 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78756 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78757 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78758 * sysdeps/i386/i686/strtok.S: Likewise.
78759 * sysdeps/i386/i386-mcount.S: Likewise.
78760 * sysdeps/i386/strtok.S: Likewise.
78761 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78762 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78763 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78764 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78765 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78766 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78767 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78768 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78769 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78770 * sysdeps/x86_64/_mcount.S: Likewise.
78771 * sysdeps/x86_64/strtok.S: Likewise.
78772 * sysdeps/sh/_mcount.S: Likewise.
78773
78774 2012-08-01 Roland McGrath <roland@hack.frob.com>
78775
78776 * libio/iofopen.c: Include <fcntl.h>.
78777 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78778 (_IO_fopen64, fopen64): Define as aliases.
78779 * libio/iofopen64.c: Include <fcntl.h>.
78780 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78781 Conditionalize body on this.
78782 * sysdeps/wordsize-64/iofopen.c: File removed.
78783 * sysdeps/wordsize-64/iofopen64.c: File removed.
78784
78785 2012-08-01 Marek Polacek <polacek@redhat.com>
78786
78787 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78788 Use dlfcn directly instead of a variable.
78789 (binfmt-subdir): Do not define.
78790 (dlfcn): Likewise.
78791
78792 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78793
78794 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78795 Remove all definitions.
78796 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78797 <kernel-features.h>.
78798 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78799 (miss_F_GETOWN_EX): Remove all definitions.
78800 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78801 macro definition.
78802 [!__ASSUME_FCNTL64]: Remove conditional code.
78803 [__ASSUME_FCNTL64]: Make code unconditional.
78804 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78805 <kernel-features.h>.
78806 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78807 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78808 (lockf64) [__NR_fcntl64]: Make code unconditional.
78809 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78810
78811 * sysdeps/unix/sysv/linux/kernel-features.h
78812 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78813 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78814 Make code unconditional.
78815 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78816 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78818 [__NR_vfork]: Make code unconditional.
78819 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78820 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78822 [__NR_vfork]: Make code unconditional.
78823 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78824 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78825
78826 2012-08-01 Roland McGrath <roland@hack.frob.com>
78827
78828 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78829 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78830
78831 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78832 Define mkstemp64 as an alias.
78833 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78834 Define mkstemps64 as an alias.
78835 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78836 Define mkostemp64 as an alias.
78837 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78838 Define mkostemps64 as an alias.
78839 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78840 Conditionalize body on this.
78841 * misc/mkostemp64.c: Likewise.
78842 * misc/mkostemps64.c: Likewise.
78843 * misc/mkstemps64.c: Likewise.
78844 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78845 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78846 * sysdeps/wordsize-64/mkostemp.c: File removed.
78847 * sysdeps/wordsize-64/mkstemp.c: File removed.
78848 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78849 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78850 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78851 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78852
78853 [BZ #14138]
78854 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78855 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78856 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78857 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78858
78859 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78860 compat_symbol macros from <shlib-compat.h> rather than the underlying
78861 default_symbol_version and symbol_version macros, so that DEFAULT
78862 lines in shlib-versions are respected.
78863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78864
78865 2012-08-01 Florian Weimer <fweimer@redhat.com>
78866
78867 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78868 Declare with warn_unused_result.
78869 (setgid, setregid, setegid, setresgid): Likewise.
78870 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78871 Likewise.
78872 * WUR-REPORT: Remove set*id functions.
78873
78874 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78875
78876 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78877
78878 2012-07-31 Roland McGrath <roland@hack.frob.com>
78879
78880 [BZ #10191]
78881 * include/sys/socket.h (__libc_accept, __libc_accept4):
78882 Add attribute_hidden.
78883 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78884
78885 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78886 use of PTR_MANGLE.
78887 * inet/getnetgrent_r.c (setup): Likewise.
78888
78889 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78890
78891 2012-07-31 David S. Miller <davem@davemloft.net>
78892
78893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78894
78895 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78896
78897 [BZ #13629]
78898 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78899 value between 1.0 and 2.0 and smaller part has absolute value less
78900 than 1.0.
78901 * math/s_clog10.c (__clog10): Likewise.
78902 * math/s_clog10f.c (__clog10f): Likewise.
78903 * math/s_clog10l.c (__clog10l): Likewise.
78904 * math/s_clogf.c (__clogf): Likewise.
78905 * math/s_clogl.c (__clogl): Likewise.
78906 * math/libm-test.inc (clog_test): Add more tests.
78907 (clog10_test): Likewise.
78908 * sysdeps/i386/fpu/libm-test-ulps: Update.
78909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78910
78911 2012-07-31 Florian Weimer <fweimer@redhat.com>
78912
78913 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78914 Exit with zero in case no suitable GID is found, and write a
78915 message to standard error.
78916
78917 2012-07-30 Roland McGrath <roland@hack.frob.com>
78918
78919 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78920 rather than to 1.
78921 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78922 (MAXPATHLEN): Removed.
78923 (NOGROUP, NODEV): New macros.
78924 (setbit, clrbit, isset, isclr): New macros.
78925 (howmany, roundup, powerof2): New macros.
78926 (DEV_BSIZE): New macro.
78927
78928 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78929 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78930
78931 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78932 definition on [!__NO_LONG_DOUBLE_MATH].
78933
78934 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78935 PTR_MANGLE and PTR_DEMANGLE.
78936
78937 * socket/accept4.c (accept4): Rename to __libc_accept4.
78938 Define accept4 as a weak alias.
78939
78940 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78941 on [_DIRENT_HAVE_D_TYPE].
78942 * io/ftw.c (ftw_dir): Likewise.
78943
78944 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78945
78946 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78947
78948 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78949 Use the BSD numbers rather than the arbitrary ones we had.
78950 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78951 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78952 (SIGXCPU, SIGXFSZ): New macros.
78953 (_NSIG): Now 32.
78954
78955 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78956 initializer on [_LIBC_REENTRANT].
78957
78958 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78959 definitions inside [_POSIX_MAPPED_FILES].
78960
78961 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78962
78963 * dirent/opendir.c: Include <fcntl.h>.
78964
78965 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78966 (__libc_getspecific): Likewise.
78967 (__libc_key_create): Likewise.
78968
78969 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78970 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78971 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78972 (tmpfile64): Define as alias.
78973 * sysdeps/wordsize-64/tmpfile.c: File removed.
78974 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78975 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78976 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78977
78978 * stdio-common/vfscanf.c: Include <stdbool.h>.
78979 * nss/makedb.c: Likewise.
78980 * stdio-common/_i18n_number.h: Likewise.
78981 * argp/argp-help.c: Likewise.
78982 * posix/wordexp.c: Likewise.
78983 * sysdeps/posix/spawni.c: Likewise.
78984 * nss/nss_files/files-initgroups.c: Likewise.
78985 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78986 * nss/nss_files/files-initgroups.c: Likewise.
78987 * nss/nss_db/db-netgrp.c: Likewise.
78988 * nss/nss_db/db-initgroups.c: Likewise.
78989 * io/fchmodat.c: Include <sys/stat.h>.
78990
78991 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78992 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78993
78994 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78995 [HAVE_MMAP].
78996
78997 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78998 Add multiple inclusion protection.
78999
79000 2012-07-27 David S. Miller <davem@davemloft.net>
79001
79002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79003
79004 2012-07-27 Gary Benson <gbenson@redhat.com>
79005
79006 [BZ #14298]
79007 * elf/rtld.c: Include <stap-probe.h>.
79008 (dl_main): Added static probes "init_start" and "init_complete".
79009 * elf/dl-load.c: Include <stap-probe.h>.
79010 (lose): Take new parameter "nsid".
79011 Added static probe "map_failed".
79012 (_dl_map_object_from_fd): Pass namespace id to lose.
79013 Added static probe "map_start".
79014 (open_verify): Pass namespace id to lose.
79015 * elf/dl-open.c: Include <stap-probe.h>.
79016 (dl_open_worker) Added static probes "map_complete", "reloc_start"
79017 and "reloc_complete".
79018 * elf/dl-close.c: Include <stap-probe.h>.
79019 (_dl_close_worker): Added static probes "unmap_start" and
79020 "unmap_complete".
79021 * elf/rtld-debugger-interface.txt: New file documenting the above.
79022
79023 2012-07-26 Roland McGrath <roland@hack.frob.com>
79024
79025 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79026 rather than a string variable.
79027 * sunrpc/rpc_main.c (h_output): Likewise.
79028 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79029
79030 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
79031
79032 * inet/check_native.c: New file.
79033
79034 2012-07-26 Joseph Myers <joseph@codesourcery.com>
79035
79036 [BZ #13629]
79037 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79038 if larger part has absolute value 1.0.
79039 * math/s_clog10.c (__clog10): Likewise.
79040 * math/s_clog10f.c (__clog10f): Likewise.
79041 * math/s_clog10l.c (__clog10l): Likewise.
79042 * math/s_clogf.c (__clogf): Likewise.
79043 * math/s_clogl.c (__clogl): Likewise.
79044 * math/libm-test.inc (clog_test): Add more tests.
79045 (clog10_test): Likewise.
79046 * sysdeps/i386/fpu/libm-test-ulps: Update.
79047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79048
79049 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79050 (pltexit): Likewise.
79051 (La_regs): Likewise.
79052 (La_retval): Likewise.
79053 (int_retval): Likewise.
79054 Update #error for removed macros to refer only to definitions in
79055 tst-audit.h.
79056 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79057 macro.
79058 (pltexit): Likewise.
79059 (La_regs): Likewise.
79060 (La_retval): Likewise.
79061 (int_retval): Likewise.
79062 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79063 macro.
79064 (pltexit): Likewise.
79065 (La_regs): Likewise.
79066 (La_retval): Likewise.
79067 (int_retval): Likewise.
79068 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79069 macro.
79070 (pltexit): Likewise.
79071 (La_regs): Likewise.
79072 (La_retval): Likewise.
79073 (int_retval): Likewise.
79074 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79075 macro.
79076 (pltexit): Likewise.
79077 (La_regs): Likewise.
79078 (La_retval): Likewise.
79079 (int_retval): Likewise.
79080 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79081 macro.
79082 (pltexit): Likewise.
79083 (La_regs): Likewise.
79084 (La_retval): Likewise.
79085 (int_retval): Likewise.
79086 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79087 macro.
79088 (pltexit): Likewise.
79089 (La_regs): Likewise.
79090 (La_retval): Likewise.
79091 (int_retval): Likewise.
79092 * sysdeps/generic/tst-audit.h: Update comment to refer only to
79093 macro definitions in tst-audit.h.
79094 * sysdeps/i386/tst-audit.h: New file.
79095 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79096 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79097 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79098 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79099 * sysdeps/sh/tst-audit.h: Likewise.
79100 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79101 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79102 * sysdeps/x86_64/tst-audit.h: Likewise.
79103
79104 2012-07-26 Andreas Jaeger <aj@suse.de>
79105
79106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79107 ptrace.
79108
79109 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79110 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79111 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79112 PTRACE_O_MASK.
79113 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79114 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79115 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79116
79117 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79118 value.
79119
79120 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79121 _sigsys.
79122 (si_call_addr, si_syscall, si_arch): Define new macro.
79123 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79124 _sigsys.
79125 (si_call_addr, si_syscall, si_arch): Define new marcro.
79126 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79127 _sigsys.
79128 (si_call_addr, si_syscall, si_arch): Define new macro.
79129 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79130 _sigsys.
79131 (si_call_addr, si_syscall, si_arch): Define new macro.
79132
79133 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79134
79135 [BZ #13717]
79136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79137 Change to 2.4.21 where previously 2.4.1.
79138 * sysdeps/unix/sysv/linux/configure: Regenerated.
79139 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79140 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79141 Linux kernel version.
79142 (__ASSUME_STD_AUXV): Remove.
79143 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79144 kernel version.
79145 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79146 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79147 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79148 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79149 (__ASSUME_NETLINK_SUPPORT): Likewise.
79150 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79151 (__no_netlink_support): Remove conditional definition.
79152 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79153 Remove.
79154 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79155 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79156 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79157 (if_nameindex_ioctl): Remove.
79158 (if_nameindex_netlink): Do not handle __no_netlink_support.
79159 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79160 code.
79161 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79162 Remove conditional code.
79163 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79164 code.
79165 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79166 unconditional.
79167 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79168 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79169 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79170 Remove.
79171 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79172 [!__ASSUME_STD_AUXV]: Remove conditional code.
79173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79174 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79175 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79177 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79178 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79179 code.
79180 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79182 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79183 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79184 conditional code.
79185 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79187 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79188 code.
79189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79190 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79191 conditional code.
79192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79193 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79194 code unconditional.
79195 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79196 conditional code.
79197 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79198 unconditional.
79199 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79200 conditional code.
79201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79202 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79203 unconditional.
79204 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79205 conditional code.
79206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79207 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79208 code unconditional.
79209 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79210 conditional code.
79211 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79212 unconditional.
79213 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79214 conditional code.
79215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79216 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79217 code unconditional.
79218 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79219 conditional code.
79220 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79221 unconditional.
79222 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79223 conditional code.
79224
79225 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79226
79227 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79228 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79229 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79230 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79231 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79232 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79233 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79234 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79235 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79236 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79237 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79238 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79239 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79240 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79241 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79242 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79243 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79244 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79245 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79247 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79248 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79249 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79250
79251 2012-07-25 Florian Weimer <fweimer@redhat.com>
79252
79253 * Versions.def: Add GLIBC_2.17.
79254 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79255 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79256 Introduce __libc_secure_getenv.
79257 * stdlib/Versions (2.17): Add secure_getenv
79258 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79259 * stdlib/secure-getenv.c: Rename __secure_getenv to
79260 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79261 symbol __secure_getenv for GLIBC_2.0.
79262 * stdlib/tst-secure-getenv.c: New.
79263 * stdlib/Makefile (tests): Add testcase.
79264 * manual/startup.texi (Environment Access): Document
79265 secure_getenv.
79266 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79267 __libc_secure_getenv.
79268 * inet/ruserpass.c (ruserpass): Likewise.
79269 * malloc/mtrace.c (mtrace): Likewise.
79270 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79271 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79272 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79273 * sysdeps/posix/tempname.c: Likewise. Evaluate
79274 HAVE_SECURE_GETENV.
79275 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79276 __secure_getenv to __libc_secure_getenv.
79277 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79279 Likewise.
79280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79281 Likewise.
79282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79289
79290 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79291
79292 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79293 (struct La_i86_retval): Likewise.
79294 (struct La_x86_64_regs): Likewise.
79295 (struct La_x86_64_retval): Likewise.
79296 (struct La_x32_regs): Likewise.
79297 (struct La_x32_retval): Likewise.
79298 (struct La_ppc32_regs): Likewise.
79299 (struct La_ppc32_retval): Likewise.
79300 (struct La_ppc64_regs): Likewise.
79301 (struct La_ppc64_retval): Likewise.
79302 (struct La_sh_regs): Likewise.
79303 (struct La_sh_retval): Likewise.
79304 (struct La_s390_32_regs): Likewise.
79305 (struct La_s390_32_retval): Likewise.
79306 (struct La_s390_64_regs): Likewise.
79307 (struct La_s390_64_retval): Likewise.
79308 (struct La_sparc32_regs): Likewise.
79309 (struct La_sparc32_retval): Likewise.
79310 (struct La_sparc64_regs): Likewise.
79311 (struct La_sparc64_retval): Likewise.
79312 (struct audit_ifaces): Remove architecture-specific pltenter and
79313 pltexit members.
79314 * sysdeps/i386/ldsodefs.h: New file.
79315 * sysdeps/powerpc/ldsodefs.h: Likewise.
79316 * sysdeps/s390/ldsodefs.h: Likewise.
79317 * sysdeps/sh/ldsodefs.h: Likewise.
79318 * sysdeps/sparc/ldsodefs.h: Likewise.
79319 * sysdeps/x86_64/ldsodefs.h: Likewise.
79320
79321 2012-07-25 Marek Polacek <polacek@redhat.com>
79322
79323 [BZ #6808]
79324 * math/libm-test.inc (yn_test): Add another test.
79325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79326 to ERANGE when the result is +-Inf.
79327 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79328 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79329 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79330 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79331
79332 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79333
79334 * conform/data/time.h-data (NULL): Use macro-constant. Require
79335 equal to 0.
79336 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79337 clock_t.
79338 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79339
79340 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79341
79342 * configure.in <sysdeps resolving>: Correct printing
79343 Implies_before.
79344 * configure: Regenerate.
79345
79346 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79347
79348 * math/w_ilogb.c: Include <limits.h>.
79349 * math/w_ilogbl.c: Likewise.
79350
79351 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79352
79353 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79354 va_copy. Document allowing for unavailable va_copy only as
79355 pre-C99 compatibility.
79356 * manual/string.texi (Copying and Concatenation): Use va_copy
79357 instead of __va_copy in concat example.
79358
79359 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79360
79361 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79362 (__sendto): Use create_address_port. Initialize APORT and deallocate
79363 it if not null.
79364
79365 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79366 with O_NOLINK passed to __file_name_lookup.
79367
79368 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79369 with O_NOLINK passed to __file_name_lookup.
79370
79371 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79372 negative N or less than NGIDS.
79373
79374 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79375 type to string_t. Set ERANGE as errno and return it if NAME is not big
79376 enough. Use memcpy instead of strncpy.
79377
79378 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79379
79380 * elf/Makefile (check-data): Remove.
79381 (localplt.data): New vpath directive.
79382 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79383 instead of $(check-data).
79384 * scripts/data/localplt-generic.data: Move to ...
79385 * sysdeps/generic/localplt.data: ... here.
79386 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79387 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79388 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79390 ... here.
79391 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79393 ... here.
79394 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79396 ... here.
79397 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79399 ... here.
79400 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79402 ... here.
79403 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79405 ... here.
79406
79407 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79408
79409 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79410 PPC32 and PPC64 files.
79411 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79412 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79413
79414 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79415
79416 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79417 __makecontext_ret to ...
79418 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79419 ... here and call exit if uc_link is NULL. New file.
79420 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79421 __makecontext_ret.S.
79422 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79423 __makecontext_ret to ...
79424 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79425 ... here and call exit if uc_link is NULL. New file.
79426 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79427 __makecontext_ret.S.
79428
79429 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79430
79431 * elf/elf.h (R_390_IRELATIVE): New definition.
79432 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79433 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79434 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79435 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79436 (elf_machine_lazy_rel): Likewise.
79437 * sysdeps/s390/dl-irel.h: New file.
79438 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79439 * sysdeps/s390/s390-64/memset.S: New asm code.
79440 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79441 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79442 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79443 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79444 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79445 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79446 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79447 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79448 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79449 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79450 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79451 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79452 * sysdeps/s390/s390-32/memset.S: New asm code.
79453 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79454
79455 2012-07-17 Marek Polacek <polacek@redhat.com>
79456
79457 [BZ #14349]
79458 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79459 * sysdeps/s390/s390-64/configure.in: Likewise.
79460 * sysdeps/sparc/configure.in: Likewise.
79461 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79462 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79463 * sysdeps/i386/configure.in: Likewise.
79464 * sysdeps/x86_64/configure.in: Likewise.
79465 * sysdeps/sh/configure.in: Likewise.
79466 * sysdeps/s390/s390-32/configure: Regenerated.
79467 * sysdeps/s390/s390-64/configure: Likewise.
79468 * sysdeps/x86_64/configure: Likewise.
79469 * sysdeps/sh/configure: Likewise.
79470 * sysdeps/powerpc/powerpc64/configure: Likewise.
79471 * sysdeps/powerpc/powerpc32/configure: Likewise.
79472 * sysdeps/sparc/configure: Likewise.
79473 * sysdeps/i386/configure: Likewise.
79474
79475 * elf/dl-open.c: Comment fixes.
79476
79477 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79478
79479 * Makefile [CXX] (check-data): Remove.
79480 [CXX] (c++-types.data): New vpath directive.
79481 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79482 vpath. Do not allow for C++ type data being missing.
79483 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79484 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79485 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79486 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79487 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79488 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79489 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79491 ... here.
79492 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79494 ... here.
79495 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79497 ... here.
79498 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79500 ... here.
79501 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79503 ... here.
79504 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79506 ... here.
79507 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79509 ... here.
79510 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79512
79513 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79514 definitions to architecture-specific files.
79515 (TLS_IE): Likewise.
79516 (TLS_LD): Likewise.
79517 (TLS_GD): Likewise.
79518 * sysdeps/i386/tls-macros.h: New file.
79519 * sysdeps/powerpc/tls-macros.h: Likewise.
79520 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79521 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79522 * sysdeps/sh/tls-macros.h: Likewise.
79523 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79524 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79525 * sysdeps/x86_64/tls-macros.h: Likewise.
79526
79527 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79528
79529 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79530 zero value for regular exit case.
79531
79532 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79533 (__start_context): Preserve zero value for regular exit case.
79534
79535 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79536 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79537
79538 * manual/setjmp.texi (setcontext): Clarify normal process
79539 termination when uc_link is the null pointer.
79540 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79541 exit call.
79542
79543 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79544
79545 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79546 preprocessor. Test for each exception mask separately.
79547
79548 2012-07-16 Andreas Jaeger <aj@suse.de>
79549
79550 * po/ru.po: Update from translation team.
79551
79552 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79553
79554 * conform/data/string.h-data (NULL): Use macro-constant. Require
79555 equal to 0.
79556 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79557 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79558 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79559 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79561
79562 2012-07-13 Andreas Jaeger <aj@suse.de>
79563
79564 * po/fr.po: Update from translation team.
79565
79566 2012-07-12 Marek Polacek <polacek@redhat.com>
79567
79568 [BZ #14173]
79569 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79570 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79571 loop condition.
79572
79573 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79574
79575 [BZ #13717]
79576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79577 Change to 2.4.1 where previously 2.4.0.
79578 * sysdeps/unix/sysv/linux/configure: Regenerated.
79579 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79580 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79581 version.
79582 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79583 (__ASSUME_AT_CLKTCK): Remove.
79584 (__ASSUME_AT_PAGESIZE): Likewise.
79585 (__ASSUME_AT_XID): Likewise.
79586 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79587 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79588 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79589 unconditionally.
79590 (HAVE_AUX_PAGESIZE): Likewise.
79591 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79592 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79593 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79594
79595 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79596
79597 [BZ #14307]
79598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79599 the temporary buffer used to invoke __gethostbyname2_r,
79600 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79601 host_data / struct gaih_addrtuple.
79602 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79603 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79604 header file nss/nsswitch.h.
79605 * nss/nsswitch.h (global scope): Add definition of implementation
79606 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79607 resolv/nss_dns/dns-host.c).
79608
79609 2012-07-11 Andreas Jaeger <aj@suse.de>
79610
79611 * po/fr.po: Update from translation team.
79612
79613 * po/sv.po: Update from translation team
79614 * po/fr.po: Another update from translation team.
79615
79616 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79617
79618 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79619 for subnormals or multiply small sinh result by itself.
79620 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79622
79623 2012-07-11 David S. Miller <davem@davemloft.net>
79624
79625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79626
79627 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79628
79629 [BZ #14347]
79630 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79631 (INTERNAL_MARK): Shift it here.
79632
79633 2012-07-10 Marek Polacek <polacek@redhat.com>
79634
79635 [BZ #14151]
79636 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79637 libc_cv_asm_global_directive with .globl.
79638 * configure: Regenerated.
79639 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79640 with .globl.
79641 * sysdeps/i386/configure: Regenerated.
79642 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79643 with .globl.
79644 * sysdeps/x86_64/configure: Regenerated.
79645 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79646 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79647 * elf/tst-unique2mod2.c: Likewise.
79648 * elf/tst-unique2mod1.c: Likewise.
79649 * elf/tst-unique1mod2.c: Likewise.
79650 * elf/tst-unique1mod1.c: Likewise.
79651 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79652 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79653 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79654 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79655 * sysdeps/mach/sysdep.h: Likewise.
79656 * sysdeps/i386/sysdep.h: Likewise.
79657 * sysdeps/i386/i386-mcount.S: Likewise.
79658 * sysdeps/x86_64/_mcount.S: Likewise.
79659 * sysdeps/x86_64/sysdep.h: Likewise.
79660 * sysdeps/sh/_mcount.S: Likewise.
79661 * sysdeps/sh/sysdep.h: Likewise.
79662 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79663 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79664 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79665 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79666 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79667 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79668 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79669 * locale/localeinfo.h: Likewise.
79670 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79671 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79672
79673 2012-07-09 Roland McGrath <roland@hack.frob.com>
79674
79675 [BZ #14336]
79676 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79677 system".
79678 * manual/message.texi (The Uniforum approach): Likewise.
79679 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79680 (glibc iconv Implementation): Likewise.
79681
79682 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79683
79684 [BZ #14337]
79685 * math/s_clog.c (__clog): Avoid scaling a value down where that
79686 could result in underflow.
79687 * math/s_clog10.c (__clog10): Likewise.
79688 * math/s_clog10f.c (__clog10f): Likewise.
79689 * math/s_clog10l.c (__clog10l): Likewise.
79690 * math/s_clogf.c (__clogf): Likewise.
79691 * math/s_clogl.c (__clogl): Likewise.
79692 * math/libm-test.inc (clog_test): Add more tests.
79693 (clog10_test): Likewise.
79694 * sysdeps/i386/fpu/libm-test-ulps: Update.
79695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79696
79697 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79698
79699 [BZ #14283]
79700 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79701 by 7 not 8 to examine high bit of fractional part.
79702
79703 [BZ #14042]
79704 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79705 for call to __mcount_internal.
79706 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79707 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79708 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79709
79710 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79711
79712 [BZ #14154]
79713 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79714 approximation for values within 0x1p-13f of an odd multiple of
79715 pi/4.
79716 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79717 exception. Add more tests.
79718 * sysdeps/i386/fpu/libm-test-ulps: Update.
79719
79720 [BZ #6778]
79721 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79722 inputs and return -1 for them. Do not check for +Inf in case not
79723 reachable for +Inf.
79724 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79725 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79726 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79727 and return -1 for them. Do not check for +Inf in case not
79728 reachable for +Inf.
79729 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79730 define.
79731 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79732 and return -1 for them. Do not check for +Inf in case not
79733 reachable for +Inf.
79734 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79735 spurious underflow.
79736 * sysdeps/i386/fpu/libm-test-ulps: Update.
79737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79738
79739 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79740
79741 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79742
79743 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79744
79745 [BZ #14157]
79746 [BZ #14331]
79747 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79748 could result in spurious underflow. Scale down values above
79749 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79750 * math/s_csqrtf.c (__csqrtf): Likewise.
79751 * math/s_csqrtl.c (__csqrtl): Likewise.
79752 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79753 spurious underflow.
79754 * sysdeps/i386/fpu/libm-test-ulps: Update.
79755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79756
79757 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79758
79759 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79760 xopen-msg.sed.
79761 * catgets/xopen-msg.awk: New file.
79762 * catgets/xopen-msg.sed: Removed.
79763
79764 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79765 po2text.sed.
79766 * intl/po2test.awk: New file.
79767 * intl/po2test.sed: Removed.
79768
79769 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79770
79771 [BZ #14328]
79772 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79773 or multiply small sinh result by itself.
79774 * math/s_ctanf.c (__ctanf): Likewise.
79775 * math/s_ctanh.c (__ctanh): Likewise.
79776 * math/s_ctanhf.c (__ctanhf): Likewise.
79777 * math/s_ctanhl.c (__ctanhl): Likewise.
79778 * math/s_ctanl.c (__ctanl): Likewise.
79779 * math/libm-test.inc (ctan_test_tonearest): New function.
79780 (ctan_test_towardzero): Likewise.
79781 (ctan_test_downward): Likewise.
79782 (ctan_test_upward): Likewise.
79783 (ctanh_test_tonearest): Likewise.
79784 (ctanh_test_towardzero): Likewise.
79785 (ctanh_test_downward): Likewise.
79786 (ctanh_test_upward): Likewise.
79787 (main): Call these new functions.
79788 * sysdeps/i386/fpu/libm-test-ulps: Update.
79789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79790
79791 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79792
79793 * .gitignore: Delete /ports entry.
79794
79795 2012-07-03 Andreas Jaeger <aj@suse.de>
79796
79797 * po/bg.po: Update from translation team.
79798 * po/cs.po: Likewise.
79799 * po/de.po: Likewise.
79800 * po/hr.po: Likewise.
79801 * po/nl.pl: Likewise.
79802 * po/pl.po: Likewise.
79803 * po/vi.po: Likewise.
79804
79805 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79806
79807 * Makeconfig [!+link] (+link-before-libc): New variable.
79808 [!+link] (+link-after-libc): Likewise.
79809 [!+link] (+link-tests): Likewise.
79810 [!+link] (+link): Define in terms of $(+link-before-libc) and
79811 $(+link-after-libc).
79812 [!+link-static] (+link-static-before-libc): New variable.
79813 [!+link-static] (+link-static-after-libc): Likewise.
79814 [!+link-static] (+link-static-tests): Likewise.
79815 [!+link-static] (+link-static): Define in terms of
79816 $(+link-static-before-libc) and $(+link-static-after-libc).
79817 [build-shared] (link-libc-before-gnulib): New variable.
79818 [build-shared] (link-libc-tests): Likewise.
79819 [build-shared] (link-libc): Define in terms of
79820 $(link-libc-before-gnulib).
79821 [!build-shared] (link-libc-tests): New variable.
79822 (link-libc-static-tests): New variable.
79823 [!gnulib] (gnulib-arch): New variable.
79824 [!gnulib] (gnulib-tests): Likewise.
79825 [!gnulib] (static-gnulib-arch): Likewise.
79826 [!gnulib] (static-gnulib-tests): Likewise.
79827 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79828 Define with "=" instead of ":=".
79829 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79830 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79831 * Rules (binaries-all-notests): New variable.
79832 (binaries-all-tests): Likewise.
79833 (binaries-static-notests): Likewise.
79834 (binaries-static-tests): Likewise.
79835 (binaries-all): Define using $(binaries-all-notests) and
79836 $(binaries-all-tests).
79837 (binaries-static): Define using $(binaries-static-notests) and
79838 $(binaries-static-tests).
79839 (binaries-shared-tests): New variable.
79840 (binaries-shared-notests): Likewise.
79841 (binaries-shared): Remove variable.
79842 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79843 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79844 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79845 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79846 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79847 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79848 * elf/Makefile (sln-modules): New variable.
79849 (extra-objs): Add $(sln-modules:=.o).
79850 (ldconfig-modules): Add static-stubs.
79851 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79852 * elf/static-stubs.c: New file.
79853
79854 [BZ #14283]
79855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79856 by 7 not 8 to examine high bit of fractional part. Use volatile
79857 variables when splitting into final array of floats if
79858 __FLT_EVAL_METHOD__ != 0.
79859 * math/libm-test.inc (cos_test): Add another test.
79860 (sin_test): Likewise.
79861 * sysdeps/i386/fpu/libm-test-ulps: Update.
79862
79863 [BZ #14273]
79864 * math/libm-test.inc (cosh_test): Add more tests.
79865
79866 * version.h (RELEASE): Set to "development".
79867 (VERSION): Set to "2.16.90".
79868
79869 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79870
79871 * NEWS: Update copyright. Remove last-updated date.
79872 Mention math library bug fixes and timezone data changes.
79873 * README: Mention GNU/Hurd, x32, and HPPA support status.
79874
79875 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79876
79877 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79878
79879 2012-06-27 Andreas Jaeger <aj@suse.de>
79880
79881 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79882
79883 2012-06-25 Andreas Jaeger <aj@suse.de>
79884
79885 * sysdeps/s390/fpu/libm-test-ulps: Update.
79886
79887 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79888 Thomas Schwinge <thomas@codesourcery.com>
79889
79890 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79891 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79893 fanotify_mark.
79894
79895 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79896
79897 * sysdeps/mach/start.c: Remove file.
79898 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79899 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79900 * sysdeps/sh/init-first.c: Likewise.
79901
79902 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79903 registers for frame unwinding purposes, add CFI directives.
79904 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79905 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79906 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79907 Likewise.
79908
79909 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79910 __fortify_fail returning.
79911 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79912
79913 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79914 sysdeps/sh/____longjmp_chk.S.
79915 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79916 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79917 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79918 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79919
79920 * sysdeps/sh/abort-instr.h: New file.
79921 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79922 process in case exit returns.
79923
79924 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79925 initialize the GOT register before use.
79926
79927 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79928 calculation of ARGC > 4.
79929
79930 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79931 meaningful names to some local labels.
79932
79933 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79934 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79935
79936 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79937 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79938 (__arch_compare_and_exchange_val_16_acq): Likewise.
79939 (__arch_compare_and_exchange_val_32_acq): Likewise.
79940 (atomic_exchange_and_add): Fix gUSA sequence.
79941 (atomic_add): Likewise.
79942 (atomic_add_negative): Likewise.
79943 (atomic_add_zero): Likewise.
79944 (atomic_bit_test_set): Likewise.
79945
79946 2012-06-22 Andreas Schwab <schwab@redhat.com>
79947
79948 [BZ #13579]
79949 * include/link.h (struct link_map): Add l_free_initfini.
79950 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79951 l_initfini.
79952 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79953 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79954 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79955 set.
79956
79957 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79958
79959 * configure.in: Use AC_LANG_SOURCE.
79960 * configure: Regenerate.
79961
79962 2012-06-22 Roland McGrath <roland@hack.frob.com>
79963
79964 * configure.in (libc_cv_localstatedir): New substituted variable.
79965 * configure: Regenerated.
79966 * config.make.in (localstatedir): New variable, substituted from
79967 libc_cv_localstatedir.
79968 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79969 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79970 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79971 * sysdeps/gnu/configure: Regenerated.
79972
79973 2012-06-21 Jeff Law <law@redhat.com>
79974
79975 [BZ #14277]
79976 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79977 free. Simplify list management for _LIBC case.
79978
79979 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79980
79981 [BZ #14273]
79982 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79983 Clear sign bit of 64-bit integer value before comparing against
79984 overflow value.
79985
79986 * sysdeps/mach/configure: Regenerated.
79987
79988 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79989
79990 [BZ #14278]
79991 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79992
79993 2012-06-21 Jeff Law <law@redhat.com>
79994
79995 [BZ #13882]
79996 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79997 uint16_t for elements in the "seen" array to avoid char overflows.
79998 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79999 * elf/dl-open.c (dl_open_worker): Likewise.
80000
80001 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
80002
80003 * scripts/list-sources.sh: Scan PORTS for translations.
80004 * po/libc.pot: Regenerated.
80005
80006 2012-06-21 Andreas Jaeger <aj@suse.de>
80007
80008 [BZ #12194]
80009 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80010 warning.
80011 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80012 * bits/byteswap-16.h (__bswap_16): Likewise.
80013 * bits/byteswap.h (__bswap_constant_16): Likewise.
80014
80015 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
80016
80017 [BZ #14117]
80018 * sysdeps/i386/fpu_control.h: Removed.
80019 * sysdeps/x86_64/fpu_control.h: Moved to ...
80020 * sysdeps/x86/fpu_control.h: Here.
80021
80022 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80023 (_FPU_SETCW): Likewise.
80024
80025 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
80026
80027 [BZ #14117]
80028 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80029 * sysdeps/x86/fpu/bits/mathinline.h: This.
80030 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80031
80032 [BZ #14050]
80033 [BZ #14117]
80034 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80035 functions if __x86_64__ is defined.
80036
80037 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
80038
80039 * string/endian.h: Add !__ASSEMBLER__ condition for including
80040 conversion interfaces.
80041
80042 2012-06-15 Joseph Myers <joseph@codesourcery.com>
80043
80044 [BZ #14241]
80045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80046 of ABS(x) in calculating zero to negative powers other than odd
80047 integers.
80048 * math/libm-test.inc (pow_test): Add more tests.
80049
80050 2012-06-15 Andreas Jaeger <aj@suse.de>
80051
80052 * manual/contrib.texi (Contributors): Update entry of Liubov
80053 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80054 Machado Filho.
80055
80056 2012-06-15 Cyril Hrubis <metan@ucw.cz>
80057
80058 * string/string.h: Add __wur to GNU version of strerror_r.
80059
80060 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
80061
80062 [BZ #14229]
80063 * string/Makefile (tests): Add tst-strtok_r.
80064 * string/tst-strtok_r.c: New file.
80065 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80066 RAX_LP/RDX_LP on SAVE_PTR.
80067
80068 2012-06-14 Roland McGrath <roland@hack.frob.com>
80069
80070 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80071
80072 2012-06-14 Joseph Myers <joseph@codesourcery.com>
80073
80074 * libm_test.inc (csqrt_test): Allow more spurious underflow
80075 exceptions.
80076 (j0_test): Likewise.
80077 (j1_test): Likewise.
80078 (y0_test): Likewise.
80079 (y1_test): Likewise.
80080
80081 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
80082
80083 * po/Makefile (libc.pot): Use UTF-8 charset.
80084
80085 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
80086
80087 [BZ #14210]
80088 Suppress sign-conversion warning from FD_SET.
80089 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80090 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80091 not unsigned long int.
80092 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80093
80094 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
80095
80096 [BZ #14050]
80097 [BZ #14117]
80098 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80099 __extern_always_inline instead of __extern_inline.
80100 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80101 (__signbit): Likewise.
80102 (__signbitl): Support C++ namespace.
80103 (lrintf): New inline function.
80104 (lrint): Likewise.
80105 (llrintf): Likewise.
80106 (llrint): Likewise.
80107 (fmaxf): Likewise.
80108 (fmax): Likewise.
80109 (fminf): Likewise.
80110 (fmin): Likewise.
80111 (rint): Likewise.
80112 (rintf): Likewise.
80113 (ceil): Likewise.
80114 (ceilf): Likewise.
80115 (floor): Likewise.
80116 (floorf): Likewise.
80117 (nearbyint): Likewise.
80118 (nearbyintf): Likewise.
80119
80120 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
80121
80122 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80123 non-default versions.
80124
80125 2012-06-11 Roland McGrath <roland@hack.frob.com>
80126
80127 [BZ #14218]
80128 * manual/argp.texi (Argp): Reword argp_parse description slightly.
80129
80130 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
80131
80132 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80133 (FE_UPWARD, FE_DOWNWARD): Don't define.
80134 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80135 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80136
80137 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80138 reading it.
80139 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80141
80142 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80143
80144 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80146 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80147 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80148
80149 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
80150
80151 [BZ #14117]
80152 * sysdeps/i386/fpu/bits/fenv.h: Removed.
80153 * sysdeps/i386/fpu/Implies: New file.
80154 * sysdeps/x86_64/fpu/Implies: Likewise.
80155 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80156 * sysdeps/x86/fpu/bits/fenv.h: This.
80157
80158 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80159 __SSE_MATH__.
80160
80161 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
80162
80163 [BZ #14134]
80164 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80165 character 0xffff that matches the last element of the
80166 conversion table.
80167
80168 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80169
80170 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80171 fmodl commit.
80172
80173 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80174
80175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80176 values higher than 25.6283.
80177
80178 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80179
80180 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80181 subnormal exponent extraction and add some __builtin_expect.
80182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80183 Fix for subnormal mantissa calculation.
80184
80185 2012-06-04 Mike Frysinger <vapier@gentoo.org>
80186
80187 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80188 cpu2 is -1 and errno is not ENOSYS.
80189
80190 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
80191
80192 [BZ #14117]
80193 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80194 * sysdeps/x86/bits/string.h: This.
80195 * sysdeps/x86_64/bits/string.h: Removed.
80196
80197 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80198 if not compiling for x86-64, but compiling for >= i486.
80199
80200 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80201 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80202
80203 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80204 New macro from Linux kernel 3.4.0.
80205 (FP_XSTATE_MAGIC2): Likewise.
80206 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80207 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80208 (struct _fpx_sw_bytes): New struct.
80209 (struct _xsave_hdr): Likewise.
80210 (struct _ymmh_state): Likewise.
80211 (struct _xstate): Likewise.
80212
80213 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80214 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80215 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80216 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80217 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80218 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80219
80220 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80221 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80222 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80223 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80224 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80225 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80226
80227 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80228
80229 [BZ #13743]
80230 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80231 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80232 (sysdep_headers): Include sys/platform/ppc.h.
80233 * sysdeps/powerpc/test-gettimebase.c: Test for
80234 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80235 * manual/Makefile (appendices): Include platform.texi.
80236 * manual/contrib.texi (Contributors): Update @node pointers.
80237 * manual/maint.texi (Maintenance): Likewise.
80238 (Platform): New node.
80239 * manual/platform.texi: New file. Document the new features.
80240
80241 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80242 Jakub Jelinek <jakub@redhat.com>
80243
80244 [BZ #14188]
80245 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80246 where __builtin_expect is unavailable.
80247
80248 2012-06-03 David S. Miller <davem@davemloft.net>
80249
80250 * stdlib/longlong.h: Updated from GCC.
80251
80252 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80253
80254 [BZ #14042]
80255 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80256 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80257 __mcount_internal.
80258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80259 (GLIBC_2.16): Likewise.
80260
80261 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80262
80263 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80264
80265 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80266
80267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80268 (default-abi): New variable.
80269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80270 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80271 variable.
80272 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80273 Likewise.
80274 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80275 Likewise.
80276 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80277 Likewise.
80278
80279 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80280 definition. Document in comment.
80281
80282 2012-06-01 David S. Miller <davem@davemloft.net>
80283
80284 * stdlib/longlong.h: Updated from GCC.
80285
80286 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80287
80288 [BZ #14117]
80289 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80290 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80291 sys/debugreg.h sys/io.h here.
80292 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80293 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80294 sys/io.h.
80295 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80296 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80297 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80298 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80299 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80300 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80301
80302 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80303 Define only if __x86_64__ is defined.
80304
80305 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80306
80307 [BZ #14048]
80308 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80309 Use int64_t for variable i.
80310 * math/libm-test.inc (fmod_test): Add more tests.
80311
80312 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80313 z computation is not scheduled after fetestexcept.
80314 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80315 Use math_force_eval instead of asm to ensure calculation scheduled
80316 before exception test.
80317 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80318 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80319
80320 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80321
80322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80323 computation is not scheduled after fetestexcept.
80324
80325 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80326
80327 [BZ #14117]
80328 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80329 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80330
80331 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80332
80333 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80334 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80335
80336 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80337
80338 [BZ #14117]
80339 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80340 <bits/wordsize.h>.
80341 (__WCHAR_MIN): Support __WORDSIZE == 64.
80342 (__WCHAR_MAX): Likewise.
80343
80344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80345 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80346
80347 [BZ #14183]
80348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80349 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80350
80351 [BZ #14117]
80352 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80354
80355 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80356 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80357
80358 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80359 Defined to 1 if __x86_64__ isn't defined.
80360 (_STAT_VER_LINUX_OLD): New.
80361 (st_atime): Remove duplicate.
80362 (st_mtime): Likewise.
80363 (st_ctime): Likewise.
80364
80365 2012-05-31 David S. Miller <davem@davemloft.net>
80366
80367 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80368 entries.
80369
80370 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80371
80372 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80373 gen-libm-test.pl.
80374
80375 [BZ #14132]
80376 * elf/dl-reloc.c: Include <_itoa.h>.
80377 (_dl_reloc_bad_type): Remove use of INTUSE.
80378 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80379 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80380 * stdio-common/psiginfo.c (psiginfo): Likewise.
80381 * stdio-common/psignal.c (psignal): Likewise.
80382 * string/strsignal.c (strsignal): Likewise.
80383 * include/signal.h (_sys_siglist): Declare hidden proto.
80384 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80385 INTVARDEF with libc_hidden_data_def.
80386 * stdio-common/itoa-udigits.c: Likewise.
80387 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80388 (_itoa_lower_digits_internal): Remove declaration.
80389 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80390 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80391 (_sys_sigabbrev_internal): Remove aliases.
80392 (_sys_siglist): Define hidden alias.
80393
80394 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80395
80396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80397 bits/sysctl.h.
80398
80399 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80400
80401 [BZ #14117]
80402 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80403 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80404
80405 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80406 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80407 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80408 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80410 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80411
80412 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80413 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80414 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80415
80416 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80417 with __addr.
80418 (insw): Likewise.
80419 (insl): Likewise.
80420 (outsb): Likewise.
80421 (outsw): Likewise.
80422 (outsl): Likewise.
80423
80424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80426 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80427
80428 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80429 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80431 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80432 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80433 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80434
80435 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80436 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80437
80438 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80439 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80440
80441 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80443 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80444
80445 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80446 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80447 to ...
80448 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80449
80450 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80451 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80452 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80453
80454 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80455 for x86-64.
80456 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80457
80458 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80459
80460 * math/math.h (M_El): Use two more decimal places.
80461 (M_LOG2El): Likewise.
80462 (M_LOG10El): Likewise.
80463 (M_LN2l): Likewise.
80464 (M_LN10l): Likewise.
80465 (M_PIl): Likewise.
80466 (M_PI_2l): Likewise.
80467 (M_PI_4l): Likewise.
80468 (M_1_PIl): Likewise.
80469 (M_2_PIl): Likewise.
80470 (M_2_SQRTPIl): Likewise.
80471 (M_SQRT2l): Likewise.
80472 (M_SQRT1_2l): Likewise.
80473
80474 2012-05-31 David S. Miller <davem@davemloft.net>
80475
80476 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80477 values between float registers.
80478 * sysdeps/sparc/sparc64/memset.S: Likewise.
80479 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80480
80481 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80482
80483 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80484 -D_FORTIFY_SOURCE=1.
80485 (CPPFLAGS-tst-longjmp_chk.c): Define.
80486 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80487 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80488 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80489 CFLAGS-tst-wchar-h.c.
80490
80491 2012-05-31 Marek Polacek <polacek@redhat.com>
80492
80493 [BZ #14132]
80494 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80495 __endmntent_internal): Remove declaration.
80496 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80497 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80498 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80499
80500 2012-05-30 David S. Miller <davem@davemloft.net>
80501
80502 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80503 (___Q_simulate_exceptions): Use real FP ops rather than writing
80504 into the %fsr.
80505 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80506 Likewise.
80507
80508 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80509
80510 [BZ #14117]
80511 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80512 * sysdeps/x86/bits/xtitypes.h: This.
80513
80514 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80515 * sysdeps/x86/bits/wordsize.h: This.
80516
80517 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80518 * sysdeps/x86/bits/huge_vall.h: This.
80519
80520 * sysdeps/i386/bits/select.h: Removed.
80521 * sysdeps/x86_64/bits/select.h: Renamed to ...
80522 * sysdeps/x86/bits/select.h: This.
80523
80524 * sysdeps/i386/bits/setjmp.h: Removed.
80525 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80526 * sysdeps/x86/bits/setjmp.h: This.
80527
80528 * sysdeps/i386/bits/mathdef.h: Removed.
80529 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80530 * sysdeps/x86/bits/mathdef.h: This.
80531
80532 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80533
80534 [BZ #14132]
80535 * include/sys/socket.h (__connect_internal)
80536 (__libc_sa_len_internal): Remove declaration.
80537 (__connect, __libc_sa_len): Declare hidden_proto.
80538 (SA_LEN): Remove use of INTUSE.
80539 * socket/connect.c: Add libc_hidden_def.
80540 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80541 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80542 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80543 alias.
80544 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80545 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80546 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80547 of adding _internal alias.
80548
80549 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80550
80551 [BZ #14117]
80552 * sysdeps/i386/bits/link.h: Removed.
80553 * sysdeps/i386/bits/linkmap.h: Likewise.
80554 * sysdeps/x86_64/bits/link.h: Renamed to ...
80555 * sysdeps/x86/bits/link.h: This.
80556 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80557 * sysdeps/x86/bits/linkmap.h: This.
80558
80559 * sysdeps/i386/bits/endian.h: Removed.
80560 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80561 * sysdeps/x86/bits/endian.h: This.
80562
80563 * sysdeps/i386/bits/byteswap.h: Removed.
80564 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80565 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80566 * sysdeps/x86/bits/byteswap.h: This.
80567 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80568 * sysdeps/x86/bits/byteswap-16.h: This.
80569 * sysdeps/i386/Implies: Add x86.
80570 * sysdeps/x86_64/Implies: Likewise.
80571
80572 2012-05-30 David S. Miller <davem@davemloft.net>
80573
80574 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80575 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80576 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80577 (FP_TRAPPING_EXCEPTIONS): Define.
80578 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80579 (FP_TRAPPING_EXCEPTIONS): Define.
80580 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80581 subnormals only when inexact has been signalled or underflow
80582 exceptions are enabled.
80583 (_FP_PACK_CANONICAL): Likewise.
80584
80585 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80586
80587 [BZ #14183]
80588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80589 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80590
80591 2012-05-30 Richard Henderson <rth@twiddle.net>
80592
80593 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80594 with #ifndef NOT_IN_libc.
80595
80596 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80597 marked to avoid plt entry.
80598
80599 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80600
80601 [BZ #14112]
80602 * Makeconfig (default-abi): New macro.
80603 (abi-includes): Likewise.
80604 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80605 $(abi-$(default-abi)-lib-soname) for soname if defined.
80606 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80607 abi-variants.
80608 * Makefile (installed-stubs): Likewise.
80609 * include/stubs-biarch.h: Removed.
80610 * scripts/lib-names.awk: Only handle one library at a time.
80611 * scripts/soversions.awk: Remove WORDSIZE support.
80612 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80613 entries.
80614 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80615 Removed.
80616 (syscall-list-default-condition): Likewise.
80617 (syscall-list-default-condition): Likewise.
80618 (syscall-list-includes): Likewise.
80619 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80620 syscall-list-* with abi-*. Handle undefined abi-variants.
80621 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80622 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80623 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80624 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80625 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80626 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80627 Removed.
80628 (syscall-list-32-options): Likewise.
80629 (syscall-list-32-condition): Likewise.
80630 (syscall-list-64-options): Likewise.
80631 (syscall-list-64-condition): Likewise.
80632 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80633 macro.
80634 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80635 Renamed to ...
80636 (abi-*): This.
80637 (abi-64-ld-soname): New macro.
80638 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80639 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80640 Renamed to ...
80641 (abi-*): This.
80642 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80643 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80644
80645 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80646
80647 * sysdeps/unix/sysv/linux/kernel-features.h
80648 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80649 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80650 include <kernel-features.h>.
80651 [!__NR_ftruncate64]: Remove conditional code.
80652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80653 [__NR_ftruncate64]: Make code unconditional.
80654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80655 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80656 include <kernel-features.h>.
80657 [!__NR_ftruncate64]: Remove conditional code.
80658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80659 [__NR_ftruncate64]: Make code unconditional.
80660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80662 include <kernel-features.h>.
80663 [!__NR_ftruncate64]: Remove conditional code.
80664 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80665 [__NR_ftruncate64]: Make code unconditional.
80666 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80668 include <kernel-features.h>.
80669 [!__NR_ftruncate64]: Remove conditional code.
80670 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80671 [__NR_ftruncate64]: Make code unconditional.
80672 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80673
80674 * configure.in (libc_cv_fpie): Weaken to a compile test using
80675 LIBC_TRY_CC_OPTION.
80676 * configure: Regenerated.
80677
80678 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80679
80680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80684 Refreshed.
80685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80691 Refreshed.
80692
80693 2012-05-27 David S. Miller <davem@davemloft.net>
80694
80695 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80696 (___Q_zero): New.
80697 (__Q_simulate_exceptions): Return void. Change to simulate
80698 exceptions by writing into the %fsr.
80699 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80700 (__Qp_handle_exceptions): Likewise.
80701 (numbers): Delete.
80702 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80703 __Qp_handle_exceptions.
80704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80705 __Qp_handle_exceptions.
80706 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80707 as unused and give dummy FP_RND_NEAREST initializer.
80708 (FP_INHIBIT_RESULTS): Define.
80709 (___Q_simulate_exceptions): Update declaration.
80710 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80711 formatting.
80712 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80713 as unused and give dummy FP_RND_NEAREST initializer.
80714 (__Qp_handle_exceptions): Update declaration.
80715 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80716 formatting.
80717
80718 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80719
80720 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80721 the temporary FPU control word.
80722 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80723 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80724 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80725 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80726 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80727 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80728 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80729 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80730 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80731 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80732 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80733
80734 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80735
80736 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80737 fields.
80738
80739 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80740
80741 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80742 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80743 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80744 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80745 Likewise.
80746 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80747 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80748 Likewise.
80749
80750 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80751
80752 * po/h.po: Update from translation team.
80753
80754 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80755
80756 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80757
80758 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80759 handling of denormals.
80760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80761 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80762 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80763 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80764 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80767 Likewise.
80768
80769 2012-05-26 Marek Polacek <polacek@redhat.com>
80770
80771 [BZ #14152]
80772 * math/libm-test.inc (fma_test): Don't always expect underflow
80773 exception.
80774
80775 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80776
80777 [BZ #12416]
80778 * elf/tst-execstack.c: Include stackinfo.h.
80779 (do_test): Adjust test case to ensure that pthread_getattr_np
80780 behaviour remains the same after marking stack executable.
80781
80782 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80783
80784 * sysdeps/unix/sysv/linux/kernel-features.h
80785 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80786 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80787 kernel-features.h.
80788 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80789 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80790 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80791 kernel-features.h.
80792 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80793 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80794
80795 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80796
80797 * configure.in: Define the default includes to being none.
80798 * configure: Regenerated.
80799
80800 2012-05-25 Roland McGrath <roland@hack.frob.com>
80801
80802 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80803 * sysdeps/x86_64/setjmp.S: Likewise.
80804 * sysdeps/i386/bsd-setjmp.S: Likewise.
80805 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80806 * sysdeps/i386/setjmp.S: Likewise.
80807 * sysdeps/i386/__longjmp.S: Likewise.
80808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80809 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80810
80811 * include/stap-probe.h: New file.
80812 * configure.in: Handle --enable-systemtap.
80813 * configure: Regenerated.
80814 * config.h.in (USE_STAP_PROBE): New #undef.
80815 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80816 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80817 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80818
80819 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80820
80821 [BZ #13717]
80822 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80823 to 2.4.0 where earlier.
80824 * sysdeps/unix/sysv/linux/configure: Regenerated.
80825 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80826 <kernel-features.h>.
80827 [__ASSUME_32BITUIDS]: Make code unconditional.
80828 [!__ASSUME_32BITUIDS]: Remove conditional code.
80829 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80830 <kernel-features.h>.
80831 [__ASSUME_32BITUIDS]: Make code unconditional.
80832 [!__ASSUME_32BITUIDS]: Remove conditional code.
80833 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80834 [__ASSUME_32BITUIDS]: Make code unconditional.
80835 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80836 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80837 <kernel-features.h>.
80838 [__ASSUME_32BITUIDS]: Make code unconditional.
80839 [!__ASSUME_32BITUIDS]: Remove conditional code.
80840 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80841 <kernel-features.h>.
80842 [__ASSUME_32BITUIDS]: Make code unconditional.
80843 [!__ASSUME_32BITUIDS]: Remove conditional code.
80844 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80845 <kernel-features.h>.
80846 [__ASSUME_32BITUIDS]: Make code unconditional.
80847 [!__ASSUME_32BITUIDS]: Remove conditional code.
80848 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80849 <kernel-features.h>.
80850 [__ASSUME_32BITUIDS]: Make code unconditional.
80851 [!__ASSUME_32BITUIDS]: Remove conditional code.
80852 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80853 <kernel-features.h>.
80854 [__ASSUME_32BITUIDS]: Make code unconditional.
80855 [!__ASSUME_32BITUIDS]: Remove conditional code.
80856 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80857 <kernel-features.h>.
80858 [__ASSUME_32BITUIDS]: Make code unconditional.
80859 [!__ASSUME_32BITUIDS]: Remove conditional code.
80860 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80861 <kernel-features.h>.
80862 [__ASSUME_32BITUIDS]: Make code unconditional.
80863 [!__ASSUME_32BITUIDS]: Remove conditional code.
80864 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80865 <kernel-features.h>.
80866 [__ASSUME_32BITUIDS]: Make code unconditional.
80867 [!__ASSUME_32BITUIDS]: Remove conditional code.
80868 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80869 <kernel-features.h>.
80870 [__ASSUME_32BITUIDS]: Make code unconditional.
80871 [!__ASSUME_32BITUIDS]: Remove conditional code.
80872 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80873 <kernel-features.h>.
80874 [__ASSUME_32BITUIDS]: Make code unconditional.
80875 [!__ASSUME_32BITUIDS]: Remove conditional code.
80876 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80877 <kernel-features.h>.
80878 [__NR_setresgid] (__setresgid): Do not declare.
80879 [__ASSUME_32BITUIDS]: Make code unconditional.
80880 [!__ASSUME_32BITUIDS]: Remove conditional code.
80881 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80882 <kernel-features.h>.
80883 [__NR_setresuid] (__setresuid): Do not declare.
80884 [__ASSUME_32BITUIDS]: Make code unconditional.
80885 [!__ASSUME_32BITUIDS]: Remove conditional code.
80886 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80887 <kernel-features.h>.
80888 [__ASSUME_32BITUIDS]: Make code unconditional.
80889 [!__ASSUME_32BITUIDS]: Remove conditional code.
80890 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80891 <kernel-features.h>.
80892 [__ASSUME_32BITUIDS]: Make code unconditional.
80893 [!__ASSUME_32BITUIDS]: Remove conditional code.
80894 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80895 <kernel-features.h>.
80896 [__ASSUME_32BITUIDS]: Make code unconditional.
80897 [!__ASSUME_32BITUIDS]: Remove conditional code.
80898 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80899 <kernel-features.h>.
80900 [__ASSUME_32BITUIDS]: Make code unconditional.
80901 [!__ASSUME_32BITUIDS]: Remove conditional code.
80902 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80903 <kernel-features.h>.
80904 [__ASSUME_32BITUIDS]: Make code unconditional.
80905 [!__ASSUME_32BITUIDS]: Remove conditional code.
80906 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80907 <kernel-features.h>.
80908 [__ASSUME_32BITUIDS]: Make code unconditional.
80909 [!__ASSUME_32BITUIDS]: Remove conditional code.
80910 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80911 <kernel-features.h>.
80912 [__ASSUME_32BITUIDS]: Make code unconditional.
80913 [!__ASSUME_32BITUIDS]: Remove conditional code.
80914 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80915 <kernel-features.h>.
80916 [__ASSUME_32BITUIDS]: Make code unconditional.
80917 [!__ASSUME_32BITUIDS]: Remove conditional code.
80918 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80919 <kernel-features.h>.
80920 [__ASSUME_32BITUIDS]: Make code unconditional.
80921 [!__ASSUME_32BITUIDS]: Remove conditional code.
80922 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80923 <kernel-features.h>.
80924 [__ASSUME_32BITUIDS]: Make code unconditional.
80925 [!__ASSUME_32BITUIDS]: Remove conditional code.
80926 * sysdeps/unix/sysv/linux/kernel-features.h
80927 (__ASSUME_SETRESUID_SYSCALL): Remove.
80928 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80929 (__ASSUME_32BITUIDS): Likewise.
80930 (__ASSUME_LDT_WORKS): Likewise.
80931 (__ASSUME_O_DIRECTORY): Likewise.
80932 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80933 architecture but not kernel version.
80934 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80935 (__ASSUME_MMAP2_SYSCALL): Likewise.
80936 (__ASSUME_STAT64_SYSCALL): Likewise.
80937 (__ASSUME_IPC64): Likewise.
80938 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80939 <kernel-features.h>.
80940 [__ASSUME_32BITUIDS]: Make code unconditional.
80941 [!__ASSUME_32BITUIDS]: Remove conditional code.
80942 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80943 <kernel-features.h>.
80944 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80945 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80946 132096]: Remove conditional code.
80947 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80948 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80949 <kernel-features.h>.
80950 [__ASSUME_32BITUIDS]: Make code unconditional.
80951 [!__ASSUME_32BITUIDS]: Remove conditional code.
80952 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80953 <kernel-features.h>.
80954 [__ASSUME_32BITUIDS]: Make code unconditional.
80955 [!__ASSUME_32BITUIDS]: Remove conditional code.
80956 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80957 <kernel-features.h>.
80958 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80959 unconditional.
80960 (__setresgid): Do not declare.
80961 [__ASSUME_32BITUIDS]: Make code unconditional.
80962 [!__ASSUME_32BITUIDS]: Remove conditional code.
80963 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80964 <kernel-features.h>.
80965 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80966 unconditional.
80967 (__setresuid): Do not declare.
80968 [__ASSUME_32BITUIDS]: Make code unconditional.
80969 [!__ASSUME_32BITUIDS]: Remove conditional code.
80970 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80971 <kernel-features.h>.
80972 [__ASSUME_32BITUIDS]: Make code unconditional.
80973 [!__ASSUME_32BITUIDS]: Remove conditional code.
80974 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80975 <kernel-features.h>.
80976 [__ASSUME_32BITUIDS]: Make code unconditional.
80977 [!__ASSUME_32BITUIDS]: Remove conditional code.
80978
80979 2012-05-25 Richard Henderson <rth@twiddle.net>
80980
80981 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80982 dl_hwcap to ifunc resolver.
80983 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80984 elf_ifunc_invoke.
80985 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80986 dl_hwcap to ifunc resolver.
80987 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80988
80989 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80990
80991 [BZ #14153]
80992 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80993 for |x| <= 2**-26, not 2**-57.
80994 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80995 exception.
80996
80997 2012-05-24 Jeff Law <law@redhat.com>
80998
80999 * stdio-common/Makefile (tests): Add bug25.
81000 * stdio-common/bug25.c: New test.
81001
81002 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81003
81004 [BZ #13576]
81005 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81006 multiple of MALLOC_ALIGNMENT in size.
81007 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81008
81009 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81010
81011 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81012 Require >= 256.
81013 (FILENAME_MAX): Use macro-int-constant.
81014 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
81015 (_IOFBF): Use macro-int-constant.
81016 (_IOLBF): Likewise.
81017 (_IONBF): Likewise.
81018 (SEEK_CUR): Likewise.
81019 (SEEK_END): Likewise.
81020 (SEEK_SET): Likewise.
81021 (TMP_MAX): Likewise.
81022 (EOF): Use macro-int-constant. Require < 0.
81023 (NULL): Use macro-constant. Require == 0.
81024 (stdin): Require type to be FILE *.
81025 (stdout): Likewise.
81026 (stderr): Likewise.
81027 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81028 macro-int-constant.
81029 (EXIT_SUCCESS): Likewise.
81030 (NULL): Use macro-constant. Require == 0.
81031 (RAND_MAX): Use macro-int-constant.
81032 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81033 [C99-based standards] (strtof): Require function.
81034 [C99-based standards] (strtold): Likewise.
81035 [C99-based standards] (strtoll): Likewise.
81036 [C99-based standards] (strtoull): Likewise.
81037 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81038 [ISO || ISO99 || ISO11] (limits.h): Likewise.
81039 [ISO || ISO99 || ISO11] (math.h): Likewise.
81040 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81041 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81043
81044 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
81045
81046 [BZ #14132]
81047 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81048 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81049 * intl/dgettext.c (DCGETTEXT): Likewise.
81050 * intl/gettext.c (DCGETTEXT): Likewise.
81051 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81052 * posix/regex_internal.h (gettext): Likewise.
81053 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81054 Remove declaration.
81055 * include/argz.h (__argz_count_internal)
81056 (__argz_stringify_internal): Remove declaration.
81057 (__argz_count, __argz_stringify): Declare hidden proto.
81058 * intl/dcgettext.c: Remove use of INTDEF.
81059 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81060 * string/argz-stringify.c: Likewise.
81061 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81062 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81063 Declare hidden proto.
81064 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81065 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81066 Declare hidden proto.
81067 * include/stdio.h (__asprintf_internal): Don't declare.
81068 (__asprintf): Don't define as macro. Declare hidden proto.
81069 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81070 (__fsetlocking): Declare hidden proto.
81071 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81072 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81073 hidden proto.
81074 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81075 (_IO_setlinebuf): Remove use of INTUSE.
81076 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81077 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81078 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81079 Remove declaration.
81080 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81081 (_IO_do_flush): Remove use of INTUSE.
81082 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81083 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81084 (_IO_adjust_column, _IO_least_wmarker)
81085 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81086 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81087 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81088 (_IO_default_doallocate, _IO_wdefault_doallocate)
81089 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81090 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81091 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81092 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81093 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81094 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81095 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81096 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81097 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81098 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81099 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81100 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81101 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81102 proto.
81103 (_IO_flush_all_internal, _IO_adjust_column_internal)
81104 (_IO_default_uflow_internal, _IO_default_finish_internal)
81105 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81106 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81107 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81108 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81109 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81110 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81111 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81112 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81113 (_IO_file_close_internal, _IO_file_close_it_internal)
81114 (_IO_file_underflow_internal, _IO_file_overflow_internal)
81115 (_IO_file_init_internal, _IO_file_attach_internal)
81116 (_IO_file_fopen_internal, _IO_file_read_internal)
81117 (_IO_file_sync_internal, _IO_file_seek_internal)
81118 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81119 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81120 (_IO_str_underflow_internal, _IO_str_overflow_internal)
81121 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81122 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81123 (_IO_list_all_internal, _IO_link_in_internal)
81124 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81125 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81126 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81127 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81128 (_IO_do_write_internal, _IO_padn_internal)
81129 (_IO_getline_info_internal, _IO_getline_internal)
81130 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81131 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81132 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81133 (_IO_vfscanf_internal, _IO_vfprintf_internal)
81134 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81135 (_IO_init_internal, _IO_un_link_internal): Don't declare.
81136 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81137 with libc_hidden_ver, remove use of INTUSE.
81138 * libio/genops.c: Likewise.
81139 * libio/freopen.c: Likewise.
81140 * libio/freopen64.c: Likewise.
81141 * libio/iofclose.c: Likewise.
81142 * libio/iofdopen.c: Likewise.
81143 * libio/iofflush.c: Likewise.
81144 * libio/iofflush_u.c: Likewise.
81145 * libio/iofgets.c: Likewise.
81146 * libio/iofgets_u.c: Likewise.
81147 * libio/iofopen.c: Likewise.
81148 * libio/iofopncook.c: Likewise.
81149 * libio/iofread.c: Likewise.
81150 * libio/iofread_u.c: Likewise.
81151 * libio/ioftell.c: Likewise.
81152 * libio/iofwrite.c: Likewise.
81153 * libio/iogetline.c: Likewise.
81154 * libio/iogets.c: Likewise.
81155 * libio/iogetwline.c: Likewise.
81156 * libio/iopadn.c: Likewise.
81157 * libio/iopopen.c: Likewise.
81158 * libio/ioseekoff.c: Likewise.
81159 * libio/ioseekpos.c: Likewise.
81160 * libio/iosetbuffer.c: Likewise.
81161 * libio/iosetvbuf.c: Likewise.
81162 * libio/ioungetc.c: Likewise.
81163 * libio/ioungetwc.c: Likewise.
81164 * libio/iovdprintf.c: Likewise.
81165 * libio/iovsprintf.c: Likewise.
81166 * libio/iovsscanf.c: Likewise.
81167 * libio/memstream.c: Likewise.
81168 * libio/obprintf.c: Likewise.
81169 * libio/oldfileops.c: Likewise.
81170 * libio/oldiofclose.c: Likewise.
81171 * libio/oldiofdopen.c: Likewise.
81172 * libio/oldiofopen.c: Likewise.
81173 * libio/oldiopopen.c: Likewise.
81174 * libio/oldstdfiles.c: Likewise.
81175 * libio/putc.c: Likewise.
81176 * libio/setbuf.c: Likewise.
81177 * libio/setlinebuf.c: Likewise.
81178 * libio/stdfiles.c: Likewise.
81179 * libio/strops.c: Likewise.
81180 * libio/vasprintf.c: Likewise.
81181 * libio/vscanf.c: Likewise.
81182 * libio/vsnprintf.c: Likewise.
81183 * libio/vswprintf.c: Likewise.
81184 * libio/wfiledoalloc.c: Likewise.
81185 * libio/wfileops.c: Likewise.
81186 * libio/wgenops.c: Likewise.
81187 * libio/wmemstream.c: Likewise.
81188 * libio/wstrops.c: Likewise.
81189 * libio/__fpurge.c: Likewise.
81190 * libio/__fsetlocking.c: Likewise.
81191 * assert/assert.c: Likewise.
81192 * debug/fgets_chk.c: Likewise.
81193 * debug/fgets_u_chk.c: Likewise.
81194 * debug/fread_chk.c: Likewise.
81195 * debug/fread_u_chk.c: Likewise.
81196 * debug/gets_chk.c: Likewise.
81197 * debug/obprintf_chk.c: Likewise.
81198 * debug/vasprintf_chk.c: Likewise.
81199 * debug/vdprintf_chk.c: Likewise.
81200 * debug/vsnprintf_chk.c: Likewise.
81201 * debug/vsprintf_chk.c: Likewise.
81202 * malloc/mtrace.c: Likewise.
81203 * misc/error.c: Likewise.
81204 * misc/syslog.c: Likewise.
81205 * stdio-common/asprintf.c: Likewise.
81206 * stdio-common/fxprintf.c: Likewise.
81207 * stdio-common/getw.c: Likewise.
81208 * stdio-common/isoc99_fscanf.c: Likewise.
81209 * stdio-common/isoc99_scanf.c: Likewise.
81210 * stdio-common/isoc99_vfscanf.c: Likewise.
81211 * stdio-common/isoc99_vscanf.c: Likewise.
81212 * stdio-common/isoc99_vsscanf.c: Likewise.
81213 * stdio-common/printf-prs.c: Likewise.
81214 * stdio-common/printf_fp.c: Likewise.
81215 * stdio-common/printf_fphex.c: Likewise.
81216 * stdio-common/printf_size.c: Likewise.
81217 * stdio-common/putw.c: Likewise.
81218 * stdio-common/scanf.c: Likewise.
81219 * stdio-common/sprintf.c: Likewise.
81220 * stdio-common/tmpfile.c: Likewise.
81221 * stdio-common/vfprintf.c: Likewise.
81222 * stdio-common/vfscanf.c: Likewise.
81223 * stdlib/strfmon_l.c: Likewise.
81224 * sunrpc/openchild.c: Likewise.
81225 * sunrpc/xdr_stdio.c: Likewise.
81226 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81227 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81228
81229 2012-05-24 Roland McGrath <roland@hack.frob.com>
81230
81231 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81232
81233 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81234 in the third column, to generate for the shared library an IFUNC
81235 that uses _dl_vdso_vsym.
81236 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81237 * Makeconfig (object-suffixes-noshared): New variable.
81238
81239 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81240 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81241 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81242 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81243
81244 [BZ #14132]
81245 * include/sys/time.h (__gettimeofday): Remove macro.
81246 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81247 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81248 Remove INTDEF.
81249 (__gettimeofday): Add libc_hidden_def.
81250 (gettimeofday): Add libc_hidden_weak.
81251 * sysdeps/mach/gettimeofday.c: Likewise.
81252 * sysdeps/posix/gettimeofday.c: Likewise.
81253 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81254 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81256 (__gettimeofday_internal): Remove strong_alias.
81257 (__gettimeofday): Add libc_hidden_def.
81258 (gettimeofday): Add libc_hidden_weak.
81259 * sysdeps/unix/syscalls.list (gettimeofday):
81260 Remove __gettimeofday_internal alias.
81261
81262 2012-05-24 Daniel Jacobowitz <drow@false.org>
81263 H.J. Lu <hongjiu.lu@intel.com>
81264
81265 [BZ #12495]
81266 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81267 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81268 (largebin_index_32_big): New.
81269 (largebin_index): Use it for 16-byte alignment.
81270 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81271 correction with front_misalign.
81272
81273 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81274
81275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81277 Likewise.
81278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81279 Likewise.
81280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81281 Likewise.
81282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81283 Likewise.
81284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81285 Likewise.
81286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81287 Likewise.
81288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81289 Likewise.
81290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81291 Likewise.
81292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81293 Likewise.
81294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81295 Likewise.
81296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81297 Likewise.
81298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81299 Likewise.
81300
81301 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81302 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81303
81304 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81305
81306 [BZ #10846]
81307 [BZ #14036]
81308 * math/libm-test.inc (exp_test): Add test from bug 14036.
81309 (pow_test): Add test from bug 10846.
81310
81311 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81312 and other flags.
81313 (special_function): Do not include flags in test name.
81314 (parse_args): Likewise.
81315 * sysdeps/i386/fpu/libm-test-ulps: Update.
81316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81317 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81318 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81320
81321 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81322 exceptions.
81323 * math/libm-test.inc ("Philosophy"): Update comment about
81324 exception testing.
81325 (UNDERFLOW_EXCEPTION): New macro.
81326 (UNDERFLOW_EXCEPTION_OK): Likewise.
81327 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81328 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81329 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81330 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81331 (INVALID_EXCEPTION_OK): Update value.
81332 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81333 (OVERFLOW_EXCEPTION_OK): Likewise.
81334 (IGNORE_ZERO_INF_SIGN): Likewise.
81335 (test_exceptions): Handle underflow exceptions.
81336 (acos_test): Update for underflow exception expectations.
81337 (cexp_test): Likewise.
81338 (clog_test): Likewise.
81339 (clog10_test): Likewise.
81340 (csqrt_test): Likewise.
81341 (ctan_test): Likewise.
81342 (ctanh_test): Likewise.
81343 (exp_test): Likewise.
81344 (exp10_test): Likewise.
81345 (exp2_test): Likewise.
81346 (expm1_test): Likewise.
81347 (fma_test): Likewise.
81348 (j0_test): Likewise.
81349 (jn_test): Likewise.
81350 (nexttoward_test): Likewise.
81351 (pow_test): Likewise.
81352 (scalbn_test): Likewise.
81353 (scalbln_test): Likewise.
81354 (tan_test): Likewise.
81355 (y1_test): Likewise.
81356 * sysdeps/i386/fpu/libm-test-ulps: Update.
81357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81358
81359 2012-05-23 David S. Miller <davem@davemloft.net>
81360
81361 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81362 (__libc_sigaction): Remove unused local variables.
81363
81364 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81365
81366 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81367
81368 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81369
81370 mktime: avoid signed integer overflow
81371 * time/mktime.c (__mktime_internal): Do not mishandle the case
81372 where diff == INT_MIN.
81373
81374 mktime: simplify computation of average
81375 * time/mktime.c (ranged_convert): Use new time_t_avg function
81376 instead of rolling our own (probably-slower) code.
81377
81378 mktime: do not assume signed right shift propagates sign bit
81379 * time/mktime.c (isdst_differ): New static function.
81380 (__mktime_internal): No need to normalize tm_isdst now.
81381 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81382 tm_isdst values.
81383
81384 mktime: merge another wrapv change from gnulib
81385 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81386 from some compilers.
81387
81388 mktime: remove incorrect attempt at unusual arithmetics
81389 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81390 The code didn't really work on such machines anyway.
81391 (TYPE_MINIMUM): Assume two's complement.
81392 (twos_complement_arithmetic): Verify that long_int and time_t
81393 are two's complement (or unsigned, in the latter case).
81394
81395 mktime: check signed shifts on long_int and time_t, too
81396 * time/mktime.c (SHR): Check that shifts work as desired
81397 on the types long_int and time_t too, as SHR is used on
81398 such types.
81399
81400 mktime: do not assume 'long' is wide enough
81401 * time/mktime.c (verify): Move decl up.
81402 (long_int): New type.
81403 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81404 to remove assumption in the code that 'long' is wide enough to
81405 store year values. This assumption is not true on x32 and on
81406 some non-glibc platforms.
81407
81408 mktime: merge wrapv change from gnulib
81409 * time/mktime.c (WRAPV): New macro.
81410 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81411 (guess_time_tm, __mktime_internal): Do not assume that signed
81412 integer overflow wraps around; modern compilers generate code
81413 where this assumption is no longer valid.
81414
81415 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81416
81417 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81418 Replace "jmp L(pseudo_end)" with "ret".
81419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81420 Likewise.
81421
81422 2012-05-23 Andreas Jaeger <aj@suse.de>
81423
81424 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81425 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81426
81427 2012-05-23 Andreas Jaeger <aj@suse.de>
81428 Maximilian Attems <max@stro.at>
81429
81430 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81431 New macros.
81432
81433 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81434
81435 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81436 code so that pseudo_end is just ret and the stack pointer is
81437 correct also for static library in error case.
81438
81439 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81440
81441 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81442 move to syscalls.list.
81443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81447
81448 * manual/install.texi (Running make install): Do not mention Linux
81449 kernel version for which pt_chown is not needed.
81450 (Linux): Do not mention problems with nscd with 2.0 kernels.
81451 * INSTALL: Regenerated.
81452
81453 2012-05-23 Andreas Jaeger <aj@suse.de>
81454
81455 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81456 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81457 macro.
81458 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81459 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81460 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81462 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81466 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81468 * sysdeps/unix/sysv/linux/bits/in.h
81469 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81470
81471 2012-05-22 Roland McGrath <roland@hack.frob.com>
81472
81473 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81474 (PREPARE_VERSION): Just use assert instead, it will be elided
81475 under [NDEBUG] anyway.
81476
81477 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81478
81479 * sysdeps/unix/sysv/linux/Makefile: Include
81480 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81481 (sysdep_routines): Remove sysctl.
81482 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81483 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81484 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81485 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81486 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81487
81488 2012-05-22 Andreas Jaeger <aj@suse.de>
81489
81490 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81491 that pseudo_end is just ret and the stack pointer is correct also
81492 for static library in error case.
81493
81494 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81495
81496 [BZ #14122]
81497 * nss/nsswitch.c (defconfig_entries): New variable.
81498 (__nss_database_lookup): Don't leak defconfig entries.
81499 (nss_parse_service_list): Don't leak on error paths.
81500 (free_database_entries): New function.
81501 (free_defconfig): New function.
81502 (free_mem): Move common code to free_database_entries.
81503
81504 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81505
81506 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81507 Add arch_prctl.
81508 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81509
81510 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81511 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81513 New macro.
81514 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81515 (INTERNAL_SYSCALL_TYPES): Likewise.
81516 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81517 (LOAD_REGS_TYPES_[1-6]): Likewise.
81518 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81519 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81520
81521 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81522
81523 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81524 copysignl for GLIBC_2_0.
81525 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81526 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81528 logbl for GLIBC_2_0.
81529 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81530 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81531
81532 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81533
81534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81535 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81536
81537 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81538 Use "neg %eax".
81539
81540 * time/mktime.c: Update copyright years.
81541
81542 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81543
81544 mktime: merge comment-quoting-style change from gnulib
81545 * time/mktime.c: Quote 'like this' in comments.
81546 The GNU coding standards suggest that we no longer quote `like this',
81547 as "`" and "'" are typically rendered asymmetrically nowadays.
81548 The typical gnulib style is to quote 'like this' when quoting
81549 code, and "like this" when quoting English.
81550
81551 * time/mktime.c (compile-command): Add "-I.".
81552
81553 mktime: merge mktime-internal.h change from gnulib
81554 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81555
81556 mktime: merge time_r change from gnulib
81557 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81558
81559 mktime: merge DEBUG change from gnulib
81560 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81561 case system <time.h> has a #define.
81562
81563 mktime: merge <sys/types.h> change from gnulib
81564 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81565 since <time.t> is now guaranteed to define time_t.
81566
81567 mktime: merge HAVE_CONFIG_H change from gnulib
81568 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81569
81570 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81571
81572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81573 Use "neg %eax".
81574
81575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81576 __rlim_t cast.
81577 (struct rusage): Use anonymous union to pad each field to
81578 __syscall_slong_t.
81579
81580 2012-05-21 David S. Miller <davem@davemloft.net>
81581
81582 * Makefules (o-iterator): Remove .s cases.
81583 (compile-command.s): Delete.
81584 (COMPILE.s): Delete.
81585 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81586
81587 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81588
81589 * configure.in (libc_cv_predef_stack_protector): Only consider
81590 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81591 * configure: Regenerated.
81592
81593 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81594
81595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81596 New macro. Use R*LP on int and pointer.
81597 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81598 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81599 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81600 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81601
81602 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81603 [__WORDSIZE_TIME64_COMPAT32] instead of
81604 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81605 (struct utmp): Likewise.
81606 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81607 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81608 Renamed to ...
81609 (__WORDSIZE_TIME64_COMPAT32): This.
81610 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81611 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81612 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81613 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81614 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81615 (__WORDSIZE_TIME64_COMPAT32): New macro.
81616
81617 2012-05-21 Andreas Jaeger <aj@suse.de>
81618
81619 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81620 only if [SHARED]. Add prototype for __wcschr_ia32.
81621
81622 2012-05-21 Roland McGrath <roland@hack.frob.com>
81623
81624 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81625 of %rbp unmolested in the jmp_buf while mangling the low bits.
81626 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81627 unmolested high bits of %rbp while demangling the low bits.
81628 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81629
81630 2012-05-21 Andreas Jaeger <aj@suse.de>
81631
81632 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81633 * sunrpc/svc_simple.c: Use it for registerrpc.
81634 * sunrpc/xcrypt.c: Use it for passwd2des.
81635
81636 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81637
81638 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81639
81640 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81641 Don't define if [__SYSCALL_WORDSIZE != 32].
81642 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81643 New macro.
81644
81645 2012-05-21 Bruno Haible <bruno@clisp.org>
81646 Andreas Jaeger <aj@suse.de>
81647
81648 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81649 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81650 inptr and inend for must_buffer_ch.
81651 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81652 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81653 * stdio-common/Makefile (tests): Remove bug15.
81654 (bug15-ENV): Remove macro.
81655 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81656 anymore.
81657
81658 2012-05-19 Andreas Jaeger <aj@suse.de>
81659 Roland McGrath <roland@hack.frob.com>
81660
81661 * manual/contrib.texi: Completely rewritten. It contains now an
81662 alphabetical list of contributors and their contributions.
81663
81664 2012-05-21 Richard Henderson <rth@twiddle.net>
81665
81666 * misc/getauxval.c (__getauxval): Use unsigned long int.
81667 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81668 (getauxval): Use unsigned long int.
81669
81670 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81671
81672 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81673
81674 2012-05-21 Roland McGrath <roland@hack.frob.com>
81675
81676 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81677 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81678 __alignof__ (long double).
81679
81680 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81681
81682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81683
81684 2012-05-20 Richard Henderson <rth@twiddle.net>
81685
81686 * misc/getauxval.c: New file.
81687 * misc/sys/auxv.h: New file.
81688 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81689 (routines): Add getauxval.
81690 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81692 * elf/dl-sysdep.c (_dl_auxv): Remove.
81693 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81694 * elf/dl-support.c (_dl_auxv): New variable.
81695 (_dl_aux_init): Initialize it.
81696 * manual/startup.texi (Auxiliary Vector): New node.
81697 * sysdeps/generic/bits/hwcap.h: New file.
81698 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81699 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81700 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81701 * sysdeps/sparc/sysdep.h: ... here. Include it.
81702 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81705 Update.
81706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81714
81715 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81716
81717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81718
81719 2012-05-19 David S. Miller <davem@davemloft.net>
81720
81721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81722
81723 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81724
81725 [BZ #14123]
81726 * math/s_ccosh.c: Include <float.h>
81727 (__ccosh): Avoid internal overflow calculating sinh and cosh
81728 values before multiplying by sin and cos values.
81729 * math/s_ccoshf.c: Likewise.
81730 * math/s_ccoshl.c: Likewise.
81731 * math/s_csin.c: Likewise.
81732 * math/s_csinf.c: Likewise.
81733 * math/s_csinl.c: Likewise.
81734 * math/s_csinh.c: Likewise.
81735 * math/s_csinhf.c: Likewise.
81736 * math/s_csinhl.c: Likewise.
81737 * math/libm-test.inc (ccos_test): Add more tests.
81738 (ccosh_test): Likewise.
81739 (csin_test): Likewise.
81740 (csinh_test): Likewise.
81741 * sysdeps/i386/fpu/libm-test-ulps: Update.
81742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81743
81744 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81745
81746 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81747 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81748
81749 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81750
81751 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81752
81753 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81754 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81755 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81756 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81757 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81758 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81759 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81760 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81761 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81762 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81763 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81764 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81765 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81766 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81767 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81768 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81769 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81770 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81771 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81772 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81773 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81774 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81775 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81776 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81777 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81778 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81779 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81780 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81781 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81782 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81783 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81784
81785 2012-05-18 Andreas Jaeger <aj@suse.de>
81786
81787 * csu/.gitignore: Delete.
81788
81789 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81790
81791 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81792 (timex): Use __syscall_slong_t.
81793
81794 2012-05-18 Andreas Jaeger <aj@suse.de>
81795 Carlos O'Donell <carlos_odonell@mentor.com>
81796
81797 * manual/install.texi (Configuring and compiling): Update
81798 description about files modified in the source directory.
81799 * INSTALL: Regenerated.
81800
81801 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81802
81803 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81804 value. Use "or" to set return value to -1.
81805 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81806 negate return value.
81807
81808 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81809
81810 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81811 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81812 failure if the compiler has Graphite support disabled.
81813 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81814 Likewise.
81815 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81816 (CFLAGS-memmove.c): Likewise.
81817 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81818 Likewise.
81819
81820 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81821
81822 * sysdeps/x86_64/x32/_itoa.h: New file.
81823
81824 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81825 getdents system call only if kernel and user dirents have the
81826 same d_ino and d_off.
81827
81828 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81829 LLONG_MAX != LONG_MAX.
81830 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81831 (_fitoa_word): Likewise.
81832
81833 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81834 years.
81835 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81836 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81837 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81838
81839 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81840 include <bits/wordsize.h>. Check __x86_64__ instead of
81841 __WORDSIZE.
81842 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81843 if __x86_64__ is defined. Use anonymous union on fpstate.
81844
81845 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81846 anonymous union.
81847
81848 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81849
81850 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81851 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81852 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81853 Refer to _rtld_local_ro instead of _rtld_global_ro.
81854 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81855 Likewise.
81856 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81857 Likewise.
81858 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81859 Likewise.
81860 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81861 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81862 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81863
81864 [BZ #10882]
81865 * sysdeps/powerpc/powerpc32/dl-machine.c
81866 (__elf_machine_runtime_setup) [PROF]: Don't reference
81867 _dl_prof_resolve.
81868
81869 2012-05-18 Andreas Jaeger <aj@suse.de>
81870
81871 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81872 function only available for GCCs before 3.4 since GCC 3.4
81873 introduced a builtin.
81874 (lrint): Likewise.
81875 (llrintf): Likewise.
81876 (llrint): Likewise.
81877 (fmaxf): Likewise.
81878 (fmax): Likewise.
81879 (fminf): Likewise.
81880 (fmin): Likewise.
81881 (rint): Likewise.
81882 (rintf): Likewise.
81883 (nearbyint): Likewise.
81884 (nearbyintf): Likewise.
81885 (ceil): Likewise.
81886 (ceilf): Likewise.
81887 (floor): Likewise.
81888 (floorf): Likewise.
81889
81890 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81891
81892 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81893 on both fields and cast pointer to __syscall_ulong_t.
81894
81895 * bits/types.h (__fsword_t): New type.
81896 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81897 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81899 (__FSWORD_T_TYPE): Likewise.
81900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81901 (__FSWORD_T_TYPE): Likewise.
81902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81903 (__FSWORD_T_TYPE): Likewise.
81904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81905 (__FSWORD_T_TYPE): Likewise.
81906 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81907 __SWORD_TYPE with __fsword_t.
81908 (statfs64): Likewise.
81909
81910 2012-05-17 David S. Miller <davem@davemloft.net>
81911
81912 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81913
81914 2012-05-17 Andreas Jaeger <aj@suse.de>
81915
81916 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81917 warning.
81918
81919 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81920
81921 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81922
81923 2012-05-17 Andreas Jaeger <aj@suse.de>
81924
81925 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81926 when it is used.
81927
81928 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81929
81930 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81931
81932 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81933
81934 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81935 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81936
81937 2012-05-17 Andreas Jaeger <aj@suse.de>
81938 Carlos O'Donell <carlos_odonell@mentor.com>
81939
81940 [BZ #14059]
81941 * sysdeps/x86_64/multiarch/init-arch.h
81942 (bit_YMM_Usable): Rename to...
81943 (bit_AVX_Usable): ... this.
81944 (bit_FMA4_Usable): New macro.
81945 (bit_XMM_state): New macro.
81946 (bit_YMM_state): New macro.
81947 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81948 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81949 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81950 (CPUID_OSXSAVE): New macro.
81951 (CPUID_AVX): New macro.
81952 (CPUID_FMA4): New macro.
81953 (index_YMM_Usable): Rename to...
81954 (index_AVX_Usable): ... this.
81955 (HAS_AVX): Use HAS_ARCH_FEATURE.
81956 (HAS_FMA4): Likewise.
81957 (HAS_YMM_USABLE): Remove.
81958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81959 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81960 are present.
81961 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81962 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81963 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81964 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81965 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81966
81967 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81968
81969 * math/libm-test.c: Support platforms without multiple rounding modes.
81970 * math/bug-nextafter.c: Support platforms without FP exceptions.
81971 * math/bug-nexttoward.c: Likewise.
81972 * math/test-fenv.c: Likewise.
81973 * math/test-misc.c: Likewise.
81974 * stdlib/bug-getcontext.c: Likewise.
81975
81976 2012-05-17 Andreas Jaeger <aj@suse.de>
81977
81978 * manual/examples/search.c (critter_cmp): Change signature to
81979 avoid warnings.
81980 * manual/string.texi (Collation Functions): Likewise.
81981
81982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81983
81984 * bits/types.h: Fold copyright years.
81985 * bits/typesizes.h: Likewise.
81986 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81990 * time/time.h: Likewise.
81991
81992 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81993
81994 [BZ #208]
81995 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81996 in instead of returning them. Return void.
81997 (__libc_mallinfo): Accumulate over all arenas.
81998 (__malloc_stats): Adjust for change in int_mallinfo interface.
81999
82000 2012-05-16 Roland McGrath <roland@hack.frob.com>
82001
82002 [BZ #10375]
82003 * configure.in (NM): Add AC_CHECK_TOOL for it.
82004 (libc_extra_cflags): New substituted variable.
82005 Check for -fstack-protector being used implicitly.
82006 * configure: Regenerated.
82007 * config.make.in (config-extra-cflags): New variable,
82008 gets @libc_extra_cflags@.
82009 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82010
82011 [BZ #10375]
82012 * configure.in: Check for _FORTIFY_SOURCE being predefined.
82013 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82014 * configure: Regenerated.
82015 * config.make.in (CPPUNDEFS): New substituted variable.
82016 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82017 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82018 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82019
82020 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82021
82022 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82023 (mq_attr): Use __syscall_slong_t.
82024
82025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82026
82027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82028 Check __x86_64__ instead of __WORDSIZE.
82029 (_STAT_VER_LINUX): Likewise.
82030 (stat): Check __x86_64__ instead of __WORDSIZE. Use
82031 __syscall_ulong_t and __syscall_slong_t.
82032 (stat64): Likewise.
82033
82034 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82035
82036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82037
82038 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82039
82040 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82041
82042 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82043
82044 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82045 __syscall_ulong_t.
82046
82047 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82048 include <bits/wordsize.h>. Check __x86_64__ instead of
82049 __WORDSIZE.
82050 (greg_t): Use "__extension__ long long int" if __x86_64__ is
82051 defined.
82052 (mcontext_t): Replace "unsigned long" with "unsigned long long".
82053
82054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82055 include <bits/wordsize.h>. Check __x86_64__ instead of
82056 __WORDSIZE.
82057 (user_regs_struct): Use "__extension__ unsigned long long"
82058 instead of "unsigned long" if __x86_64__ is defined.
82059 (user): Likewise. Pad after pointer field if __ILP32__ is
82060 defined.
82061
82062 2012-05-16 Joseph Myers <joseph@codesourcery.com>
82063
82064 * configure.in (makeinfo): Require version 4.5 or later. Allow
82065 versions 5 to 9.
82066 * configure: Regenerated.
82067 * manual/install.texi (texinfo): Increase version requirement to
82068 4.5 or later.
82069 * INSTALL: Regenerated.
82070
82071 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82072
82073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82074
82075 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82076
82077 * sysdeps/x86_64/x32/ffs.c: New file.
82078
82079 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82080 __syscall_ulong_t.
82081 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82082 defined. Use __syscall_ulong_t.
82083 (shminfo): Use __syscall_ulong_t.
82084 (shm_info): Likewise.
82085
82086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82087 __syscall_ulong_t.
82088
82089 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82090 <bits/wordsize.h>.
82091 (msgqnum_t): Use __syscall_ulong_t.
82092 (msglen_t): Likewise.
82093 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82094 __syscall_ulong_t.
82095
82096 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82097 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82098
82099 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82100
82101 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82102 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82103
82104 * sysvipc/sys/msg.h (msgbuf): Replace long int with
82105 __syscall_slong_t.
82106
82107 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82108 include <bits/wordsize.h>. Check __x86_64__ instead of
82109 __WORDSIZE.
82110
82111 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82112 "unsigned long long int" if __x86_64__ is defined.
82113 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82114
82115 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82116 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82117 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82118
82119 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82120 <stdint.h>.
82121 (GET_PC): Cast to uintptr_t first.
82122 (GET_FRAME): Likewise.
82123 (GET_STACK): Likewise.
82124
82125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82127 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82129 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82131 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82132 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82133 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82136 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82137 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82138 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82140 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82141 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82142 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82144 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82146 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82148 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82150 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82151 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82152 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82153 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82154
82155 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
82156
82157 * Makerules (+depfiles): Also collect depfiles from .oS in
82158 $(extra-objs).
82159 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82160 .oS, $(libnldbl-routines)).
82161
82162 * Makerules (native-compile-mkdep-flags): Define.
82163 * sunrpc/Makefile (extra-objs): Add $(addprefix
82164 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82165 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82166 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
82167 calling $(make-target-directory).
82168
82169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82170
82171 * bits/types.h (__snseconds_t): Removed.
82172 * time/time.h (struct timespec): Replace __snseconds_t with
82173 __syscall_slong_t.
82174 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82175 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82176 Likewise.
82177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82178 (__SNSECONDS_T_TYPE): Likewise.
82179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82180 (__SNSECONDS_T_TYPE): Likewise.
82181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82182 (__SNSECONDS_T_TYPE): Likewise.
82183
82184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82185
82186 * sysdeps/mach/hurd/bits/typesizes.h
82187 (__SYSCALL_SLONG_TYPE): New macro.
82188 (__SYSCALL_ULONG_TYPE): Likewise.
82189
82190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82191
82192 * bits/types.h (__syscall_slong_t): New type.
82193 (__syscall_ulong_t): Likewise.
82194
82195 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82196 (__SYSCALL_ULONG_TYPE): Likewise.
82197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82198 (__SYSCALL_SLONG_TYPE): Likewise.
82199 (__SYSCALL_ULONG_TYPE): Likewise.
82200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82201 (__SYSCALL_SLONG_TYPE): Likewise.
82202 (__SYSCALL_ULONG_TYPE): Likewise.
82203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82204 (__SYSCALL_SLONG_TYPE): Likewise.
82205 (__SYSCALL_ULONG_TYPE): Likewise.
82206
82207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82208
82209 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82210 Add sigaltstack-offsets.sym.
82211 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82212 <sigaltstack-offsets.h>.
82213 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82214 longjmp_msg pointer.
82215 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82216 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82217 signal stack.
82218 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82219
82220 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82221
82222 * elf/stackguard-macros.h: Remove file.
82223 * sysdeps/generic/stackguard-macros.h: New file.
82224 * sysdeps/i386/stackguard-macros.h: Likewise.
82225 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82226 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82227 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82228 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82229 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82230 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82231 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82232 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82233 <elf/stackguard-macros.h>.
82234
82235 [BZ #14109]
82236 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82237 __aligned__ in attribute.
82238 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82239 (gregset_t): Likewise.
82240
82241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82242
82243 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82244 * sysdeps/x86_64/64/Implies-after: Here. New file.
82245 * sysdeps/x86_64/x32/Implies-after: New file.
82246
82247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82248
82249 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82250 and access return value for _dl_profile_fixup. Use R10_LP to
82251 load frame size.
82252
82253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82254
82255 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82256
82257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82258
82259 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82260 * sysdeps/x86_64/x32/sysdep.h: New file.
82261
82262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82263
82264 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82265 * sysdeps/x86_64/setjmp.S: Likewise.
82266
82267 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82268
82269 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82271 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82272 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82273 remove unused global constant.
82274
82275 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82276
82277 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82278 include of <not-cancel.h>.
82279
82280 2012-05-15 Roland McGrath <roland@hack.frob.com>
82281
82282 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82283
82284 2012-05-15 Jeff Law <law@redhat.com>
82285 Andreas Jaeger <aj@suse.de>
82286
82287 [BZ #13594]
82288 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82289 out from...
82290 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82291 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82292 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82293 code changing __hst_map_handle.map.
82294
82295 2012-05-15 Roland McGrath <roland@hack.frob.com>
82296
82297 * configure.in (sysnames): Look for Implies-before and Implies-after
82298 files.
82299 * configure: Regenerated.
82300
82301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82302
82303 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82304 8-byte data alignment with LP_SIZE alignment.
82305
82306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82307
82308 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82309 into R10_LP.
82310
82311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82312
82313 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82314
82315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82316
82317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82318 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82320 Likewise.
82321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82322
82323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82324
82325 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82326 (stackinfo_sub_sp): Likewise.
82327
82328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82329
82330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82331 RAX_LP.
82332
82333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82334
82335 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82336 into R*_LP.
82337
82338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82339
82340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82341 sizes into R*_LP.
82342
82343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82344
82345 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82346
82347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82348
82349 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82350 into R11_LP and load __x86_64_shared_cache_size_half into
82351 R8_LP.
82352
82353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82354
82355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82356 R8_LP.
82357
82358 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82359
82360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82361 logb for POWER7.
82362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82363 logbf for POWER7.
82364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82365 logbl for POWER7.
82366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82367 powerpc32/power7/fpu/s_logb.c via #include.
82368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82369 powerpc32/power7/fpu/s_logbf.c via #include.
82370 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82371 powerpc32/power7/fpu/s_logbl.c via #include.
82372
82373 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82374
82375 * README.libm: Remove file.
82376
82377 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82378
82379 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82380 count for x32. Use R*_LP and omit operand-size suffix.
82381
82382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82383
82384 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82385 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82386 * sysdeps/x86_64/x32/shlib-versions: New file.
82387
82388 2012-05-14 Roland McGrath <roland@hack.frob.com>
82389
82390 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82391 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82392 Use _dl_fatal_printf instead.
82393
82394 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82395
82396 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82397 set if not set by the user. Do not allow for being unset.
82398 * sysdeps/unix/sysv/linux/configure: Regenerated.
82399
82400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82401
82402 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82403 the `q' suffix from lea and replace .quad with ASM_ADDR.
82404
82405 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82406
82407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82408 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82409 instead of $17.
82410 (PTR_DEMANGLE): Likewise.
82411
82412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82413
82414 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82415 (LP_OP): Likewise.
82416 (ASM_ADDR): Likewise.
82417 (RAX_LP): Likewise.
82418 (RBP_LP): Likewise.
82419 (RBX_LP): Likewise.
82420 (RCX_LP): Likewise.
82421 (RDI_LP): Likewise.
82422 (RSI_LP): Likewise.
82423 (RSP_LP): Likewise.
82424 (R8_LP): Likewise.
82425 (R9_LP): Likewise.
82426 (R10_LP): Likewise.
82427 (R10_LP): Likewise.
82428 (R11_LP): Likewise.
82429 (R12_LP): Likewise.
82430 (R13_LP): Likewise.
82431 (R14_LP): Likewise.
82432 (R15_LP): Likewise.
82433
82434 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82435
82436 * sysdeps/x86_64/x32/dl-machine.h: New file.
82437
82438 2012-05-14 Andreas Jaeger <aj@suse.de>
82439
82440 * manual/Makefile (subdir): Remove export of subdir.
82441 (all): Remove target.
82442 (.PHONY): Remove all from list.
82443 (mkinstalldirs): Remove.
82444 (.PHONY): Remove installdirs from list.
82445 ($(inst_infodir)/libc.info): Use make-target-directory.
82446 (installdirs): Remove.
82447 (subdir_%): Remove.
82448 (glibc-targets): Remove.
82449 (lib): Remove.
82450 (stubs): Remove.
82451 ($(objpfx)stubs ../po/manual.pot): Remove.
82452 ($(objpfx)stamp%): Remove.
82453 (make-target-directory): Remove.
82454 (subdir_install): Remove.
82455 (routines): Remove.
82456 (aux): Remove.
82457 (sources): Remove.
82458 (objects): Remove.
82459 (headers): Remove.
82460
82461 [BZ #13750]
82462 * manual/.gitignore: Remove, it's not needed anymore.
82463 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82464 all files in it.
82465 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82466 directory.
82467 (texis): Renamed to $(objpfx)texis.
82468 (texis-path): New, contains path to generated files.
82469 (chapters.%): Use texis-path for complete path, add extra argument
82470 libc-texinfo.sh.
82471 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82472 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82473 (summary,texi, stamp-summary): Use complete path of
82474 files. Generate files in build dir.
82475 (dir-add.texi): Build in build dir.
82476 (libm-err.texi,stamp-libm-err): Likewise.
82477 (version.texi, stamp-version): Likewise.
82478 (.%c.texi): Likewise.
82479 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82480 (mostlyclean): Remove target.
82481 (realclean): Remove target.
82482 (generated): Add new variable with contents from mostlyclean and
82483 realclean, remove entries duplicated in common-mostlyclean, add
82484 stamp-libm-err and stamp-version.
82485 (generated-dirs): Add libc directory.
82486 ($(inst_infodir)/libc.info): Install files from build dir.
82487
82488 * manual/install.texi (Configuring and compiling): Adjust since
82489 the info files are not part of the tar ball anymore.
82490
82491 2012-05-14 Andreas Jaeger <aj@suse.de>
82492
82493 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82494 variable.
82495
82496 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82497
82498 [BZ #13717]
82499 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82500 to 2.2.0 where earlier.
82501 * sysdeps/unix/sysv/linux/configure: Regenerated.
82502 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82503 Remove conditional code.
82504 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82505 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82506 Remove conditional code.
82507 [!__NR_lchown]: Likewise.
82508 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82509 [__NR_lchown]: Likewise.
82510 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82511 comment referencing __ASSUME_LCHOWN_SYSCALL.
82512 * sysdeps/unix/sysv/linux/i386/sigaction.c
82513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82515 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82516 Remove conditional code.
82517 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82518 (__protocol_available): Remove #if 0 code.
82519 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82520 conditional code.
82521 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82522 * sysdeps/unix/sysv/linux/kernel-features.h
82523 (__ASSUME_GETCWD_SYSCALL): Don't define.
82524 (__ASSUME_REALTIME_SIGNALS): Likewise.
82525 (__ASSUME_PREAD_SYSCALL): Likewise.
82526 (__ASSUME_PWRITE_SYSCALL): Likewise.
82527 (__ASSUME_POLL_SYSCALL): Likewise.
82528 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82529 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82530 non-SPARC.
82531 (__ASSUME_SIOCGIFNAME): Don't define.
82532 (__ASSUME_MSG_NOSIGNAL): Likewise.
82533 (__ASSUME_SENDFILE): Define unconditionally.
82534 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82535 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82536 conditional code.
82537 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82538 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82539 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82540 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82541 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82542 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82543 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82568 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82569 Remove conditional code.
82570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82571 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82572 Remove conditional code.
82573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82574 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82575 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82576 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82577 Remove conditional code.
82578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82579 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82580 Remove conditional code.
82581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82582 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82583 Remove conditional code.
82584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82585 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82586 Remove conditional code.
82587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82588 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82589 Remove conditional code.
82590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82591 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82592 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82594 * sysdeps/unix/sysv/linux/sigaction.c
82595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82597 * sysdeps/unix/sysv/linux/sigpending.c
82598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82600 * sysdeps/unix/sysv/linux/sigprocmask.c
82601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82603 * sysdeps/unix/sysv/linux/sigsuspend.c
82604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82607 (__libc_missing_rt_sigs): Remove.
82608 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82609 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82610 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82611 Remove conditional code.
82612 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82613 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82614 return 1.
82615 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82616 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82617 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82618 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82619
82620 2012-05-14 Andreas Jaeger <aj@suse.de>
82621
82622 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82623 it's not used in glibc.
82624 (__coshm1): Likewise.
82625 (__acosh1p): Likewise.
82626 (__sgn): Likewise.
82627
82628 * manual/string.texi (Copying and Concatenation): Add missing
82629 variable in concat example.
82630 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82631
82632 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82633
82634 [BZ #14103]
82635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82636 __builtin_clzl with __builtin_clzll.
82637
82638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82639
82640 [BZ #14104]
82641 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82642 libc_freeres_ptr.
82643
82644 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82645
82646 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82647 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82648 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82649 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82650
82651 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82652
82653 * NEWS: Update ia64 info.
82654
82655 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82656
82657 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82658 used as bcopy.
82659
82660 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82661
82662 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82663 * sysdeps/unix/syscalls.list (dup3): Likewise.
82664 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82665 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82666
82667 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82668
82669 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82670 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82671
82672 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82673
82674 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82675 thread pointer.
82676 (TLS_IE): Use mov/add instead of movq/addq to load thread
82677 pointer.
82678 (TLS_GD_PREFIX): New.
82679 (TLS_GD): Use it.
82680
82681 2012-05-11 David S. Miller <davem@davemloft.net>
82682
82683 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82684 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82685 (_FPU_SETCW): Likewise.
82686
82687 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82688
82689 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82690 is 32-byte aligned.
82691
82692 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82693
82694 [BZ #11837]
82695 * iconvdata/gb18030.c: Update tables.
82696 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82697 characters specially.
82698 (BODY for TO_LOOP): Add encoding of missing ranges.
82699
82700 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82701
82702 [BZ #13673]
82703 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82704 * sysdeps/mach/hurd/dup3.c: Likewise.
82705 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82706 * sysdeps/powerpc/memmove.c:: Likewise.
82707
82708 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82709
82710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82711 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82712
82713 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82714
82715 * elf/elf.h (R_X86_64_RELATIVE64): New.
82716 (R_X86_64_NUM): Updated.
82717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82718 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82719 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82720 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82721 tst-quad1pie tst-quad2pie
82722 (modules-names): Add tst-quadmod1 tst-quadmod2.
82723 ($(objpfx)tst-quad1): New dependency.
82724 ($(objpfx)tst-quad2): Likewise.
82725 ($(objpfx)tst-quad1pie): Likewise.
82726 ($(objpfx)tst-quad2pie): Likewise.
82727 * sysdeps/x86_64/tst-quad1.c: New file.
82728 * sysdeps/x86_64/tst-quad1pie.c: New file.
82729 * sysdeps/x86_64/tst-quad2.c: Likewise.
82730 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82731 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82732 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82733 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82734 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82735
82736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82737
82738 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82739 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82740 * streams/stropts.h (t_scalar_t): Define type.
82741
82742 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82743 (_PATH_PRESERVE): Set to "/var/lib".
82744 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82745
82746 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82747 instead of int.
82748
82749 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82750 if __dir_mkfile succeeded.
82751
82752 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82753 checking for _hurd_dtablesize. Unlock it right after having
82754 finished _hurd_dtable allocation.
82755
82756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82757
82758 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82759 * sysdeps/mach/hurd/configure: Regenerated.
82760 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82761 special-casing to...
82762 * sysdeps/gnu/configure.in: ... this new file.
82763 * sysdeps/unix/sysv/linux/configure: Regenerated.
82764 * sysdeps/gnu/configure: New generated file.
82765
82766 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82767 for Linux: use nsec instead of usec, as well as:
82768 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82769 members of type struct timespec.
82770 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82771 New macros.
82772 (struct stat64): Likewise.
82773 (_STATBUF_ST_NSEC): New macro.
82774 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82775
82776 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82777 __strtoul_internal rather than strtoul.
82778
82779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82780
82781 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82782 and reject them.
82783
82784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82785
82786 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82787 which preserves existing values.
82788 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82789
82790 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82791
82792 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82793 TIMEOUT values. Return EINVAL for NFDS values either negative or
82794 greater than FD_SETSIZE.
82795
82796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82797
82798 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82799 allocated, call __vm_protect to finish enabling the existing space, and
82800 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82801 allocate the remainder.
82802
82803 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82804
82805 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82806 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82807
82808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82809
82810 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82811 sysdeps/mach/hurd/readlink.c.
82812
82813 * posix/tst-sysconf.c (posix_options): Only use
82814 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82815 _POSIX_SYNCHRONIZED_IO when they are defined
82816 * sysdeps/mach/hurd/bits/posix_opt.h:
82817 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82818 (_XOPEN_REALTIME): Undefine macro.
82819 (_XOPEN_REALTIME_THREADS): Undefine macro.
82820 (_XOPEN_SHM): Undefine macro.
82821 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82822 macro to -1.
82823 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82824 macro to -1.
82825 (_POSIX_ASYNC_IO): Undefine macro.
82826 (_POSIX_PRIORITIZED_IO): Undefine macro.
82827 (_POSIX_SPIN_LOCKS): Define macro to -1.
82828
82829 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82830 SA_NODEFER, SA_RESETHAND.
82831 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82832 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82833 F_DUPFD_CLOEXEC.
82834
82835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82836
82837 * elf/Makefile (pldd-modules): Define unconditionally.
82838
82839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82840
82841 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82842
82843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82844
82845 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82846 Return ENOENT when name is empty.
82847 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82848
82849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82850
82851 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82852
82853 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82854
82855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82856
82857 Fix mlock in all cases except non-readable pages.
82858 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82859 instead of VM_PROT_ALL as parameter to __vm_wire function.
82860
82861 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82862 (__mkdir): When path is `/', just fail with EEXIST.
82863 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82864
82865 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82866
82867 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82868 <sys/uio.h> (for writev).
82869 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82870 and <sys/param.h> (for MIN).
82871
82872 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82873
82874 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82875 REQUESTED_TIME. Properly set the remaining time and return EINTR
82876 if interrupted.
82877
82878 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82879
82880 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82881 Depend on against $(link-rpcuserlibs).
82882
82883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82884
82885 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82886 (__libc_stack_end): Do not use attribute_relro.
82887 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82888 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82889 to libthread-provided value.
82890 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82891 attribute_relro.
82892
82893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82894
82895 [BZ #3748]
82896 * bits/libc-lock.h (__libc_once_get): New macro.
82897 * sysdeps/mach/bits/libc-lock.h: Likewise.
82898 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82899 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82900 instead of using implementation details.
82901
82902 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82903 * libio/freopen.c: Likewise.
82904 * libio/freopen64.c: Likewise.
82905 * misc/syslog.c: Likewise.
82906 * nscd/connections.c: Likewise.
82907 * nscd/netgroupcache.c: Likewise.
82908 * sysdeps/posix/getcwd.c: Likewise.
82909
82910 2012-05-10 Roland McGrath <roland@hack.frob.com>
82911
82912 * math/w_ilogbf.c: Add #include <limits.h>.
82913
82914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82915
82916 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82917 path instead of returning without unlocking.
82918
82919 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82920 immediate-write ioctls.
82921 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82922
82923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82924
82925 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82926 __builtin_frame_address instead of making assumptions about the
82927 location of the return address relative to DATA. Force early load of
82928 the return address.
82929 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82930 __builtin_frame_address.
82931
82932 dup3 for GNU Hurd.
82933 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82934 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82935 implement dup3 and do some further code clean-ups.
82936 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82937 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82938
82939 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82940
82941 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82942
82943 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82944 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82945 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82946 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82947 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82948 d->port.lock.
82949
82950 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82951 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82952 when handler == SIG_ERR, not when handler != SIG_ERR.
82953
82954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82955
82956 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82957 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82958 definitions.
82959
82960 accept4 for GNU Hurd.
82961 * include/sys/socket.h (__libc_accept4): New prototype.
82962 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82963 to implement __libc_accept4.
82964 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82965 __libc_accept4.
82966 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82967
82968 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82969 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82970 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82971 signal-defines.sym.
82972
82973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82974
82975 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82976
82977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82978
82979 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82980 assertion on O_CLOEXEC flag.
82981 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82982 * hurd/intern-fd.c: Likewise.
82983 * hurd/port2fd.c: Likewise.
82984
82985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82986
82987 [BZ #3906]
82988 * bits/in.h (IPV6_PKTINFO): Define new macro.
82989 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82990
82991 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82992
82993 [BZ #13954]
82994 [BZ #13955]
82995 [BZ #13956]
82996 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82997 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82998 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82999 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83001 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83002 * math/libm-test.inc (logb_test) : Additional logb tests.
83003
83004 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
83005 Andreas Jaeger <aj@suse.de>
83006
83007 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83008 * configure: Regenerated.
83009 * config.h.in (LINK_OBSOLETE_RPC): New macro.
83010 * config.make.in (link-obsolete-rpc): New substituted variable.
83011 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83012 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83013 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83014 (shared-only-routines): Don't set it under [link-obsolete-rpc],
83015 so that libc.a contains the symbols.
83016 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83017 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83018 * sunrpc/auth_none.c: Likewise.
83019 * sunrpc/auth_unix.c: Likewise.
83020 * sunrpc/authdes_prot.c: Likewise.
83021 * sunrpc/authuxprot.c: Likewise.
83022 * sunrpc/clnt_gen.c: Likewise.
83023 * sunrpc/clnt_perr.c: Likewise.
83024 * sunrpc/clnt_raw.c: Likewise.
83025 * sunrpc/clnt_simp.c: Likewise.
83026 * sunrpc/clnt_tcp.c: Likewise.
83027 * sunrpc/clnt_udp.c: Likewise.
83028 * sunrpc/clnt_unix.c: Likewise.
83029 * sunrpc/des_crypt.c: Likewise.
83030 * sunrpc/des_soft.c: Likewise.
83031 * sunrpc/get_myaddr.c: Likewise.
83032 * sunrpc/key_call.c: Likewise.
83033 * sunrpc/key_prot.c: Likewise.
83034 * sunrpc/netname.c: Likewise.
83035 * sunrpc/pm_getmaps.c: Likewise.
83036 * sunrpc/pm_getport.c: Likewise.
83037 * sunrpc/pmap_clnt.c: Likewise.
83038 * sunrpc/pmap_prot.c: Likewise.
83039 * sunrpc/pmap_prot2.c: Likewise.
83040 * sunrpc/pmap_rmt.c: Likewise.
83041 * sunrpc/publickey.c: Likewise.
83042 * sunrpc/rpc_cmsg.c: Likewise.
83043 * sunrpc/rpc_common.c: Likewise.
83044 * sunrpc/rpc_dtable.c: Likewise.
83045 * sunrpc/rpc_prot.c: Likewise.
83046 * sunrpc/rpc_thread.c: Likewise.
83047 * sunrpc/rtime.c: Likewise.
83048 * sunrpc/svc.c: Likewise.
83049 * sunrpc/svc_auth.c: Likewise.
83050 * sunrpc/svc_raw.c: Likewise.
83051 * sunrpc/svc_run.c: Likewise.
83052 * sunrpc/svc_tcp.c: Likewise.
83053 * sunrpc/svc_udp.c: Likewise.
83054 * sunrpc/svc_unix.c: Likewise.
83055 * sunrpc/svcauth_des.c: Likewise.
83056 * sunrpc/xcrypt.c: Likewise.
83057 * sunrpc/xdr.c: Likewise.
83058 * sunrpc/xdr_array.c: Likewise.
83059 * sunrpc/xdr_float.c: Likewise.
83060 * sunrpc/xdr_intXX_t.c: Likewise.
83061 * sunrpc/xdr_mem.c: Likewise.
83062 * sunrpc/xdr_rec.c: Likewise.
83063 * sunrpc/xdr_ref.c: Likewise.
83064 * sunrpc/xdr_sizeof.c: Likewise.
83065 * sunrpc/xdr_stdio.c: Likewise.
83066
83067 2012-05-10 Roland McGrath <roland@hack.frob.com>
83068
83069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83070 change. Update copyright years.
83071
83072 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83073
83074 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83075
83076 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
83077 Joseph Myers <joseph@codesourcery.com>
83078 Paul Pluzhnikov <ppluzhnikov@google.com>
83079
83080 [BZ #14012]
83081 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83082 requiring rpcgen.
83083 [cross-compiling] (extra-libs): Likewise.
83084 [cross-compiling] (extra-libs-others): Likewise.
83085 [cross-compiling] (librpcsvc-routines): Likewise.
83086 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83087 [cross-compiling] (omit-deps): Likewise.
83088 (sunrpc-CPPFLAGS): New variable.
83089 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83090 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83091 (cross-rpcgen-objs): New variable.
83092 (extra-objs): Append $(cross-rpcgen-objs).
83093 ($(cross-rpcgen-objs)): New rule.
83094 ($(objpfx)cross-rpcgen): Likewise.
83095 (rpcgen-cmd): Define to use $(built-program-file). Expand
83096 comment.
83097 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83098 ($(objpfx)x%.stmp): Likewise.
83099 * sunrpc/proto.h [IS_IN_build] (_): Define.
83100 [IS_IN_build] (_libc_intl_domainname): Likewise.
83101
83102 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83103
83104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83105 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83106 and R_X86_64_TPOFF64.
83107
83108 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83109
83110 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83111 sysdeps/unix/sysv/syscalls.list.
83112 (stime): Likewise.
83113 (utime): Likewise.
83114 * sysdeps/unix/sysv/syscalls.list: Remove file.
83115
83116 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
83117
83118 [BZ #3440]
83119 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83120 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83121 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83122 (__LC_IDENTIFICATION): Make these macros useful in #if
83123 expressions, as required by C99.
83124
83125 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
83126
83127 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83128 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
83129 after this.
83130
83131 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
83132
83133 * stdlib/longlong.h: Updated from GCC.
83134
83135 2012-05-09 Andreas Jaeger <aj@suse.de>
83136
83137 * nscd/nscd.c (run_modes): Make named enum, reorder so that
83138 default is first entry.
83139 (run_mode): Set type.
83140 (main): Remove informal message about syslog.
83141 (options): Fix typo.
83142
83143 [BZ #14053]
83144 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83145 to asm.
83146 (lrint): Likewise.
83147 (llrintf): Likewise.
83148 (llrint): Likewise.
83149 (rint): Likewise.
83150 (rintf): Likewise.
83151 (nearbyint): Likewise.
83152 (nearbyintf): Likewise.
83153
83154 2012-05-09 Andreas Jaeger <aj@suse.de>
83155 Pedro Alves <palves@redhat.com>
83156
83157 * nscd/nscd.c (run_mode): Use enum.
83158 (main): Cleanup coding style issue.
83159
83160 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
83161 Andreas Jaeger <aj@suse.de>
83162
83163 * nscd/nscd.c (go_background): Replaced with...
83164 (run_mode): ... this.
83165 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83166 (options): Add -F --foreground.
83167 (main): Implement it.
83168 (parse_opt): Parse it.
83169
83170 2012-05-09 Andreas Jaeger <aj@suse.de>
83171
83172 [BZ #14083]
83173 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83174 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83175 -Wconversion warning.
83176 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83177 Likewise.
83178
83179 2012-05-09 Joseph Myers <joseph@codesourcery.com>
83180
83181 * conform/data/locale.h-data (NULL): Use macro-constant. Require
83182 == 0.
83183 (LC_ALL): Use macro-int-constant.
83184 (LC_COLLATE): Likewise.
83185 (LC_CTYPE): Likewise.
83186 (LC_MESSAGES): Likewise.
83187 (LC_MONETARY): Likewise.
83188 (LC_NUMERIC): Likewise.
83189 (LC_TIME): Likewise.
83190 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83191 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83193 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83194 Specify type.
83195 [C99-based standards] (float_t): Expect type.
83196 [C99-based standards] (double_t): Expect type.
83197 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83198 type.
83199 [C99-based standards] (HUGE_VALL): Likewise.
83200 [C99-based standards] (INFINITY): Likewise.
83201 [C99-based standards] (NAN): Likewise.
83202 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83203 [C99-based standards] (FP_NAN): Likewise.
83204 [C99-based standards] (FP_NORMAL): Likewise.
83205 [C99-based standards] (FP_SUBNORMAL): Likewise.
83206 [C99-based standards] (FP_ZERO): Likewise.
83207 [C99-based standards] (FP_FAST_FMA): Use
83208 optional-macro-int-constant. Specify type. Require == 1.
83209 [C99-based standards] (FP_FAST_FMAF): Likewise.
83210 [C99-based standards] (FP_FAST_FMAL): Likewise.
83211 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83212 [C99-based standards] (FP_ILOGBNAN): Likewise.
83213 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83214 Specify type.
83215 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83216 [C99-based standards] (math_errhandling): Specify type.
83217 [ISO99 || ISO11] (signgam): Do not allow.
83218 [non-C99-based standards] (copysignf): Do not allow.
83219 [non-C99-based standards] (exp2f): Likewise.
83220 [non-C99-based standards] (log2f): Likewise.
83221 [non-C99-based standards] (modff): Allow.
83222 [non-C99-based standards] (erff): Do not allow.
83223 [non-C99-based standards] (erfcf): Likewise.
83224 [non-C99-based standards] (gammaf): Likewise.
83225 [non-C99-based standards] (hypotf): Likewise.
83226 [non-C99-based standards] (j0f): Likewise.
83227 [non-C99-based standards] (j1f): Likewise.
83228 [non-C99-based standards] (jnf): Likewise.
83229 [non-C99-based standards] (lgammaf): Likewise.
83230 [non-C99-based standards] (tgammaf): Likewise.
83231 [non-C99-based standards] (y0f): Likewise.
83232 [non-C99-based standards] (y1f): Likewise.
83233 [non-C99-based standards] (ynf): Likewise.
83234 [non-C99-based standards] (isnanf): Likewise.
83235 [non-C99-based standards] (acoshf): Likewise.
83236 [non-C99-based standards] (asinhf): Likewise.
83237 [non-C99-based standards] (atanhf): Likewise.
83238 [non-C99-based standards] (cbrtf): Likewise.
83239 [non-C99-based standards] (expm1f): Likewise.
83240 [non-C99-based standards] (ilogbf): Likewise.
83241 [non-C99-based standards] (log1pf): Likewise.
83242 [non-C99-based standards] (logbf): Likewise.
83243 [non-C99-based standards] (nextafterf): Likewise.
83244 [non-C99-based standards] (remainderf): Likewise.
83245 [non-C99-based standards] (rintf): Likewise.
83246 [non-C99-based standards] (scalbf): Likewise.
83247 [non-C99-based standards] (copysignl): Likewise.
83248 [non-C99-based standards] (exp2l): Likewise.
83249 [non-C99-based standards] (log2l): Likewise.
83250 [non-C99-based standards] (modfl): Allow.
83251 [non-C99-based standards] (erfl): Do not allow.
83252 [non-C99-based standards] (erfcl): Likewise.
83253 [non-C99-based standards] (gammal): Likewise.
83254 [non-C99-based standards] (hypotl): Likewise.
83255 [non-C99-based standards] (j0l): Likewise.
83256 [non-C99-based standards] (j1l): Likewise.
83257 [non-C99-based standards] (jnl): Likewise.
83258 [non-C99-based standards] (lgammal): Likewise.
83259 [non-C99-based standards] (tgammal): Likewise.
83260 [non-C99-based standards] (y0l): Likewise.
83261 [non-C99-based standards] (y1l): Likewise.
83262 [non-C99-based standards] (ynl): Likewise.
83263 [non-C99-based standards] (isnanl): Likewise.
83264 [non-C99-based standards] (acoshl): Likewise.
83265 [non-C99-based standards] (asinhl): Likewise.
83266 [non-C99-based standards] (atanhl): Likewise.
83267 [non-C99-based standards] (cbrtl): Likewise.
83268 [non-C99-based standards] (expm1l): Likewise.
83269 [non-C99-based standards] (ilogbl): Likewise.
83270 [non-C99-based standards] (log1pl): Likewise.
83271 [non-C99-based standards] (logbl): Likewise.
83272 [non-C99-based standards] (nextafterl): Likewise.
83273 [non-C99-based standards] (remainderl): Likewise.
83274 [non-C99-based standards] (rintl): Likewise.
83275 [non-C99-based standards] (scalbl): Likewise.
83276 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83277 [non-C99-based standards] (FP_*): Do not allow.
83278 [C99-based standards] (FP_*): Change to
83279 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83280 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83281 allow.
83282 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83283 (SIG_ERR): Likewise.
83284 [X/Open-based standards] (SIG_HOLD): Likewise.
83285 (SIG_IGN): Likewise.
83286 (SIGABRT): Use macro-int-constant. Specify type. Require
83287 positive value.
83288 (SIGFPE): Likewise.
83289 (SIGILL): Likewise.
83290 (SIGINT): Likewise.
83291 (SIGSEGV): Likewise.
83292 (SIGTER): Likewise.
83293 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83294 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83295 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83296 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83297 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83298 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83299 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83300 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83301 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83302 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83303 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83304 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83305 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83306 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83307 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83308 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83309 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83310 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83311 [X/Open-based standards] (SIGTRAP): Likewise.
83312 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83313 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83314 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83315 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83316 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83317 allow.
83318
83319 2012-05-08 Ian Wienand <ianw@vmware.com>
83320
83321 [BZ #14080]
83322 * time/tzset.c (__tzset_parse_tz): Update default rules for
83323 daylight time changes in the Energy Policy Act of 2005.
83324
83325 2012-05-09 Andreas Jaeger <aj@suse.de>
83326
83327 [BZ #13983]
83328 * elf/ldconfig.c (parse_conf): Change string to make clear that
83329 ldconfig only issued a warning if ld.so.conf does not exist.
83330
83331 2012-05-08 David S. Miller <davem@davemloft.net>
83332
83333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83334 movxtod instead of popping the value on the stack.
83335
83336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83337
83338 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83339
83340 * config.h.in: Add HAVE_ARM_PCS_VFP.
83341
83342 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83343
83344 [BZ #13979]
83345 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83346 checking but the checks are disabled for any reason.
83347
83348 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83349
83350 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83351 and ELF64_R_TYPE with ELFW(R_TYPE).
83352
83353 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83354
83355 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83356 (ulimit): Likewise.
83357
83358 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83359 (settimeofday): Likewise.
83360
83361 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83362
83363 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83364 a struct th_u2 inside the union, and move tu_block/tu_code into
83365 a new th_u3 union of tu_block/tu_code inside of that. Move
83366 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83367 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83368 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83369 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83370 (th_stuff): Change to th_u1.tu_stuff.
83371 (th_data): Define.
83372 (th_msg): Change to th_u1.th_u2.tu_data.
83373
83374 2012-05-07 David S. Miller <davem@davemloft.net>
83375
83376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83377
83378 [BZ #14074]
83379 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83380 (SETUP_PIC_REG): Use it.
83381 (SETUP_PIC_REG_LEAF): Use it.
83382
83383 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83384
83385 [BZ #13885]
83386 [BZ #13923]
83387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83388 USE_AS_EXPM1L.
83389 (EXPL_FINITE): Likewise.
83390 (FLDLOG): Likewise.
83391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83392 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83393 e_expl.S.
83394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83395 USE_AS_EXPM1L.
83396 (EXPL_FINITE): Likewise.
83397 (FLDLOG): Likewise.
83398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83399 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83400 e_expl.S.
83401 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83402 test of -max_value argument for long double.
83403 * sysdeps/i386/fpu/libm-test-ulps: Update.
83404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83405
83406 2012-05-06 David S. Miller <davem@davemloft.net>
83407
83408 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83409 quad soft-float symbols whose references which are compiler
83410 generated.
83411 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83412
83413 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83414
83415 [BZ #13884]
83416 [BZ #13914]
83417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83418 USE_AS_EXP10L.
83419 (EXPL_FINITE): Likewise.
83420 (FLDLOG): Likewise.
83421 (c0): Likewise.
83422 (c1): Likewise.
83423 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83424 Adjust comments for base varying.
83425 (__expl_finite): Change alias to EXPL_FINITE.
83426 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83427 e_expl.S.
83428 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83429 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83430 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83431 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83432 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83433 USE_AS_EXP10L.
83434 (EXPL_FINITE): Likewise.
83435 (FLDLOG): Likewise.
83436 (c0): Likewise.
83437 (c1): Likewise.
83438 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83439 Adjust comments for base varying.
83440 (__expl_finite): Change alias to EXPL_FINITE.
83441 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83442 tests for bugs.
83443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83444
83445 [BZ #14064]
83446 * math/libm-test.inc (check_float_internal): Correct ulp
83447 calculation for subnormal expected results.
83448
83449 2012-05-06 Andreas Jaeger <aj@suse.de>
83450
83451 * Makeconfig (+math-flags): New, set to -frounding-math.
83452 (+cflags): Add +math-flags so that all of glibc gets compiled with
83453 it.
83454
83455 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83456
83457 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83458
83459 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83460 Disable one test.
83461
83462 [BZ #13787]
83463 [BZ #13922]
83464 [BZ #14036]
83465 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83466 (__ieee754_expl): Allow for and saturate large arguments.
83467 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83468 (u_threshold): Likewise.
83469 (__exp): Call __ieee754_exp before checking for overflow and
83470 underflow.
83471 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83472 (u_threshold): Likewise.
83473 (__expf): Call __ieee754_expf before checking for overflow and
83474 underflow.
83475 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83476 (u_threshold): Likewise.
83477 (__expl): Call __ieee754_expl before checking for overflow and
83478 underflow.
83479 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83480 (__ieee754_expl): Allow for and saturate large arguments.
83481 * math/libm-test.inc (exp_test): Add another test. Do not allow
83482 missing overflow exception on overflow.
83483 (expm1_test): Do not allow missing overflow exception on overflow.
83484
83485 * sysdeps/i386/fpu/e_expl.c: Move to ...
83486 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83487 rather than using inline asm.
83488 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83489 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83490 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83491
83492 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83493 (nice): Likewise.
83494 (poll): Likewise.
83495 (signal): Likewise.
83496 (time): Likewise.
83497 (times): Likewise.
83498
83499 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83500
83501 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83502 sysdeps/unix/common/syscalls.list.
83503 (fchmod): Likewise.
83504 (fchown): Likewise.
83505 (ftruncate): Likewise.
83506 (getrusage): Likewise.
83507 (gettimeofday): Likewise.
83508 (setpgid): Likewise.
83509 (setregid): Likewise.
83510 (setreuid): Likewise.
83511 (sigaction): Likewise.
83512 (truncate): Likewise.
83513 (vhangup): Likewise.
83514 * sysdeps/unix/common/syscalls.list: Remove file.
83515 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83516 * sysdeps/unix/sysv/linux/Implies: Likewise.
83517
83518 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83519
83520 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83522 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83523 Moved to ...
83524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83525 Here.
83526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83527 to ...
83528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83530 to ...
83531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83532 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83533 to ...
83534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83535 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83536 to ...
83537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83538 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83539 to ...
83540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83541 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83542 to ...
83543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83544 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83545 to ...
83546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83547 Here.
83548 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83549 to ...
83550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83551 Here.
83552 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83553 to ...
83554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83555 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83556 Moved to ...
83557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83558 Here.
83559 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83560 to ...
83561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83562
83563 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83564
83565 * sysdeps/unix/common/bits/dirent.h: Remove file.
83566 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83567
83568 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83569 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83570 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83571 * sysdeps/unix/bsd/isatty.c: Likewise.
83572 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83573 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83574 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83575
83576 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83577
83578 [BZ #13563]
83579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83580 long double comparison inaccuracies.
83581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83583
83584 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83585
83586 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83588
83589 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83590
83591 [BZ #14049]
83592 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83593 nonzero digits before rounding a hex value.
83594 * stdlib/tst-strtod.c (tests): Add another test.
83595
83596 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83597
83598 * sysdeps/s390/fpu/libm-test-ulps: Update.
83599
83600 2012-05-03 Andreas Jaeger <aj@suse.de>
83601
83602 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83603 does not get optimized out.
83604 (malloc_opt_barrier): New.
83605
83606 2012-05-03 Andreas Jaeger <aj@suse.de>
83607 Roland McGrath <roland@hack.frob.com>
83608
83609 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83610 intermediate file deletion.
83611 (generated): Add .symlist files.
83612
83613 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83614
83615 [BZ #13775]
83616 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83617 Redirect under this condition.
83618 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83619 [__USE_GNU] (__dprintf_chk): Not under this condition.
83620 [__USE_GNU] (__vdprintf_chk): Likewise.
83621 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83622 under this condition.
83623 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83624 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83625 [__USE_XOPEN2K8] (vdprintf): Likewise.
83626 [__USE_GNU] (__dprintf_chk): Not under this condition.
83627 [__USE_GNU] (__vdprintf_chk): Likewise.
83628 [__USE_GNU] (dprintf): Likewise.
83629 [__USE_GNU] (vdprintf): Likewise.
83630
83631 2012-05-03 Roland McGrath <roland@hack.frob.com>
83632
83633 * elf/Makefile (common-generated): Set this instead of generated for
83634 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83635 $(all-built-dso)-derived lists.
83636
83637 2012-05-03 Andreas Jaeger <aj@suse.de>
83638
83639 * sysdeps/i386/fpu/libm-test-ulps: Update.
83640
83641 * FAQ: Removed.
83642 * FAQ.in: Likewise.
83643 * scripts/gen-FAQ.pl: Likewise.
83644 * manual/install.texi (Installation): Point to online location of
83645 FAQ.
83646 * Makefile (files-for-dist): Remove FAQ.
83647 (FAQ): Remove.
83648
83649 2012-05-02 Allan McRae <allan@archlinux.org>
83650
83651 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83652 (LDFLAGS-reldepmod5.so): Likewise.
83653 (LDFLAGS-reldep6mod1.so): Likewise.
83654 (LDFLAGS-reldep6mod4.so): Likewise.
83655 (LDFLAGS-reldep8mod3.so): Likewise.
83656 (LDFLAGS-unload4mod1.so): Likewise.
83657 (LDFLAGS-unload4mod2.so): Likewise.
83658 (LDFLAGS-tst-initorder): Likewise.
83659 (LDFLAGS-tst-initordera2.so): Likewise.
83660 (LDFLAGS-tst-initordera3.so): Likewise.
83661 (LDFLAGS-tst-initordera4.so): Likewise.
83662 (LDFLAGS-tst-initorderb2.so): Likewise.
83663 (LDFLAGS-noload): Likewise.
83664 (LDFLAGS-next): Likewise.
83665 (LDFLAGS-order2mod1.so): Likewise.
83666 (LDFLAGS-order2mod2.so): Likewise.
83667 (LDFLAGS-tst-initorder2): Likewise.
83668 (LDFLAGS-tst-initorder2a.so): Likewise.
83669 (LDFLAGS-tst-initorder2b.so): Likewise.
83670 (LDFLAGS-tst-initorder2c.so): Likewise.
83671 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83672
83673 2012-05-02 David S. Miller <davem@davemloft.net>
83674
83675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83676
83677 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83678
83679 [BZ #14055]
83680 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83681
83682 2012-05-02 Andreas Jaeger <aj@suse.de>
83683
83684 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83685 since we manipulate rounding mode.
83686 (CPPFLAGS-test-idouble.c): Likewise.
83687 (CPPFLAGS-test-ifloat.c): Likewise.
83688 (CFLAGS-test-ldouble.c): Likewise.
83689 (CFLAGS-test-double.c): Likewise.
83690 (CFLAGS-test-float.c): Likewise.
83691 (CFLAGS-test-misc.c): Likewise.
83692 (CFLAGS-test-test-fenv.c): Likewise.
83693
83694 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83695
83696 [BZ #2550]
83697 [BZ #2570]
83698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83699 comparisons to determine direction to adjust input.
83700
83701 2012-05-01 Roland McGrath <roland@hack.frob.com>
83702
83703 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83704 output to the target.
83705
83706 * scripts/localplt.awk: New file.
83707 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83708 (check-localplt-CFLAGS): Variable removed.
83709 ($(all-built-dso:=.jmprel)): New static pattern rule.
83710 (generated): Add those targets.
83711 (localplt-built-dso): New variable.
83712 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83713
83714 * elf/check-localplt.c: File removed.
83715
83716 * scripts/check-execstack.awk: New file.
83717 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83718 (check-execstack-CFLAGS): Variable removed.
83719 ($(objpfx)check-execstack.h): Target removed.
83720 ($(objpfx)execstack-default): New target.
83721 (generated): Add that instead of check-execstack.h.
83722 ($(all-built-dso:=.phdr)): New static pattern rule.
83723 (generated): Add those targets.
83724 * elf/check-execstack.c: File removed.
83725
83726 * scripts/check-textrel.awk: New file.
83727 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83728 (check-textrel-CFLAGS): Variable removed.
83729 (all-built-dso): Use := to define.o
83730 ($(all-built-dso:=.dyn)): New static pattern rule.
83731 (generated): Add those targets.
83732 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83733 * config.make.in (READELF): New substituted variable.
83734 * elf/check-textrel.c: File removed.
83735
83736 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83737
83738 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83739 allow.
83740 * conform/data/ctype.h-data [C99-based standards] (isblank):
83741 Expect function.
83742 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83743 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83745 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83746 Specify type. Require positive value.
83747 (EILSEQ): Likewise.
83748 (ERANGE): Likewise.
83749 [ISO || POSIX] (EILSEQ): Do not expect.
83750 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83751 Specify type. Require positive value.
83752 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83753 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83754 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83755 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83756 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83757 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83758 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83759 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83760 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83761 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83762 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83763 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83764 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83765 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83766 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83767 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83768 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83769 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83770 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83771 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83772 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83773 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83774 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83775 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83776 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83777 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83778 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83779 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83780 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83781 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83782 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83783 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83784 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83785 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83786 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83787 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83788 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83789 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83790 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83791 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83792 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83793 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83794 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83795 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83796 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83797 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83798 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83799 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83800 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83801 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83802 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83803 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83804 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83805 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83806 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83807 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83808 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83809 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83810 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83811 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83812 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83813 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83814 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83815 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83816 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83817 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83818 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83819 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83820 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83821 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83822 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83823 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83824 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83825 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83826 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83827 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83828 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83829 Require >= 2.
83830 (FLT_ROUNDS): Expect as macro, not constant.
83831 (FLT_MANT_DIG): Use macro-int-constant.
83832 (DBL_MANT_DIG): Likewise.
83833 (LDBL_MANT_DIG): Likewise.
83834 (FLT_DIG): Likewise.
83835 (DBL_DIG): Likewise.
83836 (LDBL_DIG): Likewise.
83837 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83838 (DBL_MIN_EXP): Likewise.
83839 (LDBL_MIN_EXP): Likewise.
83840 (FLT_MAX_EXP): Use macro-int-constant.
83841 (DBL_MAX_EXP): Likewise.
83842 (LDBL_MAX_EXP): Likewise.
83843 (FLT_MAX_10_EXP): Likewise.
83844 (DBL_MAX_10_EXP): Likewise.
83845 (LDBL_MAX_10_EXP): Likewise.
83846 (FLT_MAX): Use macro-constant.
83847 (DBL_MAX): Likewise.
83848 (LDBL_MAX): Likewise.
83849 (FLT_EPSILON): Use macro-constant. Give upper bound.
83850 (DBL_EPSILON): Likewise.
83851 (LDBL_EPSILON): Likewise.
83852 (FLT_MIN): Likewise.
83853 (DBL_MIN): Likewise.
83854 (LDBL_MIN): Likewise.
83855 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83856 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83857 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83858 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83859 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83860 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83861 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83862 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83863 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83864 [ISO11] (FLT_TRUE_MIN): Likewise.
83865 [ISO11] (LDBL_TRUE_MIN): Likewise.
83866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83867 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83868 (SCHAR_MIN): Use macro-int-constant. Specify type.
83869 (SCHAR_MAX): Likewise.
83870 (UCHAR_MAX): Likewise.
83871 (CHAR_MIN): Likewise.
83872 (CHAR_MAX): Likewise.
83873 (MB_LEN_MAX): Use macro-int-constant.
83874 (SHRT_MIN): Use macro-int-constant. Specify type.
83875 (SHRT_MAX): Likewise.
83876 (USHRT_MAX): Likewise.
83877 (INT_MAX): Likewise.
83878 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83879 bound negative.
83880 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83881 bound with "U".
83882 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83883 bound with "L".
83884 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83885 bound negative. Suffix upper bound with "L".
83886 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83887 bound with "UL".
83888 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83889 Specify type.
83890 [C99-based standards] (LLONG_MAX): Likewise.
83891 [C99-based standards] (ULLONG_MAX): Likewise.
83892 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83893 == 0.
83894 [ISO11] (max_align_t): Require type.
83895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83896
83897 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83898 from $CFLAGS, without defining away __attribute__ calls.
83899 (checknamespace): Use $CFLAGS_namespace.
83900
83901 * conform/conformtest.pl (@keywords): Only include C99 keywords
83902 for standards based on C99 or C11.
83903
83904 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83905 Disable tests.
83906 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83907 UNIX98]: Likewise.
83908
83909 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83910 usability of symbols in #if.
83911
83912 * conform/conformtest.pl: If macro or constant types start
83913 "promoted:", expect the symbol to be of the following type
83914 promoted by the integer promotions.
83915
83916 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83917 in one place. Also handle "macro-constant".
83918
83919 * conform/conformtest.pl: Only accept expected macro values with
83920 "==". Parse all "macro" lines in one place.
83921 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83922
83923 * conform/conformtest.pl: Handle braced types on "constant" lines
83924 instead of handling "typed-constant".
83925 * conform/data/signal.h-data: Use "constant" instead of
83926 "typed-constant".
83927
83928 * conform/conformtest.pl: Handle "optional-" at start of lines in
83929 one place rather than duplicating several cases. Handle each
83930 format of "macro" line with initial "optional-".
83931
83932 * conform/conformtest.pl: Only accept expected constant or
83933 optional-constant values with "==". Parse all "constant" lines in
83934 one place. Parse all "optional-constant" lines in one place.
83935 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83936 * conform/data/fmtmsg.h-data: Likewise.
83937 * conform/data/netinet/in.h-data: Likewise.
83938 * conform/data/tar.h-data: Likewise.
83939 * conform/data/limits.h-data: Use "==" form on "constant" and
83940 "optional-constant" lines.
83941
83942 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83943 Use -std=c99 for XOPEN2K.
83944 (@knownproblems): Remove.
83945 (newtoken): Don't check %isknown.
83946
83947 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83948 Do not expect macro.
83949 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83950 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83951 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83952 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83953 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83954 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83955 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83956 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83957 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83958 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83959 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83960 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83961 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83962 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83963 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83964 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83965 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83966 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83967 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83968 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83969 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83970 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83971 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83972 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83973 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83974 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83975 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83976 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83977 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83978 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83979 [XPG3] (acosh): Likewise.
83980 [XPG3] (asinh): Likewise.
83981 [XPG3] (atanh): Likewise.
83982 [XPG3] (cbrt): Likewise.
83983 [XPG3] (expm1): Likewise.
83984 [XPG3] (ilogb): Likewise.
83985 [XPG3] (log1p): Likewise.
83986 [XPG3] (logb): Likewise.
83987 [XPG3] (nextafter): Likewise.
83988 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83989 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83990 [XPG3] (remainder): Likewise.
83991 [XPG3] (rint): Likewise.
83992 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83993 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83994 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83995 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83996 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83997 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83998 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83999 [UNIX98 || XOPEN2K] (scalb): Expect.
84000 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84001 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84002 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84003 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84004 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84005 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84006 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84007 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84008 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84009 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84010 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84011 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84012 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84013 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84014 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84015 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84016 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84017 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84018 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84019 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84020 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84021 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84022 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84023 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84024 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84025 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84026 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84027 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84028 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84029 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84030 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84031 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84032 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84033 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84034 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84035 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84036 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84037 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84038 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84039 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84040 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84041 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84042 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84043 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84044 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84045 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84046 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84047 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84048 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84049 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84050 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84051 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84052 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84053 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84054 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84055 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84056 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84057 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84058 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84059 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84060 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84061 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84062 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84063 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84064 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84065 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84066 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84067 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84068 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84069 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84070 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84071 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84072 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84073 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84074 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84075 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84076 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84077 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84078 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84079 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84080 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84081 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84082 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84083 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84084 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84085 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84086 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84087 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84088 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84089 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84090 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84091 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84092 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84093 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84094 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84095 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84096 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84097 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84098 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84099 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84100 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84101 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84102 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84103 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84104 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84105 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84106 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84107 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84108 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84109 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84110 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84111 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84112 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84113 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84114 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84115 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84116 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84117 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84118 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84119 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84120 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84121 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84122 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84123 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84124 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84125 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84126 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84127 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84128 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84129 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84130 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84131 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84132 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84133 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84134 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84135 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84136 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84137
84138 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84139 _XOPEN_SOURCE_EXTENDED for XPG4.
84140
84141 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84142
84143 * Makeconfig (localtime): Remove variable.
84144 (inst_localtime-file): Likewise.
84145
84146 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84147
84148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84149 Update.
84150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84151 Update.
84152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84153 Update.
84154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84155 Update.
84156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84157 Update.
84158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84159 Update.
84160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84161 Update.
84162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84163 Update.
84164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84165 Update.
84166
84167 2012-05-01 Joseph Myers <joseph@codesourcery.com>
84168
84169 [BZ #2550]
84170 [BZ #2570]
84171 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84172 comparisons to determine direction to adjust input.
84173 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84174 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84175 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84176 Likewise.
84177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84178 Likewise.
84179 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84180 Likewise.
84181 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84182 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84183 Likewise.
84184 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84185 Likewise.
84186 * math/libm-test.inc (nexttoward_test): Add more tests.
84187
84188 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84189
84190 [BZ #14040]
84191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84192 in version GLIBC_2.1, not GLIBC_2.0.
84193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84194 Likewise.
84195
84196 2012-04-30 Joseph Myers <joseph@codesourcery.com>
84197
84198 [BZ #13942]
84199 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84200 (1 - x) * (1 + x).
84201 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84202 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84203 * math/libm-test.inc (acos_test): Add more tests.
84204 (asin_test): Likewise.
84205 * sysdeps/i386/fpu/libm-test-ulps: Update.
84206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84207
84208 [BZ #14034]
84209 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84210 of square root.
84211 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84212 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84213 * math/libm-test.inc (acos_test_tonearest): New function.
84214 (acos_test_towardzero): Likewise.
84215 (acos_test_downward): Likewise.
84216 (acos_test_upward): Likewise.
84217 (asin_test_tonearest): Likewise.
84218 (asin_test_towardzero): Likewise.
84219 (asin_test_downward): Likewise.
84220 (asin_test_upward): Likewise.
84221 (main): Call the new functions.
84222 * sysdeps/i386/fpu/libm-test-ulps: Update.
84223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84224
84225 [BZ #13884]
84226 [BZ #13924]
84227 * math/e_exp10.c: Include <float.h>.
84228 (__ieee754_exp10): Handle underflow here rather than multiplying
84229 large negative argument by M_LN10.
84230 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84231 of __ieee754_expf.
84232 * math/e_exp10l.c: Include <float.h>.
84233 (__ieee754_exp10l): Handle underflow here rather than multiplying
84234 large negative argument by M_LN10l.
84235 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84236 spurious overflow exception on underflow.
84237
84238 2012-04-29 Marek Polacek <polacek@redhat.com>
84239
84240 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84241 (__fortify_function): New macro.
84242 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84243 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84244 __extern_always_inline.
84245 * libio/bits/stdio2.h: Likewise.
84246 * libio/bits/stdio.h: Likewise.
84247 * string/string.h: Likewise.
84248 * string/bits/string3.h: Likewise.
84249 * include/stdio.h: Likewise.
84250 * stdlib/bits/stdlib.h: Likewise.
84251 * stdlib/stdlib.h: Likewise.
84252 * rt/bits/mqueue2.h: Likewise.
84253 * rt/mqueue.h: Likewise.
84254 * posix/bits/unistd.h: Likewise.
84255 * posix/unistd.h: Likewise.
84256 * io/bits/poll2.h: Likewise.
84257 * io/bits/fcntl2.h: Likewise.
84258 * io/fcntl.h: Likewise.
84259 * io/sys/poll.h: Likewise.
84260 * misc/bits/syslog.h: Likewise.
84261 * misc/bits/syslog-ldbl.h: Likewise.
84262 * misc/sys/syslog.h: Likewise.
84263 * socket/bits/socket2.h: Likewise.
84264 * socket/sys/socket.h: Likewise.
84265 * debug/tst-chk1.c: Likewise.
84266 * wcsmbs/bits/wchar2.h: Likewise.
84267 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84268 * wcsmbs/wchar.h: Likewise.
84269
84270 2012-04-29 Andreas Jaeger <aj@suse.de>
84271
84272 * Makerules (tests): Remove enable-check-abi protection.
84273 (check-abi-warn): Remove.
84274 (check-abi-%): Remove check-abi-warn usage.
84275
84276 * configure.in: Remove check-abi configure option.
84277 * configure: Regenerated.
84278 * config.make.in (enable-check-abi): Remove.
84279
84280 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84281
84282 [BZ #14033]
84283 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84284 double functions to double *_finite functions.
84285
84286 [BZ #13941]
84287 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84288 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84289 LDBL_MIN_EXP.
84290 * stdio-common/Makefile (tests): Add tst-sprintf3.
84291 * stdio-common/tst-sprintf3.c: New file.
84292
84293 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84294 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84295
84296 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84297
84298 * conform/conformtest.pl: Remove duplicate typed-constant
84299 handling.
84300
84301 2012-04-28 David S. Miller <davem@davemloft.net>
84302
84303 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84304 (check-abi-%): Remove AWK script prerequisite and explicit
84305 abilist directory.
84306 (check-abi): Rewrite to just diff the symlist with the abilist.
84307 (config-tls, config-abi-config): Delete, no longer used.
84308 (update-abi-%): Remove AWK script and explicit abilist directory.
84309 (update-abi): Rewrite to simply compare and conditionally copy the
84310 symlist and the sysdep abilist file. Remove update-abi-config
84311 checks.
84312 * abilist/ld.abilist: Remove.
84313 * abilist/libBrokenLocale.abilist: Remove.
84314 * abilist/libanl.abilist: Remove.
84315 * abilist/libcrypt.abilist: Remove.
84316 * abilist/libdl.abilist: Remove.
84317 * abilist/librt.abilist: Remove.
84318 * abilist/libthread_db.abilist: Remove.
84319 * abilist/libutil.abilist: Remove.
84320 * scripts/extract-abilist.awk: Remove.
84321 * scripts/merge-abilist.awk: Remove.
84322 * sysdeps/generic/libcidn.abilist: New file.
84323 * sysdeps/generic/libnss_compat.abilist: New file.
84324 * sysdeps/generic/libnss_db.abilist: New file.
84325 * sysdeps/generic/libnss_dns.abilist: New file.
84326 * sysdeps/generic/libnss_files.abilist: New file.
84327 * sysdeps/generic/libnss_hesiod.abilist: New file.
84328 * sysdeps/generic/libnss_nis.abilist: New file.
84329 * sysdeps/generic/libnss_nisplus.abilist: New file.
84330 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84331 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84332 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84333 file.
84334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84335 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84336 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84337 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84338 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84339 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84340 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84341 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84342 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84343 file.
84344 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84345 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84346 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84347 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84348 file.
84349 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84350 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84351 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84352 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84353 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84354 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84355 file.
84356 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84357 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84358 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84359 file.
84360 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84362 New file.
84363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84364 New file.
84365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84366 New file.
84367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84368 New file.
84369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84370 New file.
84371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84372 New file.
84373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84374 New file.
84375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84376 New file.
84377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84378 New file.
84379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84380 New file.
84381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84382 New file.
84383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84384 New file.
84385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84386 New file.
84387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84388 file.
84389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84390 New file.
84391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84392 New file.
84393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84394 file.
84395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84396 New file.
84397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84398 New file.
84399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84400 file.
84401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84402 New file.
84403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84404 New file.
84405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84406 New file.
84407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84408 New file.
84409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84410 New file.
84411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84412 New file.
84413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84415 file.
84416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84417 New file.
84418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84419 file.
84420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84421 file.
84422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84423 file.
84424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84425 file.
84426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84427 file.
84428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84429 New file.
84430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84431 file.
84432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84433 file.
84434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84435 New file.
84436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84437 file.
84438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84440 file.
84441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84442 New file.
84443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84444 file.
84445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84446 file.
84447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84448 file.
84449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84450 file.
84451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84452 file.
84453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84454 New file.
84455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84456 file.
84457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84458 file.
84459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84460 New file.
84461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84462 file.
84463 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84464 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84465 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84466 file.
84467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84468 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84469 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84470 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84471 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84472 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84473 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84474 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84475 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84476 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84479 file.
84480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84481 New file.
84482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84483 file.
84484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84485 file.
84486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84487 file.
84488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84489 file.
84490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84491 file.
84492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84493 New file.
84494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84495 New file.
84496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84497 file.
84498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84499 New file.
84500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84501 file.
84502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84504 file.
84505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84506 New file.
84507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84508 file.
84509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84510 file.
84511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84512 file.
84513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84514 file.
84515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84516 file.
84517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84518 New file.
84519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84520 New file.
84521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84522 file.
84523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84524 New file.
84525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84526 file.
84527
84528 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84529
84530 * conform/conformtest.pl: Fix typo in handling typed-constant from
84531 allow-header.
84532
84533 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84534
84535 * README: Cut down references to pre-2.6 Linux kernels and
84536 Linuxthreads. Update lists of configurations in libc and ports
84537 and sort alphabetically. Say "or newer" with Linux kernel version
84538 requirements.
84539
84540 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84541
84542 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84543
84544 [BZ #887]
84545 * math/libm-test.inc (logb_test_downward): New test to expose
84546 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84547 rounding mode.
84548
84549 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84550
84551 [BZ #14027]
84552 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84553 to be done.
84554 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84555 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84556
84557 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84558
84559 * sysdeps/unix/i386/brk.S: Remove file.
84560 * sysdeps/unix/i386/dl-brk.S: Likewise.
84561 * sysdeps/unix/i386/pipe.S: Likewise.
84562 * sysdeps/unix/i386/sigreturn.S: Likewise.
84563 * sysdeps/unix/i386/syscall.S: Likewise.
84564 * sysdeps/unix/i386/vfork.S: Likewise.
84565 * sysdeps/unix/i386/wait.S: Likewise.
84566
84567 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84568 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84569
84570 * configure.in (arm*-none*): Do not allow without
84571 --enable-hacker-mode.
84572 (netbsd*): Remove case setting base_os.
84573 (386bsd*): Likewise.
84574 (freebsd*): Likewise.
84575 (bsdi*): Likewise.
84576 (osf*): Likewise.
84577 (sunos*): Likewise.
84578 (ultrix*): Likewise.
84579 (newsos*): Likewise.
84580 (dynix*): Likewise.
84581 (*bsd*): Likewise.
84582 (sysv*): Likewise.
84583 (isc*): Likewise.
84584 (esix*): Likewise.
84585 (sco*): Likewise.
84586 (minix*): Likewise.
84587 (irix4*): Likewise.
84588 (irix6*): Likewise.
84589 (solaris[2-9]*): Likewise.
84590 (none): Likewise.
84591 * configure: Regenerated.
84592
84593 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84594
84595 [BZ #11521]
84596 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84597 overflow or cancellation in calculating denominator.
84598 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84599 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84600 down expression to avoid unexpected rounding in newer GCCs.
84601 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84602
84603 2012-04-26 David S. Miller <davem@davemloft.net>
84604
84605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84606 long-double compat symbols.
84607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84620
84621 2012-04-25 David S. Miller <davem@davemloft.net>
84622
84623 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84624 HWCAP_* values only after the memory barriers have been defined.
84625 (atomic_full_barrier): Define.
84626 (atomic_read_barrier): Define.
84627 (atomic_write_barrier): Define.
84628
84629 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84630
84631 * shlib-versions: Add libgcc_s version information.
84632 * sysdeps/generic/libgcc_s.h: Remove.
84633 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84634 libgcc_s.h.
84635 * sysdeps/gnu/unwind-resume.c: Likewise.
84636 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84637
84638 2012-04-25 David S. Miller <davem@davemloft.net>
84639
84640 * sysdeps/unix/sparc/brk.S: Delete.
84641 * sysdeps/unix/sparc/dl-brk.S: Delete.
84642 * sysdeps/unix/sparc/pipe.S: Delete.
84643 * sysdeps/unix/sparc/sysdep.S: Delete.
84644 * sysdeps/unix/sparc/sysdep.h: Delete.
84645 * sysdeps/unix/sparc/vfork.S: Delete.
84646 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84647 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84649 (ret_ERRVAL, r0, r1, MOVE): Define.
84650 (JUMPTARGET): Remove.
84651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84652 sysdeps/unix/sparc/sysdep.h
84653 (ENTRY, END): Remove.
84654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84655
84656 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84657
84658 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84659 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84660 -DIS_IN_build.
84661
84662 * timezone/README: Update upstream location and email address for
84663 tzcode and tzdata.
84664 * timezone/zdump.c: Update from tzcode 2012b.
84665 * timezone/zic.c: Likewise.
84666
84667 * configure.in (libc_cv_as_needed): Remove test.
84668 * configure: Regenerated.
84669 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84670 conditional definition.
84671 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84672 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84673 * config.make.in (have-as-needed): Remove variable.
84674
84675 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84676 Paul Pluzhnikov <ppluzhnikov@google.com>
84677
84678 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84679 strings correctly.
84680
84681 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84682
84683 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84684 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84685 * sysdeps/sh/strlen.S: Likewise.
84686
84687 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84688
84689 * sysdeps/unix/fork.S: Remove file.
84690 * sysdeps/unix/i386/fork.S: Likewise.
84691 * sysdeps/unix/sparc/fork.S: Likewise.
84692
84693 * sysdeps/unix/system.c: Remove file.
84694 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84695
84696 * sysdeps/unix/getegid.S: Remove file.
84697 * sysdeps/unix/geteuid.S: Likewise.
84698
84699 2012-04-24 Roland McGrath <roland@hack.frob.com>
84700
84701 * scripts/check-localplt.awk: New file.
84702 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84703 of diff.
84704 * scripts/data/localplt-generic.data: Add a comment.
84705
84706 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84707 NODE when __dir_mkfile failed.
84708 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84709 Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84710
84711 2012-04-24 Andreas Jaeger <aj@suse.de>
84712
84713 * Makerules (common-clean): Also remove gen-as-const-headers
84714 files.
84715
84716 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84717
84718 * Makerules (native-compile): Do not change working directory for
84719 build. Use $(OUTPUT_OPTION) in command.
84720 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84721
84722 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84723
84724 [BZ #13886]
84725 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84726 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84727 * math/libm-test.inc (floor_test): Add more tests.
84728 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84729
84730 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84731
84732 * sysdeps/unix/getdents.c: Remove file.
84733 * sysdeps/unix/sysv/getdents.c: Likewise.
84734 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84735
84736 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84737 sysdeps/unix/mman/syscalls.list.
84738 (mmap): Likewise.
84739 (mprotect): Likewise.
84740 (msync): Likewise.
84741 (munmap): Likewise.
84742 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84743 * sysdeps/unix/mman/syscalls.list: Remove.
84744 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84745
84746 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84747 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84748 * configure: Regenerated.
84749 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84750 $(libgcc_s_suffix).
84751 * config.make.in (libgcc_s_suffix): Remove variable.
84752
84753 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84754
84755 * sysdeps/unix/sysv/gethostname.c: Move to ...
84756 * sysdeps/posix/gethostname.c: ... here.
84757
84758 * sysdeps/unix/execve.S: Remove file.
84759
84760 * sysdeps/unix/_exit.S: Remove file.
84761
84762 2012-04-23 Andreas Jaeger <aj@suse.de>
84763
84764 [BZ #13739]
84765 * manual/Makefile: Remove make dist support, there's no
84766 need for a stand-alone documentation tar ball.
84767 (TEXI2DVI): Define always, it's not in Makeconfig.
84768 (dist): Removed.
84769 (tar-it): Removed.
84770 (edition): Removed.
84771 (glibc-doc-$(edition).tar): Removed
84772 (%.Z): Removed.
84773 (%.gz): Removed.
84774 (%.uu): Removed.
84775 (ETAGS): Remove, it's in Makeconfig.
84776 (move-if-change): Remove, it's in Makeconfig.
84777
84778 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84779
84780 [BZ #13970]
84781 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84782 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84783 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84784 (strtod_l, strtof_l, strtold_l): Remove __wur.
84785 It is not necessarily an error to ignore strtol's return value.
84786 One can reliably look at the stored endptr to decide whether
84787 the number had valid syntax.
84788
84789 2012-04-21 Andreas Jaeger <aj@suse.de>
84790
84791 [BZ #13739]
84792 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84793
84794 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84795
84796 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84797 * sysdeps/unix/sysv/Versions: Remove file.
84798
84799 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84800
84801 [BZ #13927]
84802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84803
84804 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84805
84806 [BZ #7064]
84807 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84808 version from __vm86.
84809
84810 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84811
84812 * sysdeps/unix/common/lxstat.c: Remove file.
84813 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84814
84815 * sysdeps/unix/sysv/Makefile: Remove file.
84816
84817 * sysdeps/unix/sysv/direct.h: Remove file.
84818
84819 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84820 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84821 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84822 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84823 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84824 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84825 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84826
84827 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84828
84829 * sysdeps/unix/xmknod.c: Remove file.
84830 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84831
84832 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84833
84834 * sysdeps/unix/sysv/i386/time.S: Remove file.
84835
84836 * sysdeps/unix/fxstat.c: Remove file.
84837 * sysdeps/unix/xstat.c: Likewise.
84838 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84839
84840 * sysdeps/unix/sysv/sigaction.c: Remove file.
84841
84842 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84843 (sysdep_headers): Remove variable.
84844 [termio.h not in sysdep_headers] (generated): Likewise.
84845 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84846 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84847 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84848 * sysdeps/unix/sysv/tcflow.c: Likewise.
84849 * sysdeps/unix/sysv/tcflush.c: Likewise.
84850 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84851 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84852 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84853 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84854 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84855
84856 * sysdeps/unix/siglist.c: Remove file.
84857
84858 * sysdeps/unix/getppid.S: Remove file.
84859
84860 * sysdeps/unix/mkdir.c: Remove file.
84861 * sysdeps/unix/rmdir.c: Likewise.
84862
84863 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84864
84865 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84866 ERR_MAX value.
84867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84868 errlist-compat value.
84869
84870 2012-04-18 David S. Miller <davem@davemloft.net>
84871
84872 * sysdeps/generic/memcopy.h (reg_char): Delete.
84873 * debug/strcat_chk.c: Use char, not reg_char.
84874 * debug/strcpy_chk.c: Likewise.
84875 * debug/strncat_chk.c: Likewise.
84876 * debug/strncpy_chk.c: Likewise.
84877 * string/memchr.c: Likewise.
84878 * string/memrchr.c: Likewise.
84879 * string/rawmemchr.c: Likewise.
84880 * string/strcat.c: Likewise.
84881 * string/strchr.c: Likewise.
84882 * string/strchrnul.c: Likewise.
84883 * string/strcmp.c: Likewise.
84884 * string/strcpy.c: Likewise.
84885 * string/strncat.c: Likewise.
84886 * string/strncmp.c: Likewise.
84887 * string/strncpy.c: Likewise.
84888
84889 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84890
84891 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84892 __builtin_memcopy is called when src and dest ranges are known to not
84893 overlap.
84894
84895 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84896
84897 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84898 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84899 fwd_align_merge macro call.
84900 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84901 bwd_align_merge macro call.
84902 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84903
84904 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84905
84906 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84907 bwd_align_merge macros.
84908 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84909 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84910 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84911
84912 2012-04-18 David S. Miller <davem@davemloft.net>
84913
84914 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84915
84916 2012-04-18 Andreas Jaeger <aj@suse.de>
84917
84918 [BZ #6794]
84919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84920 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84921 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84922
84923 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84924 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84925 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84926
84927 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84928 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84929 Adjust for changed ldbl-128 files.
84930
84931 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84932 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84933 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84934
84935 2012-04-17 David S. Miller <davem@davemloft.net>
84936
84937 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84938
84939 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84940
84941 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84942 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84943 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84944 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84945 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84946 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84947
84948 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84949
84950 [BZ #6794]
84951 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84952 * math/libm-test.inc: Add ilogb errno and exception tests.
84953 * math/w_ilogb.c: New file: ilogb wrapper.
84954 * math/w_ilogbf.c: New file: ilogbf wrapper.
84955 * math/w_ilogbl.c: New file: ilogbl wrapper.
84956 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84957 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84958 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84959 exception being thrown with 0.0 as argument.
84960 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84961 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84962 exception being thrown with 0.0 as argument.
84963 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84964 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84965 exception being thrown with 0.0 as argument.
84966 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84967 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84968 exception being thrown with 0.0 as argument.
84969 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84970 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84971 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84972 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84973 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84974 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84975 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84976 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84977 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84978
84979 2012-04-17 Petr Baudis <pasky@ucw.cz>
84980
84981 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84982 with altivec.
84983
84984 2012-04-16 Marek Polacek <polacek@redhat.com>
84985
84986 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84987
84988 2012-04-16 Marek Polacek <polacek@redhat.com>
84989
84990 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84991 operands of fdivp instruction.
84992
84993 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84994
84995 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84996 * elf/tst-auditmod3b.c: Likewise.
84997 * elf/tst-auditmod4b.c: Likewise.
84998 * elf/tst-auditmod5b.c: Likewise.
84999 * elf/tst-auditmod6b.c: Likewise.
85000 * elf/tst-auditmod6c.c: Likewise.
85001 * elf/tst-auditmod7b.c: Likewise.
85002 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85003 * sysdeps/x86_64/preconfigure.in: Likewise.
85004 * sysdeps/x86_64/preconfigure: Regenerated.
85005
85006 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
85007
85008 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85009 __ILP32__.
85010
85011 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
85012
85013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85014 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85015
85016 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
85017
85018 [BZ #13973]
85019 * locale/iso-639.def: Fix gl language name. Spotted by
85020 Yaron Shahrabani.
85021
85022 2012-04-12 Roland McGrath <roland@hack.frob.com>
85023
85024 [BZ #2074]
85025 * libio/libio.h (__io_write_fn): Update comment.
85026
85027 2012-04-12 Petr Baudis <pasky@ucw.cz>
85028
85029 [BZ #2074]
85030 * stdio.texi (Hook Functions): The user provided writer function
85031 is not allowed to return -1.
85032
85033 2012-04-11 David S. Miller <davem@davemloft.net>
85034
85035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85036
85037 2012-04-11 Mike Frysinger <vapier@gentoo.org>
85038
85039 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85040 Add a leading slash to rtkaio.
85041
85042 2012-04-11 Jim Meyering <meyering@redhat.com>
85043
85044 [BZ #11959]
85045 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85046 It is not necessarily an error to ignore fwrite's return
85047 value. One can reliably use ferror to test for errors after
85048 the fact.
85049
85050 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85051
85052 * bits/types.h (__snseconds_t): New type.
85053 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85054
85055 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85056 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85057 (__SNSECONDS_T_TYPE): Likewise.
85058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85059 (__SNSECONDS_T_TYPE): Likewise.
85060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85061 (__SNSECONDS_T_TYPE): Likewise.
85062
85063 2012-04-10 Andreas Jaeger <aj@suse.de>
85064
85065 [BZ #2636]
85066 * manual/time.texi (Processor Time): Return type of times is
85067 elapsed real time since an arbitrary point in the past.
85068 (CPU Time): Move CLK_TCK from here...
85069 (Processor Time): ...to here. Correct description.
85070 * manual/conf.texi (Constants for Sysconf): Correct description of
85071 _SC_CLK_TCK.
85072
85073 2012-04-10 David S. Miller <davem@davemloft.net>
85074
85075 [BZ #13967]
85076 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85077 where the is a gap between DT_REL(A) and DT_JMPREL.
85078
85079 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85080
85081 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85082 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85083 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85084
85085 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
85086
85087 * elf/dl-support.c (_dl_inhibit_cache): New variable.
85088 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85089 (dl_main): Handle --inhibit-cache.
85090 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85091 _dl_inhibit_cache.
85092 * elf/dl-load.c (_dl_map_object): Use it.
85093 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85094
85095 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85096
85097 [BZ #13872]
85098 * sysdeps/i386/fpu/e_powl.S (p78): New object.
85099 (__ieee754_powl): Saturate large exponents rather than testing for
85100 overflow of y*log2(x).
85101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85102 * math/libm-test.inc (pow_test): Do not permit spurious overflow
85103 exceptions.
85104
85105 [BZ #11521]
85106 * math/s_ctan.c: Include <float.h>.
85107 (__ctan): Avoid internal overflow or cancellation in calculating
85108 denominator.
85109 * math/s_ctanf.c: Likewise.
85110 * math/s_ctanl.c: Likewise.
85111 * math/s_ctanh.c: Likewise.
85112 * math/s_ctanhf.c: Likewise.
85113 * math/s_ctanhl.c: Likewise.
85114 * math/libm-test.inc (ctan_test): Add more tests.
85115 (ctanh_test): Likewise.
85116 * sysdeps/i386/fpu/libm-test-ulps: Update.
85117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85118
85119 2012-04-09 Andreas Jaeger <aj@suse.de>
85120
85121 [BZ #6894]
85122 * manual/filesys.texi (Directory Entries): Mention that d_namlen
85123 is an optional BSD extension.
85124
85125 [BZ #10254]
85126 * manual/stdio.texi (Opening Streams): Document additional fopen
85127 parameters.
85128
85129 2012-04-09 Roland McGrath <roland@hack.frob.com>
85130
85131 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85132 %eax without telling the compiler.
85133
85134 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
85135
85136 [BZ # 13963]
85137 * manual/install.texi: Use sourceware.org.
85138
85139 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85140
85141 [BZ #13873]
85142 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85143 (__ieee754_pow): Generate overflow and underflow using huge*huge
85144 and tiny*tiny rather than just returning constant infinity or zero
85145 for large exponents.
85146 * math/libm-test.inc (pow_test): Require overflow exceptions for
85147 applicable cases of large exponents.
85148
85149 [BZ #706]
85150 * sysdeps/i386/fpu/e_pow.S (p10): New object.
85151 (__ieee754_pow): Use iterative multiplication algorithm only for
85152 integer exponents with absolute value below 1024. Check for odd
85153 integer exponents when using algorithm for real exponents.
85154 * math/libm-test.inc (pow_test): Add more tests.
85155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85156
85157 2012-04-08 Joseph Myers <joseph@codesourcery.com>
85158
85159 [BZ #13705]
85160 * math/libm-test.inc (exp_test): Do not allow overflow exception
85161 on underflow test.
85162
85163 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
85164
85165 [BZ #13705]
85166 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85167 instead of __kernel_standard_f.
85168
85169 2012-04-08 Mike Frysinger <vapier@gentoo.org>
85170
85171 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85172 * sysdeps/x86_64/memset_chk.S: Likewise.
85173
85174 2012-04-08 Andreas Jaeger <aj@suse.de>
85175
85176 [BZ #10153]
85177 * manual/startup.texi (Environment Access): Describe return value
85178 for putenv and setenv.
85179
85180 [BZ #6895]
85181 * manual/filesys.texi (Directory Entries): Add description for
85182 DT_LNK.
85183
85184 [BZ #6890]
85185 * manual/filesys.texi (Directory Entries): Clarify that it's file
85186 system not operating system in the description of DT_UNKNOWN.
85187
85188 [BZ #6578]
85189 * manual/syslog.texi (closelog): Fix reference, it's openlog.
85190
85191 2012-04-08 Stephen Compall <s11@member.fsf.org>
85192
85193 [BZ #6649]
85194 * manual/llio.texi (Opening and Closing Files): Add cross
85195 reference to explain mode argument.
85196
85197 2012-04-07 Mike Frysinger <vapier@gentoo.org>
85198
85199 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85200 * sysdeps/x86_64/memset_chk.S: Likewise.
85201
85202 2012-04-07 David S. Miller <davem@davemloft.net>
85203
85204 * elf/elf.h (R_SPARC_WDISP10): Define.
85205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85206 R_SPARC_SIZE32.
85207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85208 R_SPARC_SIZE64 and R_SPARC_H34.
85209
85210 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
85211
85212 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85213 conditions and remove no longer applicable assertion.
85214
85215 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85216
85217 * bits/byteswap.h: Include <features.h>.
85218 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85219 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85220
85221 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85222
85223 * bits/byteswap.h (__bswap_16): Removed.
85224 Include <bits/byteswap-16.h> to get __bswap_16.
85225 * sysdeps/i386/bits/byteswap.h: Likewise.
85226 * sysdeps/s390/bits/byteswap.h: Likewise.
85227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85228 * bits/byteswap-16.h: New file.
85229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85230 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85231 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85232 * string/Makefile (headers): Add bits/byteswap-16.h.
85233
85234 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85235
85236 [BZ #13895]
85237 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85238 extra indirection.
85239 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85240 * nss/tst-nss-static.c: New.
85241
85242 2012-04-06 Robert Millan <rmh@gnu.org>
85243
85244 [BZ #6486]
85245 * manual/llio.texi (File Position Primitive): lseek
85246 refers to WHENCE when it really means OFFSET.
85247
85248 2012-04-06 Andreas Jaeger <aj@suse.de>
85249
85250 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85251 strncmp declarations.
85252
85253 * abilist/libc.abilist: Add __poll and __ppoll.
85254
85255 2012-04-05 David S. Miller <davem@davemloft.net>
85256
85257 * scripts/check-local-headers.sh: Accept a host triplet in the
85258 path matched by the exclude regexp.
85259
85260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85261 definition.
85262 * sysdeps/powerpc/powerpc32/dl-machine.h
85263 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85264 * sysdeps/s390/s390-32/dl-machine.h
85265 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85266 * sysdeps/sparc/sparc32/dl-machine.h
85267 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85268 * sysdeps/sparc/sparc64/dl-machine.h
85269 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85270
85271 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85272 lazy binding.
85273 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85274 undefined symbol errors.
85275
85276 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85277 DT_NEEDED entries.
85278
85279 2012-04-05 Michael Matz <matz@suse.de>
85280
85281 [BZ #13592]
85282 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85283
85284 2012-04-05 Andreas Jaeger <aj@suse.de>
85285
85286 [BZ #13908]
85287 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85288 comment.
85289
85290 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85291
85292 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85293 which ROUND is no valid rounding mode.
85294
85295 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85296
85297 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85298 read again.
85299 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85300
85301 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85302
85303 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85304 an exception using FPU order intentionally.
85305
85306 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85307
85308 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85309 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85310 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85311 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85312
85313 2012-04-05 Simon Josefsson <simon@josefsson.org>
85314
85315 [BZ #12340]
85316 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85317 EINVAL when BUFLEN is too smal.
85318
85319 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85320
85321 [BZ #13553]
85322 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85323 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85324
85325 2012-04-03 Andreas Jaeger <aj@suse.de>
85326
85327 [BZ #13938]
85328 * manual/setjmp.texi (System V contexts): Fix sentence.
85329
85330 [BZ #13926]
85331 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85332 New macro for this case.
85333 [!__GNUC__] (__bswap_64): New inline function for this case.
85334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85335 * bits/byteswap.h: Likewise.
85336 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85337 ull, guard with __GLIBC_HAVE_LONG_LONG.
85338
85339 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85340 __GLIBC_HAVE_LONG_LONG.
85341
85342 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85343 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85344
85345 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85346
85347 [BZ #13691]
85348 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85349 inptr and inend, rather than using last_ch.
85350
85351 2012-04-02 David S. Miller <davem@davemloft.net>
85352
85353 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85354 * stdio-common/printf-parse.h (read_int): Change return type to
85355 'int', return -1 on INT_MAX overflow.
85356 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85357 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85358 overflows INT_MAX. Check for overflow of in-format-string precision
85359 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85360 SIZE_MAX not INT_MAX for integer overflow test.
85361 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85362 skip the construct in the format string but do not record anything.
85363 * stdio-common/bug22.c: Adjust to test both width/prevision
85364 INT_MAX overflow as well as total length INT_MAX overflow. Check
85365 explicitly for proper errno values.
85366
85367 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85368
85369 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85370 CHAR_MAX.
85371 * string/test-strcmp.c [! WIDE]: Likewise.
85372 * time/tst-mktime2.c: Likewise for INT_MAX.
85373 * string/test-string.h: #include <sys/param.h> for MIN.
85374
85375 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85376 * sysdeps/i386/init-first.c (init): Likewise.
85377 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85378 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85379 * sysdeps/sh/init-first.c (init): Likewise.
85380
85381 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85382
85383 * po/ru.po: Update from translation team.
85384 * po/vi.po: Likewise.
85385
85386 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85387
85388 * resolv/nss_dns/dns-host.c: Merge copyright years.
85389
85390 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85391
85392 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85393 Optimize memcpy with prefetch if
85394 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85395 src, dst pointers have unequal 16 byte alignments.
85396
85397 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85398
85399 [BZ #13928]
85400 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85401 from a CNAME entry and return the minimum ttl for the query.
85402 (gaih_getanswer_slice): Likewise.
85403
85404 2012-03-30 Jeff Law <law@redhat.com>
85405
85406 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85407 due to long keys.
85408 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85409 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85410
85411 * resolv/nss_dns/dns-host.c: Update copyright year.
85412
85413 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85414
85415 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85416 requests to save a system call. Fix check that all bytes are sent.
85417
85418 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85419 comments for sendmmsg.
85420
85421 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85422
85423 [BZ #13691]
85424 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85425 with only 1 character between 0x0041 and 0x01b0.
85426 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85427 * wcsmbs/tst-mbsnrtowcs.c: New file.
85428
85429 2012-03-29 David S. Miller <davem@davemloft.net>
85430
85431 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85432 small copies by hand.
85433
85434 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85435
85436 [BZ #13761]
85437 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85438 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85439 group memberships.
85440
85441 2012-03-28 David S. Miller <davem@davemloft.net>
85442
85443 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85444 that branches into memcpy.
85445 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85448 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85450 bits.
85451 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85452 implementation too.
85453 * sysdeps/sparc/mempcpy.S: New file.
85454
85455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85456 the IFUNC routine in the libc case.
85457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85458
85459 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85460 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85461 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85462 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85463 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85464 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85465 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85466 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85467
85468 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85469 loop to 256 bytes instead of 64 bytes and fix test signedness.
85470
85471 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85472 * sysdeps/sparc/sparc32/Makefile: rather than here...
85473 * sysdeps/sparc/sparc64/Makefile: and here.
85474
85475 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85476
85477 * malloc/mallocbug.c: Avoid warnings about unused variables.
85478
85479 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85480
85481 [BZ #13760]
85482 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85483 in the right place. Discard and retry query if response is
85484 larger than input buffer size.
85485
85486 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85487
85488 [BZ #369]
85489 [BZ #2678]
85490 [BZ #3866]
85491 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85492 x for large integer exponent.
85493 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85494 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85495 sign of result as needed afterwards.
85496 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85497 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85498 result for underflowing pow the same as for overflow.
85499 (__kernel_standard_l): Handle powl overflow and underflow here
85500 rather than calling __kernel_standard.
85501 * math/libm-test.inc (pow_test): Add more tests.
85502
85503 [BZ #3868]
85504 [BZ #13879]
85505 [BZ #13910]
85506 [BZ #13911]
85507 [BZ #13912]
85508 [BZ #13913]
85509 [BZ #13915]
85510 [BZ #13916]
85511 [BZ #13917]
85512 [BZ #13918]
85513 [BZ #13919]
85514 [BZ #13920]
85515 [BZ #13921]
85516 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85517 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85518 (__kernel_standard_l): New function.
85519 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85520 __kernel_standard.
85521 * math/w_acosl.c (__acosl): Likewise.
85522 * math/w_asinl.c (__asinl): Likewise.
85523 * math/w_atan2l.c (__atan2l): Likewise.
85524 * math/w_atanhl.c (__atanhl): Likewise.
85525 * math/w_coshl.c (__coshl): Likewise.
85526 * math/w_exp10l.c (__exp10l): Likewise.
85527 * math/w_exp2l.c (__exp2l): Likewise.
85528 * math/w_fmodl.c (__fmodl): Likewise.
85529 * math/w_hypotl.c (__hypotl): Likewise.
85530 * math/w_j0l.c (__j0l, __y0l): Likewise.
85531 * math/w_j1l.c (__j1l, __y1l): Likewise.
85532 * math/w_jnl.c (__jnl, __ynl): Likewise.
85533 * math/w_lgammal.c (__lgammal): Likewise.
85534 * math/w_log10l.c (__log10l): Likewise.
85535 * math/w_log2l.c (__log2l): Likewise.
85536 * math/w_logl.c (__logl): Likewise.
85537 * math/w_powl.c (__powl): Likewise.
85538 * math/w_remainderl.c (__remainderl): Likewise.
85539 * math/w_scalbl.c (sysv_scalbl): Likewise.
85540 * math/w_sinhl.c (__sinhl): Likewise.
85541 * math/w_sqrtl.c (__sqrtl): Likewise.
85542 * math/w_tgammal.c (__tgammal): Likewise.
85543 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85544 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85545 * math/libm-test.inc (acos_test): Add more tests.
85546 (acosh_test): Likewise.
85547 (asin_test): Likewise.
85548 (atanh_test): Likewise.
85549 (exp_test): Likewise.
85550 (exp10_test): Likewise.
85551 (exp2_test): Likewise.
85552 (expm1_test): Likewise.
85553 (lgamma_test): Likewise.
85554 (log_test): Likewise.
85555 (log10_test): Likewise.
85556 (log1p_test): Likewise.
85557 (log2_test): Likewise.
85558 (pow_test): Do not allow some spurious overflow exceptions.
85559 (sqrt_test): Add more tests.
85560 (tgamma_test): Likewise.
85561 (y0_test): Likewise.
85562 (y1_test): Likewise.
85563 (yn_test): Likewise.
85564
85565 2012-03-27 Anton Blanchard <anton@samba.org>
85566
85567 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85568 MAP_HUGETLB.
85569 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85570 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85572
85573 2012-03-27 David S. Miller <davem@davemloft.net>
85574
85575 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85576
85577 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85578 have-as-vis3 check.
85579
85580 2012-03-27 Andreas Jaeger <aj@suse.de>
85581
85582 * sysdeps/x86_64/elf/configure.in: Moved to ...
85583 * sysdeps/x86_64/configure.in: ... here.
85584 * sysdeps/x86_64/elf/start.S: Moved to ...
85585 * sysdeps/x86_64/start.S: ... here.
85586 * sysdeps/x86_64/elf/configure: Delete.
85587
85588 * sysdeps/x86_64/configure.in: Merge contents from
85589 sysdeps/i386/configure.in (without i686 check).
85590
85591 * sysdeps/i386/elf/Versions: Merge into ...
85592 * sysdeps/i386/Versions: ... this.
85593 * sysdeps/i386/elf/Versions: Delete file.
85594 * sysdeps/i386/elf/start.S: Moved to ...
85595 * sysdeps/i386/start.S: ...here.
85596 * sysdeps/i386/elf/configure.in: Merge into...
85597 * sysdeps/i386/configure.in: ...here.
85598 * sysdeps/i386/elf/configure.in: Delete file.
85599 * sysdeps/i386/elf/configure: Delete file.
85600
85601 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85602 * debug/backtracesyms.c: ... here.
85603 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85604 * debug/backtracesymsfd.c: ... here.
85605 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85606 * sysdeps/generic/ifunc-sel.h: ... here.
85607
85608 * sysdeps/unix/i386/start.c: Delete file.
85609 * sysdeps/unix/sparc/start.c: Delete file.
85610 * sysdeps/unix/start.c: Delete file.
85611
85612 * sysdeps/sh/elf/configure.in: Moved to ...
85613 * sysdeps/sh/configure.in: ... here.
85614 * sysdeps/sh/elf/start.S: Moved to ...
85615 * sysdeps/sh/start.S: ... here.
85616 * sysdeps/sh/elf/configure: Delete file.
85617
85618 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85619 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85620 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85621 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85622 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85623 * sysdeps/powerpc/powerpc64/start.S: here.
85624 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85625 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85626 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85627 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85628 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85629
85630 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85631 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85632 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85633 * sysdeps/powerpc/powerpc32/start.S: ... here.
85634 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85635 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85636 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85637
85638 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85639 * sysdeps/powerpc/ifunc-sel.h: ... here.
85640 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85641 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85642
85643 * sysdeps/sparc/elf/configure.in: Moved to ...
85644 * sysdeps/sparc/configure.in: ... here.
85645 * sysdeps/sparc/elf/configure: Delete file.
85646 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85647 * sysdeps/sparc/sparc32/start.S: ... here.
85648 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85649 * sysdeps/sparc/sparc64/start.S: ... here.
85650 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85651 * sysdeps/sparc/sparc32/Makefile: ... this.
85652 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85653 * sysdeps/sparc/sparc64/Makefile: ... this.
85654
85655 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85656 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85657 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85658 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85659 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85660 * sysdeps/s390/s390-32/setjmp.S: ... here.
85661 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85662 * sysdeps/s390/s390-32/configure.in: ... here.
85663 * sysdeps/s390/s390-32/elf/configure: Delete file.
85664 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85665 * sysdeps/s390/s390-32/start.S: ... here.
85666
85667 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85668 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85669 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85670 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85671 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85672 * sysdeps/s390/s390-64/setjmp.S: ... here.
85673 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85674 * sysdeps/s390/s390-64/configure.in: ... here
85675 * sysdeps/s390/s390-64/elf/configure: Delete file.
85676 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85677 * sysdeps/s390/s390-64/start.S: ... here.
85678 * sysdeps/s390/s390-64/elf/configure: Delete.
85679
85680 * configure.in: Remove support for elf directories in sysdeps.
85681
85682 * configure: Regenerated.
85683 * sysdeps/i386/configure: Regenerated.
85684 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85685 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85686 * sysdeps/s390/s390-32/configure: Regenerated.
85687 * sysdeps/s390/s390-64/configure: Regenerated.
85688 * sysdeps/sh/configure: Regenerated.
85689 * sysdeps/sparc/configure: Regenerated.
85690 * sysdeps/x86_64/configure: Regenerated.
85691
85692 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85693
85694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85695
85696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85697 denormal result into account.
85698
85699 2012-03-25 Roland McGrath <roland@hack.frob.com>
85700
85701 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85702 Reported by Allan McRae <allan@archlinux.org>.
85703
85704 2012-03-23 Jeff Law <law@redhat.com>
85705
85706 * nss/getnssent.c (__nss_getent): Fix typo.
85707
85708 2012-03-23 David S. Miller <davem@davemloft.net>
85709
85710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85711
85712 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85713
85714 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85715 to pad to uint64_t for each field.
85716 (dl_tls_index): Replace unsigned long with uint64_t.
85717
85718 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85719 Paul Pluzhnikov <ppluzhnikov@google.com>
85720
85721 [BZ #6528]
85722 * grp/Makefile (otherlibs): Don't set it.
85723 * inet/Makefile (otherlibs): Likewise.
85724 * login/Makefile (otherlibs): Likewise.
85725 * nscd/Makefile (otherlibs): Likewise.
85726 * posix/Makefile (otherlibs): Likewise.
85727 * pwd/Makefile (otherlibs): Likewise.
85728 * rt/Makefile (otherlibs): Likewise.
85729 * sunrpc/Makefile (otherlibs): Likewise.
85730 * nss/Makefile (otherlibs): Likewise.
85731 Add libnss_files to routines and static-only-routines.
85732 ($(objpfx)getent): Remove rule.
85733 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85734 static-only-routines.
85735
85736 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85737
85738 [BZ #13892]
85739 * math/s_cexp.c: Include <float.h>.
85740 (__cexp): Handle exp result overflowing not necessarily
85741 overflowing both real and imaginary parts of result.
85742 * math/s_cexpf.c: Likewise.
85743 * math/s_cexpl.c: Likewise.
85744 * math/libm-test.inc (cexp_test): Add more tests.
85745 * sysdeps/i386/fpu/libm-test-ulps: Update.
85746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85747
85748 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85749
85750 * include/link.h (ELFW): New macro.
85751 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85752 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85753
85754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85755
85756 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85757 with uint64_t.
85758
85759 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85760
85761 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85762 declaration.
85763 (struct La_x32_retval): Likewise.
85764
85765 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85766
85767 * sysdeps/x86_64/preconfigure.in: New file.
85768 * sysdeps/x86_64/preconfigure: New generated file.
85769
85770 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85771
85772 [BZ #13824]
85773 * math/e_exp2l.c: Include <float.h>.
85774 (__ieee754_exp2l): Handle overflow and underflow cases
85775 separately. Only pass fractional part of argument to
85776 __ieee754_expl.
85777 * math/libm-test.inc (exp2_test): Add more tests.
85778
85779 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85780 negating x to take absolute value.
85781 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85782 Likewise.
85783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85785 Likewise.
85786 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85787 computing low part if x was negated.
85788 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85789
85790 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85791
85792 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85793 la_x32_gnu_pltexit.
85794 (pltexit): Cast int_retval to ptrdiff_t.
85795 * elf/tst-auditmod3b.c: Likewise.
85796 * elf/tst-auditmod4b.c: Likewise.
85797 * elf/tst-auditmod5b.c: Likewise.
85798 * elf/tst-auditmod6b.c: Likewise.
85799 * elf/tst-auditmod6c.c: Likewise.
85800 * elf/tst-auditmod7b.c: Likewise.
85801
85802 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85803 and x32_gnu_pltexit.
85804
85805 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85806 __ELF_NATIVE_CLASS.
85807 (La_x32_regs): New macro.
85808 (La_x32_retval): Likewise.
85809 (la_x32_gnu_pltenter): New function prototype.
85810 (la_x32_gnu_pltexit): Likewise.
85811
85812 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85813
85814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85815 exponent.
85816
85817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85818
85819 * configure.in (libc_cv_cc_nofma): Check for option to disable
85820 generation of FMA instructions.
85821 * configure: Regenerate.
85822 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85823 * sysdeps/ieee754/dbl-64/Makefile: New file.
85824 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85825 Remove brandred-fma4.
85826 (CFLAGS-brandred-fma4.c): Remove.
85827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85828 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85829 define.
85830 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85831 define.
85832
85833 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85834
85835 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85836 LLONG_MAX != LONG_MAX.
85837 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85838 (_fitoa_word): Likewise.
85839 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85840 LLONG_MAX != LONG_MAX.
85841 * stdio-common/_itowa.h: Include <_itoa.h>.
85842 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85843 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85844 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85845 only if not defined.
85846 (_ITOA_WORD_TYPE): Likewise.
85847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85848 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85849
85850 2012-03-21 David S. Miller <davem@davemloft.net>
85851
85852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85853
85854 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85855
85856 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85857 of x86_64 when setting libc_cv_slibdir, libdir and
85858 libc_cv_localedir.
85859 * sysdeps/unix/sysv/linux/configure: Regenerated.
85860
85861 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85862
85863 * manual/lang.texi (Old Varargs): Remove section.
85864 (How Variadic): Update menu.
85865 (va_start): Do not mention varargs.h.
85866
85867 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85868 Joseph Myers <joseph@codesourcery.com>
85869
85870 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85871 link test.
85872 * configure: Regenerated.
85873
85874 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85875
85876 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85877 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85878 conformtest.pl
85879
85880 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85881
85882 * NOTES: Remove.
85883 * Makefile (files-for-dist): Remove NOTES.
85884 (NOTES): Remove rule.
85885 * README: Don't refer to NOTES.
85886 * manual/creature.texi: Don't include macros.texi.
85887 * manual/intro.texi (creature.texi): Remove comment referring to
85888 NOTES.
85889
85890 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85891 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85892 * configure: Regenerated.
85893 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85894 LIBC_TRY_CC_OPTION.
85895 (libc_cv_as_i686): Likewise.
85896 (libc_cv_cc_avx): Likewise.
85897 (libc_cv_cc_sse2avx): Likewise.
85898 (libc_cv_cc_fma4): Likewise.
85899 (libc_cv_cc_novzeroupper): Likewise.
85900 * sysdeps/i386/configure: Regenerated.
85901
85902 [BZ #13883]
85903 * sysdeps/i386/fpu/s_cexp.S: Remove.
85904 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85905 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85906 * math/libm-test.inc (cexp_test): Add more tests.
85907 * sysdeps/i386/fpu/libm-test-ulps: Update.
85908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85909
85910 2012-03-21 Allan McRae <allan@archlinux.org>
85911
85912 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85913
85914 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85915
85916 [BZ #13871]
85917 * math/w_exp2.c: Do not include <float.h>.
85918 (o_threshold, u_threshold): Remove.
85919 (__exp2): Calculate result before checking finiteness and calling
85920 __kernel_standard.
85921 * math/w_exp2f.c: Likewise.
85922 * math/w_exp2l.c: Likewise.
85923 * math/libm-test.inc (exp2_test): Require overflow exception for
85924 1e6 input.
85925
85926 [BZ #3866]
85927 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85928 range of signed 64-bit integers before using fistpll. Remove
85929 checks for whether integers fit in mantissa bits.
85930 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85931 the range of signed 32-bit integers before using fistpl. Remove
85932 checks for whether integers fit in mantissa bits.
85933 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85934 (__ieee754_powl): Test for y outside the range of signed 64-bit
85935 integers before using fistpll. Reduce 64-bit values to 63-bit
85936 ones as needed.
85937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85938 divide-by-zero is raised for zero to large negative powers.
85939 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85940 (__ieee754_powl): Test for y outside the range of signed 64-bit
85941 integers before using fistpll. Reduce 64-bit values to 63-bit
85942 ones as needed.
85943 * math/libm-test.inc (pow_test): Add more tests.
85944
85945 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85946
85947 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85948 <stdio-common/_itoa.h>.
85949 * debug/segfault.c: Likewise.
85950 * elf/dl-cache.c: Likewise.
85951 * elf/dl-minimal.c: Likewise.
85952 * elf/dl-misc.c: Likewise.
85953 * elf/dl-sysdep.c: Likewise.
85954 * elf/dl-version.c: Likewise.
85955 * elf/rtld.c: Likewise.
85956 * hurd/hurdsock.c: Likewise.
85957 * hurd/lookup-retry.c: Likewise.
85958 * malloc/malloc.c: Likewise.
85959 * malloc/mtrace.c: Likewise.
85960 * nscd/nscd_getgr_r.c: Likewise.
85961 * nscd/nscd_getpw_r.c: Likewise.
85962 * nscd/nscd_getserv_r.c: Likewise.
85963 * posix/getopt_init.c: Likewise.
85964 * posix/wordexp.c: Likewise.
85965 * stdio-common/_itoa.c: Likewise.
85966 * stdio-common/printf_fphex.c: Likewise.
85967 * stdio-common/vfprintf.c: Likewise.
85968 * string/_strerror.c: Likewise.
85969 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85970 * sysdeps/i386/i686/hp-timing.h: Likewise.
85971 * sysdeps/mach/_strerror.c: Likewise.
85972 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85973 * sysdeps/mach/hurd/sethostid.c: Likewise.
85974 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85975 * sysdeps/mach/xpg-strerror.c: Likewise.
85976 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85977 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85978 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85979 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85980 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85981 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85982 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85983 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85984 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85985 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85986 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85987 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85988 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85989 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85990 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85991 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85992 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85993 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85994 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85995 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85996 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85997
85998 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85999
86000 * stdio-common/_itoa.h: Moved to ...
86001 * sysdeps/generic/_itoa.h: Here.
86002
86003 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86004
86005 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86006 instead of "_itoa.h" and "_itowa.h".
86007 * stdio-common/vfprintf.: Likewise.
86008
86009 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86010
86011 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86012 <bits/wordsize.h>.
86013 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86014 (__signbit): Likewise.
86015 (llrintf): Likewise.
86016 (llrint): Likewise.
86017
86018 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86019
86020 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86021 __WORDSIZE != 64.
86022
86023 2012-03-20 Joseph Myers <joseph@codesourcery.com>
86024
86025 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86026 OVERFLOW_EXCEPTION_OK.
86027 * math/libm-test.inc ("Philosophy"): Update comment about
86028 exception testing.
86029 (OVERFLOW_EXCEPTION): Define.
86030 (OVERFLOW_EXCEPTION_OK): Likewise.
86031 (INVALID_EXCEPTION_OK): Renumber.
86032 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86033 (IGNORE_ZERO_INF_SIGN): Likewise.
86034 (test_exceptions): Handle FE_OVERFLOW.
86035 (exp10_test): Expect overflow exceptions.
86036 (exp2_test): Likewise.
86037 (expm1_test): Likewise.
86038 (nextafter_test): Likewise.
86039 (pow_test): Likewise.
86040 (scalbn_test): Likewise.
86041 (scalbln_test): Likewise.
86042
86043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86044
86045 * sysdeps/x86_64/bits/atomic.h
86046 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86047 64bit integer.
86048 (atomic_exchange_acq): Likewise.
86049 (__arch_exchange_and_add_body): Likewise.
86050 (__arch_add_body): Likewise.
86051 (atomic_add_negative): Likewise.
86052 (atomic_add_zero): Likewise.
86053
86054 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86055
86056 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86057 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86058
86059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86060
86061 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86062 Check __x86_64__ instead of __WORDSIZE.
86063
86064 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86065
86066 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86067
86068 2012-03-19 David S. Miller <davem@davemloft.net>
86069
86070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86071
86072 * sysdeps/sparc/fpu/fenv_private.h: New file.
86073 * sysdeps/sparc/fpu/math_private.h: Use it.
86074 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86075 Remove.
86076 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86077 (libc_feholdexcept_setroundl): Remove.
86078 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86079 Remove.
86080 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86081 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86082
86083 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86084
86085 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86086 int64_t instead of long int.
86087 (INSERT_WORDS64): Likewise.
86088
86089 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86090
86091 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86092 _Unwind_GetCFA return to _Unwind_Ptr first.
86093
86094 2012-03-19 Joseph Myers <joseph@codesourcery.com>
86095
86096 [BZ #13629]
86097 * math/s_clog.c: Include <float.h>.
86098 (__clog): Scale large or subnormal inputs.
86099 * math/s_clogf.c: Likewise.
86100 * math/s_clogl.c: Likewise.
86101 * math/s_clog10.c: Include <float.h>.
86102 (M_LOG10_2): Define.
86103 (__clog10): Scale large or subnormal inputs.
86104 * math/s_clog10f.c: Likewise.
86105 * math/s_clog10l.c: Likewise.
86106 * math/libm-test.inc (clog_test): Add more tests.
86107 (clog10_test): Likewise.
86108 * sysdeps/i386/fpu/libm-test-ulps: Update.
86109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86110
86111 [BZ #11451]
86112 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86113 x and y.
86114 * math/libm-test.inc (atan2_test): Add another test.
86115
86116 * Makerules (common-objdir-compile): Remove.
86117 * sysdeps/unix/Makefile (config-generated): Do not add
86118 $(unix-generated) to variable.
86119 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86120 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86121 Remove rule.
86122 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86123 Likewise.
86124 [generic bits/local_lim.h] (before-compile): Do not append to
86125 variable.
86126 [generic bits/local_lim.h] (common-generated): Likewise.
86127 [generic sys/param.h] (before-compile): Do not append to variable.
86128 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86129 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86130 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86131 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86132 include.
86133 [generic sys/param.h] (sys/param.h-includes): Remove variable.
86134 [generic sys/param.h] (sys/param.h-includes): Remove rule.
86135 [generic sys/param.h] ($(addprefix
86136 $(common-objpfx),$(sys/param.h-includes))): Likewise.
86137 [generic sys/param.h] (common-generated): Do not append to
86138 variable.
86139 [generic sys/param.h] (sysdep_headers): Likewise.
86140 [generic bits/errno.h] (before-compile): Do not append to
86141 variable.
86142 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86143 rule.
86144 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86145 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86146 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86147 [generic bits/errno.h] (common-generated): Do not append to
86148 variable.
86149 [generic bits/ioctls.h] (before-compile): Do not append to
86150 variable.
86151 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86152 rule.
86153 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86154 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86155 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86156 rule.
86157 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86158 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86159 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86160 [generic bits/ioctls.h] (common-generated): Do not append to
86161 variable.
86162 [generic sys/syscall.h] (syscall.h): Remove variable.
86163 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86164 rule.
86165 [generic sys/syscall.h] (before-compile): Do not append to
86166 variable.
86167 [generic sys/syscall.h] (common-generated): Likewise.
86168 * sysdeps/unix/errnos-tmpl.c: Remove file.
86169 * sysdeps/unix/errnos.awk: Likewise.
86170 * sysdeps/unix/ioctls-tmpl.c: Likewise.
86171 * sysdeps/unix/ioctls.awk: Likewise.
86172 * sysdeps/unix/mk-local_lim.c: Likewise.
86173 * sysdeps/unix/snarf-ioctls: Likewise.
86174
86175 2012-03-19 Richard Henderson <rth@twiddle.net>
86176
86177 * sysdeps/i386/fpu/fenv_private.h: New file.
86178 * sysdeps/i386/fpu/math_private.h: Use it.
86179 (math_opt_barrier, math_force_eval): Remove.
86180 (libc_feholdexcept_setround_53bit): Remove.
86181 (libc_feupdateenv_53bit): Remove.
86182 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86183 (math_opt_barrier, math_force_eval): Remove.
86184 (libc_feholdexcept): Remove.
86185 (libc_feholdexcept_setround): Remove.
86186 (libc_fetestexcept, libc_fesetenv): Remove.
86187 (libc_feupdateenv_test): Remove.
86188 (libc_feupdateenv, libc_feholdsetround): Remove.
86189 (libc_feresetround): Remove.
86190
86191 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86192 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86193
86194 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86195 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86196 (libc_feupdateenv_testl): New.
86197 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86198 (libc_feupdateenv_testf): New.
86199 (libc_feupdateenv): Use libc_feupdateenv_test.
86200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86202
86203 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86204 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86205 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86206 (libc_feresetround_noex): New.
86207 (libc_feresetround_noexf): New.
86208 (libc_feresetround_noexl): New.
86209 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86210 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86211 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86212 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86213 SET_RESTORE_ROUND.
86214 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86216 (__cos): Likewise.
86217 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86219 SET_RESTORE_ROUND_NOEX.
86220 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86221 SET_RESTORE_ROUND_NOEXF.
86222 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86223 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86224 (libc_feholdsetroundf): New.
86225 (libc_feresetround, libc_feresetroundf): New.
86226
86227 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86228 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86229 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86230
86231 * sysdeps/generic/math_private.h: Include <fenv.h>.
86232 (default_libc_feholdexcept): New.
86233 (default_libc_feholdexcept_setround): New.
86234 (default_libc_fesetenv, default_libc_feupdateenv): New.
86235 (libc_feholdexcept): Only define if undefined.
86236 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86237 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86238 (libc_feholdexcept_setroundl): Likewise.
86239 (libc_feholdexcept_setround_53bit): Likewise.
86240 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86241 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86242 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86243 (libc_feupdateenv_53bit): Likewise.
86244 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86245 (libc_feholdexcept): Convert from macro to inline function.
86246 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86247 (libc_fesetenv, libc_feupdateenv): Likewise.
86248
86249 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86250 not previously defined.
86251 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86252 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86253 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86254 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86255 * sysdeps/ieee754/flt-32/math_private.h: New file.
86256 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86257 math_private.h below SET_FLOAT_WORD.
86258 (__isnan, __isinf_ns, __finite): Remove.
86259 (__isnanf, __isinf_nsf, __finitef): Remove.
86260
86261 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86262
86263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86264
86265 2012-03-17 David S. Miller <davem@davemloft.net>
86266
86267 [BZ #6471]
86268 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86269 for 2.16.
86270
86271 2012-03-16 David S. Miller <davem@davemloft.net>
86272
86273 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86274 warnings.
86275
86276 [BZ #6471]
86277 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86278 properly.
86279 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86280 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86281 sysdep_routines when subdir is sysvipc.
86282 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86283 __getshmlba helper.
86284
86285 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86286
86287 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86288
86289 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86290 [__LP64__].
86291
86292 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86293
86294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86295 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86296 (__lround): Renamed to ...
86297 (__llround): This. Replace long int with long long int.
86298 Define lround functions as aliases of llround functions.
86299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86300
86301 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86302
86303 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86304 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86305 adresses to uintptr_t. Replace "long int" and "unsigned long
86306 int" with "greg_t" on va_arg.
86307
86308 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86309
86310 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86311 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86312
86313 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86314 Move e_machine check before EI_CLASS check. Handle x32
86315 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86316 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86317 SKIP_EM_IA_64 and include
86318 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86319
86320 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86321 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86322 (add_system_dir): New macro.
86323
86324 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86325 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86326
86327 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86328
86329 [BZ #2551]
86330 [BZ #2552]
86331 [BZ #2553]
86332 [BZ #2554]
86333 [BZ #2562]
86334 [BZ #2563]
86335 [BZ #2565]
86336 [BZ #2566]
86337 [BZ #2576]
86338 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86339 (y0): Likewise.
86340 * math/w_j0f.c (j0f): Likewise.
86341 (y0f): Likewise.
86342 * math/w_j0l.c (__j0l): Likewise.
86343 (__y0l): Likewise.
86344 * math/w_j1.c (j1): Likewise.
86345 (y1): Likewise.
86346 * math/w_j1f.c (j1f): Likewise.
86347 (y1f): Likewise.
86348 * math/w_j1l.c (__j1l): Likewise.
86349 (__y1l): Likewise.
86350 * math/w_jn.c (jn): Likewise.
86351 (yn): Likewise.
86352 * math/w_jnf.c (jnf): Likewise.
86353 (ynf): Likewise.
86354 * math/w_jnl.c (__jnl): Likewise.
86355 (__ynl): Likewise.
86356 * math/libm-test.inc (j0_test): Add more tests.
86357 (j1_test): Likewise.
86358 (jn_test): Likewise. Add trailing semicolon to existing test.
86359 (y0_test): Likewise.
86360 (y1_test): Likewise.
86361 * sysdeps/i386/fpu/libm-test-ulps: Update.
86362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86363
86364 [BZ #13851]
86365 [BZ #13854]
86366 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86367 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86368 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86369 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86370 (__tanl): Set errno for infinite argument.
86371 * sysdeps/i386/fpu/mptan.c: Remove.
86372 * sysdeps/i386/fpu/s_tan.S: Likewise.
86373 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86374 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86375 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86376 * math/libm-test.inc (tan_test): Add more tests and enable more
86377 tests for double and long double.
86378 * sysdeps/i386/fpu/libm-test-ulps: Update.
86379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86380
86381 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86382
86383 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86384 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86385
86386 2012-03-16 Roland McGrath <roland@hack.frob.com>
86387
86388 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86389 * configure.in: Use it for both main tree and add-ons.
86390 * configure: Regenerated.
86391
86392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86393
86394 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86395
86396 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86397
86398 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86399 in comment.
86400
86401 [BZ #13851]
86402 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86403 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86404 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86405 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86406 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86407 infinite argument.
86408 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86409 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86410 != 0 for prec == 2.
86411 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86412 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86413 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86414 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86415 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86416 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86417 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86418 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86419 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86420 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86421 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86422 * math/libm-test.inc (cos_test): Add more tests and enable more
86423 tests for long double.
86424 (sin_test): Likewise.
86425 (sincos_test): Likewise.
86426 * sysdeps/i386/fpu/libm-test-ulps: Update.
86427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86428
86429 2012-03-16 David S. Miller <davem@davemloft.net>
86430
86431 * sysdeps/sparc/fpu/math_private.h: New file.
86432
86433 2012-03-15 David S. Miller <davem@davemloft.net>
86434
86435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86436 file.
86437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86439 file.
86440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86446 sysdep routines.
86447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86448
86449 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86450 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86451
86452 * sysdeps/sparc/sparc-ifunc.h: New file.
86453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86454 sparc-ifunc.h
86455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86457 Likewise.
86458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86459 Likewise.
86460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86464 Likewise.
86465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86470 Likewise.
86471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86472 Likewise.
86473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86495 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86496 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86497
86498 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86499
86500 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86501 scaling.
86502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86503
86504 2012-03-15 Andreas Jaeger <aj@suse.de>
86505
86506 [BZ #13852]
86507 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86508 ieee754/flt-32 implementation for sin, cos and sincos.
86509 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86510 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86511 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86512 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86513 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86514 ieee754/flt-32 implementation for tan.
86515
86516 * math/libm-test.inc (cos_test): Enable some large input tests for
86517 float as well
86518 (sin_test): Likewise.
86519 (sincos_test): Likewise.
86520 (tan_test): Add tests for large input.
86521
86522 * sysdeps/i386/fpu/libm-test-ulps: Update.
86523
86524 2012-03-15 Andreas Jaeger <aj@suse.de>
86525
86526 [BZ #13658]
86527 * math/libm-test.inc (cos_test): Add more test cases.
86528 (sin_test): Likewise.
86529 (sincos_test): Likewise.
86530
86531 2012-03-15 Andreas Jaeger <aj@suse.de>
86532
86533 [BZ #13837]
86534 * math/libm-test.inc (cos_test): Add a test case for large input
86535 value.
86536 (sin_test): Likewise.
86537 (sincos_test): Likewise.
86538
86539 2012-03-15 Andreas Jaeger <aj@suse.de>
86540 Joseph Myers <joseph@codesourcery.com>
86541
86542 [BZ #13658]
86543 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86544 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86545 * sysdeps/i386/fpu/branred.c: Likewise.
86546 * sysdeps/i386/fpu/dosincos.c: Likewise.
86547 * sysdeps/i386/fpu/mpa.c: Likewise.
86548 * sysdeps/i386/fpu/s_cos.S: Likewise.
86549 * sysdeps/i386/fpu/s_sin.S: Likewise.
86550 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86551 * sysdeps/i386/fpu/sincos32.c: Likewise.
86552
86553 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86554 Define.
86555 (libc_feupdateenv_53bit): Define.
86556 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86557 Define.
86558 (libc_feupdateenv_53bit): Define.
86559
86560 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86561 53 bit (without extend i386 double precision).
86562
86563 * math/libm-test.inc (sincos_test): Add tests for large input.
86564 (sin): Likewise.
86565 (cos): Likewise.
86566
86567 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86568
86569 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86570
86571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86572
86573 2012-03-15 David S. Miller <davem@davemloft.net>
86574
86575 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86576 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86577 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86578 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86591 file.
86592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86594 file.
86595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86597 file.
86598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86600 file.
86601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86603 fmin/fmax sysdep routines.
86604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86605
86606 2012-03-14 David S. Miller <davem@davemloft.net>
86607
86608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86637 routines.
86638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86639 file.
86640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86642 file.
86643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86645 file.
86646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86648 file.
86649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86651 file.
86652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86654 file.
86655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86656 file.
86657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86658 file.
86659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86660 file.
86661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86662 New file.
86663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86664 file.
86665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86666 file.
86667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86669 file.
86670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86672 file.
86673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86675 file.
86676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86678 VIS3 routines.
86679
86680 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86681 New file.
86682
86683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86684
86685 * sysdeps/sparc/configure.in: New file.
86686 * sysdeps/sparc/configure: Generate.
86687 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86688 * configure: Regenerate.
86689 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86690 * config.make.in (have-as-vis3): New.
86691 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86692 available use -Av9d instead of -Av9a.
86693 * sysdeps/sparc/sparc64/Makefile: Likewise.
86694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86696 New file.
86697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86698 file.
86699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86700 New file.
86701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86702 file.
86703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86708
86709 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86710 fzeros/fnegs to load 0x80000000 into a float register instead of
86711 using the stack.
86712 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86713
86714 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86715
86716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86717 bits/syscall.h.
86718 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86719 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86720 ($(inst_includedir)/bits/syscall.h): Remove rule.
86721 ($(objpfx)bits/syscall.d): Include instead of
86722 $(objpfx)syscall-list.d.
86723 (generated): Change syscall-list.h and syscall-list.d to
86724 bits/syscall.h and bits/syscall.d.
86725
86726 2012-03-14 Roland McGrath <roland@hack.frob.com>
86727
86728 [BZ #13846]
86729 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86730
86731 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86732
86733 [BZ #13841]
86734 * math/s_csqrt.c: Include <float.h>.
86735 (__csqrt): Scale large or subnormal inputs.
86736 * math/s_csqrtf.c: Likewise.
86737 * math/s_csqrtl.c: Likewise.
86738 * math/libm-test.inc (csqrt_test): Add more tests.
86739 * sysdeps/i386/fpu/libm-test-ulps: Update.
86740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86741
86742 [BZ #13840]
86743 * math/libm-test.inc (hypot_test): Add more tests.
86744
86745 2012-03-13 David S. Miller <davem@davemloft.net>
86746
86747 [BZ #13840]
86748 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86749 double-precision for the calculation instead of scaling.
86750
86751 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86752
86753 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86754 manipulate bits before adding and subtracting TWO52[sx].
86755 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86756 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86757 Likewise.
86758 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86759
86760 2012-03-13 David S. Miller <davem@davemloft.net>
86761
86762 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86763 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86765 rtld-global-offsets.h
86766 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86767
86768 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86769 large parameters.
86770
86771 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86772
86773 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86774 'err' in the ifdef scope in which it is actually used.
86775
86776 * nss/nss_db/db-init.c: Include string.h
86777
86778 2012-03-12 David S. Miller <davem@davemloft.net>
86779
86780 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86781 masking out of the most significant byte of random value used.
86782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86783 Fix coding style in previous change.
86784
86785 * sysdeps/unix/sysv/linux/kernel-features.h
86786 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86787 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86788 expression.
86789 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86790 later.
86791
86792 2012-03-11 David S. Miller <davem@davemloft.net>
86793
86794 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86795 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86797 for 'resultvar' otherwise things get truncated on 64-bit.
86798
86799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86800 Fix masking out of the most significant byte of random value used.
86801
86802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86803
86804 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86805
86806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86807
86808 2012-03-09 David S. Miller <davem@davemloft.net>
86809
86810 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86811 variables with appropriate CPP guards.
86812 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86813 from the frame pointer, not the stack pointer. Correct layout
86814 comments. Fix test on resulting framesize and the management of
86815 the outregs buffer for pltexit. Preserve floating point return
86816 values across _dl_call_pltexit call.
86817 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86818 framesize and the management of the outregs buffer for pltexit.
86819 Preserve floating point return values across _dl_call_pltexit
86820 call.
86821 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86822 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86823 (la_sparc64_gnu_pltexit): New functions.
86824 (print_exit): Fix format string for return register value.
86825
86826 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86827
86828 * sunrpc/Makefile (others): Add rpcgen.
86829 ($(objpfx)rpcgen): Remove special build rule and dependency on
86830 libc.
86831 * sunrpc/rpcgen.c: New file.
86832
86833 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86834
86835 [BZ #13673]
86836 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86837 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86838 * sysdeps/i386/crti.S: Likewise.
86839 * sysdeps/i386/crtn.S: Likewise.
86840 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86841 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86842 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86843 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86844 * sysdeps/sh/crti.S: Likewise.
86845 * sysdeps/sh/crtn.S: Likewise.
86846 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86847
86848 [BZ #13673]
86849 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86850 with URL.
86851 * locale/programs/locfile-kw.gperf: Likewise.
86852 * locale/programs/charmap-kw.h: Regenerated.
86853 * locale/programs/locfile-kw.h: Likewise.
86854
86855 [BZ #13673]
86856 * intl/plural.y: Replace FSF snail mail address with URL.
86857 * intl/plural.c: Regenerated.
86858
86859 2012-03-09 Richard Henderson <rth@twiddle.net>
86860
86861 * include/math_private.h: Remove file.
86862 * math/math_private.h: Move file ...
86863 * sysdeps/generic/math_private.h: ... here.
86864
86865 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86866 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86867 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86868
86869 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86870 and <math_private.h>.
86871 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86872 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86873 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86874 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86875 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86876 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86877 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86879 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86880 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86882 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86883 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86885 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86886 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86887 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86888 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86889 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86890 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86892 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86893 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86895 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86896 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86897 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86898 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86899 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86900 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86901 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86902 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86903 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86904 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86905 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86906 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86908 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86909 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86910 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86911 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86914 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86915 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86916 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86917 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86918 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86919 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86920 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86921 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86922 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86923 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86924 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86925 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86926 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86927 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86928 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86929 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86930 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86931 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86932 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86934 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86935 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86939 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86940 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86943 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86945 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86946 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86950 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86951 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86952 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86953 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86954 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86955 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86958 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86959 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86960 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86961 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86962 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86964 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86965 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86966 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86967 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86968 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86969 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86970 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86971 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86972 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86973 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86974 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86976 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86977 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86978 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86979 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86980 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86981 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86982 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86983 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86984 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86985 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86988 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86990 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86991 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86992 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86993 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86994 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86995 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86996 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86997 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86998 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86999 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87000 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87001 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87002 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87003 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87004 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87005 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87006 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87007 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87008 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87009 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87010 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87011 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87012 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87013 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87014 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87015 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87016 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87017 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87018 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87019 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87020 * sysdeps/ieee754/k_standard.c: Likewise.
87021 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87022 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87023 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87024 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87025 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87026 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87027 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87028 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87029 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87030 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87031 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87032 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87033 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87034 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87035 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87036 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87037 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87038 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87039 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87040 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87041 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87042 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87043 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87044 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87045 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87046 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87047 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87048 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87049 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87050 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87051 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87052 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87053 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87054 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87055 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87058 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87059 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87060 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87061 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87062 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87063 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87064 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87065 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87066 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87067 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87069 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87070 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87071 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87072 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87073 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87074 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87077 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87078 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87079 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87080 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87081 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87082 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87083 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87091 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87093 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87098 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87103 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87104 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87105 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87106 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87107 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87108 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87109 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87111 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87112 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87113 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87114 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87115 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87116 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87117 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87118 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87119 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87120 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87121 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87122 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87123 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87124 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87125 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87126 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87127 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87128 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87129 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87130 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87131 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87132 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87133 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87134 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87135 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87136 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87137 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87138 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87139 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87140 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87142 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87143 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87144 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87146 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87147 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87148 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87149 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87150 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87151 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87152 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87153 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87154 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87155 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87157 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87158 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87159 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87160 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87161 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87162 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87163 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87164 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87165 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87167 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87170 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87171 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87172 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87173 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87174 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87175 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87176 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87177 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87178 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87179 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87180 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87181 * sysdeps/ieee754/s_lib_version.c: Likewise.
87182 * sysdeps/ieee754/s_matherr.c: Likewise.
87183 * sysdeps/ieee754/s_signgam.c: Likewise.
87184 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87185 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87186 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87187 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87188 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87189 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87190 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87191 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87192 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87193 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87194 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87195 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87196 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87197 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87198 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87199 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87200 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87201 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87202 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87205
87206 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87207
87208 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87209 * sunrpc/rpc_main.c: Likewise.
87210 * sunrpc/rpc_svcout.c: Likewise.
87211
87212 2012-03-09 David S. Miller <davem@davemloft.net>
87213
87214 * include/math_private.h: New file.
87215
87216 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87217
87218 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87219 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87220 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87221 from <bits/socket_type.h>.
87222 (enum __socket_type): Don't define here.
87223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87225 bits/socket_type.h.
87226
87227 [BZ #13566]
87228 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87229 checking __USE_GNU.
87230
87231 * Makerules ($(inst_includedir)/%.h): New rule.
87232 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87233 (install-others): Remove variable setting.
87234 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87235
87236 2012-03-08 Richard Henderson <rth@twiddle.net>
87237
87238 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87239 from macro to inline function; merge with the
87240 !__LIBC_INTERNAL_MATH_INLINES version.
87241 (__ieee754_sqrtf): Likewise.
87242
87243 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87244 to inline function.
87245 (__rintf, __floor, __floorf): Likewise.
87246
87247 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87248 macro to inline function.
87249 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87250
87251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87252 not <math/math_private.h>.
87253
87254 2012-03-08 David S. Miller <davem@davemloft.net>
87255
87256 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87257 copyright year.
87258 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87259
87260 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87261
87262 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87263 normalization.
87264 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87265 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87266
87267 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87268
87269 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87270 be defined individually, they must be defined as a block. Define
87271 S for printing a string instead of hidint the different by using a
87272 macro for adding the 'l'.
87273 * stdio-common/tst-fphex-wide.c: Adjust.
87274
87275 2012-03-07 Marek Polacek <polacek@redhat.com>
87276
87277 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87278
87279 2012-03-08 Marek Polacek <polacek@redhat.com>
87280
87281 [BZ #13806]
87282 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87283 * stdio-common/tst-fphex.c: Define a few macros to make the
87284 test reusable. Use them.
87285 * stdio-common/tst-fphex-wide.c: New file.
87286
87287 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87288
87289 [BZ #6911]
87290 * manual/macros.texi (gnusystems): New macro.
87291 (nongnusystems): Likewise.
87292 (gnulinuxhurdsystems): Likewise.
87293 (gnuhurdsystems): Likewise..
87294 (gnulinuxsystems): Likewise.
87295 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87296 variants of the GNU system, not "GNU system".
87297 * manual/conf.texi: Likewise.
87298 * manual/errno.texi: Likewise. Update example of errno macro
87299 expansion.
87300 * manual/filesys.texi: Likewise.
87301 (getumask): Document as specific to GNU/Hurd.
87302 * manual/install.texi: Likewise. Reword some references to
87303 GNU/Linux.
87304 * manual/intro.texi: Likewise.
87305 * manual/io.texi: Likewise.
87306 (File Name Portability): Detail which constraints are inapplicable
87307 to all GNU systems and which are only inapplicable to GNU/Hurd.
87308 * manual/job.texi: Likewise.
87309 * manual/llio.texi: Likewise.
87310 (O_NOCTTY): Document as present on GNU/Linux.
87311 * manual/maint.texi: Likewise.
87312 * manual/memory.texi: Likewise.
87313 * manual/pattern.texi: Likewise.
87314 * manual/pipe.texi: Likewise.
87315 * manual/process.texi: Likewise.
87316 * manual/resource.texi: Likewise.
87317 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87318 child on GNU/Hurd.
87319 * manual/setjmp.texi: Likewise.
87320 * manual/signal.texi: Likewise.
87321 * manual/startup.texi: Likewise.
87322 * manual/stdio.texi: Likewise.
87323 * manual/terminal.texi: Likewise.
87324 (ONLCR): Document as POSIX.
87325 (OXTABS): Document availability on GNU/Linux as XTABS.
87326 (ONOEOT): Document availability separately from other bits.
87327 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87328 * manual/time.texi: Likewise.
87329 * manual/users.texi: Likewise.
87330 * INSTALL: Regenerated.
87331 * sysdeps/gnu/errlist.c: Regenerated.
87332
87333 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87334 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87335 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87336 puts.
87337 * configure: Regenerated.
87338
87339 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87340
87341 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87342 default includes instead of AC_HEADER_CHECK.
87343 * sysdeps/i386/configure: Regenerated.
87344
87345 [BZ #10716]
87346 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87347 * math/s_cacoshf.c (__cacoshf): Likewise.
87348 * math/s_cacoshl.c (__cacoshl): Likewise.
87349 * math/s_casinh.c (__casinh): Set signs of result from argument.
87350 * math/s_casinhf.c (__casinhf): Likewise.
87351 * math/s_casinhl.c (__casinhl): Likewise.
87352 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87353 (casinh_test): Add more tests.
87354 * sysdeps/i386/fpu/libm-test-ulps: Update.
87355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87356
87357 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87358
87359 * po/zh_TW.po: Update from translation team.
87360
87361 * login/Makefile (distribute): Remove variable.
87362 * catgets/Makefile: Likewise.
87363 * mach/Makefile: Likewise.
87364 * malloc/Makefile: Likewise.
87365 * misc/Makefile: Likewise.
87366 * iconv/Makefile: Likewise.
87367 * nscd/Makefile: Likewise.
87368 * hurd/Makefile: Likewise.
87369 * manual/Makefile: Likewise.
87370 * locale/Makefile: Likewise.
87371 * intl/Makefile: Likewise.
87372 * conform/Makefile: Likewise.
87373 * nss/Makefile: Likewise.
87374 * time/Makefile: Likewise.
87375 * soft-fp/Makefile: Likewise.
87376 * dirent/Makefile: Likewise.
87377 * gmon/Makefile: Likewise.
87378 * po/Makefile: Likewise.
87379 * rt/Makefile: Likewise.
87380 * socket/Makefile: Likewise.
87381 * math/Makefile: Likewise.
87382 * signal/Makefile: Likewise.
87383 * debug/Makefile: Likewise.
87384 * elf/Makefile: Likewise.
87385 * timezone/Makefile: Likewise.
87386 * stdlib/Makefile: Likewise.
87387 * iconvdata/Makefile: Likewise.
87388 * sunrpc/Makefile: Likewise.
87389 * io/Makefile: Likewise.
87390 * argp/Makefile: Likewise.
87391 * inet/Makefile: Likewise.
87392 * hesiod/Makefile: Likewise.
87393 * grp/Makefile: Likewise.
87394 * csu/Makefile: Likewise.
87395 * wctype/Makefile: Likewise.
87396 * crypt/Makefile: Likewise.
87397 * libio/Makefile: Likewise.
87398 * string/Makefile: Likewise.
87399 * nis/Makefile: Likewise.
87400 * resolv/Makefile: Likewise.
87401 * stdio-common/Makefile: Likewise.
87402 * wcsmbs/Makefile: Likewise.
87403 * dlfcn/Makefile: Likewise.
87404 * posix/Makefile: Likewise.
87405
87406 [BZ #6959]
87407 * timezone/Makefile: Don't install timezone files, just the programs
87408 and scripts.
87409
87410 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87411
87412 * nss/databases.def: Add missing gshadow entry.
87413
87414 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87415
87416 2012-03-06 Marek Polacek <polacek@redhat.com>
87417
87418 [BZ #13726]
87419 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87420 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87421 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87422 * stdio-common/tst-long-dbl-fphex.c: New file.
87423
87424 2012-03-06 David S. Miller <davem@davemloft.net>
87425
87426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87427 (set_obp_int): New function.
87428 (get_obp_int): New function.
87429 (__get_clockfreq_via_dev_openprom): Likewise.
87430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87431 Avoid unused variable warnings on 'val' and use builtin_expect.
87432 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87433 __builtin_expect.
87434 (INLINE_CLONE_SYSCALL): Likewise.
87435
87436 2012-03-05 David S. Miller <davem@davemloft.net>
87437
87438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87439
87440 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87441
87442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87443
87444 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87445 only for |x| >= 40.
87446 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87447
87448 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87449
87450 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87451 Replace gettimeofday with __vdso_gettimeofday.
87452
87453 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87454 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87455 __vdso_clock_gettime and __vdso_getcpu.
87456
87457 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87458 time with __vdso_time.
87459
87460 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87461
87462 * manual/lang.texi (size_t): Note types to which size_t may be
87463 equivalent with the GNU C Library, but do not describe when
87464 differences between them are significant.
87465
87466 2012-03-05 Andreas Jaeger <aj@suse.de>
87467
87468 * sysdeps/i386/fpu/libm-test-ulps: Update.
87469
87470 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87471
87472 [BZ #3976]
87473 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87474 (__ieee754_pow): Save and restore rounding mode and use
87475 round-to-nearest for main computations.
87476 * math/libm-test.inc (pow_test_tonearest): New function.
87477 (pow_test_towardzero): Likewise.
87478 (pow_test_downward): Likewise.
87479 (pow_test_upward): Likewise.
87480 (main): Call the new functions.
87481 * sysdeps/i386/fpu/libm-test-ulps: Update.
87482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87483
87484 [BZ #3976]
87485 * math/libm-test.inc (cosh_test_tonearest): New function.
87486 (cosh_test_towardzero): Likewise.
87487 (cosh_test_downward): Likewise.
87488 (cosh_test_upward): Likewise.
87489 (sinh_test_tonearest): Likewise.
87490 (sinh_test_towardzero): Likewise.
87491 (sinh_test_downward): Likewise.
87492 (sinh_test_upward): Likewise.
87493 (main): Call the new functions.
87494 * sysdeps/i386/fpu/libm-test-ulps: Update.
87495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87496
87497 2012-03-05 Tom de Vries <tom@codesourcery.com>
87498
87499 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87500 default stack guard is set in last bytes.
87501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87502
87503 2012-03-05 Kees Cook <keescook@chromium.org>
87504
87505 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87506
87507 [BZ #13656]
87508 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87509 possibly allocate from heap instead of stack.
87510 * stdio-common/bug-vfprintf-nargs.c: New file.
87511 * stdio-common/Makefile (tests): Add nargs overflow test.
87512
87513 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87514
87515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87516
87517 2012-03-03 Marek Polacek <polacek@redhat.com>
87518
87519 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87520 * math/math_private.h: Likewise.
87521 * stdlib/tst-strtod.c: Likewise.
87522 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87523 * sysdeps/x86_64/bits/atomic.h: Likewise.
87524
87525 2012-03-02 David S. Miller <davem@davemloft.net>
87526
87527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87531 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87532 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87533 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87534 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87535
87536 2012-03-02 Roland McGrath <roland@hack.frob.com>
87537
87538 [BZ #13792]
87539 * manual/examples/README: New file, says the example source files
87540 can be used under GPL>=2.
87541 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87542 line containing just "*/".
87543 * manual/examples/add.c: Add copyright header (GPL>=2).
87544 * manual/examples/argp-ex1.c: Likewise.
87545 * manual/examples/argp-ex2.c: Likewise.
87546 * manual/examples/argp-ex3.c: Likewise.
87547 * manual/examples/argp-ex4.c: Likewise.
87548 * manual/examples/atexit.c: Likewise.
87549 * manual/examples/db.c: Likewise.
87550 * manual/examples/dir.c: Likewise.
87551 * manual/examples/dir2.c: Likewise.
87552 * manual/examples/execinfo.c: Likewise.
87553 * manual/examples/filecli.c: Likewise.
87554 * manual/examples/filesrv.c: Likewise.
87555 * manual/examples/fmtmsgexpl.c: Likewise.
87556 * manual/examples/genpass.c: Likewise.
87557 * manual/examples/inetcli.c: Likewise.
87558 * manual/examples/inetsrv.c: Likewise.
87559 * manual/examples/isockad.c: Likewise.
87560 * manual/examples/longopt.c: Likewise.
87561 * manual/examples/memopen.c: Likewise.
87562 * manual/examples/memstrm.c: Likewise.
87563 * manual/examples/mkfsock.c: Likewise.
87564 * manual/examples/mkisock.c: Likewise.
87565 * manual/examples/mygetpass.c: Likewise.
87566 * manual/examples/pipe.c: Likewise.
87567 * manual/examples/popen.c: Likewise.
87568 * manual/examples/rprintf.c: Likewise.
87569 * manual/examples/search.c: Likewise.
87570 * manual/examples/select.c: Likewise.
87571 * manual/examples/setjmp.c: Likewise.
87572 * manual/examples/sigh1.c: Likewise.
87573 * manual/examples/sigusr.c: Likewise.
87574 * manual/examples/stpcpy.c: Likewise.
87575 * manual/examples/strdupa.c: Likewise.
87576 * manual/examples/strftim.c: Likewise.
87577 * manual/examples/strncat.c: Likewise.
87578 * manual/examples/subopt.c: Likewise.
87579 * manual/examples/swapcontext.c: Likewise.
87580 * manual/examples/termios.c: Likewise.
87581 * manual/examples/testopt.c: Likewise.
87582 * manual/examples/testpass.c: Likewise.
87583 * manual/examples/timeval_subtract.c: Likewise.
87584
87585 [BZ #13792]
87586 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87587 function to ...
87588 * manual/timeval_subtract.c.texi: ... here, new file.
87589
87590 2012-03-02 David S. Miller <davem@davemloft.net>
87591
87592 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87593
87594 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87595
87596 [BZ #3976]
87597 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87598 (__sin): Save and restore rounding mode and use round-to-nearest
87599 for all computations.
87600 (__cos): Save and restore rounding mode and use round-to-nearest
87601 for all computations.
87602 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87603 <fenv.h>.
87604 (tan): Save and restore rounding mode and use round-to-nearest for
87605 all computations.
87606 * math/libm-test.inc (cos_test_tonearest): New function.
87607 (cos_test_towardzero): Likewise.
87608 (cos_test_downward): Likewise.
87609 (cos_test_upward): Likewise.
87610 (sin_test_tonearest): Likewise.
87611 (sin_test_towardzero): Likewise.
87612 (sin_test_downward): Likewise.
87613 (sin_test_upward): Likewise.
87614 (tan_test_tonearest): Likewise.
87615 (tan_test_towardzero): Likewise.
87616 (tan_test_downward): Likewise.
87617 (tan_test_upward): Likewise.
87618 (main): Call the new functions.
87619 * sysdeps/i386/fpu/libm-test-ulps: Update.
87620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87621
87622 [BZ #10135]
87623 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87624 small n, then large n, before computing and testing k+n.
87625 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87627 Likewise.
87628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87629 Likewise.
87630 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87631 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87632 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87633 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87634 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87635 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87636 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87638 * math/libm-test.inc (scalbn_test): Add more tests.
87639 (scalbln_test): Likewise.
87640
87641 * manual/filesys.texi (mode_t): Describe constraints on size and
87642 signedness, not exact equivalence to a particular type.
87643 (ino_t): Likewise.
87644 (ino64_t): Likewise.
87645 (dev_t): Likewise.
87646 (nlink_t): Likewise.
87647 (blkcnt_t): Likewise.
87648 (blkcnt64_t): Likewise.
87649 * manual/llio.texi (off_t): Likewise.
87650
87651 [BZ #3976]
87652 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87653 (__ieee754_exp): Save and restore rounding mode and use
87654 round-to-nearest for all computations.
87655 * math/libm-test.inc (exp_test_tonearest): New function.
87656 (exp_test_towardzero): Likewise.
87657 (exp_test_downward): Likewise.
87658 (exp_test_upward): Likewise.
87659 (main): Call the new functions.
87660 * sysdeps/i386/fpu/libm-test-ulps: Update.
87661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87662
87663 2012-03-01 Chris Demetriou <cgd@google.com>
87664
87665 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87666 have predictable order.
87667
87668 2012-03-01 David S. Miller <davem@davemloft.net>
87669
87670 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87671
87672 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87673 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87674 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87675 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87676
87677 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87678 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87679 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87681 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87682 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87683 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87684 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87685 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87686
87687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87688
87689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87690 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87691 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87692
87693 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87694 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87695 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87696 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87697 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87700 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87701 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87702 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87703 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87704 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87706 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87707 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87709 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87710 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87711 * sysdeps/sparc/elf/configure: Regenerated.
87712
87713 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87714
87715 * configure.in (AS, LD): Require binutils 2.20 or later.
87716 * configure: Regenerated.
87717 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87718 as required minimum version.
87719 * INSTALL: Regenerated.
87720
87721 [BZ #2541]
87722 [BZ #4108]
87723 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87724 before squaring exponent.
87725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87726 bottom long double and 27 bits of top long double before squaring
87727 exponent.
87728 * math/libm-test.inc (erfc_test): Add more tests.
87729 * sysdeps/i386/fpu/libm-test-ulps: Update.
87730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87732
87733 2012-03-01 Kai Tietz <ktietz@redhat.com>
87734
87735 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87736 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87737 containing bit-fields.
87738 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87739 * soft-fp/single.h (_FP_UNION_S): Likewise.
87740 * soft-fp/double.h (_FP_UNION_D): Likewise.
87741
87742 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87743
87744 [BZ #13786]
87745 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87746 not include ../strcmp.S.
87747 [USE_AS_STRNCASECMP_L]: Likewise.
87748 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87749 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87750 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87751 (__strncasecmp_l_ia32): Define as alias to
87752 __strncasecmp_l_nonascii.
87753
87754 [BZ #5794]
87755 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87756 * sysdeps/i386/fpu/libm-test-ulps: Update.
87757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87758
87759 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87761
87762 2012-02-29 Jeff Law <law@redhat.com>
87763
87764 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87765 out of bounds read.
87766
87767 2012-02-29 Marek Polacek <polacek@redhat.com>
87768
87769 [BZ #13706]
87770 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87771 * elf/Makefile: Add rules to run tst-unused-dep.out.
87772
87773 2012-02-28 David S. Miller <davem@davemloft.net>
87774
87775 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87776 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87779 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87780 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87781
87782 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87783
87784 * math/libm-test.inc (llround_test): Move one test from
87785 lround_test. Use TEST_f_L in moved test.
87786 (lround_test): Move misplaced test to llround_test. Add testcase
87787 from bug 2561.
87788
87789 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87790
87791 * sysdeps/x86_64/fpu/e_expf.S: New file.
87792 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87793
87794 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87795
87796 [BZ #13637]
87797 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87798 of remain_len that may cause incomplete multi-byte character and
87799 false match.
87800 * posix/bug-regex33.c: New file.
87801 * posix/Makefile (tests): Add bug-regex33.
87802
87803 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87804
87805 * manual/macros.texi: New file.
87806 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87807 * manual/libc.texinfo: Include macros.texi.
87808 * manual/creatute.texi: Likewise.
87809 * manual/install.texi: Likewise.
87810 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87811 @glibcadj{} in references to the GNU C Library.
87812 * manual/charset.texi: Likewise.
87813 * manual/conf.texi: Likewise.
87814 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87815 when not using those macros.
87816 * manual/creature.texi: Likewise.
87817 * manual/crypt.texi: Likewise.
87818 * manual/errno.texi: Likewise.
87819 * manual/filesys.texi: Likewise.
87820 * manual/header.texi: Likewise.
87821 * manual/install.texi: Likewise.
87822 * manual/intro.texi: Likewise.
87823 * manual/io.texi: Likewise.
87824 * manual/job.texi: Likewise.
87825 * manual/lang.texi: Likewise.
87826 * manual/libc.texiinfo: Likewise.
87827 * manual/llio.texi: Likewise.
87828 * manual/locale.texi: Likewise.
87829 * manual/maint.texi: Likewise.
87830 * manual/math.texi: Likewise.
87831 * manual/memory.texi: Likewise.
87832 * manual/message.texi: Likewise.
87833 * manual/nss.texi: Likewise.
87834 * manual/pattern.texi: Likewise.
87835 * manual/process.texi: Likewise.
87836 * manual/resource.texi: Likewise.
87837 * manual/search.texi: Likewise.
87838 * manual/setjmp.texi: Likewise.
87839 * manual/signal.texi: Likewise.
87840 * manual/socket.texi: Likewise.
87841 * manual/startup.texi: Likewise.
87842 * manual/stdio.texi: Likewise.
87843 * manual/string.texi: Likewise.
87844 * manual/sysinfo.texi: Likewise.
87845 * manual/syslog.texi: Likewise.
87846 * manual/terminal.texi: Likewise.
87847 * manual/time.texi: Likewise.
87848 * manual/users.texi: Likewise.
87849 * INSTALL: Regenerated.
87850 * NOTES: Regenerated.
87851 * sysdeps/gnu/errlist.c: Regenerated.
87852
87853 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87854
87855 * include/dirent.h: Include <dirstream.h> before
87856 <dirent/dirent.h>.
87857
87858 2012-02-28 David S. Miller <davem@davemloft.net>
87859
87860 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87861 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87862 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87863 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87864
87865 2012-02-27 David S. Miller <davem@davemloft.net>
87866
87867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87869 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87870 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87871
87872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87873 frame pointer instead of stack pointer relative arg slot.
87874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87875 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87876 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87877
87878 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87879
87880 [BZ #3992]
87881 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87882
87883 2012-02-27 David S. Miller <davem@davemloft.net>
87884
87885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87889 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87890 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87891 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87892 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87893
87894 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87895
87896 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87897 later. Allow versions 5-9.
87898 * configure: Regenerated.
87899 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87900 required minimum version and 4.6 as recommended version. Do not
87901 mention bugs in GCC 2.7 and 2.8.
87902 * INSTALL: Regenerated.
87903
87904 2012-02-27 David S. Miller <davem@davemloft.net>
87905
87906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87910 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87911 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87912 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87913 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87914
87915 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87916 manipulate bits before adding and subtracting TWO112[sx].
87917 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87918
87919 2012-02-27 Roland McGrath <roland@hack.frob.com>
87920
87921 [BZ #13775]
87922 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87923 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87924 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87925 being in POSIX, because they are in 1003.1-2008.
87926
87927 * rt/tst-aio.c: Include <fcntl.h>.
87928 * rt/tst-aio7.c: Likewise.
87929 * rt/tst-aio64.c: Likewise.
87930
87931 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87932
87933 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87934
87935 * manual/install.texi (--with-headers): Describe headers as
87936 interface headers, not private headers.
87937 (Specific advice for GNU/Linux systems): Describe use of headers
87938 from "make headers_install", not private headers from older
87939 kernels.
87940 * INSTALL: Regenerated.
87941 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87942 Change to 2.6.19.
87943 * sysdeps/unix/sysv/linux/configure: Regenerated.
87944
87945 * manual/llio.texi (fclean): Remove documentation.
87946
87947 * manual/Makefile (libc-texi-generated): New variable. Include
87948 version.texi.
87949 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87950 $(libc-texi-generated), not duplicated list of files.
87951 (version.texi, stamp-version): New rules.
87952 (realclean): Remove $(libc-texi-generated), not individual files
87953 from that list. Do not remove dir-add.texinfo.
87954 * manual/libc.texinfo: Comment out uses of edition numbers and
87955 references to printed manual. Remove last-updated dates.
87956 (EDITION): Comment out.
87957 (ISBN): Likewise.
87958 (VERSION, UPDATED): Remove.
87959 (version.texi): Include.
87960
87961 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87962
87963 * sysdeps/posix/spawni.c: Include <signal.h>.
87964 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87965 * sysdeps/pthread/aio_fsync.c: Likewise.
87966
87967 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87968
87969 * conform/Makefile (tests): Run only when not cross-compiling and
87970 when fast-check is not defined.
87971
87972 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87973 * conform/data/limits.h-data: Fixes for POSIX2008.
87974 * conform/run-conformtest.sh: Run all tests.
87975 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87976 headers.
87977 * include/bits/dlfcn.h: Likewise.
87978 * include/langinfo.h: Likewise.
87979 * include/monetary.h: Likewise.
87980 * include/sys/poll.h: Likewise.
87981
87982 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87983 for __USE_GNU.
87984 * posix/spawn.h: Define __need_sigset_t.
87985 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87986 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87987 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87988 to get sigevent_t only.
87989 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87990 only for __USE_GNU.
87991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87992 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87993 process_vm_writev only for __USE_GNU.
87994 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87995
87996 * conform/Makefile: For now ignore errors from run-conformtest.
87997 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87998 POSIX to avoid namespace pollution. Don't prepend headers.
87999 * conform/data/aio.h-data: Fixes for POSIX testing.
88000 * conform/data/fcntl.h-data: Likewise.
88001 * conform/data/glob.h-data: Likewise.
88002 * conform/data/grp.h-data: Likewise.
88003 * conform/data/pthread.h-data: Likewise.
88004 * conform/data/pwd.h-data: Likewise.
88005 * conform/data/signal.h-data: Likewise.
88006 * conform/data/spawn.h-data: Likewise.
88007 * conform/data/stdio.h-data: Likewise.
88008 * conform/data/stdlib.h-data: Likewise.
88009 * conform/data/stropts.h-data: Likewise.
88010 * conform/data/sys/mman.h-data: Likewise.
88011 * conform/data/sys/stat.h-data: Likewise.
88012 * conform/data/sys/types.h-data: Likewise.
88013 * conform/data/sys/wait.h-data: Likewise.
88014 * conform/data/time.h-data: Likewise.
88015 * conform/data/unistd.h-data: Likewise.
88016 * conform/data/utime.h-data: Likewise.
88017
88018 * io/sys/stat.h: fchmod was always in POSIX.
88019 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88020 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88021 * rt/aio.h: Define __need_timespec before including <time.h>.
88022 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88023 struct. Add forward declaration of pthread_attr_t and use it in
88024 sigevent.
88025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88027 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88028 always remove CLK_TCK definition.
88029
88030 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
88031
88032 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88033
88034 2012-02-25 Ulrich Drepper <drepper@gmail.com>
88035
88036 * conform/run-conformtest.sh: New file.
88037 * conform/Makefile: Run run-conformtest for tests.
88038 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
88039 support.
88040
88041 * conform/data/uchar.h-data: New file.
88042 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88043 * conform/data/arpa/inet.h-data: Likewise.
88044 * conform/data/assert.h-data: Likewise.
88045 * conform/data/complex.h-data: Likewise.
88046 * conform/data/cpio.h-data: Likewise.
88047 * conform/data/ctype.h-data: Likewise.
88048 * conform/data/dirent.h-data: Likewise.
88049 * conform/data/dlfcn.h-data: Likewise.
88050 * conform/data/errno.h-data: Likewise.
88051 * conform/data/fcntl.h-data: Likewise.
88052 * conform/data/float.h-data: Likewise.
88053 * conform/data/fmtmsg.h-data: Likewise.
88054 * conform/data/fnmatch.h-data: Likewise.
88055 * conform/data/ftw.h-data: Likewise.
88056 * conform/data/glob.h-data: Likewise.
88057 * conform/data/grp.h-data: Likewise.
88058 * conform/data/iconv.h-data: Likewise.
88059 * conform/data/inttypes.h-data: Likewise.
88060 * conform/data/langinfo.h-data: Likewise.
88061 * conform/data/libgen.h-data: Likewise.
88062 * conform/data/limits.h-data: Likewise.
88063 * conform/data/locale.h-data: Likewise.
88064 * conform/data/math.h-data: Likewise.
88065 * conform/data/monetary.h-data: Likewise.
88066 * conform/data/mqueue.h-data: Likewise.
88067 * conform/data/ndbm.h-data: Likewise.
88068 * conform/data/net/if.h-data: Likewise.
88069 * conform/data/netdb.h-data: Likewise.
88070 * conform/data/netinet/in.h-data: Likewise.
88071 * conform/data/nl_types.h-data: Likewise.
88072 * conform/data/poll.h-data: Likewise.
88073 * conform/data/pthread.h-data: Likewise.
88074 * conform/data/pwd.h-data: Likewise.
88075 * conform/data/regex.h-data: Likewise.
88076 * conform/data/sched.h-data: Likewise.
88077 * conform/data/search.h-data: Likewise.
88078 * conform/data/semaphore.h-data: Likewise.
88079 * conform/data/setjmp.h-data: Likewise.
88080 * conform/data/signal.h-data: Likewise.
88081 * conform/data/spawn.h-data: Likewise.
88082 * conform/data/stdarg.h-data: Likewise.
88083 * conform/data/stdio.h-data: Likewise.
88084 * conform/data/stdlib.h-data: Likewise.
88085 * conform/data/string.h-data: Likewise.
88086 * conform/data/strings.h-data: Likewise.
88087 * conform/data/stropts.h-data: Likewise.
88088 * conform/data/sys/ipc.h-data: Likewise.
88089 * conform/data/sys/mman.h-data: Likewise.
88090 * conform/data/sys/msg.h-data: Likewise.
88091 * conform/data/sys/resource.h-data: Likewise.
88092 * conform/data/sys/select.h-data: Likewise.
88093 * conform/data/sys/sem.h-data: Likewise.
88094 * conform/data/sys/shm.h-data: Likewise.
88095 * conform/data/sys/socket.h-data: Likewise.
88096 * conform/data/sys/stat.h-data: Likewise.
88097 * conform/data/sys/statvfs.h-data: Likewise.
88098 * conform/data/sys/time.h-data: Likewise.
88099 * conform/data/sys/timeb.h-data: Likewise.
88100 * conform/data/sys/times.h-data: Likewise.
88101 * conform/data/sys/types.h-data: Likewise.
88102 * conform/data/sys/uio.h-data: Likewise.
88103 * conform/data/sys/un.h-data: Likewise.
88104 * conform/data/sys/utsname.h-data: Likewise.
88105 * conform/data/sys/wait.h-data: Likewise.
88106 * conform/data/syslog.h-data: Likewise.
88107 * conform/data/tar.h-data: Likewise.
88108 * conform/data/termios.h-data: Likewise.
88109 * conform/data/utime.h-data: Likewise.
88110 * conform/data/utmpx.h-data: Likewise.
88111 * conform/data/varargs.h-data: Likewise.
88112 * conform/data/wchar.h-data: Likewise.
88113 * conform/data/wctype.h-data: Likewise.
88114 * conform/data/wordexp.h-data: Likewise.
88115
88116 * include/stropts.h: New file.
88117 * include/uchar.h: New file.
88118 * include/aio.h: Changes to allow conformtest.pl to use the headers.
88119 * include/assert.h: Likewise.
88120 * include/ctype.h: Likewise.
88121 * include/dirent.h: Likewise.
88122 * include/dlfcn.h: Likewise.
88123 * include/fcntl.h: Likewise.
88124 * include/fnmatch.h: Likewise.
88125 * include/glob.h: Likewise.
88126 * include/grp.h: Likewise.
88127 * include/libio.h: Likewise.
88128 * include/locale.h: Likewise.
88129 * include/math.h: Likewise.
88130 * include/net/if.h: Likewise.
88131 * include/netdb.h: Likewise.
88132 * include/netinet/in.h: Likewise.
88133 * include/pthread.h: Likewise.
88134 * include/pwd.h: Likewise.
88135 * include/regex.h: Likewise.
88136 * include/sched.h: Likewise.
88137 * include/search.h: Likewise.
88138 * include/setjmp.h: Likewise.
88139 * include/signal.h: Likewise.
88140 * include/stdio.h: Likewise.
88141 * include/stdlib.h: Likewise.
88142 * include/string.h: Likewise.
88143 * include/sys/cdefs.h: Likewise.
88144 * include/sys/mman.h: Likewise.
88145 * include/sys/msg.h: Likewise.
88146 * include/sys/resource.h: Likewise.
88147 * include/sys/select.h: Likewise.
88148 * include/sys/socket.h: Likewise.
88149 * include/sys/stat.h: Likewise.
88150 * include/sys/statvfs.h: Likewise.
88151 * include/sys/time.h: Likewise.
88152 * include/sys/times.h: Likewise.
88153 * include/sys/uio.h: Likewise.
88154 * include/sys/utsname.h: Likewise.
88155 * include/sys/wait.h: Likewise.
88156 * include/termios.h: Likewise.
88157 * include/time.h: Likewise.
88158 * include/ulimit.h: Likewise.
88159 * include/unistd.h: Likewise.
88160 * include/utime.h: Likewise.
88161 * include/wchar.h: Likewise.
88162 * include/wctype.h: Likewise.
88163 * include/wordexp.h: Likewise.
88164
88165 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88166
88167 * time/time.h: TIME_UTC must be a macro.
88168 Make timespec_get available for ISO C11 only as well.
88169
88170 2012-02-24 Ulrich Drepper <drepper@gmail.com>
88171
88172 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88173 Reported by Peng Haitao <penght@cn.fujitsu.com>.
88174
88175 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88176
88177 * configure.in: Use -o not -a in test for unsupported multi-arch.
88178
88179 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88180
88181 * manual/texinfo.tex: Update to version 2012-01-19.16.
88182
88183 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88184
88185 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88186
88187 2012-02-24 Roland McGrath <roland@hack.frob.com>
88188
88189 [BZ #13738]
88190 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88191 * manual/fdl-1.3.texi: New file.
88192 * manual/fdl-1.1.texi: File removed.
88193
88194 [BZ #13738]
88195 * manual/libc.texinfo (FDL_VERSION): New @set.
88196 Use it for mention of FDL in cover text.
88197 (Documentation License): Use it in @include file name.
88198
88199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88200 Roland McGrath <roland@hack.frob.com>
88201
88202 [BZ #5461]
88203 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88204 (not LONG_LONG_MAX and LONG_LONG_MIN.
88205 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88206 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88207 name.
88208 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88209
88210 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88211
88212 [BZ #2547]
88213 [BZ #11365]
88214 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88215 manipulate bits before adding and subtracting TWO23[sx].
88216 * math/libm-test.inc (nearbyint_test): Add more tests.
88217
88218 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88219
88220 [BZ #2548]
88221 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88222 bits before adding and subtracting TWO23[sx].
88223 * math/libm-test.inc (rint_test): Add more tests.
88224 (rint_test_tonearest): Likewise.
88225 (rint_test_towardzero): Likewise.
88226 (rint_test_downward): Likewise.
88227 (rint_test_upward: Likewise.
88228
88229 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88230
88231 [BZ #10110]
88232 * include/stdc-predef.h: New file. Extracted from features.h.
88233 * include/features.h: Include stdc-predef.h.
88234 * Makefile (headers): Add stdc-predef.h.
88235 * CONFORMANCE (Compiler limitations): Update.
88236
88237 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88238
88239 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88240
88241 2012-02-21 David S. Miller <davem@davemloft.net>
88242
88243 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88244 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88245
88246 2012-02-20 David S. Miller <davem@davemloft.net>
88247
88248 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88249 using a normal save/restore sequence, rather than allocating a
88250 dummy stack frame just to store a frame pointer and restore.
88251 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88252
88253 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88254
88255 * manual/install.texi: Fix stray word in line-wrapped comment.
88256
88257 2012-02-20 David S. Miller <davem@davemloft.net>
88258
88259 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88260 both binutils and gcc support GOTDATA.
88261
88262 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88263 "rd %pc" in the PIC register setup sequences.
88264
88265 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88266 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88267 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88268 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88269 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88272 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88274 (SYSCALL_ERROR_HANDLER): Likewise.
88275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88276 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88278 (SYSCALL_ERROR_HANDLER): Likewise.
88279
88280 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88281 (HAVE_GCC_GOTDATA): New.
88282 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88283 relocation support in both binutils and gcc.
88284 * sysdeps/sparc/elf/configure: Regenerate.
88285
88286 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88287 * sysdeps/sparc/sparc32/elf/configure: Delete.
88288 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88289 * sysdeps/sparc/sparc64/elf/configure: Delete.
88290 * sysdeps/sparc/elf/configure.in: New file.
88291 * sysdeps/sparc/elf/configure: Generate.
88292
88293 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88294 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88295 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88296 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88297 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88298
88299 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88300
88301 * manual/install.texi: Do not mention specific glibc version
88302 numbers.
88303 * manual/libc.texinfo (VERSION, UPDATED): Update.
88304 (@copying): Use @copyright{} and range of years.
88305
88306 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88307
88308 [BZ #13695]
88309 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88310 [crti.S not in sysdirs] (generated): Do not append.
88311 [crti.S not in sysdirs] (omit-deps): Likewise.
88312 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88313 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88314 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88315 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88316 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88317 Likewise.
88318 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88319 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88320 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88321 * csu/defs.awk: Remove file.
88322 * sysdeps/generic/initfini.c: Likewise.
88323 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88324 variable.
88325 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88326 Likewise.
88327
88328 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88329
88330 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88331 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88332 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88333 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88335 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88336 <bits/epoll.h>.
88337 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88338 (__EPOLL_PACKED): Define to empty if not defined by
88339 <bits/epoll.h>.
88340 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88342 bits/epoll.h.
88343
88344 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88345
88346 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88347 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88348 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88349 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88350 <bits/timerfd.h>.
88351 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88353 bits/timerfd.h.
88354
88355 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88356
88357 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88358 in C locale.
88359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88360 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88363
88364 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88365
88366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88367 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88368
88369 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88370
88371 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88372 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88373 defined.
88374 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88375 Likewise.
88376 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88377 entry for 2.16.
88378
88379 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88380
88381 * math/w_acos.c: Use non-signaling floating-point comparisons.
88382 * math/w_acosf.c: Likewise.
88383 * math/w_acosh.c: Likewise.
88384 * math/w_acoshf.c: Likewise.
88385 * math/w_acoshl.c: Likewise.
88386 * math/w_acosl.c: Likewise.
88387 * math/w_asin.c: Likewise.
88388 * math/w_asinf.c: Likewise.
88389 * math/w_asinl.c: Likewise.
88390 * math/w_atanh.c: Likewise.
88391 * math/w_atanhf.c: Likewise.
88392 * math/w_atanhl.c: Likewise.
88393 * math/w_exp2.c: Likewise.
88394 * math/w_exp2f.c: Likewise.
88395 * math/w_exp2l.c: Likewise.
88396 * math/w_j0.c: Likewise.
88397 * math/w_j0f.c: Likewise.
88398 * math/w_j0l.c: Likewise.
88399 * math/w_j1.c: Likewise.
88400 * math/w_j1f.c: Likewise.
88401 * math/w_j1l.c: Likewise.
88402 * math/w_jn.c: Likewise.
88403 * math/w_jnf.c: Likewise.
88404 * math/w_log.c: Likewise.
88405 * math/w_log10.c: Likewise.
88406 * math/w_log10f.c: Likewise.
88407 * math/w_log10l.c: Likewise.
88408 * math/w_log2.c: Likewise.
88409 * math/w_log2f.c: Likewise.
88410 * math/w_log2l.c: Likewise.
88411 * math/w_logf.c: Likewise.
88412 * math/w_logl.c: Likewise.
88413 * math/w_sqrt.c: Likewise.
88414 * math/w_sqrtf.c: Likewise.
88415 * math/w_sqrtl.c: Likewise.
88416 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88417 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88421
88422 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88423
88424 [BZ #9739]
88425 * manual/string.texi (strnlen): Use correct parameter name in
88426 equivalent expression.
88427
88428 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88429
88430 [BZ #11174]
88431 * manual/users.texi (seteuid): Consistently use neweuid for
88432 argument name.
88433
88434 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88435
88436 [BZ #13704]
88437 * manual/nss.texi (Services in the NSS configuration): Correct
88438 list of services in example configuration file.
88439
88440 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88441
88442 [BZ #11322]
88443 * manual/arith.texi: Remove statements about negative zero
88444 behaving identically to zero.
88445
88446 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88447
88448 [BZ #5993]
88449 * manual/install.texi: Do not document upgrading from libc5.
88450
88451 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88452
88453 [BZ #4596]
88454 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88455
88456 2012-02-18 David S. Miller <davem@davemloft.net>
88457
88458 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88459 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88460 %o7 across the call.
88461 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88462 instead.
88463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88464 SETUP_PIC_REG_LEAF.
88465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88466 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88467 * sysdeps/sparc/crtn.S: Likewise.
88468
88469 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88470
88471 * aout/Makefile: Remove.
88472
88473 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88474
88475 [BZ #13058]
88476 * manual/examples/argp-ex1.c (main): Format definition in GNU
88477 style.
88478 * manual/examples/argp-ex2.c (main): Likewise.
88479 * manual/examples/argp-ex3.c (main): Likewise.
88480 * manual/examples/argp-ex4.c (main): Likewise.
88481 * manual/examples/longopt.c (main): Use new-style prototype
88482 definition.
88483 * manual/examples/strncat.c (main): Specify return type and use
88484 (void) for arguments.
88485 * manual/examples/subopt.c (main): Use char **argv argument.
88486
88487 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88488
88489 [BZ #5077]
88490 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88491 rounding modes.
88492
88493 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88494
88495 [BZ #6907]
88496 * manual/string.texi (strchr): Change when strchrnul is
88497 recommended.
88498
88499 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88500
88501 [BZ #174]
88502 * manual/locale.texi (setlocale): Document LOCPATH.
88503
88504 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88505
88506 [BZ #10210]
88507 * manual/process.texi (execle): Move @dots{} before last argument.
88508
88509 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88510
88511 [BZ #12047]
88512 * manual/charset.texi (Generic Charset Conversion): Fix typo
88513 (LC_TYPE -> LC_CTYPE).
88514
88515 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88516
88517 [BZ #5805]
88518 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88519 (scalbnf): Likewise.
88520 (scalbnl): Likewise.
88521 (scalbln): Likewise.
88522 (scalblnf): Likewise.
88523 (scalblnl): Likewise.
88524 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88525 (vwarnx): Likewise.
88526 (verr): Likewise.
88527 (verrx): Likewise.
88528 * manual/filesys.texi (telldir): Use braces around return type.
88529 * manual/llio.texi (mmap): Add space after comma.
88530 (mmap64): Likewise.
88531 * manual/math.texi (jn): Use @var{} on parameter names.
88532 (jnf): Likewise.
88533 (jnl): Likewise.
88534 (yn): Likewise.
88535 (ynf): Likewise.
88536 (ynl): Likewise.
88537 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88538 line.
88539 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88540 "...".
88541 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88542 (sched_get_priority_max): Likewise.
88543 * manual/signal.texi (sigvec): Add space after comma.
88544 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88545 names.
88546 (if_indextoname): Likewise.
88547 (if_freenameindex): Likewise.
88548 (sendto): Use ',' instead of '.' in prototype.
88549 * manual/startup.texi (syscall): Use @dots{} instead of literal
88550 "...".
88551 * manual/stdio.texi (__fpending): Separate initial words of
88552 paragraph from @deftypefun line.
88553 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88554 "...".
88555 (vsyslog): Use @var{} on parameter names.
88556 * manual/terminal.texi (stty): Use @var{} on parameter names.
88557 * manual/users.texi (getutmp): Use @var{} on parameter names.
88558 (getutmpx): Likewise.
88559
88560 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88561
88562 [BZ #6884]
88563 * manual/stdio.texi (fopen): Fix typos in description of
88564 ",ccs=STRING".
88565
88566 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88567
88568 [BZ #4026]
88569 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88570 get clock_id definition.
88571
88572 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88573
88574 [BZ #4822]
88575 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88576 (madvise): Cast every argument to void on its own.
88577
88578 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88579
88580 [BZ #9902]
88581 * manual/startup.texi (Exit Status): Fix typo.
88582
88583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88584
88585 [BZ #10140]
88586 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88587 * manual/examples/argp-ex2.c: Likewise.
88588 * manual/examples/argp-ex3.c: Likewise.
88589
88590 2012-02-16 Richard Henderson <rth@redhat.com>
88591
88592 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88593 * sysdeps/s390/s390-32/initfini.c: Remove.
88594 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88595 * sysdeps/s390/s390-64/initfini.c: Remove.
88596
88597 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88598
88599 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88600 compiler output for sysdeps/generic/initfini.c.
88601 * sysdeps/sh/elf/initfini.c: Remove file.
88602
88603 2012-02-16 David S. Miller <davem@davemloft.net>
88604
88605 [BZ #11494]
88606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88607
88608 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88609 * sysdeps/sparc/crti.S: New file.
88610 * sysdeps/sparc/crtn.S: New file.
88611 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88612 * sysdeps/sparc/sparc64/Makefile: Likewise.
88613
88614 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88615
88616 [BZ #3335]
88617 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88618
88619 2012-02-15 Roland McGrath <roland@hack.frob.com>
88620
88621 [BZ #4822]
88622 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88623
88624 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88625 (write, read, close): Likewise.
88626 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88627
88628 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88629
88630 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88631 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88632 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88633 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88634 <bits/signalfd.h>.
88635 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88637 bits/signalfd.h.
88638
88639 2012-02-14 Marek Polacek <polacek@redhat.com>
88640
88641 * sysdeps/x86_64/crti.S: New file.
88642 * sysdeps/x86_64/crtn.S: New file.
88643 * sysdeps/x86_64/elf/initfini.c: Remove file.
88644
88645 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88646
88647 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88648 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88649 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88650 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88651 <bits/inotify.h>.
88652 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88654 bits/inotify.h.
88655
88656 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88657
88658 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88659 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88660 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88661 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88662 <bits/eventfd.h>.
88663 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88665 bits/eventfd.h.
88666
88667 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88668
88669 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88670 __feraiseexcept instead of feraiseexcept.
88671
88672 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88673 nanosleep invocations.
88674 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88675 strings, and add error checking for a nanosleep invocations.
88676
88677 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88678
88679 Replace FSF snail mail address with URLs, as per GNU coding standards.
88680 Most of the snail mail addresses were wrong anyway, and omitting
88681 them makes the source code easier to maintain. Almost all of the
88682 changes are to license notices and to locale LC_IDENTIFICATION
88683 addresses, except for this one:
88684 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88685 not its snail mail address.
88686
88687 2012-02-09 Richard Henderson <rth@twiddle.net>
88688
88689 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88690 of kernel-features.h.
88691
88692 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88693
88694 2012-02-08 Marek Polacek <polacek@redhat.com>
88695
88696 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88697 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88698 * sysdeps/gnu/_G_config.h: Likewise.
88699 * sysdeps/generic/_G_config.h: Likewise.
88700
88701 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88702
88703 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88704 tests.
88705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88706
88707 * sysdeps/powerpc/powerpc32/crti.S: New file.
88708 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88709 * sysdeps/powerpc/powerpc64/crti.S: New file.
88710 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88711
88712 * Makeconfig (have-initfini): Don't set.
88713 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88714 * configure.in (nopic_initfini): Don't substitute.
88715 * config.h.in (HAVE_INITFINI): Don't #undef.
88716 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88717 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88718
88719 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88720
88721 Support crti.S and crtn.S provided directly by architectures.
88722 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88723 [crti.S in sysdirs] (omit-deps): Likewise.
88724 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88725 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88726 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88727 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88728 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88729 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88730 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88731 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88732 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88733 compiler output for sysdeps/generic/initfini.c.
88734 * sysdeps/i386/elf/Makefile: Remove file.
88735 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88736
88737 2012-02-07 Marek Polacek <polacek@redhat.com>
88738
88739 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88740 * sysdeps/gnu/_G_config.h: Likewise.
88741 * sysdeps/mach/hurd/_G_config.h: Likewise.
88742
88743 2012-02-07 Marek Polacek <polacek@redhat.com>
88744
88745 * math/Makefile (tests): Add tst-CMPLX2.
88746 * math/tst-CMPLX2.c: New file.
88747
88748 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88749
88750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88751
88752 * math/libm-test.inc (jn_test): Add missing L suffix.
88753
88754 2012-02-06 Marek Polacek <polacek@redhat.com>
88755
88756 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88757 * sysdeps/i386/fpu/e_powf.S: Likewise.
88758 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88759 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88760 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88761 * sysdeps/i386/fpu/e_pow.S: Likewise.
88762 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88763 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88764 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88765 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88766 * sysdeps/i386/fpu/e_log2.S: Likewise.
88767 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88768 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88769 * sysdeps/i386/fpu/e_powl.S: Likewise.
88770 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88772 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88773 * sysdeps/i386/fpu/e_logl.S: Likewise.
88774 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88775 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88776 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88777 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88778 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88779 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88780 * sysdeps/i386/fpu/e_log.S: Likewise.
88781 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88783 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88784 * sysdeps/i386/fpu/e_logf.S: Likewise.
88785 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88786 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88787 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88788 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88789 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88790 * sysdeps/i386/fpu/e_log10.S: Likewise.
88791 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88792 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88793 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88794 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88795 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88796 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88797 * sysdeps/i386/asm-syntax.h: Likewise.
88798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88800 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88801 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88802 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88804 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88805 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88806 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88807 * sysdeps/powerpc/sysdep.h: Likewise.
88808 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88809 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88810
88811 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88812
88813 [BZ #411]
88814 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88815
88816 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88817
88818 * sysdeps/i386/sysdep.h: Include <features.h>.
88819 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88820 version.
88821
88822 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88823
88824 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88825 Define.
88826 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88827 LOAD_PIC_REG_STR.
88828
88829 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88830
88831 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88832 (SETUP_PIC_REG): Use GET_PC_THUNK.
88833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88834 macro.
88835
88836 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88837
88838 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88839 for non-PIC compilation.
88840 (SETUP_PIC_REG): Add .p2align directive.
88841 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88842 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88843 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88844 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88845 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88846 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88847 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88849 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88850 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88851 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88852 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88853 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88854 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88855 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88856 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88857 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88858 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88859 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88860 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88861 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88862 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88863 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88864 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88869 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88870 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88871 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88872 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88873 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88874 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88875 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88876 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88877 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88878 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88879 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88880 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88881 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88882
88883 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88884
88885 * math/tst-CMPLX.c: Include <stdio.h>.
88886
88887 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88888
88889 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88890 float.
88891 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88892 * sysdeps/sparc/bits/mathdef.h: Likewise.
88893
88894 2012-01-31 Marek Polacek <polacek@redhat.com>
88895
88896 * libio/libio.h: Don't define _PARAMS.
88897 * locale/programs/config.h: Don't define PARAMS.
88898 * stdlib/strtol_l.c: Likewise.
88899 (__strtol_l): Remove PARAMS from the prototype.
88900
88901 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88902
88903 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88904 names. Just use the correct names. Remove unnecessary wrapper
88905 functions.
88906 * malloc/arena.c: Likewise.
88907 * malloc/hooks.c: Likewise.
88908
88909 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88910 ARENA_TEST says not to. Simplify test for creation of a new arena.
88911 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88912
88913 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88914
88915 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88916 into tail calls.
88917 (update_get_addr): New function.
88918 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88919 GET_ADDR_MODULE parameter.
88920
88921 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88922
88923 * crypt/cert.c: Remove __STDC__ conditionals.
88924 * crypt/crypt-entry.c: Likewise.
88925 * crypt/crypt_util.c: Likewise.
88926 * libio/filedoalloc.c: Likewise.
88927 * libio/fileops.c: Likewise.
88928 * libio/genops.c: Likewise.
88929 * libio/iofclose.c: Likewise.
88930 * libio/iofdopen.c: Likewise.
88931 * libio/iofopen.c: Likewise.
88932 * libio/iofopen64.c: Likewise.
88933 * libio/iogetdelim.c: Likewise.
88934 * libio/iopopen.c: Likewise.
88935 * libio/obprintf.c: Likewise.
88936 * libio/oldfileops.c: Likewise.
88937 * libio/oldiofclose.c: Likewise.
88938 * libio/oldiofdopen.c: Likewise.
88939 * libio/oldiofopen.c: Likewise.
88940 * libio/oldiopopen.c: Likewise.
88941 * libio/wfiledoalloc.c: Likewise.
88942 * libio/wgenops.c: Likewise.
88943 * locale/programs/xmalloc.c: Likewise.
88944 * misc/syslog.c: Likewise.
88945 * stdio-common/xbug.c: Likewise.
88946 * string/memchr.c: Likewise.
88947 * string/memcmp.c: Likewise.
88948 * string/memrchr.c: Likewise.
88949 * string/rawmemchr.c: Likewise.
88950 * sysdeps/posix/getcwd.c: Likewise.
88951 * time/strftime_l.c: Likewise.
88952
88953 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88954
88955 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88956 * config.make.in (config-cflags-sse2avx): Define.
88957 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88958 Fix typo.
88959
88960 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88961
88962 * scripts/config.guess: Update from upstream config git repository.
88963 * scripts/config.sub: Likewise.
88964
88965 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88966
88967 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88968 (EM_NUM): Update.
88969 (R_TILEPRO_*, R_TILEGX_*): New macros.
88970
88971 * scripts/firstversions.awk: Fix bug in version range handling.
88972
88973 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88974
88975 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88976
88977 * include/sys/epoll.h: New file.
88978 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88979 libc_hidden_def.
88980
88981 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88982
88983 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88984 Avoid unnecessary __WORDSIZE == 64 test.
88985 (fmaxf): Use VEX format if possible.
88986 (fmax): Likewise.
88987 (fminf): Likewise.
88988 (fmin): Likewise.
88989
88990 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88991 * math/math_private.h: Remove libc_fegetround* and
88992 libc_fesetround*.
88993 * sysdeps/i386/configure.in: Check for -msse2avx.
88994 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88995 also if SSE2AVX is defined.
88996 Remove libc_fegetround* and libc_fesetround*.
88997 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88998 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89000 of HAS_YMM_USABLE.
89001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89006
89007 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89008
89009 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89010
89011 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89012 size is not set.
89013 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89014
89015 2012-01-27 Ulrich Drepper <drepper@gmail.com>
89016
89017 [BZ #13618]
89018 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89019 relocation.
89020 * Makeconfig (libm): Define.
89021 * elf/Makefile: Add rules to build and run tst-relsort1.
89022 * elf/tst-relsort1.c: New file.
89023 * elf/tst-relsort1mod1.c: New file.
89024 * elf/tst-relsort1mod2.c: New file.
89025
89026 2012-01-27 Joseph Myers <joseph@codesourcery.com>
89027
89028 * math/s_ldexp.c: Remove __STDC__ conditionals.
89029 * math/s_ldexpf.c: Likewise.
89030 * math/s_ldexpl.c: Likewise.
89031 * math/s_nextafter.c: Likewise.
89032 * math/s_nexttowardf.c: Likewise.
89033 * math/s_significand.c: Likewise.
89034 * math/s_significandf.c: Likewise.
89035 * math/s_significandl.c: Likewise.
89036 * math/w_jnl.c: Likewise.
89037 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89038 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89039 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89040 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89041 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89043 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89044 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89045 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89046 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89047 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89049 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89051 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89054 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89056 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89057 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89058 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89059 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89060 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89061 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89062 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89063 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89064 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89065 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89066 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89069 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89070 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89071 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89073 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89074 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89075 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89076 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89077 * sysdeps/ieee754/k_standard.c: Likewise.
89078 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89079 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89080 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89081 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89082 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89083 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89085 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89086 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89087 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89088 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89090 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89091 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89092 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89094 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89095 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89097 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89100 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89101 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89102 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89103 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89107 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89108 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89109 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89110 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89111 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89112 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89114 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89115 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89116 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89117 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89118 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89120 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89121 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89122 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89123 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89124 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89125 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89126 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89127 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89128 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89132 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89133 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89134 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89136 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89137 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89138 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89139 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89140 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89141 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89142 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89143 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89144 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89145 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89147 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89148 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89149 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89150 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89153 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89154 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89155 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89157 * sysdeps/ieee754/s_matherr.c: Likewise.
89158 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89159 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89162
89163 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89164
89165 * crypt/md5.h: Remove __STDC__ conditionals.
89166 * libio/libioP.h: Likewise.
89167 * locale/programs/config.h: Likewise.
89168 * sysdeps/generic/sysdep.h: Likewise.
89169 * sysdeps/i386/asm-syntax.h: Likewise.
89170 * sysdeps/s390/asm-syntax.h: Likewise.
89171 * sysdeps/unix/sysdep.h: Likewise.
89172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89174
89175 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89176
89177 * libio/libio.h: Remove __STDC__ conditionals.
89178 * malloc/obstack.h: Likewise.
89179 * math/complex.h: Likewise.
89180 * math/math.h: Likewise.
89181 * sysdeps/generic/_G_config.h: Likewise.
89182 * sysdeps/gnu/_G_config.h: Likewise.
89183 * sysdeps/mach/hurd/_G_config.h: Likewise.
89184 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89185 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89186 * sysdeps/sparc/bits/mathdef.h: Likewise.
89187
89188 2012-01-26 Ulrich Drepper <drepper@gmail.com>
89189
89190 [BZ #13583]
89191 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89192 Clean up HAS_* macros.
89193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89194 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89195 possible.
89196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89197 HAS_AVX.
89198 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89199 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89200 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89201 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89202 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89203
89204 2012-01-25 Joseph Myers <joseph@codesourcery.com>
89205
89206 * elf/tst-unique3.cc (gets): Remove declaration.
89207 * elf/tst-unique3lib.cc (gets): Likewise.
89208 * elf/tst-unique3lib2.cc (gets): Likewise.
89209 * elf/tst-unique4.cc (gets): Likewise.
89210
89211 2012-01-24 Ulrich Drepper <drepper@gmail.com>
89212
89213 * include/stdio.h: Add C++ protection. Add gets declarations and
89214 definitions.
89215 * debug/tst-chk1.c: Don't declare gets here.
89216 * stdio-common/tst-gets.c: Likewise.
89217
89218 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89219
89220 * posix/glob: Remove directory.
89221
89222 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89223
89224 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89225
89226 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89227
89228 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89229 of the non-standard EPFNOSUPPORT.
89230
89231 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89232
89233 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89234 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89235 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89236
89237 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89238
89239 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89240
89241 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89242
89243 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89244 transient errors.
89245 * nscd/grpcache.c (cache_addgr): Likewise.
89246 * nscd/hstcache.c (cache_addhst): Likewise.
89247 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89248 * nscd/pwdcache.c (cache_addpw): Likewise.
89249 * nscd/servicescache.c (cache_addserv): Likewise.
89250
89251 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89252
89253 * malloc/malloc.c: Various cleanups.
89254 * malloc/hooks.c: Likewise.
89255
89256 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89257 * stdlib/bug-fmtmsg1.c: New file.
89258
89259 * stdlib/fmtmsg.c (init): Add missing unlock.
89260 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89261
89262 2012-01-12 Marek Polacek <polacek@redhat.com>
89263
89264 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89265 and _GNU_SOURCE.
89266
89267 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89268
89269 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89270 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89271 macro to ensure uniqueness of label name.
89272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89274
89275 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89276
89277 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89278
89279 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89280 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89281 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89283
89284 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89285
89286 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89287
89288 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89289 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89290 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89291
89292 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89293
89294 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89295 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89296 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89298
89299 * math/bits/math-finite.h: Add ldexp support.
89300
89301 2012-01-10 Marek Polacek <polacek@redhat.com>
89302
89303 * locale/programs/localedef.h (show_archive_content): Add noreturn
89304 attribute.
89305
89306 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89307
89308 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89309
89310 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89311
89312 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89313
89314 * io/Makefile (headers): Add bits/poll2.h.
89315
89316 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89317
89318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89319 typo #include statement.
89320
89321 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89322
89323 * include/sys/cdefs.h: Define __attribute_alloc_size.
89324 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89325 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89326 * elf/pldd.c: Likewise.
89327 * iconv/iconv_charmap.c: Likewise.
89328 * iconv/iconvconfig.c: Likewise.
89329 * iconv/strtab.c: Likewise.
89330 * locale/programs/locale.c: Likewise.
89331 * locale/programs/localedef.h: Likewise.
89332 * locale/programs/simple-hash.c: Likewise.
89333 * nscd/nscd.h: Likewise.
89334 * nss/makedb.c: Likewise.
89335 * sysdeps/generic/ldconfig.h: Likewise.
89336 * locale/programs/localedef.c: Remove xmalloc prototype.
89337 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89338
89339 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89340
89341 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89342 appropriate.
89343
89344 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89345
89346 * math/Makefile (tests): Add tst-CMPLX.
89347 * math/tst-CMPLX.c: New file.
89348
89349 * math/complex.h (CMPLXL): Fix typo.
89350
89351 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89352 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89353 GLIBC_2.16.
89354 * debug/tst-chk1.c: Add poll and ppoll tests.
89355 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89356 * include/sys/poll.h: Add hidden proto for ppoll.
89357 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89358 * sysdeps/mach/hurd/ppoll.c: Likewise.
89359 * io/ppoll.c: Likewise.
89360 * debug/poll_chk.c: New file.
89361 * debug/ppoll_chk.c: New file.
89362 * include/bits/poll2.h: New file.
89363 * io/bits/poll2.h: New file.
89364
89365 [BZ #1350]
89366 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89367
89368 * configure.in: static is always set to yes. Remove.
89369 * config.make.in: Don't set build-static.
89370 * Makeconfig: Remove use of build-static.
89371 * dlfcn/Makefile: Likewise.
89372 * elf/Makefile: Likewise.
89373 * math/Makefile: Likewise.
89374 * misc/Makefile: Likewise.
89375 * nptl/Makefile: Likewise.
89376 * sysdeps/mach/hurd/Makefile: Likewise.
89377
89378 * configure.in: PWD_P is not used anymore.
89379 * config.make.in: Remove PWD_P entry.
89380
89381 * configure.in: Remove last remnants of RANLIB.
89382 No need to check for signed size_t anymore.
89383 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89384 and IA-64.
89385 Remove __builtin_expect test because we require at least gcc 3.4.
89386 * aclocal.m4: Likewise.
89387
89388 * wcsmbs/mbrtoc16.c: Implement using towc function.
89389 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89390 * wcsmbs/wcsmbsload.c: Likewise.
89391 * iconv/gconv_simple.c: Likewise.
89392 * iconv/gconv_int.h: Likewise.
89393 * iconv/gconv_builtin.h: Likewise.
89394 * iconv/iconv_prog.c: Remove CHAR16 handling.
89395
89396 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89397
89398 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89399
89400 * configure.in: Remove --with-elf and --enable-bounded options.
89401 Dont set base_machine for ia64. More non-ELF conditions removed.
89402 Remove testing and setting of leading underscore information.
89403 * config.make.in (build-bounded): Set to no.
89404 * config.h.in: Remove NO_UNDERSCORES entry.
89405 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89406 them.
89407 * csu/start.c: Remove !NO_UNDERSCORE code.
89408 * locale/localeinfo.h: Likewise.
89409 * sysdeps/generic/machine-gmon.h: Likewise.
89410 * sysdeps/generic/sysdep.h: Likewise.
89411 * sysdeps/i386/sysdep.h: Likewise.
89412 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89413 * sysdeps/mach/sysdep.h: Likewise.
89414 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89415 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89416 * sysdeps/sh/sysdep.h: Likewise.
89417 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89418 * sysdeps/unix/i386/sysdep.S: Likewise.
89419 * sysdeps/unix/sparc/start.c: Likewise.
89420 * sysdeps/unix/sparc/sysdep.S: Likewise.
89421 * sysdeps/unix/sparc/sysdep.h: Likewise.
89422 * sysdeps/unix/start.c: Likewise.
89423 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89424 * sysdeps/x86_64/sysdep.h: Likewise.
89425
89426 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89427
89428 [BZ #13553]
89429 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89430 for non-gcc.
89431 * argp/argp-fmtstream.h: Use const instead __const.
89432 * argp/argp.h: Likewise.
89433 * assert/assert.h: Likewise.
89434 * bits/fenv.h: Likewise.
89435 * bits/sched.h: Likewise.
89436 * bits/sigset.h: Likewise.
89437 * bits/sigthread.h: Likewise.
89438 * catgets/nl_types.h: Likewise.
89439 * conform/data/pthread.h-data: Likewise.
89440 * crypt/crypt-private.h: Likewise.
89441 * crypt/crypt.h: Likewise.
89442 * crypt/crypt_util.c: Likewise.
89443 * ctype/ctype.h: Likewise.
89444 * debug/execinfo.h: Likewise.
89445 * debug/mbsnrtowcs_chk.c: Likewise.
89446 * debug/mbsrtowcs_chk.c: Likewise.
89447 * debug/wcsnrtombs_chk.c: Likewise.
89448 * debug/wcsrtombs_chk.c: Likewise.
89449 * debug/wcstombs_chk.c: Likewise.
89450 * dirent/dirent.h: Likewise.
89451 * dlfcn/dlfcn.h: Likewise.
89452 * elf/neededtest4.c: Likewise.
89453 * grp/grp.h: Likewise.
89454 * gshadow/gshadow.h: Likewise.
89455 * iconv/gconv.h: Likewise.
89456 * iconv/gconv_int.h: Likewise.
89457 * iconv/gconv_simple.c: Likewise.
89458 * iconv/iconv.h: Likewise.
89459 * iconv/loop.c: Likewise.
89460 * iconv/skeleton.c: Likewise.
89461 * include/aio.h: Likewise.
89462 * include/aliases.h: Likewise.
89463 * include/argz.h: Likewise.
89464 * include/arpa/inet.h: Likewise.
89465 * include/assert.h: Likewise.
89466 * include/dirent.h: Likewise.
89467 * include/dlfcn.h: Likewise.
89468 * include/execinfo.h: Likewise.
89469 * include/fcntl.h: Likewise.
89470 * include/fenv.h: Likewise.
89471 * include/glob.h: Likewise.
89472 * include/grp.h: Likewise.
89473 * include/libintl.h: Likewise.
89474 * include/mntent.h: Likewise.
89475 * include/netdb.h: Likewise.
89476 * include/pwd.h: Likewise.
89477 * include/rpc/netdb.h: Likewise.
89478 * include/sched.h: Likewise.
89479 * include/search.h: Likewise.
89480 * include/shadow.h: Likewise.
89481 * include/signal.h: Likewise.
89482 * include/stdio.h: Likewise.
89483 * include/stdlib.h: Likewise.
89484 * include/string.h: Likewise.
89485 * include/sys/socket.h: Likewise.
89486 * include/sys/stat.h: Likewise.
89487 * include/sys/statfs.h: Likewise.
89488 * include/sys/statvfs.h: Likewise.
89489 * include/sys/syslog.h: Likewise.
89490 * include/sys/time.h: Likewise.
89491 * include/sys/uio.h: Likewise.
89492 * include/time.h: Likewise.
89493 * include/unistd.h: Likewise.
89494 * include/utmp.h: Likewise.
89495 * include/wchar.h: Likewise.
89496 * include/wctype.h: Likewise.
89497 * inet/aliases.h: Likewise.
89498 * inet/arpa/inet.h: Likewise.
89499 * inet/netinet/ether.h: Likewise.
89500 * inet/netinet/in.h: Likewise.
89501 * intl/libintl.h: Likewise.
89502 * io/bits/fcntl2.h: Likewise.
89503 * io/fcntl.h: Likewise.
89504 * io/ftw.h: Likewise.
89505 * io/sys/poll.h: Likewise.
89506 * io/sys/stat.h: Likewise.
89507 * io/sys/statfs.h: Likewise.
89508 * io/sys/statvfs.h: Likewise.
89509 * io/utime.h: Likewise.
89510 * libio/bits/stdio.h: Likewise.
89511 * libio/bits/stdio2.h: Likewise.
89512 * libio/libio.h: Likewise.
89513 * libio/libioP.h: Likewise.
89514 * libio/stdio.h: Likewise.
89515 * locale/lc-ctype.c: Likewise.
89516 * locale/locale.h: Likewise.
89517 * login/utmp.h: Likewise.
89518 * malloc/arena.c: Likewise.
89519 * malloc/malloc.c: Likewise.
89520 * malloc/malloc.h: Likewise.
89521 * malloc/mcheck.c: Likewise.
89522 * malloc/mtrace.c: Likewise.
89523 * math/bits/mathcalls.h: Likewise.
89524 * math/fenv.h: Likewise.
89525 * math/math_private.h: Likewise.
89526 * misc/bits/error.h: Likewise.
89527 * misc/bits/syslog.h: Likewise.
89528 * misc/err.h: Likewise.
89529 * misc/error.h: Likewise.
89530 * misc/fstab.h: Likewise.
89531 * misc/mntent.h: Likewise.
89532 * misc/regexp.h: Likewise.
89533 * misc/search.h: Likewise.
89534 * misc/sgtty.h: Likewise.
89535 * misc/sys/mman.h: Likewise.
89536 * misc/sys/syslog.h: Likewise.
89537 * misc/sys/uio.h: Likewise.
89538 * misc/sys/xattr.h: Likewise.
89539 * misc/ttyent.h: Likewise.
89540 * nis/rpcsvc/ypclnt.h: Likewise.
89541 * nss/nss.h: Likewise.
89542 * posix/bits/unistd.h: Likewise.
89543 * posix/fnmatch.h: Likewise.
89544 * posix/glob.h: Likewise.
89545 * posix/sched.h: Likewise.
89546 * posix/spawn.h: Likewise.
89547 * posix/sys/wait.h: Likewise.
89548 * posix/unistd.h: Likewise.
89549 * posix/wordexp.h: Likewise.
89550 * pwd/pwd.h: Likewise.
89551 * resolv/netdb.h: Likewise.
89552 * resource/sys/resource.h: Likewise.
89553 * rt/aio.h: Likewise.
89554 * rt/bits/mqueue2.h: Likewise.
89555 * rt/mqueue.h: Likewise.
89556 * shadow/shadow.h: Likewise.
89557 * signal/signal.h: Likewise.
89558 * socket/send.c: Likewise.
89559 * socket/sendto.c: Likewise.
89560 * socket/sys/socket.h: Likewise.
89561 * stdio-common/printf.h: Likewise.
89562 * stdlib/bits/stdlib.h: Likewise.
89563 * stdlib/fmtmsg.h: Likewise.
89564 * stdlib/monetary.h: Likewise.
89565 * stdlib/stdlib.h: Likewise.
89566 * stdlib/ucontext.h: Likewise.
89567 * streams/stropts.h: Likewise.
89568 * string/argz.h: Likewise.
89569 * string/bits/string2.h: Likewise.
89570 * string/string.h: Likewise.
89571 * string/strings.h: Likewise.
89572 * sunrpc/rpc/auth.h: Likewise.
89573 * sunrpc/rpc/auth_des.h: Likewise.
89574 * sunrpc/rpc/clnt.h: Likewise.
89575 * sunrpc/rpc/netdb.h: Likewise.
89576 * sunrpc/rpc/pmap_clnt.h: Likewise.
89577 * sunrpc/rpc/xdr.h: Likewise.
89578 * sysdeps/generic/inttypes.h: Likewise.
89579 * sysdeps/generic/net/if.h: Likewise.
89580 * sysdeps/generic/sys/swap.h: Likewise.
89581 * sysdeps/gnu/net/if.h: Likewise.
89582 * sysdeps/gnu/utmpx.h: Likewise.
89583 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89584 * sysdeps/i386/i486/bits/string.h: Likewise.
89585 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89586 * sysdeps/s390/bits/string.h: Likewise.
89587 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89588 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89589 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89590 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89591 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89592 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89593 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89594 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89595 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89596 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89597 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89598 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89599 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89600 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89601 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89602 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89603 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89607 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89608 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89609 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89610 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89611 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89612 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89613 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89615 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89616 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89617 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89618 * sysvipc/sys/ipc.h: Likewise.
89619 * sysvipc/sys/msg.h: Likewise.
89620 * sysvipc/sys/sem.h: Likewise.
89621 * sysvipc/sys/shm.h: Likewise.
89622 * termios/termios.h: Likewise.
89623 * time/sys/time.h: Likewise.
89624 * time/time.h: Likewise.
89625 * wcsmbs/bits/wchar2.h: Likewise.
89626 * wcsmbs/uchar.h: Likewise.
89627 * wcsmbs/wchar.h: Likewise.
89628 * wctype/wctype.h: Likewise.
89629
89630 [BZ #13551]
89631 * Makeconfig: Remove all but ELF support including AIX support.
89632 * Makerules: Likewise.
89633 * config.h.in: Likewise.
89634 * config.make.in: Likewise.
89635 * configure: Likewise.
89636 * configure.in: Likewise.
89637 * csu/Makefile: Likewise.
89638 * csu/version.c: Likewise.
89639 * debug/Makefile: Likewise.
89640 * dlfcn/Makefile: Likewise.
89641 * elf/Makefile: Likewise.
89642 * extra-lib.mk: Likewise.
89643 * iconv/Makefile: Likewise.
89644 * include/libc-symbols.h: Likewise.
89645 * include/shlib-compat.h: Likewise.
89646 * resolv/Makefile: Likewise.
89647 * resolv/res_libc.c: Likewise.
89648 * rt/Makefile: Likewise.
89649 * sysdeps/i386/asm-syntax.h: Likewise.
89650 * sysdeps/i386/sysdep.h: Likewise.
89651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89652 * sysdeps/mach/sysdep.h: Likewise.
89653 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89654 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89655 * sysdeps/s390/asm-syntax.h: Likewise.
89656 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89658 * sysdeps/sh/sysdep.h: Likewise.
89659 * sysdeps/unix/sparc/sysdep.h: Likewise.
89660 * sysdeps/wordsize-32/divdi3.c: Likewise.
89661 * sysdeps/x86_64/sysdep.h: Likewise.
89662
89663 * argp/Versions: Remove _argp_unlock_xxx.
89664
89665 [BZ #13559]
89666 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89667 * abilist/libBrokenLocale.abilist: Likewise.
89668 * abilist/libanl.abilist: Likewise.
89669 * abilist/libc.abilist: Likewise.
89670 * abilist/libcrypt.abilist: Likewise.
89671 * abilist/libdl.abilist: Likewise.
89672 * abilist/libm.abilist: Likewise.
89673 * abilist/libnsl.abilist: Likewise.
89674 * abilist/libpthread.abilist: Likewise.
89675 * abilist/libresolv.abilist: Likewise.
89676 * abilist/librt.abilist: Likewise.
89677 * abilist/libthread_db.abilist: Likewise.
89678 * abilist/libutil.abilist: Likewise.
89679 * abilist/libnss_db.abilist: New file.
89680
89681 * scripts/abilist.awk: Add support for indirect functions.
89682
89683 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89684
89685 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89686
89687 * shlib-versions: Remove entries for ports architectures.
89688
89689 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89690 files in ports.
89691 * elf/stackguard-macros.h: Remove support for IA-64.
89692 * elf/tst-auditmod1.c: Likewise.
89693 * sysdeps/generic/ldsodefs.h: Likewise.
89694
89695 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89696 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89697 configure files.
89698
89699 [BZ #13552]
89700 * configure.in: Remove --enable-omitfp support.
89701 * FAQ.in: Adjust.
89702 * config.make.in: Likewise.
89703 * Makeconfig: Likewise.
89704 * manual/install.texi: Likewise.
89705
89706 In case anyone cares, the IA-64 architecture could move to ports.
89707 * sysdeps/ia64/*: Removed.
89708 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89709 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89710
89711 [BZ #13555]
89712 * configure.in: Remove entries for unsupported architectures.
89713
89714 [BZ #13533]
89715 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89716 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89717 routines.
89718 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89719 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89720 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89721 fall back to using wcrtomb.
89722 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89723 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89724 renaming.
89725 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89726 * wcsmbs/tst-c16c32-1.c: New file.
89727
89728 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89729 local variable.
89730
89731 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89732
89733 * elf/tst-unique3.cc: Add explicit declaration of gets.
89734 * elf/tst-unique3lib.cc: Likewise.
89735 * elf/tst-unique3lib2.cc: Likewise.
89736 * elf/tst-unique4.cc: Likewise.
89737
89738 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89739
89740 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89741
89742 [BZ #13566]
89743 * assert/assert.h (static_assert): Don't define for C++.
89744 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89745 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89746
89747 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89748
89749 * iconv/loop.c (single loop): Fix assertion in storing of
89750 remaining bytes.
89751
89752 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89753
89754 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89755
89756 * posix/getconf.c: Update copyright year.
89757 * nss/getent.c: Likewise.
89758 * nss/makedb.c: Likewise.
89759 * iconv/iconvconfig.c: Likewise.
89760 * iconv/iconv_prog.c: Likewise.
89761 * elf/ldconfig.c: Likewise.
89762 * elf/pldd.c: Likewise.
89763 * elf/sotruss.ksh: Likewise.
89764 * catgets/gencat.c: Likewise.
89765 * csu/version.c: Likewise.
89766 * elf/ldd.bash.in: Likewise.
89767 * elf/sprof.c (print_version): Likewise.
89768 * locale/programs/locale.c: Likewise.
89769 * locale/programs/localedef.c: Likewise.
89770 * login/programs/pt_chown.c: Likewise.
89771 * nscd/nscd.c (print_version): Likewise.
89772 * debug/xtrace.sh: Likewise.
89773 * malloc/memusage.sh: Likewise.
89774 * malloc/mtrace.pl: Likewise.
89775 * debug/catchsegv.sh: Likewise.
89776
89777 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89778
89779 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89780 pure attribute.
89781
89782 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89783
89784 [BZ #13533]
89785 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89786 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89787 transformations.
89788 * iconv/gconv_int.h: Likewise.
89789 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89790 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89791 from libc for GLIBC_2.16.
89792 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89793 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89794 * wcsmbs/uchar.h: Really define mbstate_t.
89795 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89796 * wcsmbs/c16rtomb.c: New file.
89797 * wcsmbs/mbrtoc16.c: New file.
89798 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89799 for C/POSIX locale.
89800 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89801 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89802
89803 * wcsmbs/wchar.h: Add missing __restrict.
89804
89805 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89806
89807 [BZ #13532]
89808 * time/Makefile (routines): Add timespec_get.
89809 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89810 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89811 timespec for ISO C11.
89812 * time/timespec_get.c: New file.
89813 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89814 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89815
89816 [BZ #13531]
89817 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89818 * stdlib/stdlib.h: Declare aligned_alloc.
89819 * Versions.def: Add GLIBC_2.16 for libc.
89820 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89821
89822 [BZ 13527]
89823 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89824 ISO C11.
89825
89826 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89827 code.
89828
89829 [BZ #13528]
89830 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89831
89832 [BZ #13529]
89833 * assert/assert.h (static_assert): Define.
89834
89835 * version.h: Update for 2.16 development version.
89836
89837 [BZ #13526]
89838 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89839 _ISOC11_SOURCE.
89840
89841 * version.h (RELEASE): Bump for 2.15 release.
89842 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89843
89844 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89845 Patch by Marek Polacek <mpolacek@redhat.com>.
89846
89847 * bits/byteswap.h: Protect long long constants with __extension__.
89848 * sysdeps/i386/bits/byteswap.h: Likewise.
89849 * sysdeps/ia64/bits/byteswap.h: Likewise.
89850 * sysdeps/s390/bits/byteswap.h: Likewise.
89851 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89852
89853 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89854
89855 [BZ #13540]
89856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89857 destination buffer.
89858 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89859
89860 2011-12-23 Marek Polacek <polacek@redhat.com>
89861
89862 * elf/dl-addr.c (determine_info): Add inline keyword.
89863 * elf/tst-auditmod4b.c (check_avx): Likewise.
89864 * elf/tst-auditmod6b.c (check_avx): Likewise.
89865 * elf/tst-auditmod6c.c (check_avx): Likewise.
89866 * elf/tst-auditmod7b.c (check_avx): Likewise.
89867
89868 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89869
89870 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89871 !__SSE_MATH__.
89872
89873 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89874
89875 [BZ #13540]
89876 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89877 processing for last bytes.
89878
89879 2011-08-06 Bruno Haible <bruno@clisp.org>
89880
89881 [BZ #13061]
89882 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89883 U+0385, not to U+1FEE.
89884
89885 [BZ #13062]
89886 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89887 entry for U+00A5 U+0301.
89888
89889 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89890
89891 [BZ #13166]
89892 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89893 buffer for the output is too small.
89894
89895 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89896 optimization.
89897
89898 [BZ #13185]
89899 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89900 SSE flags if possible.
89901
89902 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89903
89904 [BZ #13540]
89905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89906 processing for last bytes.
89907
89908 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89909
89910 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89911 (syscall-list-default-options, syscall-list-default-condition)
89912 (syscall-list-includes): Define.
89913 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89914 list of ABIs and options and #if conditions for each ABI. Do not
89915 handle common syscalls between ABIs specially.
89916 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89917 Remove.
89918 (syscall-list-variants, syscall-list-32bit-options)
89919 (syscall-list-32bit-condition, syscall-list-64bit-options)
89920 (syscall-list-64bit-condition): Define.
89921 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89922 (syscall-list-variants, syscall-list-32bit-options)
89923 (syscall-list-32bit-condition, syscall-list-64bit-options)
89924 (syscall-list-64bit-condition): Define.
89925 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89926 Remove.
89927 (syscall-list-variants, syscall-list-32bit-options)
89928 (syscall-list-32bit-condition, syscall-list-64bit-options)
89929 (syscall-list-64bit-condition): Define.
89930 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89931 Remove.
89932 (syscall-list-variants, syscall-list-32bit-options)
89933 (syscall-list-32bit-condition, syscall-list-64bit-options)
89934 (syscall-list-64bit-condition): Define.
89935
89936 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89937
89938 * locale/iso-639.def: Add brx entry.
89939
89940 [BZ #13328]
89941 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89942 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89943
89944 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89945 __feraiseexcept_renamed.
89946
89947 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89948
89949 [BZ #13538]
89950 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89951 EPOLLET with unsigned values.
89952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89953 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89954
89955 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89956 to large cancellation.
89957 * math/s_cacoshf.c: Likewise.
89958 * math/s_cacoshl.c: Likewise.
89959
89960 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89961
89962 [BZ #13305]
89963 [BZ #12786]
89964 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89965 * math/s_cacoshf.c: Likewise.
89966 * math/s_cacoshl.c: Likewise.
89967
89968 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89969
89970 [BZ #13439]
89971 * iconv/gconv.h: Define __GCONV_SWAP.
89972 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89973 * iconvdata/utf-16.c: Likewise.
89974 * iconvdata/utf-32.c: Likewise.
89975
89976 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89977
89978 [BZ #13524]
89979 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89980 numerator after shifting it by one limb.
89981
89982 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89983
89984 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89985 under [__USE_EXTERN_INLINES].
89986
89987 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89988
89989 [BZ #13446]
89990 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89991
89992 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89993
89994 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89995 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89996 optimized code.
89997 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89998 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89999 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90000 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90001 for strncasecmp/strncasecmp_l compilation.
90002 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90003 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90004
90005 2011-12-08 Marek Polacek <mpolacek@redhat.com>
90006
90007 [BZ #13484]
90008 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90009 of __asm__.
90010
90011 2011-12-17 Ulrich Drepper <drepper@gmail.com>
90012
90013 [BZ #13506]
90014 * time/tzfile.c (__tzfile_read): Check values from file header.
90015
90016 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
90017
90018 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90019 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90020 * powerpc/powerpc32/dl-start.S: Likewise.
90021 * powerpc/powerpc32/elf/start.S: Likewise.
90022 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90023 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90024 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90025 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90026 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90027 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90028 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90029 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90030 * powerpc/powerpc32/fpu/s_round.S: Likewise.
90031 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90032 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90033 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90034 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90035 * powerpc/powerpc32/memset.S: Likewise.
90036 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90037 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90038 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90039 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90040 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90041 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90042 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90043 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90044 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90045 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90046 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90047 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90048 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90049
90050 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90051
90052 * math/libm-test.inc: Added more nearbyint tests.
90053 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90055 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90057
90058 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
90059
90060 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90061 FD_CLOEXEC.
90062
90063 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90064
90065 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90066 Add wcscpy-ssse3 wcscpy-c.
90067 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90068 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90069 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90070 * sysdeps/x86_64/wcschr.S: New file.
90071 * sysdeps/x86_64/wcsrchr.S: New file.
90072 * string/test-strcmp.c: Remove checking of wcscmp function for
90073 wrong alignments.
90074 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90075 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90076 wcsrchr-sse2 wcsrchr-c.
90077 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90078 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90079 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90080 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90081 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90082 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90083 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90084 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90085 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90086 * wcsmbc/wcschr.c (WCSCHR): New macro.
90087
90088 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90089
90090 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90091 * wcsmbs/test-wcsrchr.c: New file.
90092 * string/test-strrchr.c: Add wcsrchr support.
90093 (WIDE): New macro.
90094 * wcsmbs/test-wcscpy.c: New file.
90095 * string/test-strcpy.c: Add wcscpy support.
90096 (WIDE): New macro.
90097
90098 2011-12-10 Ulrich Drepper <drepper@gmail.com>
90099
90100 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90101 the inner loop.
90102
90103 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
90104
90105 [BZ #13472]
90106 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90107
90108 2011-12-04 Ulrich Drepper <drepper@gmail.com>
90109
90110 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90111 Minor optimizations.
90112
90113 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90114 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90115 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90116
90117 2011-12-03 Ulrich Drepper <drepper@gmail.com>
90118
90119 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90120 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90121 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90122 for gcc to avoid warnings.
90123 * inet/Makefile (tests): Add tst-checks.
90124 * inet/tst-checks.c: New file.
90125
90126 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90127 warning.
90128
90129 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90130 __wmemcmp_sse2.
90131
90132 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90133 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90134
90135 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90136
90137 2011-12-02 Ulrich Drepper <drepper@gmail.com>
90138
90139 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90140 problem.
90141
90142 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90143
90144 2011-11-29 Joseph Myers <joseph@codesourcery.com>
90145
90146 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90147 conditional on GCC version.
90148 (__arch_compare_and_exchange_val_8_acq)
90149 (__arch_compare_and_exchange_val_16_acq)
90150 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90151 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90152 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90153
90154 2011-12-02 Joseph Myers <joseph@codesourcery.com>
90155
90156 * sysdeps/sh/backtrace.c: New file.
90157
90158 2011-12-02 Andreas Schwab <schwab@redhat.com>
90159
90160 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
90161 parenthesis.
90162
90163 2011-12-01 Andreas Schwab <schwab@redhat.com>
90164
90165 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90166 falling back to utime.
90167
90168 2011-11-30 Andreas Schwab <schwab@redhat.com>
90169
90170 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90171 expectations for float.
90172
90173 2011-11-29 Andreas Schwab <schwab@redhat.com>
90174
90175 * locale/weight.h (findidx): Add parameter len.
90176 * locale/weightwc.h (findidx): Likewise.
90177 * posix/fnmatch_loop.c (FCT): Adjust caller.
90178 * posix/regcomp.c (build_equiv_class): Likewise.
90179 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90180 * posix/regexec.c (check_node_accept_bytes): Likewise.
90181 * string/strcoll_l.c (STRCOLL): Likewise.
90182 * string/strxfrm_l.c (STRXFRM): Likewise.
90183
90184 2011-11-17 Ulrich Drepper <drepper@gmail.com>
90185
90186 * Makefile.in: Remove CVSOPT handling.
90187 * configure.in: Remove use of AC_REVISION.
90188 * iconvdata/Makefile (distribute): No need to filter out CVS.
90189 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90190 handling.
90191
90192 2011-11-16 Andreas Schwab <schwab@redhat.com>
90193
90194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90195 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90196 [USE_AS_STRNCASECMP_L]: Likewise.
90197 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90198 NO_TLS_DIRECT_SEG_REFS.
90199 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90200 Fix argument offsets for non-PIC.
90201 [USE_AS_STRNCASECMP_L]: Likewise.
90202 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90203 NO_TLS_DIRECT_SEG_REFS.
90204
90205 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90206
90207 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90208 O_CLOEXEC.
90209 * locale/loadlocale.c (_nl_load_locale): Likewise.
90210
90211 2011-11-15 Andreas Schwab <schwab@redhat.com>
90212
90213 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90214 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90216 (SYSCALL_GETTIME): Set errno on error.
90217
90218 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90219 count references to noai6ai_cached.
90220
90221 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90222
90223 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90224
90225 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90226 FD_CLOEXEC for /proc/self/maps.
90227
90228 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90229 FD_CLOEXEC for /proc/meminfo.
90230
90231 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90232 gai.conf.
90233
90234 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90235 FD_CLOEXEC for given file.
90236
90237 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90238
90239 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90240 FD_CLOEXEC for /etc/hosts.
90241 (_gethtent): Likewise.
90242
90243 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90244
90245 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90246 cancellation and set FD_CLOEXEC for /etc/netgroup.
90247
90248 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90249 reading /etc/publickey.
90250
90251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90252 allow cancellation when reading /etc/group.
90253
90254 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90255 cancellation.
90256 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90257
90258 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90259 when using data file.
90260
90261 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90262
90263 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90264 (write_nis_obj): Use "c" and "e" in fopen.
90265
90266 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90267
90268 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90269
90270 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90271
90272 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90273
90274 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90275 locale.alias.
90276
90277 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90278
90279 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90280
90281 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90282
90283 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90284 file parsing and set FD_CLOEXEC.
90285
90286 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90287
90288 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90289
90290 2011-11-14 Andreas Schwab <schwab@redhat.com>
90291
90292 * malloc/arena.c (arena_get2): Don't call reused_arena when
90293 _int_new_arena failed.
90294
90295 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90296
90297 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90298 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90300 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90301 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90303 to compile strcasecmp and strncasecmp.
90304 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90305 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90306
90307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90308
90309 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90310
90311 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90312 locale-defines.sym to gen-as-const-headers.
90313 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90314 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90316 to compile strcasecmp and strncasecmp.
90317 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90318 strcasecmp_l and strncasecmp_l.
90319 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90320 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90321 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90322 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90323 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90324 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90325 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90326 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90327 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90328 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90329 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90330
90331 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90332
90333 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90334 result of SYSDEP_GETTIME_CPU to retval.
90335 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90336 parameter list to macro. Remove trailing semicolon. Adjust users.
90337
90338 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90339 variable.
90340
90341 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90342 mantissa words.
90343 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90344
90345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90346 from unused variable.
90347
90348 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90349 DWARF definitions.
90350 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90351 for assembling.
90352
90353 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90354 over namespaces.
90355
90356 * sunrpc/rpc_prot.c (rejected): Fix case value.
90357
90358 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90359 unsigned long long int to avoid warnings in shift.
90360
90361 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90362 of use of trans.
90363 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90364 variable tmp.
90365
90366 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90367 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90368 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90369
90370 * nis/nis_table.c (nis_list): Use variable of correct type for
90371 result of __follow_path call.
90372
90373 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90374
90375 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90376 of math functions ceil, trunc, floor, round, and sqrt, when
90377 avaliable on the platform.
90378 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90379 name clash.
90380 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90381 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90382 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90383
90384 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90385
90386 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90388
90389 2011-11-11 Roland McGrath <roland@hack.frob.com>
90390
90391 * include/unistd.h: Fix __readlink return type.
90392 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90393
90394 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90395
90396 * stdlib/ucontext.h: Undo last change for makecontext.
90397
90398 2011-11-11 Andreas Schwab <schwab@redhat.com>
90399
90400 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90401
90402 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90403 * setjmp/setjmp.h: Mark functions as non-leaf.
90404 * setjmp/bits/setjmp2.h: Likewise.
90405 * stdlib/ucontext.h: Likewise.
90406
90407 2011-11-10 Andreas Schwab <schwab@redhat.com>
90408
90409 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90410 (reused_arena): Don't check arena limit.
90411 (arena_get2): Atomically check arena limit.
90412
90413 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90414
90415 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90416 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90417
90418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90419 instructions.
90420
90421 2011-11-07 Andreas Schwab <schwab@redhat.com>
90422
90423 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90424 handler when locking.
90425
90426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90427 Fix size of allocated buffer.
90428
90429 2011-11-04 Andreas Schwab <schwab@redhat.com>
90430
90431 [BZ #10103]
90432 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90433 declarations for long double functions.
90434 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90435
90436 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90437
90438 2011-11-03 Andreas Schwab <schwab@redhat.com>
90439
90440 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90441 installed.
90442
90443 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90444 is disabled.
90445
90446 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90447
90448 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90449
90450 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90451
90452 * include/alloca.h (stackinfo_alloca_round): Define.
90453 (extend_alloca): Use it.
90454 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90455 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90456 here.
90457
90458 * scripts/check-local-headers.sh: Ignore libaudit.h.
90459
90460 * nscd/Makefile (extra-objs): Make recursively expanded.
90461
90462 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90463
90464 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90466
90467 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90468 * posix/tst-rfc3484-2.c: Likewise.
90469 * posix/tst-rfc3484-3.c: Likewise.
90470
90471 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90472 process_vm_writev.
90473 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90474 process_vm_writev.
90475 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90476 process_vm_writev from libc using GLIBC_2.15 version.
90477
90478 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90479
90480 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90481
90482 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90483 stack usage.
90484
90485 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90486
90487 [BZ #13367]
90488 * nss/getent.c (initgroups_keys): Show error message in case no group
90489 names are given.
90490
90491 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90492 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90493 __bump_nl_timestamp.
90494 * nscd/connections (nscd_init): When host database is served open
90495 netlink socket and request notification about configuration changes.
90496 (main_loop_poll): Track netlink file descriptor and bump timestamp
90497 in case data becomes available.
90498 (main_loop_epoll): Likewise.
90499 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90500 (database_pers_head): Add extra_data fileds.
90501 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90502 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90503 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90504 Adjust caller.
90505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90506 in6ai data, call __free_in6ai.
90507 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90508 Add -DHAVE_NETLINK.
90509 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90510 interface information. Reuse previous data if netlink timestamp
90511 is not changed.
90512 (__bump_nl_timestamp): New function.
90513 (__free_in6ai): New function.
90514
90515 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90516
90517 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90518 close_not_cancel_no_status here.
90519 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90520
90521 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90522
90523 [BZ #13276]
90524 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90525 return value.
90526
90527 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90528 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90529 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90530
90531 2011-07-03 Andreas Jaeger <aj@suse.de>
90532
90533 [BZ #10709]
90534 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90535 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90536 * math/libm-test.inc (sin_test): Add test case.
90537
90538 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90539
90540 [BZ #13337]
90541 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90542 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90543
90544 * elf/chroot_canon.c (chroot_canon): Cleanups.
90545
90546 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90547
90548 [BZ #13335]
90549 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90550 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90551
90552 * string/test-strchr.c: Make usable for strchrnul testing.
90553 * string/test-strchrnul.c: New file.
90554 * string/Makefile (strop-tests): Add strchrnul.
90555
90556 * po/it.po: Update from translation team.
90557 * po/es.po: Likewise.
90558
90559 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90560
90561 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90562 the three constants needed as parameters. Drop the others.
90563 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90564 __m128i_strloadu_tolower.
90565 Create and initialize variable zero and use it in all the places
90566 where _mm_setzero_si128 was used.
90567
90568 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90569 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90570 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90571 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90572 anymore.
90573 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90574 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90575 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90576 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90577 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90578 __mpranred, __mptan.
90579 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90580 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90581 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90582 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90583 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90584 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90585 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90586 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90587 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90588
90589 2011-10-28 Andreas Schwab <schwab@redhat.com>
90590
90591 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90592 redefine if SHARED.
90593 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90594
90595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90596 wide char related routines to wcsmbs subdir.
90597
90598 2011-10-27 Andreas Schwab <schwab@redhat.com>
90599
90600 [BZ #13344]
90601 * misc/sys/cdefs.h (__THROWNL): Define.
90602 * posix/unistd.h: Use __THREADNL instead of __THREAD
90603 for memory synchronization functions.
90604
90605 2011-10-26 Roland McGrath <roland@hack.frob.com>
90606
90607 [BZ #13349]
90608 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90609 doesn't exist.
90610 * manual/stdio.texi (Obstack Streams): Node removed.
90611
90612 2011-10-26 Andreas Schwab <schwab@redhat.com>
90613
90614 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90615 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90616 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90617
90618 * math/math_private.h (math_force_eval): Allow non-addressable
90619 arguments.
90620 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90621
90622 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90623
90624 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90625 file is not needed.
90626
90627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90634 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90635 Add AVX variants.
90636 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90637 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90638 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90639 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90640 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90641 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90642 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90643 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90644 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90645 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90646 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90647 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90649 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90652 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90653 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90654 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90655
90656 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90657 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90658
90659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90660 place. Use VEX encoding when compiling for AVX.
90661
90662 2011-10-25 Andreas Schwab <schwab@redhat.com>
90663
90664 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90665 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90666
90667 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90668
90669 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90670
90671 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90672 useless if() expression.
90673 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90674 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90676 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90677 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90678 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90679 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90680 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90681 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90682 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90683 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90685 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90687 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90688 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90690 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90691 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90692
90693 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90694
90695 2011-10-25 Andreas Schwab <schwab@redhat.com>
90696
90697 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90698 condition.
90699 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90700
90701 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90702
90703 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90704 .text section. Avoid duplicate constants.
90705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90713 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90714 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90715 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90716 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90717 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90718 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90719 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90720 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90721 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90722 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90723 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90725 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90726 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90727 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90729 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90730 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90731 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90732 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90733 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90734 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90735 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90736 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90737 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90738 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90739 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90740 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90741 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90743 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90744 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90746 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90747 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90748 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90749 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90750
90751 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90752
90753 * sysdeps/x86_64/dla.h: Move to ...
90754 * sysdeps/x86_64/fpu/dla.h: ...here.
90755 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90756 situations. Use __builtin_fma only for gcc 4.6 and up.
90757
90758 * config.make.in: Add have-mfma4 entry.
90759 * configure.in: Substitute libc_cv_cc_fma4.
90760 * math/Makefile (dbl-only-routines): Add sincostab.
90761 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90762 Use __sincostab not sincos.
90763 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90764 name is a macro.
90765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90769 using __copysign.
90770 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90771 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90772 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90773 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90774 and __inv.
90775 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90776 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90777 __copysign.
90778 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90779 define aliases when function name is a macro.
90780 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90781 sysdeps/ieee754/dbl-64/sincos.tbl.
90782 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90783 fma4-enabled routines.
90784 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90785 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90786 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90787 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90788 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90789 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90791 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90793 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90794 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90795 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90796 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90797 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90798 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90799 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90800 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90801 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90802 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90803 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90804 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90805 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90808 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90810 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90811 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90812 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90813 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90814
90815 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90816 rename.
90817 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90825
90826 2011-10-24 Andreas Schwab <schwab@redhat.com>
90827
90828 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90829
90830 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90831
90832 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90833
90834 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90835 prediction.
90836 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90837
90838 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90839 Remove unused variable magic_bits.
90840 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90841
90842 * string/strnlen.c: Define and use STRNLEN macro.
90843 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90844 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90845 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90846 * wcsmbs/wcslen.c: Define and use WCSLEN.
90847 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90848 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90849 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90850 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90851 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90852 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90853 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90854
90855 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90856
90857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90858 strnlen-sse2-no-bsf.
90859 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90860 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90861 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90862 Add strnlen support.
90863 (USE_AS_STRNLEN): New macro.
90864 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90865 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90866 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90867 * sysdeps/x86_64/wcslen.S: New file.
90868
90869 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90870
90871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90872 XMM-moves are used for copying on small sizes.
90873
90874 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90875
90876 * wcsmbs/Makefile (strop-tests): Add wcschr.
90877 * wcsmbs/test-wcschr.c: New file.
90878 * string/test-strchr.c: Update.
90879 Add wcschr support.
90880 (WIDE): New macro.
90881
90882 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90883
90884 * wcsmbs/Makefile (strop-tests): Add wcslen.
90885 * wcsmbs/test-wcslen.c: New file.
90886 * string/test-strlen.c: Update.
90887 Add wcslen support.
90888 (WIDE): New macro.
90889
90890 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90891
90892 * po/it.po: Update from translation team.
90893
90894 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90895
90896 * sysdeps/x86_64/wcscmp.S: Update.
90897 Fix wrong comparison semantics.
90898 wcscmp shall use signed comparison not unsigned.
90899 Don't use substraction to avoid overflow bug.
90900 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90901 * wcsmbc/wcscmp.c: Likewise.
90902 * string/test-strcmp.c: Likewise.
90903 Add new tests to check cases with negative values.
90904
90905 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90906
90907 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90908 * sysdeps/x86_64/dla.h: ...here. New file.
90909 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90918
90919 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90920
90921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90922 __ynl_finite aliases.
90923
90924 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90925
90926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90927
90928 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90929 define DLA_FMA.
90930 [DLA_FMA] (EMULV): Use DLA_FMA.
90931 [DLA_FMA] (MUL12): Use EMULV.
90932 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90933 that are not needed.
90934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90937 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90939 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90941
90942 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90943
90944 * math/s_nan.c: Undef __nan.
90945 * math/s_nanf.c: Undef __nanf.
90946 * math/s_nanl.c: Undef __nanl.
90947 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90948 "math_private.h".
90949
90950 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90951
90952 * math/s_catan.c: Add branch predictions.
90953 * math/s_catanf.c: Likewise.
90954 * math/s_catanh.c: Likewise.
90955 * math/s_catanhf.c: Likewise.
90956 * math/s_catanhl.c: Likewise.
90957 * math/s_catanl.c: Likewise.
90958 * math/s_cexp.c: Likewise.
90959 * math/s_cexpf.c: Likewise.
90960 * math/s_cexpl.c: Likewise.
90961 * math/s_clog.c: Likewise.
90962 * math/s_clog10.c: Likewise.
90963 * math/s_clog10f.c: Likewise.
90964 * math/s_clog10l.c: Likewise.
90965 * math/s_clogf.c: Likewise.
90966 * math/s_clogl.c: Likewise.
90967 * math/s_csqrt.c: Likewise.
90968 * math/s_csqrtf.c: Likewise.
90969 * math/s_csqrtl.c: Likewise.
90970 * math/s_ctanf.c: Likewise.
90971 * math/s_ctanh.c: Likewise.
90972 * math/s_ctanhf.c: Likewise.
90973 * math/s_ctanhl.c: Likewise.
90974 * math/s_ctanl.c: Likewise.
90975
90976 * math/math_private.h: Define __nan, __nanf, __nanl.
90977 * math/s_cacosh.c: Include <math_private.h>.
90978 * math/s_cacoshl.c: Likewise.
90979 * math/s_casinh.c: Likewise.
90980 * math/s_casinhf.c: Likewise.
90981 * math/s_casinhl.c: Likewise.
90982 * math/s_ccos.c: Rely entire on ccosh.
90983 * math/s_ccosf.c: Rely entire on ccoshf.
90984 * math/s_ccosl.c: Rely entirely on ccoshl.
90985 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90986 Remove tests for FE_INVALID.
90987 * math/s_ccoshf.c: Likewise.
90988 * math/s_ccoshl.c: Likewise.
90989 * math/s_csin.c: Likewise.
90990 * math/s_csinf.c: Likewise.
90991 * math/s_csinh.c Likewise.
90992 * math/s_csinhf.c: Likewise.
90993 * math/s_csinhl.c: Likewise.
90994 * math/s_csinl.c: Likewise.
90995 * math/s_ctan.c: Likewise.
90996 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90997 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90998 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90999
91000 2011-10-21 Ulrich Drepper <drepper@gmail.com>
91001
91002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91003 compilation problems.
91004
91005 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91006 __builtin_expect.
91007
91008 2011-10-20 Ulrich Drepper <drepper@gmail.com>
91009
91010 * sysdeps/i386/configure.in: Test for -mfma4 option.
91011 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91012 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91013 COMMON_CPUID_INDEX_80000001.
91014 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91015 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91016 use it if FMA3 is not supported.
91017 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91018
91019 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91020 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91021
91022 2011-10-20 Andreas Schwab <schwab@redhat.com>
91023
91024 [BZ #12892]
91025 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91026 it would create a cycle with a link time dependency.
91027
91028 2011-10-19 Ulrich Drepper <drepper@gmail.com>
91029
91030 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91031 instruction.
91032 * string/Makefile (strop-tests): Add rawmemchr.
91033 * string/test-rawmemchr.c: New file.
91034
91035 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91036 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
91037 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
91038 when compiling str{,n}casecmp and when AVX is available. Hook up
91039 new optimized code in initializers.
91040
91041 2011-10-19 Andreas Schwab <schwab@redhat.com>
91042
91043 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91044 __feraiseexcept instead of feraiseexcept.
91045
91046 2011-10-18 Ulrich Drepper <drepper@gmail.com>
91047
91048 * math/math_private.h: Define defaults for libc_fetestexcept and
91049 libc_feupdateenv.
91050 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91051 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91052 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91053 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91054 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91055 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91056 libc_fetestexcept and libc_feupdateenv.
91057
91058 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91059 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91060 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91061 * sysdeps/x86_64/fpu/math_private.h: Define special version of
91062 libc_feholdexcept_setround.
91063
91064 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91065 Add s_nearbyint-c and s_nearbyintf-c.
91066 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91067 nearbyintf inlines.
91068 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91070 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91071 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91072
91073 * math/math_private.h: Define defaults for libc_fegetround,
91074 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91075 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91076 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91077 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91078 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91079 standard functions.
91080 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91081 Remove comments and hacks for old compiler versions.
91082 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91083 libc_fegetround, libc_fesetround, libc_feholdexcept, and
91084 libc_feholdexceptl.
91085
91086 2011-10-18 Andreas Schwab <schwab@redhat.com>
91087
91088 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91089 (__feraiseexcept_renamed): Add __NTH.
91090 (feraiseexcept): Add __NTH. Rename local variables to fix
91091 namespace violations.
91092
91093 2011-10-17 Ulrich Drepper <drepper@gmail.com>
91094
91095 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91096
91097 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91098
91099 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91100 recently added interfaces.
91101 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91102
91103 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91104 about macro parameter expansion.
91105
91106 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91107 __NO_MATH_INLINES is defined. Cleanups.
91108
91109 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91110 and __floorf is target has SSE4.1.
91111 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91112 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91113 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91114 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91115
91116 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91117 name.
91118 (floorf): Likewise.
91119
91120 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91121
91122 2011-10-17 Andreas Schwab <schwab@redhat.com>
91123
91124 * misc/sys/cdefs.h: Fix last change.
91125
91126 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91127 database lookup.
91128
91129 2011-10-16 Ulrich Drepper <drepper@gmail.com>
91130
91131 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91132
91133 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91134 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91135 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91136 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91137 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91138 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91139 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91140 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91141 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91142 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91143 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91144 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91145 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91146 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91147 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91148 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91149 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91150 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91151 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91152 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91153 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91154 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91155
91156 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91157 ceil, ceilf, floor, floorf.
91158
91159 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91160 Perform IRELATIVE relocations last.
91161
91162 * elf/do-rel.h: Add another parameter nrelative, replacing the
91163 local variable with the same name. Change name of the function
91164 to end in Rel or Rela (uppercase).
91165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91166 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
91167 elf_dynamic_do_##reloc function.
91168
91169 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91170
91171 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91172 is sufficient, at least on modern CPUs.
91173
91174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91175
91176 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91177 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91178
91179 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91180 __expl_finite.
91181 * math/bits/math-finite.h: Add entries for exp.
91182 * math/e_expl.c: Add __*_finite alias.
91183 * sysdeps/i386/fpu/e_exp.S: Likewise.
91184 * sysdeps/i386/fpu/e_expf.S: Likewise.
91185 * sysdeps/i386/fpu/e_expl.c: Likewise.
91186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91187 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91188 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91190 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91191 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91192 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91193
91194 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91195 is sufficient, at least on modern CPUs.
91196
91197 * ctype/ctype-info.c (__ctype_init): Define.
91198 * include/ctype.h (__ctype_init): Declare.
91199 (__ctype_b_loc): The variable is always initialized.
91200 (__ctype_toupper_loc): Likewise.
91201 (__ctype_tolower_loc): Likewise.
91202 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91203 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91204
91205 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
91206
91207 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91208
91209 * configure.in: Also look in $cxxmachine/include for C++ system
91210 headers.
91211
91212 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91213
91214 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91215 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91216 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91217 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91219 (USE_AS_WMEMCMP): New macro.
91220 Fixing indents.
91221 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91222 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91223 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91224 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91226 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91227 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91228 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91229 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91230 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91231 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91232 (USE_AS_WMEMCMP): New macro.
91233 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91234 * sysdeps/string/test-memcmp.c: Update.
91235 Fix simple_wmemcmp.
91236 Add new tests.
91237 * wcsmbs/wmemcmp.c: Update.
91238 (WMEMCMP): New macro.
91239 Fix overflow bug.
91240
91241 2011-10-12 Andreas Jaeger <aj@suse.de>
91242
91243 [BZ #13268]
91244 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91245
91246 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91247
91248 * libio/iofwide.c (do_length): Avoid warning.
91249
91250 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91251
91252 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91253
91254 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91255
91256 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91257 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91258 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91259 * sysdeps/i386/i686/fpu/e_log.S: New file.
91260 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91261 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91262
91263 * ctype/ctype.h: Add support for inlined isXXX functions when
91264 compiling C++ code.
91265
91266 2011-10-14 Andreas Schwab <schwab@redhat.com>
91267
91268 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91269
91270 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91271
91272 2011-10-13 Roland McGrath <roland@hack.frob.com>
91273
91274 [BZ #13291]
91275 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91276
91277 2011-10-13 Andreas Schwab <schwab@redhat.com>
91278
91279 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91280 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91281 feraiseexcept.
91282
91283 * sysdeps/x86_64/memrchr.S: Check for zero size.
91284
91285 * string/stratcliff.c: Add memrchr tests.
91286
91287 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91288
91289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91290 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91291 rawmemchr-sse2 rawmemchr-sse2-bsf.
91292 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91293 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91294 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91295 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91296 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91297 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91298 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91299 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91300 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91301 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91302 * string/memrchr.c (MEMRCHR): New macro.
91303
91304 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91305
91306 Add integration with gcc's -ffinite-math-only and optimize wrapper
91307 functions in libm.
91308 * Versions.def: Define GLIBC_2.15 version for libm.
91309 * math/Makefile (headers): Add bits/math-finite.h.
91310 * math/bits/math-finite.h: New file.
91311 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91312 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91313 * math/e_acoshl.c: Add __*_finite alias.
91314 * math/e_acosl.c: Likewise.
91315 * math/e_asinl.c: Likewise.
91316 * math/e_atan2l.c: Likewise.
91317 * math/e_atanhl.c: Likewise.
91318 * math/e_coshl.c: Likewise.
91319 * math/e_exp10.c: Likewise.
91320 * math/e_exp10f.c: Likewise.
91321 * math/e_exp10l.c: Likewise.
91322 * math/e_exp2l.c: Likewise.
91323 * math/e_fmodl.c: Likewise.
91324 * math/e_gammal_r.c: Likewise.
91325 * math/e_hypotl.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_log10l.c: Likewise.
91331 * math/e_log2l.c: Likewise.
91332 * math/e_logl.c: Likewise.
91333 * math/e_powl.c: Likewise.
91334 * math/e_sinhl.c: Likewise.
91335 * math/e_sqrtl.c: Likewise.
91336 * math/e_scalb.c: Completely rewritten and optimized.
91337 * math/e_scalbf.c: Likewise.
91338 * math/e_scalbl.c: Likewise.
91339 * math/w_acos.c: Likewise.
91340 * math/w_acosf.c: Likewise.
91341 * math/w_acosl.c: Likewise.
91342 * math/w_acosh.c: Likewise.
91343 * math/w_acoshf.c: Likewise.
91344 * math/w_acoshl.c: Likewise.
91345 * math/w_asin.c: Likewise.
91346 * math/w_asinf.c: Likewise.
91347 * math/w_asinl.c: Likewise.
91348 * math/w_atan2.c: Likewise.
91349 * math/w_atan2f.c: Likewise.
91350 * math/w_atan2l.c: Likewise.
91351 * math/w_atanh.c: Likewise.
91352 * math/w_atanhf.c: Likewise.
91353 * math/w_atanhl.c: Likewise.
91354 * math/w_exp10.c: Likewise.
91355 * math/w_exp10f.c: Likewise.
91356 * math/w_exp10l.c: Likewise.
91357 * math/w_fmod.c: Likewise.
91358 * math/w_fmodf.c: Likewise.
91359 * math/w_fmodl.c: Likewise.
91360 * math/w_j0.c: Likewise.
91361 * math/w_j0f.c: Likewise.
91362 * math/w_j0l.c: Likewise.
91363 * math/w_j1.c: Likewise.
91364 * math/w_j1f.c: Likewise.
91365 * math/w_j1l.c: Likewise.
91366 * math/w_jn.c: Likewise.
91367 * math/w_jnf.c: Likewise.
91368 * math/w_log.c: Likewise.
91369 * math/w_logf.c: Likewise.
91370 * math/w_logl.c: Likewise.
91371 * math/w_log10.c: Likewise.
91372 * math/w_log10f.c: Likewise.
91373 * math/w_log10l.c: Likewise.
91374 * math/w_log2.c: Likewise.
91375 * math/w_log2f.c: Likewise.
91376 * math/w_log2l.c: Likewise.
91377 * math/w_pow.c: Likewise.
91378 * math/w_powf.c: Likewise.
91379 * math/w_powl.c: Likewise.
91380 * math/w_remainder.c: Likewise.
91381 * math/w_remainderf.c: Likewise.
91382 * math/w_remainderl.c: Likewise.
91383 * math/w_scalb.c: Likewise.
91384 * math/w_scalbf.c: Likewise.
91385 * math/w_scalbl.c: Likewise.
91386 * math/w_sqrt.c: Likewise.
91387 * math/w_sqrtf.c: Likewise.
91388 * math/w_sqrtl.c: Likewise.
91389 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91390 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91391 used.
91392 * math/math_private.h: Declare __kernel_standard_f.
91393 * math/w_cosh.c: Remove cruft and optimize a bit.
91394 * math/w_coshf.c: Likewise.
91395 * math/w_coshl.c: Likewise.
91396 * math/w_exp2.c: Likewise.
91397 * math/w_exp2f.c: Likewise.
91398 * math/w_exp2l.c: Likewise.
91399 * math/w_hypot.c: Likewise.
91400 * math/w_hypotf.c: Likewise.
91401 * math/w_hypotl.c: Likewise.
91402 * math/w_lgamma.c: Likewise.
91403 * math/w_lgamma_r.c: Likewise.
91404 * math/w_lgammaf.c: Likewise.
91405 * math/w_lgammaf_r.c: Likewise.
91406 * math/w_lgammal.c: Likewise.
91407 * math/w_lgammal_r.c: Likewise.
91408 * math/w_sinh.c: Likewise.
91409 * math/w_sinhf.c: Likewise.
91410 * math/w_sinhl.c: Likewise.
91411 * math/w_tgamma.c: Likewise.
91412 * math/w_tgammaf.c: Likewise.
91413 * math/w_tgammal.c: Likewise.
91414 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91416 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91417 Minor optimizations. Pretty printing. Remove cruft.
91418 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91419 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91421 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91422 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91423 * sysdeps/i386/fpu/e_asin.S: Likewise.
91424 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91425 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91426 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91427 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91429 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91430 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91431 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91432 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91433 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91434 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91435 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91436 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91437 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91438 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91439 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91440 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91441 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91442 * sysdeps/i386/fpu/e_log.S: Likewise.
91443 * sysdeps/i386/fpu/e_log10.S: Likewise.
91444 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91445 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91446 * sysdeps/i386/fpu/e_log2.S: Likewise.
91447 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91448 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91449 * sysdeps/i386/fpu/e_logf.S: Likewise.
91450 * sysdeps/i386/fpu/e_logl.S: Likewise.
91451 * sysdeps/i386/fpu/e_pow.S: Likewise.
91452 * sysdeps/i386/fpu/e_powf.S: Likewise.
91453 * sysdeps/i386/fpu/e_powl.S: Likewise.
91454 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91455 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91456 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91458 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91459 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91460 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91461 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91462 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91463 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91464 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91467 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91469 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91470 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91471 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91472 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91473 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91474 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91476 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91477 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91483 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91484 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91485 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91486 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91487 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91488 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91489 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91490 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91491 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91492 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91494 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91495 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91496 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91497 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91498 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91499 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91500 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91501 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91502 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91503 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91504 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91505 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91506 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91507 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91508 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91509 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91510 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91511 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91512 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91513 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91514 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91515 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91518 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91519 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91520 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91521 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91522 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91523 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91524 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91525 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91527 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91528 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91533 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91534 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91537 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91539 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91540 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91542 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91543 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91544 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91546 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91547 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91548 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91549 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91550 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91551 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91552 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91553 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91554 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91555 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91556 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91557 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91558 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91559 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91560 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91561 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91562 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91563 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91564 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91565 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91566 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91567 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91568 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91569 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91571 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91572 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91573 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91574 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91575 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91576 (__isnanf): Likewise.
91577 (__isinf_ns): Likewise.
91578 (__isinf_nsf): Likewise.
91579 (__finite): Likewise.
91580 (__finitef): Likewise.
91581 (__ieee754_sqrt): Define as macro.
91582 (__ieee754_sqrtf): Define as macro.
91583 (__ieee754_sqrtl): Define as macro.
91584 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91585 inlined copy.
91586 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91587 __FINITE_MATH_ONLY__ consistent.
91588 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91589
91590 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91591
91592 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91593 of rawmemchr.
91594
91595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91596
91597 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91598
91599 * po/ja.po: Update from translation team.
91600
91601 2011-10-08 Roland McGrath <roland@hack.frob.com>
91602
91603 * locale/programs/locarchive.c (prepare_address_space): New function.
91604 (create_archive, enlarge_archive, open_archive): Use it.
91605
91606 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91607 inside [SHARED], where it is used.
91608
91609 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91610
91611 * nss/getent.c (netgroup_keys): Remove unused variable.
91612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91613
91614 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91615
91616 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91619 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91620 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91621 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91622 * math/Makefile (libm-calls): Add s_isinf_ns.
91623 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91624 * math/multc3.c: Likewise.
91625 * math/s_casin.c: Likewise.
91626 * math/s_casinf.c: Likewise.
91627 * math/s_casinl.c: Likewise.
91628 * math/s_ccos.c: Likewise.
91629 * math/s_ccosf.c: Likewise.
91630 * math/s_ccosl.c: Likewise.
91631 * math/s_ctan.c: Likewise.
91632 * math/s_ctanf.c: Likewise.
91633 * math/s_ctanh.c: Likewise.
91634 * math/s_ctanhf.c: Likewise.
91635 * math/s_ctanhl.c: Likewise.
91636 * math/s_ctanl.c: Likewise.
91637 * math/w_fmod.c: Likewise.
91638 * math/w_fmodf.c: Likewise.
91639 * math/w_fmodl.c: Likewise.
91640 * math/w_remainder.c: Likewise.
91641 * math/w_remainderf.c: Likewise.
91642 * math/w_remainderl.c: Likewise.
91643 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91644 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91645 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91647 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91648 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91649 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91650 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91651
91652 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91653 of the number.
91654 * stdio-common/printf_fphex.c: Likewise.
91655 * stdio-common/printf_size.c: Likewise.
91656
91657 * math/e_exp10.c: Include math_private.h using <...> not "...".
91658 * math/e_exp10f.c: Likewise.
91659 * math/e_exp10l.c: Likewise.
91660 * math/e_exp2l.c: Likewise.
91661 * math/e_j0l.c: Likewise.
91662 * math/e_j1l.c: Likewise.
91663 * math/e_jnl.c: Likewise.
91664 * math/e_lgammal_r.c: Likewise.
91665 * math/e_rem_pio2l.c: Likewise.
91666 * math/e_scalb.c: Likewise.
91667 * math/e_scalbf.c: Likewise.
91668 * math/e_scalbl.c: Likewise.
91669 * math/k_cosl.c: Likewise.
91670 * math/k_sinl.c: Likewise.
91671 * math/k_tanl.c: Likewise.
91672 * math/s_cacoshf.c: Likewise.
91673 * math/s_catan.c: Likewise.
91674 * math/s_catanf.c: Likewise.
91675 * math/s_catanh.c: Likewise.
91676 * math/s_catanhf.c: Likewise.
91677 * math/s_catanhl.c: Likewise.
91678 * math/s_catanl.c: Likewise.
91679 * math/s_ccosh.c: Likewise.
91680 * math/s_ccoshf.c: Likewise.
91681 * math/s_ccoshl.c: Likewise.
91682 * math/s_cexp.c: Likewise.
91683 * math/s_cexpf.c: Likewise.
91684 * math/s_cexpl.c: Likewise.
91685 * math/s_clog.c: Likewise.
91686 * math/s_clog10.c: Likewise.
91687 * math/s_clog10f.c: Likewise.
91688 * math/s_clog10l.c: Likewise.
91689 * math/s_clogf.c: Likewise.
91690 * math/s_clogl.c: Likewise.
91691 * math/s_csin.c: Likewise.
91692 * math/s_csinf.c: Likewise.
91693 * math/s_csinh.c: Likewise.
91694 * math/s_csinhf.c: Likewise.
91695 * math/s_csinhl.c: Likewise.
91696 * math/s_csinl.c: Likewise.
91697 * math/s_csqrt.c: Likewise.
91698 * math/s_csqrtf.c: Likewise.
91699 * math/s_csqrtl.c: Likewise.
91700 * math/s_ctan.c: Likewise.
91701 * math/s_ctanf.c: Likewise.
91702 * math/s_ctanh.c: Likewise.
91703 * math/s_ctanhf.c: Likewise.
91704 * math/s_ctanhl.c: Likewise.
91705 * math/s_ctanl.c: Likewise.
91706 * math/s_ldexp.c: Likewise.
91707 * math/s_ldexpf.c: Likewise.
91708 * math/s_ldexpl.c: Likewise.
91709 * math/s_significand.c: Likewise.
91710 * math/s_significandf.c: Likewise.
91711 * math/s_significandl.c: Likewise.
91712 * math/w_acos.c: Likewise.
91713 * math/w_acosf.c: Likewise.
91714 * math/w_acosh.c: Likewise.
91715 * math/w_acoshf.c: Likewise.
91716 * math/w_acoshl.c: Likewise.
91717 * math/w_acosl.c: Likewise.
91718 * math/w_asin.c: Likewise.
91719 * math/w_asinf.c: Likewise.
91720 * math/w_asinl.c: Likewise.
91721 * math/w_atan2.c: Likewise.
91722 * math/w_atan2f.c: Likewise.
91723 * math/w_atan2l.c: Likewise.
91724 * math/w_atanh.c: Likewise.
91725 * math/w_atanhf.c: Likewise.
91726 * math/w_atanhl.c: Likewise.
91727 * math/w_cosh.c: Likewise.
91728 * math/w_coshf.c: Likewise.
91729 * math/w_coshl.c: Likewise.
91730 * math/w_dremf.c: Likewise.
91731 * math/w_exp10.c: Likewise.
91732 * math/w_exp10f.c: Likewise.
91733 * math/w_exp10l.c: Likewise.
91734 * math/w_exp2.c: Likewise.
91735 * math/w_exp2f.c: Likewise.
91736 * math/w_fmod.c: Likewise.
91737 * math/w_fmodf.c: Likewise.
91738 * math/w_fmodl.c: Likewise.
91739 * math/w_hypot.c: Likewise.
91740 * math/w_hypotf.c: Likewise.
91741 * math/w_hypotl.c: Likewise.
91742 * math/w_j0.c: Likewise.
91743 * math/w_j0f.c: Likewise.
91744 * math/w_j0l.c: Likewise.
91745 * math/w_j1.c: Likewise.
91746 * math/w_j1f.c: Likewise.
91747 * math/w_j1l.c: Likewise.
91748 * math/w_jn.c: Likewise.
91749 * math/w_jnf.c: Likewise.
91750 * math/w_jnl.c: Likewise.
91751 * math/w_lgamma.c: Likewise.
91752 * math/w_lgamma_r.c: Likewise.
91753 * math/w_lgammaf.c: Likewise.
91754 * math/w_lgammaf_r.c: Likewise.
91755 * math/w_lgammal.c: Likewise.
91756 * math/w_lgammal_r.c: Likewise.
91757 * math/w_log.c: Likewise.
91758 * math/w_log10.c: Likewise.
91759 * math/w_log10f.c: Likewise.
91760 * math/w_log10l.c: Likewise.
91761 * math/w_log2.c: Likewise.
91762 * math/w_log2f.c: Likewise.
91763 * math/w_log2l.c: Likewise.
91764 * math/w_logf.c: Likewise.
91765 * math/w_logl.c: Likewise.
91766 * math/w_pow.c: Likewise.
91767 * math/w_powf.c: Likewise.
91768 * math/w_powl.c: Likewise.
91769 * math/w_remainder.c: Likewise.
91770 * math/w_remainderf.c: Likewise.
91771 * math/w_remainderl.c: Likewise.
91772 * math/w_scalb.c: Likewise.
91773 * math/w_scalbf.c: Likewise.
91774 * math/w_scalbl.c: Likewise.
91775 * math/w_sinh.c: Likewise.
91776 * math/w_sinhf.c: Likewise.
91777 * math/w_sinhl.c: Likewise.
91778 * math/w_sqrt.c: Likewise.
91779 * math/w_sqrtf.c: Likewise.
91780 * math/w_sqrtl.c: Likewise.
91781 * math/w_tgamma.c: Likewise.
91782 * math/w_tgammaf.c: Likewise.
91783 * math/w_tgammal.c: Likewise.
91784
91785 * po/ja.po: Update from translation team.
91786
91787 2011-09-29 Andreas Jaeger <aj@suse.de>
91788
91789 [BZ #13179]
91790 * sunrpc/netname.c (netname2host): Fix logic.
91791
91792 [BZ #6779]
91793 [BZ #6783]
91794 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91795 correctly.
91796 * math/w_remainder.c (__remainder): Likewise.
91797 * math/w_remainderf.c (__remainderf): Likewise.
91798 * math/libm-test.inc (remainder_test): Add test cases.
91799
91800 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91801
91802 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91803 sdiv_qrnnd.
91804
91805 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91806
91807 * string/test-memcmp.c: Avoid unncessary #defines.
91808 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91809
91810 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91811
91812 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91813 Use new sse2 version for core i3 - i7 as it's faster
91814 than sse42 version.
91815 (bit_Prefer_PMINUB_for_stringop): New.
91816 * sysdeps/x86_64/rawmemchr.S: Update.
91817 Replace with faster SSE2 version.
91818 * sysdeps/x86_64/memrchr.S: New file.
91819 * sysdeps/x86_64/memchr.S: Update.
91820 Replace with faster SSE2 version.
91821
91822 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91823
91824 * elf/dl-load.c (lose): Add cast to avoid warning.
91825
91826 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91827
91828 * po/ca.po: Update from translation team.
91829
91830 * inet/getnetgrent_r.c: Hook up nscd.
91831 * nscd/Makefile (routines): Add nscd_netgroup.
91832 (nscd-modules): Add netgroupcache.
91833 (CFLAGS-netgroupcache.c): Define.
91834 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91835 (cache_search): Add const to second parameter.
91836 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91837 INNETGR.
91838 (dbs): Add netgrdb entry.
91839 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91840 (verify_persistent_db): Handle netgrdb.
91841 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91842 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91843 GETFDNETGR.
91844 (netgroup_response_header): Define.
91845 (innetgroup_response_header): Define.
91846 (datahead): Add netgroup_response_header and innetgroup_response_header
91847 elements.
91848 * nscd/nscd.conf: Add entries for netgroup cache.
91849 * nscd/nscd.h (dbtype): Add netgrdb.
91850 (_PATH_NSCD_NETGROUP_DB): Define.
91851 (netgroup_iov_disabled): Declare.
91852 (xmalloc, xcalloc, xrealloc): Move declarations here.
91853 (cache_search): Adjust prototype.
91854 Add netgroup-related prototypes.
91855 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91856 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91857 (__nscd_innetgr): Declare.
91858 * nscd/selinux.c (perms): Use access_vector_t as element type and
91859 add netgroup-related initializers.
91860 * nscd/netgroupcache.c: New file.
91861 * nscd/nscd_netgroup.c: New file.
91862 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91863 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91864 For four parameters use innetgr.
91865 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91866 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91867 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91868 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91869
91870 * nscd/connections.c (register_traced_file): Don't register file
91871 for disabled databases.
91872
91873 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91874
91875 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91876
91877 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91878 from tree and freeing node.
91879
91880 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91881
91882 * nss/nsswitch.c (__nss_database_lookup): Handle
91883 nss_parse_service_list out of memory case.
91884
91885 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91886
91887 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91888 out of memory case.
91889
91890 2011-10-04 Andreas Schwab <schwab@redhat.com>
91891
91892 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91893 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91894 pass it down.
91895 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91896 elf_machine_rela, elf_machine_lazy_rel.
91897 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91898 (ELF_DYNAMIC_DO_REL): Likewise.
91899 (ELF_DYNAMIC_DO_RELA): Likewise.
91900 (ELF_DYNAMIC_RELOCATE): Likewise.
91901 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91902 to ELF_DYNAMIC_DO_REL.
91903 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91904 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91905 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91906 elf_machine_rela.
91907 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91908 skip_ifunc, don't call ifunc function if non-zero.
91909 (elf_machine_rela): Likewise.
91910 (elf_machine_lazy_rel): Likewise.
91911 (elf_machine_lazy_rela): Likewise.
91912 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91913 (elf_machine_lazy_rel): Likewise.
91914 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91915 Likewise.
91916 (elf_machine_lazy_rel): Likewise.
91917 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91918 Likewise.
91919 (elf_machine_lazy_rel): Likewise.
91920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91921 (elf_machine_lazy_rel): Likewise.
91922 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91923 (elf_machine_lazy_rel): Likewise.
91924 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91925 (elf_machine_lazy_rel): Likewise.
91926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91927 (elf_machine_lazy_rel): Likewise.
91928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91929 (elf_machine_lazy_rel): Likewise.
91930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91931 (elf_machine_lazy_rel): Likewise.
91932
91933 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91934
91935 * nss/nss_files/files-init.c (_nss_files_init): Use static
91936 initialization for all the *_traced_file variables.
91937
91938 2011-09-28 Andreas Schwab <schwab@redhat.com>
91939
91940 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91941
91942 2011-09-27 Roland McGrath <roland@hack.frob.com>
91943
91944 [BZ #13226]
91945 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91946
91947 2011-09-27 Andreas Schwab <schwab@redhat.com>
91948
91949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91950 Reread the line before reparsing it.
91951
91952 2011-09-26 Andreas Schwab <schwab@redhat.com>
91953
91954 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91955
91956 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91957 Maxim Kuvyrkov <maxim@codesourcery.com>
91958 Joseph Myers <joseph@codesourcery.com>
91959
91960 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91961 if needed for __stack_chk_guard.
91962
91963 2011-09-19 Roland McGrath <roland@hack.frob.com>
91964
91965 * sysdeps/posix/spawni.c (script_execute): Always define it.
91966 It will be optimized away if unused.
91967 (maybe_script_execute): New function.
91968 (__spawni): Call it.
91969
91970 * Makerules: Don't include tls.make.
91971 (config-tls): Always set to thread.
91972 * tls.make.c: File removed.
91973
91974 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91975
91976 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91977 * config.make.in (CPPFLAGS-config): New substituted variable.
91978
91979 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91980
91981 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91982
91983 [BZ #13192]
91984 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91985 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91986
91987 2011-09-15 Roland McGrath <roland@hack.frob.com>
91988
91989 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91990 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91992 (CALL_FAIL): Likewise.
91993 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91994 (CALL_FAIL): Macro removed.
91995 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91996
91997 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91998
91999 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92000 for __FINITE_MATH_ONLY__ == 1.
92001
92002 2011-09-15 Andreas Schwab <schwab@redhat.com>
92003
92004 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92005 __ieee754_sqrt instead of sqrt.
92006 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92007 __ieee754_sqrtf instead of sqrtf.
92008 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92009 __floorf instead of floorf.
92010 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92011 __floorf, __truncf instead of floorf, truncf.
92012
92013 2011-09-14 Ulrich Drepper <drepper@gmail.com>
92014
92015 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92016
92017 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92018 __extern_always_inline.
92019 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92020 32-bit.
92021
92022 2011-09-14 Andreas Schwab <schwab@redhat.com>
92023
92024 * elf/rtld.c (dl_main): Also relocate in dependency order when
92025 doing symbol dependency testing.
92026
92027 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
92028
92029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92030 Always define `refsym'.
92031
92032 2011-09-13 Andreas Schwab <schwab@redhat.com>
92033
92034 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92035 (__FD_ELT): Renamed from __FDELT.
92036 * misc/bits/select2.h (__FD_ELT): Likewise.
92037 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92038 __FD_MASK instead of __FDELT, __FDMASK.
92039 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92040 Likewise.
92041 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92042 Likewise.
92043
92044 * elf/Makefile (gen-ldd): Fix pattern.
92045
92046 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92047 (init_tls): Likewise.
92048
92049 2011-09-12 Ulrich Drepper <drepper@gmail.com>
92050
92051 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92052
92053 2011-09-12 Andreas Schwab <schwab@redhat.com>
92054
92055 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92056 `struct cmsghdr *' instead of `void *'.
92057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92058 Likewise.
92059
92060 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
92061
92062 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92063 if non-absolute.
92064 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92065 ldd_rewrite_script.
92066
92067 2011-09-11 Ulrich Drepper <drepper@gmail.com>
92068
92069 * configure.in: Remove --with-tls option.
92070 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92071 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92072 out in case it is missing.
92073 * sysdeps/ia64/elf/configure.in: Likewise.
92074 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92075 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92076 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92077 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92078 * sysdeps/sh/elf/configure.in: Likewise.
92079 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92080 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92081 * sysdeps/x86_64/elf/configure.in: Likewise.
92082 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92083 * sysdeps/mach/hurd/tls.h: Likewise.
92084
92085 [BZ #13067]
92086 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92087
92088 [BZ #13090]
92089 * configure.in: Fix use of AC_INIT.
92090
92091 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92092
92093 2011-09-10 Ulrich Drepper <drepper@gmail.com>
92094
92095 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92096 __set_errno.
92097 * malloc/hooks.c: Likewise.
92098
92099 [BZ #11929]
92100 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
92101 variables statically.
92102 (narenas): Initialize.
92103 (list_lock): Initialize.
92104 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
92105 initializtion of main_arena and list_lock. Small cleanups.
92106 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92107 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
92108 Add initializers to main_arena and mp_.
92109 (malloc_state): Remove pagesize member. Change all users to use
92110 GLRO(dl_pagesize).
92111
92112 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92113 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
92114 is always initialized.
92115
92116 * malloc/malloc.c: Removed unused configurations and dead code.
92117 * malloc/arena.c: Likewise.
92118 * malloc/hooks.c: Likewise.
92119 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92120
92121 * include/tls.h: Removed. USE___THREAD must always be defined.
92122 * bits/libc-tsd.h: Don't handle !USE___THREAD.
92123 * elf/dl-libc.c: Likewise.
92124 * elf/dl-tsd.c: Likewise.
92125 * include/errno.h: Likewise.
92126 * include/netdb.h: Likewise.
92127 * include/resolv.h: Likewise.
92128 * inet/herrno-loc.c: Likewise.
92129 * inet/herrno.c: Likewise.
92130 * malloc/arena.c: Likewise.
92131 * malloc/hooks.c: Likewise.
92132 * malloc/malloc.c: Likewise.
92133 * resolv/res-state.c: Likewise.
92134 * resolv/res_libc.c: Likewise.
92135 * sysdeps/i386/dl-machine.h: Likewise.
92136 * sysdeps/ia64/dl-machine.h: Likewise.
92137 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92138 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92139 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92140 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92141 * sysdeps/sh/dl-machine.h: Likewise.
92142 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92143 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92144 * sysdeps/unix/i386/sysdep.S: Likewise.
92145 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92146 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92151 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92155 * sysdeps/unix/x86_64/sysdep.S: Likewise.
92156 * sysdeps/x86_64/dl-machine.h: Likewise.
92157 * tls.make.c: Likewise.
92158
92159 * configure.in: Remove --with-__thread option. Make tests for
92160 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92161 tls_model attribute fail if no support is available. Remove
92162 USE_IN_LIBIO.
92163 * Makeconfig: Adjust for dropped configure option. All features are
92164 now mandatory.
92165 * Makerules: Likewise.
92166 * Versions.def: Likewise.
92167 * argp/argp-fmtstream.c: Likewise.
92168 * argp/argp-fmtstream.h: Likewise.
92169 * argp/argp-help.c: Likewise.
92170 * assert/assert.c: Likewise.
92171 * config.h.in: Likewise.
92172 * config.make.in: Likewise.
92173 * configure: Likewise.
92174 * configure.in: Likewise.
92175 * csu/Versions: Likewise.
92176 * csu/init.c: Likewise.
92177 * elf/tst-audit2.c: Likewise.
92178 * elf/tst-tls10.c: Likewise.
92179 * elf/tst-tls10.h: Likewise.
92180 * elf/tst-tls11.c: Likewise.
92181 * elf/tst-tls12.c: Likewise.
92182 * elf/tst-tls14.c: Likewise.
92183 * elf/tst-tlsmod11.c: Likewise.
92184 * elf/tst-tlsmod12.c: Likewise.
92185 * elf/tst-tlsmod13.c: Likewise.
92186 * elf/tst-tlsmod13a.c: Likewise.
92187 * elf/tst-tlsmod14a.c: Likewise.
92188 * elf/tst-tlsmod15b.c: Likewise.
92189 * elf/tst-tlsmod16a.c: Likewise.
92190 * elf/tst-tlsmod16b.c: Likewise.
92191 * elf/tst-tlsmod7.c: Likewise.
92192 * elf/tst-tlsmod8.c: Likewise.
92193 * elf/tst-tlsmod9.c: Likewise.
92194 * gmon/gmon.c: Likewise.
92195 * grp/fgetgrent_r.c: Likewise.
92196 * grp/putgrent.c: Likewise.
92197 * hurd/fopenport.c: Likewise.
92198 * include/libc-symbols.h: Likewise.
92199 * include/tls.h: Likewise.
92200 * intl/gettextP.h: Likewise.
92201 * intl/loadinfo.h: Likewise.
92202 * locale/global-locale.c: Likewise.
92203 * locale/localeinfo.h: Likewise.
92204 * mach/devstream.c: Likewise.
92205 * malloc/arena.c: Likewise.
92206 * malloc/set-freeres.c: Likewise.
92207 * misc/err.c: Likewise.
92208 * misc/getttyent.c: Likewise.
92209 * misc/mntent_r.c: Likewise.
92210 * posix/getopt.c: Likewise.
92211 * posix/wordexp.c: Likewise.
92212 * pwd/fgetpwent_r.c: Likewise.
92213 * resolv/Versions: Likewise.
92214 * resolv/res_hconf.c: Likewise.
92215 * shadow/fgetspent_r.c: Likewise.
92216 * shadow/putspent.c: Likewise.
92217 * stdio-common/printf_fphex.c: Likewise.
92218 * stdio-common/tmpfile.c: Likewise.
92219 * stdlib/abort.c: Likewise.
92220 * stdlib/fmtmsg.c: Likewise.
92221 * sunrpc/auth_unix.c: Likewise.
92222 * sunrpc/clnt_perr.c: Likewise.
92223 * sunrpc/clnt_tcp.c: Likewise.
92224 * sunrpc/clnt_udp.c: Likewise.
92225 * sunrpc/clnt_unix.c: Likewise.
92226 * sunrpc/openchild.c: Likewise.
92227 * sunrpc/svc_simple.c: Likewise.
92228 * sunrpc/svc_tcp.c: Likewise.
92229 * sunrpc/svc_udp.c: Likewise.
92230 * sunrpc/svc_unix.c: Likewise.
92231 * sunrpc/xdr.c: Likewise.
92232 * sunrpc/xdr_array.c: Likewise.
92233 * sunrpc/xdr_rec.c: Likewise.
92234 * sunrpc/xdr_ref.c: Likewise.
92235 * sunrpc/xdr_stdio.c: Likewise.
92236
92237 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92238
92239 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92240
92241 2011-07-03 Andreas Jaeger <aj@suse.de>
92242
92243 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92244 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92245 regenerate with gen-libm-tests.pl.
92246
92247 2010-05-12 Petr Baudis <pasky@suse.cz>
92248
92249 [BZ #11589]
92250 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92251 around j0() zero points by switching to j1().
92252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92253 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92255 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92256
92257 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92258
92259 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92260 instead of 0.
92261 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92262 instead of 0.
92263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92264 Patch in part by Pavel Roskin <proski@gnu.org>.
92265
92266 [BZ #13138]
92267 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92268 realloc.
92269 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92270 Free memory block if necessary.
92271
92272 [BZ #12847]
92273 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92274 be NULL. Don't lock in this case.
92275
92276 2011-09-09 Roland McGrath <roland@hack.frob.com>
92277
92278 * elf/elf.h (ELFOSABI_GNU): New macro.
92279 (ELFOSABI_LINUX): Define to that.
92280
92281 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92282
92283 * string/strncat.c (strncat): Undef the symbol in case it has been
92284 defined in bits/string.h.
92285
92286 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92287
92288 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92289
92290 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92291 link map.
92292
92293 2011-08-17 Andreas Jaeger <aj@suse.de>
92294
92295 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92296
92297 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92298 Ian Lance Taylor <iant@google.com>
92299
92300 * math/libm-test.inc (lround_test): New testcase.
92301 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92302
92303 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92304
92305 * Makefile: Remove support for automatic cvs check-ins.
92306 * Makerules: Likewise.
92307 * config.make.in: Likewise.
92308 * configure.in: Likewise.
92309 * intl/Makefile: Likewise.
92310 * locale/Makefile: Likewise.
92311 * po/Makefile: Likewise.
92312 * posix/Makefile: Likewise.
92313 * sysdeps/gnu/Makefile: Likewise.
92314 * sysdeps/mach/hurd/Makefile: Likewise.
92315 * sysdeps/sparc/sparc32/Makefile: Likewise.
92316
92317 [BZ #13118]
92318 * posix/Makefile (bug-regex32-ENV): Define.
92319 Patch by John Stanley <jpsinthemix@verizon.net>.
92320
92321 * misc/Makefile (headers): Add bits/select2.h.
92322 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92323 * misc/bits/select2.h: New file.
92324 * include/bits/select2.h: New file.
92325 * debug/Makefile (routines): Add fdelt_chk.
92326 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92327 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92328 FD_ISSET.
92329 * debug/fdelt_chk.c: New file.
92330
92331 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92332 * wcsmbs/test-wmemcmp.c: Likewise.
92333 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92334 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92335
92336 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92337
92338 * string/Makefile (strop-tests): Add memcmp.
92339 * string/test-wmemcmp.c: New file.
92340 * string/test-memcmp.c: Add wmemcmp support.
92341
92342 2011-09-08 Roland McGrath <roland@hack.frob.com>
92343
92344 [BZ #13153]
92345 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92346 2011-07-19 change.
92347
92348 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92349 garbage value in a __mach_port_mod_refs call in the cases of the
92350 task-self and thread-self ports.
92351
92352 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92353
92354 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92355
92356 2011-09-08 Andreas Schwab <schwab@redhat.com>
92357
92358 * elf/dl-load.c (lose): Check for non-null L.
92359
92360 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92361
92362 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92363
92364 * elf/dl-libc.c (dlerror_run): Pass back error code from
92365 dl_catch_error.
92366
92367 [BZ #13123]
92368 * elf/dl-load.c (lose): Free l_origin if it is valid.
92369
92370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92371 names.
92372 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92373 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92374 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92375 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92376 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92377 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92378
92379 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92380
92381 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92382 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92383 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92384 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92385 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92386 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92387 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92388 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92389 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92390 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92391
92392 2011-08-15 Alan Modra <amodra@gmail.com>
92393
92394 [BZ #13092]
92395 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92396 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92397 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92398 ppc_mcount to static-only-routines.
92399 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92400 __mcount_internal.
92401 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92402 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92403
92404 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92405
92406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92407 for finite and infinity parameters.
92408
92409 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92410
92411 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92412 and add nop instructions for throughput optimization.
92413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92414
92415 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92416
92417 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92418 aligned copy for power7 with vector-scalar instructions.
92419 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92420
92421 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92422
92423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92424 AVX check.
92425
92426 2011-09-07 Andreas Schwab <schwab@redhat.com>
92427
92428 [BZ #13144]
92429 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92430 last change.
92431
92432 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92433
92434 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92435 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92436 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92437 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92438 clock_gettime.
92439
92440 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92441
92442 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92443 Forgot to demangle the pointer.
92444
92445 * sysdeps/i386/sysdep.h: Define atom_text_section.
92446 * sysdeps/x86_64/sysdep.h: Likewise.
92447 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92448 section with atom_text_section.
92449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92451 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92453 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92454
92455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92456 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92457 already be defined. Change to take two parameters and don't assign
92458 result to variable. Adjust all users.
92459 Define INTERNAL_GETTIME if not already defined.
92460 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92461 call.
92462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92463 HAVE_CLOCK_GETTIME_VSYSCALL.
92464 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92465
92466 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92467 gettimeofday vsyscall, just use time.
92468
92469 2011-09-06 Andreas Schwab <schwab@redhat.com>
92470
92471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92472 <errno.h>.
92473
92474 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92475
92476 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92477 syscall on x86-64.
92478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92479 syscall.
92480 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92481 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92482 syscall if possible.
92483
92484 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92485
92486 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92487 e_ident. Don't pass to find_mapsXX.
92488 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92489
92490 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92491
92492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92493 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92494 * sysdeps/x86_64/multiarch/strchr.S: Update.
92495 Check bit_slow_BSF bit.
92496 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92497 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92498 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92499
92500 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92501
92502 [BZ #13134]
92503 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92504 before glibc 2.15.
92505 (tryshell): Define.
92506 (__spawni): Change last parameter to be flag. Test
92507 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92508 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92509 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92510 * posix/spawni.c: Likewise.
92511 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92512 * posix/spawnp.c: Likewise. Change normal version to use
92513 SPAWN_XFLAGS_USE_PATH.
92514 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92515 SPAWN_XFLAGS_TRY_SHELL.
92516
92517 [BZ #13150]
92518 * posix/glob.h: Remove gcc 1.x support.
92519
92520 [BZ #13068]
92521 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92522
92523 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92524
92525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92526 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92527 strrchr-sse2-bsf
92528 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92529 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92530 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92531 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92532 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92533 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92534
92535 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92536
92537 * sysdeps/x86_64/wcscmp.S: New file.
92538
92539 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92540 wcscmp-c wcscmp-sse2
92541 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92542 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92543 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92544 * wcsmbs/wcscmp.c: Allow renaming.
92545
92546 2011-09-05 David S. Miller <davem@davemloft.net>
92547
92548 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92549 stack slot, rather than the struct return pointer slot.
92550 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92551 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92553 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92554
92555 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92556
92557 * po/ja.po: Update from translation team.
92558
92559 [BZ #13144]
92560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92561 kernel in 64-bit binaries.
92562
92563 2011-09-01 David S. Miller <davem@davemloft.net>
92564
92565 * elf/elf.h (HWCAP_SPARC_*): Move to..
92566 * sysdeps/sparc/sysdep.h: this new file and add new values.
92567 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92568 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92569 _DL_HWCAP_COUNT to 24.
92570 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92571 entries.
92572 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92573 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92574 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92576 instead of magic constants.
92577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92578
92579 2011-08-31 David S. Miller <davem@davemloft.net>
92580
92581 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92583 Reimplement to do errno handling inline.
92584 (SYSCALL_ERROR_HANDLER): New macro.
92585 (__SYSCALL_STRING): Do not do errno handling in asm.
92586 (__CLONE_SYSCALL_STRING): Delete.
92587 (__INTERNAL_SYSCALL_STRING): Delete.
92588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92589 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92590 (PSEUDO): Reimplement to do errno handling inline.
92591 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92592 (SYSCALL_ERROR_HANDLER): New macro.
92593 (__SYSCALL_STRING): Do not do errno handling in asm.
92594 (__CLONE_SYSCALL_STRING): Delete.
92595 (__INTERNAL_SYSCALL_STRING): Delete.
92596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92597 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92598 i386.
92599 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92600 (inline_syscall*): Add 'err' argument.
92601 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92602 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92603 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92604 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92605
92606 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92607 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92608
92609 2011-08-30 Andreas Schwab <schwab@redhat.com>
92610
92611 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92612
92613 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92614
92615 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92616 directive.
92617
92618 2011-08-24 David S. Miller <davem@davemloft.net>
92619
92620 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92621
92622 2011-08-24 Andreas Schwab <schwab@redhat.com>
92623
92624 * elf/Makefile: Add rules to build and run unload8 test.
92625 * elf/unload8.c: New file.
92626 * elf/unload8mod1.c: New file.
92627 * elf/unload8mod1x.c: New file.
92628 * elf/unload8mod2.c: New file.
92629 * elf/unload8mod3.c: New file.
92630
92631 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92632 it wasn't used.
92633
92634 2011-08-23 David S. Miller <davem@davemloft.net>
92635
92636 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92637 subtract stack bias.
92638 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92639 %sp not %fp in calculations.
92640 (_JMPBUF_UNWINDS_ADJ): Likewise.
92641
92642 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92643 (aio_suspend): Call it to force an exception region around the
92644 AIO_MISC_WAIT() invocation.
92645
92646 2011-08-23 Andreas Schwab <schwab@redhat.com>
92647
92648 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92649 backslash.
92650
92651 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92652
92653 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92654 protection macro.
92655 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92656 and <dl-machine.h>.
92657 (Elf64_FuncDesc): Remove.
92658
92659 2011-08-22 David S. Miller <davem@davemloft.net>
92660
92661 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92662 sigaltstack check, add missing cfi directives.
92663 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92664 missing cfi directives, and sigaltstack handling.
92665
92666 2011-08-16 Andreas Schwab <schwab@redhat.com>
92667
92668 [BZ #11724]
92669 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92670 object is seen twice.
92671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92672
92673 * elf/Makefile (distribute): Add tst-initorder2.c.
92674 (tests): Add tst-initorder2.
92675 (modules-names): Add tst-initorder2a tst-initorder2b
92676 tst-initorder2c tst-initorder2d. Add rules to build them.
92677 ($(objpfx)tst-initorder2.out): New rule.
92678 * elf/tst-initorder2.c: New file.
92679 * elf/tst-initorder2.exp: New file.
92680
92681 2011-08-22 Andreas Schwab <schwab@redhat.com>
92682
92683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92684
92685 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92686 dependencies back to end of function.
92687
92688 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92689 $(elfobjdir)/ld.so.
92690
92691 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92692
92693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92694 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92696 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92697 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92698 of __vdso_gettimeofday.
92699 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92700 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92701 attribute_hidden.
92702 (_libc_vdso_platform_setup): Remove initialization of
92703 __vdso_gettimeofday and __vdso_time.
92704
92705 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92706
92707 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92708 and fgetc_unlocked.
92709 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92710 getc_unlocked.
92711
92712 * elf/dl-open.c (add_to_global): Report additions to the global scope
92713 for LD_DEBUG=scopes.
92714 (dl_open_worker): Also print scope of newly loaded dependencies.
92715 (_dl_show_scope): Indicate if there is no scope.
92716
92717 [BZ #13114]
92718 * stdio-common/Makefile (tests): Add bug24.
92719 * stdio-common/bug24.c: New file.
92720
92721 2011-08-19 Andreas Jaeger <aj@suse.de>
92722
92723 [BZ #13114]
92724 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92725 non-existant file when using close-on-exec mode.
92726
92727 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92728
92729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92730 the very first instruction.
92731
92732 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92733 the CFI state in the end.
92734 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92735 inclusion of dl-trampoline.h.
92736 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92737
92738 2011-08-19 Andreas Schwab <schwab@redhat.com>
92739
92740 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92741 expectations for long double.
92742
92743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92744 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92745
92746 2011-08-14 David S. Miller <davem@davemloft.net>
92747
92748 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92749 artificual limit depends upon the system page size.
92750
92751 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92752
92753 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92754 * resolv/Makefile: Define CFLAGS-libresolv.
92755
92756 2011-08-17 Andreas Schwab <schwab@redhat.com>
92757
92758 * nss/makedb.c (compute_tables): Make variables used in nested
92759 function static.
92760
92761 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92762
92763 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92764 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92765 if buffer was too small.
92766
92767 * elf/pldd.c (main): Attach to all threads in the process.
92768 Rewrite /proc handling to use *at functions.
92769
92770 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92771
92772 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92773 specifies first scope to show.
92774 (dl_open_worker): Update callers. Move printing scope of new
92775 object to before the relocation.
92776 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92777 * sysdeps/generic/ldsodefs.h: Update declaration.
92778
92779 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92780 string for the scope number.
92781
92782 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92783
92784 * nscd/servicescache.c (cache_addserv): Make sure written is always
92785 initialized.
92786
92787 2011-08-14 Roland McGrath <roland@hack.frob.com>
92788
92789 * sysdeps/i386/i486/bits/atomic.h
92790 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92791 statement expression, so as to suppress "set but not used" warning.
92792 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92793
92794 * string/strncat.c (STRNCAT): Use prototype definition.
92795
92796 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92797 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92798 -Iprograms here.
92799 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92800 (localedef-modules): Add localedef.
92801 (locale-modules): Add locale.
92802
92803 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92804 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92805 to avoid a warning.
92806
92807 2011-08-14 David S. Miller <davem@davemloft.net>
92808
92809 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92810 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92811
92812 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92813
92814 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92815 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92816 * elf/rtld.c (dl_main): Set l_name of vDSO.
92817 Call _dl_show_scope when DL_DEBUG_SCOPES.
92818 (process_dl_debug): Recognize scopes flag and also set it for all.
92819 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92820 Declare _dl_show_scope.
92821
92822 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92823 (do_dlopen): Pass caller_dlopen to dl_open.
92824 (__libc_dlopen_mode): Initialize caller_dlopen.
92825
92826 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92827 of libc. Make tolower call locale-independent. Optimize a bit by
92828 using isdigit instead of isalnum.
92829 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92830
92831 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92832
92833 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92834 was a dependency or dynamically loaded.
92835
92836 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92837
92838 * intl/l10nflist.c: Allow architecture-specific pop function.
92839 * sysdeps/x86_64/l10nflist.c: New file.
92840
92841 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92842 classification.
92843
92844 2011-08-10 Andreas Schwab <schwab@redhat.com>
92845
92846 * include/dirent.h: Add libc_hidden_proto for scandirat and
92847 scandirat64. Don't declare __scandirat64.
92848 * dirent/scandirat.c: Add libc_hidden_def.
92849 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92850 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92851
92852 2011-08-10 David S. Miller <davem@davemloft.net>
92853
92854 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92855 enum.
92856 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92857 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92859
92860 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92861
92862 * Versions.def [libc]: Add GLIBC_2.15.
92863 * dirent/Makefile (routines): Add scandirat and scandirat64.
92864 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92865 GLIBC_2.15.
92866 * dirent/dirent.h: Declare scandirat and scandirat64.
92867 * dirent/scandirat.c: New file.
92868 * dirent/scandirat64.c: New file.
92869 * sysdeps/wordsize-64/scandirat.c: New file.
92870 * sysdeps/wordsize-64/scandirat64.c: New file.
92871 * dirent/opendir.c: Define opendirat.
92872 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92873 using scandirat.
92874 * dirent/scandir64.c: Adjust for scandir.c change.
92875 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92876 __scandirat64, and __scandir_cancel_handler.
92877 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92878 additional parameter and use openat instead of open (outside of ld.so).
92879 Add new __opendir as wrapper around __opendirat.
92880 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92881 here without requiring old scandirat implementation.
92882
92883 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92884
92885 * dirent/scandir.c (cancel_handler): Renamed to
92886 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92887 defined. Adjust users.
92888 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92889 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92890
92891 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92892
92893 * string/test-string.h (IMPL): Use __STRING to expand name and then
92894 stringify it.
92895
92896 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92897 of cleanups.
92898
92899 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92900
92901 * string/Makefile: Update.
92902 (strop-tests): Append strncat.
92903 * string/test-wcscmp.c: New file.
92904 New comprehensive test for wcscmp.
92905 * string/test-strcmp.c: Update.
92906 (WIDE): New define.
92907
92908 2011-07-22 Andreas Schwab <schwab@redhat.com>
92909
92910 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92911 line.
92912
92913 2011-07-26 Andreas Schwab <schwab@redhat.com>
92914
92915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92916 encoding to ACE if AI_IDN.
92917
92918 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92919
92920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92921 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92922
92923 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92924
92925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92926 Fix overflow bug in strncat.
92927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92928
92929 * string/test-strncat.c: Update.
92930 Add new tests for checking overflow bugs.
92931
92932 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92933
92934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92935 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92936 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92937 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92939 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92940 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92941 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92942 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92943
92944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92945 (USE_AS_STRCAT): Define.
92946 Add strcat and strncat support.
92947 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92948
92949 2011-07-25 Andreas Schwab <schwab@redhat.com>
92950
92951 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92952 __n bigger than INT_MAX+1.
92953 (__strncmp_g): Likewise.
92954
92955 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92956
92957 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92958 * libio/stido.h: Likewise.
92959
92960 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92961 (AF_NFC): Define.
92962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92963 (AF_NFC): Define.
92964
92965 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92968 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92970
92971 [BZ #13021]
92972 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92973 installed.
92974
92975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92976 typo.
92977 (_dl_x86_64_save_sse): Likewise.
92978
92979 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92980
92981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92982 OSXSAVE.
92983 (_dl_x86_64_save_sse): Likewise.
92984
92985 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92986
92987 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92988
92989 2011-07-21 Andreas Schwab <schwab@redhat.com>
92990
92991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92992 change.
92993 (_dl_x86_64_save_sse): Use correct AVX check.
92994
92995 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92996
92997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92998 bug in strncpy/strncat.
92999 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
93000
93001 2011-07-21 Ulrich Drepper <drepper@gmail.com>
93002
93003 * string/tester.c (test_strcat): Add tests for different alignments
93004 of source and destination.
93005 (test_strncat): Likewise.
93006
93007 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93008
93009 [BZ #12852]
93010 * posix/glob.c (glob): Check passed in values before using them in
93011 expressions to avoid some overflows.
93012 (glob_in_dir): Likewise.
93013
93014 [BZ #13007]
93015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93016 check for AVX enablement so that we don't crash with old kernels and
93017 new hardware.
93018 * elf/tst-audit4.c: Add same checks here.
93019 * elf/tst-audit6.c: Likewise.
93020
93021 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93022
93023 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
93024
93025 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93026
93027 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93028
93029 * po/cs.po: Update from translation team.
93030 * po/bg.po: Likewise.
93031
93032 2011-07-12 Marek Polacek <mpolacek@redhat.com>
93033
93034 * misc/sys/cdefs.h: Add support for const attribute.
93035 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93036 to gnu_dev_{major,minor,makedev} functions.
93037
93038 2011-07-20 Marek Polacek <mpolacek@redhat.com>
93039
93040 * intl/dcigettext.c (get_output_charset): Add missing bracket.
93041
93042 2011-07-20 Andreas Schwab <schwab@redhat.com>
93043
93044 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93045 strlen results.
93046
93047 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93048
93049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93050 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93051 register in order to avoid conflicts with the soft frame pointer
93052 being held in r11 when necessary.
93053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93054 (INTERNAL_VSYSCALL_NCS): Likewise.
93055
93056 2011-07-14 Marek Polacek <mpolacek@redhat.com>
93057
93058 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93059 * elf/dl-fini.c (_dl_fini): Adjust caller.
93060 * elf/dl-close.c (_dl_close_worker): Likewise.
93061 * sysdeps/generic/ldsodefs.h: Adjust declaration.
93062
93063 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93064
93065 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93066 "aux_cache->nlibs < 0".
93067
93068 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93069 in the reload-count case.
93070
93071 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93072
93073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93074 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93075 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93076 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93077 * sysdeps/x86_64/multiarch/strcat.S: New file.
93078 * sysdeps/x86_64/multiarch/strncat.S: New file.
93079 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93080 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93081 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93082 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93083 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93084 (USE_AS_STRCAT): Define.
93085 Add strcat and strncat support.
93086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93087 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93088 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93089 * string/strncat.c: Update.
93090 (USE_AS_STRNCAT): Define.
93091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93092 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93093 and i7.
93094 * sysdeps/x86_64/multiarch/init-arch.h
93095 (bit_Prefer_PMINUB_for_stringop): New.
93096 (index_Prefer_PMINUB_for_stringop): Likewise.
93097 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93098 bit_Prefer_PMINUB_for_stringop.
93099
93100 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93101
93102 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93103 buffer64.
93104 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93105 of casting of buffer.
93106 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93107 buffer32 and buffer64.
93108 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93109 writes instead of casting of buffer.
93110 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93111 buffer32.
93112 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93113 casting of buffer.
93114
93115 2011-07-19 Andreas Schwab <schwab@redhat.com>
93116
93117 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93118
93119 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93120
93121 * nscd/nscd.c (termination_handler): Don't do anything for a database
93122 if it has not yet been initialized.
93123
93124 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93125
93126 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93127
93128 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93129
93130 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93131
93132 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93133
93134 * po/nl.po: Update from translation team.
93135 * po/sv.po: Likewise.
93136
93137 2011-07-16 Roland McGrath <roland@hack.frob.com>
93138
93139 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93140 now disallowed by GCC.
93141
93142 * configure.in (use-default-link): Default to yes if a test -shared
93143 link meets our qualifications.
93144 * configure: Regenerated.
93145
93146 * config.make.in (output-format): New variable.
93147 * configure.in: Check for ld --print-output-format support.
93148 * configure: Regenerated.
93149 * Makerules ($(common-objpfx)format.lds)
93150 [$(output-format) != unknown]: Just use $(output-format),
93151 instead of the linker-script munging.
93152
93153 2011-07-14 Roland McGrath <roland@hack.frob.com>
93154
93155 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93156 of $(common-objpfx)shlib.lds.
93157 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93158
93159 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93160 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93161
93162 * configure.in (-z relro check): Adjust test code to add a large
93163 writable data section after it.
93164 * configure: Regenerated.
93165
93166 2011-07-11 Roland McGrath <roland@hack.frob.com>
93167
93168 * configure.in (-z relro check): Fix test code to make the variable
93169 truly const.
93170 * configure: Regenerated.
93171
93172 2011-07-11 Ulrich Drepper <drepper@gmail.com>
93173
93174 * nscd/nscd.h (struct traced_file): Define.
93175 (struct database_dyn): Remove inotify_descr, reset_res, and filename
93176 elements. Add traced_files.
93177 (inotify_fd): Declare.
93178 (register_traced_file): Declare.
93179 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93180 (inotify_fd): Export.
93181 (resolv_conf_descr): Remove.
93182 (nscd_init): Move inotify descriptor creation to main.
93183 Don't register files for notification here.
93184 (register_traced_file): New function.
93185 (invalidate_cache): Don't use reset_res to determine whether to call
93186 res_init, go through the list of registered files.
93187 (main_loop_poll): The inotify descriptors are now stored in the
93188 structures for the traced files.
93189 (main_loop_epoll): Likewise.
93190 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93191 to __nss_disable_nscd.
93192 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93193 for a database anymore. Check the records for all the registered
93194 files instead.
93195 * nss/Makefile (libnss_files-routines): Add files-init.
93196 (libnss_db-routines): Add db-init.
93197 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93198 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93199 * nss/nss_db/db-init.c: New file.
93200 * nss/nss_files/files-init.c: New file.
93201 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93202 __nss_lookup_function.
93203 (__nss_lookup_function): Call nss_load_library.
93204 (nss_load_all_libraries): New function.
93205 (__nss_disable_nscd): Take parameter with callback function for files
93206 to register. Set is_nscd. Load all the DSOs for the NSS modules
93207 used for the cached services.
93208 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93209 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93210 options for features to all the files in nscd.
93211
93212 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93213
93214 2011-07-10 Roland McGrath <roland@hack.frob.com>
93215
93216 * csu/elf-init.c (__libc_csu_init): Comment typo.
93217
93218 2011-07-09 Ulrich Drepper <drepper@gmail.com>
93219
93220 * po/pl.po: Update from translation team.
93221 * po/ja.po: Likewise.
93222 * po/ru.po: Likewise.
93223 * po/ko.po: Likewise.
93224 * po/fr.po: Likewise.
93225
93226 2011-07-09 Roland McGrath <roland@hack.frob.com>
93227
93228 * configure.in (.ctors/.dtors header and trailer check):
93229 Use an empirical test on a built program.
93230 * configure: Regenerated.
93231
93232 * configure.in (-z relro check): Use an empirical test on a built DSO.
93233 Detect, but do not require, on ia64.
93234 * configure: Regenerated.
93235
93236 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93237 Update tests that use readelf to use $READELF instead.
93238 * configure: Regenerated.
93239
93240 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93241
93242 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93243 if the result is not used.
93244
93245 2011-07-05 Andreas Jaeger <aj@suse.de>
93246
93247 [BZ #9696]
93248 * stdlib/tst-strtod.c: Add testcase.
93249
93250 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93251
93252 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93253 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93254 The latter has a higher limit. Take additional parameter to pass to
93255 the new function.
93256 (__pathconf): Pass file to __statfs_link_max.
93257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93258 __statfs_link_max.
93259 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93260 __statfs_link_max.
93261
93262 [BZ #12868]
93263 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93265 Handle Lustre.
93266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93267 (__statfs_filesize_max): Likewise.
93268 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93269
93270 2011-07-05 Andreas Jaeger <aj@suse.de>
93271
93272 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93273
93274 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93275
93276 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93277 `status' variable.
93278 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93279 Likewise.
93280
93281 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93282
93283 * Makefile (strop-tests): Add strncat.
93284 * string/test-strncat.c: New file.
93285
93286 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93287
93288 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93289
93290 2011-06-21 Andreas Jaeger <aj@suse.de>
93291
93292 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93293 Copy rule from iconvdata/Makefile.
93294
93295 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93296
93297 [BZ #12922]
93298 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93299 but no long options are defined, just return 'W'.
93300
93301 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93302
93303 [BZ #9696]
93304 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93305
93306 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93307
93308 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93309 netgroups to read.
93310 (innetgr): Likewise.
93311
93312 2011-07-05 Roland McGrath <roland@hack.frob.com>
93313
93314 * config.make.in (install_root): Default to $(DESTDIR).
93315
93316 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93317
93318 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93319
93320 2011-07-02 Roland McGrath <roland@hack.frob.com>
93321
93322 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93323
93324 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93325 containing directory rather than embedding absolute directory names.
93326
93327 * scripts/check-local-headers.sh: Rewritten using awk.
93328 Match by word, not by line. Print error messages for matches.
93329 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93330
93331 * Makerules [shlib-lds-flags empty]:
93332 ($(common-objpfx)libc_pic.opts): New target.
93333 ($(common-objpfx)libc_pic.os.clean): New target.
93334 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93335
93336 * config.make.in (OBJCOPY): New variable.
93337 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93338 * configure: Regenerated.
93339
93340 * config.make.in (use-default-link): New variable.
93341 * configure.in (use_default_link): Grok --with-default-link to set it.
93342 * configure: Regenerated.
93343 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93344 (shlib-lds, shlib-lds-flags): Define to empty.
93345
93346 * Makerules (shlib-lds): New variable.
93347 (shlib-lds-flags): New variable.
93348 (build-shlib, build-moduile, build-module-asneeded): Use it.
93349 ($(common-objpfx)libc.so): Use $(shlib-lds).
93350 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93351 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93352
93353 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93354 DT_FLAGS/DT_FLAGS_1 with zero flags.
93355
93356 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93357 linker script munging.
93358
93359 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93360
93361 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93362 as 128-bit value.
93363 * crypt/sha512.c (sha512_process_block): Perform total addition using
93364 128-bit if possible.
93365 (__sha512_finish_ctx): Likewise.
93366 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93367 as 64-bit value.
93368 * crypt/sha256.c (SWAP64): Define.
93369 (sha256_process_block): Perform total addition using 64-bit if
93370 possible.
93371 (__sha256_finish_ctx): Likewise.
93372
93373 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93374
93375 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93377 * nscd/hstcache.c (cache_addhst): Likewise.
93378 * nscd/grpcache.c (cache_addgr): Likewise.
93379 * nscd/aicache.c (addhstaiX): Likewise.
93380 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93381
93382 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93383
93384 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93386 * nscd/hstcache.c (cache_addhst): Likewise.
93387 * nscd/grpcache.c (cache_addgr): Likewise.
93388 * nscd/aicache.c (addhstaiX): Likewise.
93389
93390 2011-07-01 Andreas Schwab <schwab@redhat.com>
93391
93392 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93393 domain only when needed.
93394
93395 2011-06-30 Andreas Schwab <schwab@redhat.com>
93396
93397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93398 is always restored.
93399
93400 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93401
93402 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93403 are re-adding the entry.
93404 * nscd/servicescache.c (cache_addserv): Likewise.
93405
93406 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93407
93408 * sysdeps/generic/dl-irel.h: fix protection against multiple
93409 inclusions.
93410 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93411
93412 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93413
93414 [BZ #12935]
93415 * malloc/memusage.sh: Fix quoting in message.
93416 * debug/xtrace.sh: Likewise.
93417
93418 * configure.in: Remove support for --experimental-malloc option, make
93419 it the default.
93420 * config.make.in: Likewise.
93421 * malloc/Makefile: Likewise.
93422
93423 2011-06-27 Andreas Schwab <schwab@redhat.com>
93424
93425 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93426 two-byte characters.
93427
93428 2011-06-27 Roland McGrath <roland@hack.frob.com>
93429
93430 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93431 AC_CACHE_CHECK invocation.
93432 * configure: Regenerated.
93433
93434 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93435
93436 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93437
93438 [BZ #12350]
93439 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93440 bit from old_res_options.
93441
93442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93443
93444 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93445 value type for setfct.
93446
93447 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93448
93449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93450 __gettimeofday instead of gettimeofday.
93451
93452 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93453
93454 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93455
93456 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93457
93458 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93459
93460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93461 info.
93462
93463 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93464
93465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93466 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93467 strcpy-sse2-unaligned strncpy-sse2-unaligned
93468 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93469 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93470 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93471 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93472 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93473 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93475 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93476 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93477 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93478 (STRCPY): Support SSE2 and SSSE3 versions.
93479
93480 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93481
93482 [BZ #12874]
93483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93484 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93485 kernels which artificially limit size of requests.
93486
93487 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93488
93489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93490 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93491 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93492 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93493 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93494 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93495 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93496 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93497 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93498 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93499 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93500 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93501 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93502 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93503 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93505 Enable unaligned load optimization for Intel Core i3, i5 and i7
93506 processors.
93507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93508 Define.
93509 (index_Fast_Unaligned_Load): Define.
93510 (HAS_FAST_UNALIGNED_LOAD): Define.
93511
93512 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93513
93514 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93515
93516 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93517
93518 [BZ #12907]
93519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93520 until it is clear that the information is realy needed.
93521 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93522
93523 2011-06-22 Andreas Schwab <schwab@redhat.com>
93524
93525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93526
93527 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93528
93529 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93530 /sys/devices/system/cpu/online if it is usable.
93531
93532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93533 reading the information from the /proc filesystem to once a second.
93534
93535 2011-06-21 Andreas Jaeger <aj@suse.de>
93536
93537 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93538 NULL after inclusion of kernel headers.
93539
93540 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93541
93542 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93543 calls to internal_setent.
93544
93545 [BZ #12885]
93546 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93547 addresses using gethostbyname4_r ignore IPv4 addresses.
93548
93549 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93550 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93551
93552 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93553
93554 2011-06-20 David S. Miller <davem@davemloft.net>
93555
93556 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93557 inclusions.
93558 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93559
93560 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93561 (elf_irel): Use it.
93562 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93563 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93564 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93565 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93566 * sysdeps/x86_64/dl-irel.h: Likewise.
93567
93568 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93569 * elf/dl-sym.c: Likewise.
93570
93571 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93572
93573 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93574 need to dereference resplen2.
93575
93576 2011-06-14 Andreas Schwab <schwab@redhat.com>
93577
93578 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93579
93580 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93581
93582 * Makeconfig: Define vardbdir and inst_vardbdir.
93583 * nss/Makefile: Add rules to install db-Makefile.
93584
93585 * nss/nss_db/db-XXX.c: Cleanup.
93586
93587 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93588 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93589 GLIBC_PRIVATE.
93590 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93591 * nss/makedb.c: Implement -g option to specify that value strings
93592 are generated and should not be added to table iterated over for
93593 get*ent calls.
93594 * nss/nss_db/db-initgroups.c: New file.
93595
93596 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93597 interface.
93598
93599 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93600 (internal_getgrouplist): Adjust to name change.
93601 Update use_initgroups_entry if this is not the first call.
93602 * nss/databases.def: Add initgroups entry.
93603
93604 * nss/makedb.c (compute_tables): Check result of multiple hash table
93605 sizes to minimize maximum chain length.
93606
93607 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93608
93609 * Versions.def: Add entry for libnss_db.
93610 * shlib-versions: Likewise.
93611 * nss/Makefile: Add rules to build libnss_db.
93612 * nss/Versions: Add libnss_db information. Organize libnss_files
93613 entries better.
93614 * nss/db-Makefile: Add gshadow support. Change rules for the new
93615 makedb progra. Some minor improvements to generate smaller files.
93616 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93617 here from...
93618 * nss/makedb.c: ...here.
93619 Improve database format to be smaller and require less memory at
93620 runtime.
93621 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93622 db anymore.
93623 * nss/nss_db/db-netgrp.c: Likewise.
93624 * nss/nss_db/db-open.c: Likewise.
93625 * nss/nss_files/flies-XXX.x: Adjust comments.
93626 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93627 * nss/nss_files/files-grp.c: Likewise.
93628 * nss/nss_files/files-hosts.c: Likewise.
93629 * nss/nss_files/files-network.c: Likewise.
93630 * nss/nss_files/files-proto.c: Likewise.
93631 * nss/nss_files/files-pwd.c: Likewise.
93632 * nss/nss_files/files-rpc.c: Likewise.
93633 * nss/nss_files/files-service.c: Likewise.
93634 * nss/nss_files/files-sgrp.c: Likewise.
93635 * nss/nss_files/files-spwd.c: Likewise.
93636 * nss/nss_db/db-alias.c: Removed.
93637 * nss/nss_db/dummy-db.h: Removed.
93638
93639 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93640
93641 * nss/makedb.c: Rewritten to not use database library.
93642 * nss/Makefile: Update to build new makedb program.
93643
93644 2011-06-14 Andreas Jaeger <aj@suse.de>
93645
93646 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93647 memset declaration.
93648
93649 2011-06-10 Andreas Schwab <schwab@redhat.com>
93650
93651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93652 tmpbuf.
93653
93654 2011-06-10 Roland McGrath <roland@hack.frob.com>
93655
93656 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93657 * elf/Makefile ($(objpfx)ld.so): Likewise.
93658
93659 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93660 Don't list ld.so twice in dependencies.
93661
93662 * posix/bug-regex31.c: Include <stdlib.h>.
93663
93664 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93665
93666 * nis/nss_compat/compat-spwd.c
93667 (getspent_next_nss_netgr): Remove unused variable.
93668 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93669
93670 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93671 nonmembers" output to use the right array.
93672
93673 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93674
93675 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93676
93677 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93678 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93679 * catgets/gencat.c (read_input_file): Likewise.
93680 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93681
93682 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93683 variable definition inside #if's controlling its use.
93684
93685 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93686
93687 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93688
93689 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93690
93691 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93692 unreachable code.
93693
93694 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93695
93696 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93697 * configure: Regenerated.
93698
93699 * Makerules: Revert last change.
93700 * elf/Makefile: Likewise.
93701
93702 2011-06-09 Roland McGrath <roland@hack.frob.com>
93703
93704 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93705 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93706 (reloc-link): Likewise.
93707
93708 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93709
93710 * elf/Makefile: Add rules to build pldd.
93711 * elf/pldd.c: New file.
93712 * elf/pldd-xx.c: New file.
93713
93714 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93715
93716 * version.h: Update for 2.15 development version.
93717
93718 2011-06-07 David S. Miller <davem@davemloft.net>
93719
93720 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93721 ifuncs.
93722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93723 elf_machine_lazy_rel): Likewise.
93724 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93726 elf_machine_lazy_rel): Likewise.
93727 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93728 dl_hwcap via passed in argument.
93729 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93730 Likewise.
93731
93732 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93733
93734 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93735
93736 2011-06-06 Roland McGrath <roland@hack.frob.com>
93737
93738 [BZ #12849]
93739 * manual/fdl-1.1.texi: New file, verbatim from:
93740 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93741 * manual/lgpl-2.1.texi: New file, verbatim from:
93742 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93743 * manual/Makefile (licenses): New variable, list those new file names.
93744 (texis): Use it.
93745 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93746
93747 * manual/fdl.texi: File removed.
93748 * manual/lesser.texi: File removed.
93749 * manual/libc.texinfo (Copying, Documentation License):
93750 Use new @include file names, put @appendix directive before @include.
93751
93752 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93753
93754 [BZ #12841]
93755 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93756 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93757 (mq_open): Add __NTH.
93758
93759 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93760
93761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93762 Assume Intel Core i3/i5/i7 processor if AVX is available.
93763
93764 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93765
93766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93767 typo.
93768
93769 2011-05-31 Andreas Schwab <schwab@redhat.com>
93770
93771 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93772 memory. Use alloca_account. Fix memory leak when retrying.
93773
93774 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93775
93776 * version.h (RELEASE): Bump for 2.14 release.
93777 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93778
93779 * config.make.in (RANLIB): Remove entry.
93780
93781 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93782
93783 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93784 (libc.pot): Work around missing support for .ksh extension in xgettext.
93785
93786 [BZ #12684]
93787 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93788 if both request failed.
93789 (send_dg): In case of server errors clear resplen or *resplen2.
93790
93791 [BZ #12454]
93792 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93793 when there are multiple maps.
93794 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93795 (_dl_fini): Remove test here.
93796
93797 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93798
93799 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93800
93801 [BZ #12350]
93802 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93803 bit from old_res_options.
93804 (gaih_inet): Likewise.
93805
93806 [BZ #11099]
93807 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93808 as signed.
93809
93810 * resolv/res_init.c (res_setoptions): Make the code more compact.
93811
93812 [BZ #11558]
93813 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93814 set RES_USEVC.
93815
93816 [BZ #11634]
93817 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93818
93819 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93820
93821 [BZ #11781]
93822 * malloc/malloc.h: Declare malloc hook variables as volatile.
93823
93824 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93825 in last patch.
93826
93827 [BZ #11799]
93828 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93829 raise in the comment.
93830 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93832 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93833
93834 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93835
93836 [BZ #12811]
93837 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93838 grow the buffers more if it already has to be sufficient.
93839 (build_wcs_upper_buffer): Likewise.
93840 * posix/regexec.c (check_matching): Likewise.
93841 (clean_state_log_if_needed): Likewise.
93842 (extend_buffers): Don't enlarge buffers beyond size of the input
93843 buffer.
93844 Patches mostly by Emil Wojak <emil@wojak.eu>.
93845 * posix/bug-regex32.c: New file.
93846 * posix/Makefile (tests): Add bug-regex32.
93847
93848 * locale/findlocale.c (_nl_find_locale): Return right away if
93849 _nl_explode_name failed.
93850 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93851
93852 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93853
93854 * debug/xtrace.sh: Unify messages.
93855 * malloc/memusage.sh: Likewise.
93856
93857 [BZ #12813]
93858 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93859 time symbol from vDSO. Substitute with vsyscall if not available.
93860 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93861 __vdso_time.
93862
93863 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93864 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93865 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93866 Add sendmmsg and internal_sendmmsg.
93867 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93868 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93870
93871 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93872 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93874
93875 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93876
93877 [BZ #12813]
93878 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93879 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93880 available.
93881 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93882 __vdso_getcpu.
93883
93884 [BZ #12814]
93885 * iconvdata/Makefile (tests): Add bug-iconv9.
93886 * iconvdata/bug-iconv9.c: New file.
93887
93888 2011-05-27 Andreas Schwab <schwab@redhat.com>
93889
93890 [BZ #12814]
93891 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93892
93893 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93894
93895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93896 (struct user_regs_struct): Change intcs field back to cs.
93897
93898 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93899
93900 * po/ja.po: Update from translation team.
93901
93902 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93903
93904 [BZ #12795]
93905 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93906 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93907
93908 2011-05-20 Andreas Schwab <schwab@redhat.com>
93909
93910 * stdlib/longlong.h: Update from GCC.
93911
93912 2011-05-23 Andreas Schwab <schwab@redhat.com>
93913
93914 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93915 parameter name.
93916 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93917 Add parameter name.
93918 (__sysconf): Pass it down.
93919
93920 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93921
93922 [BZ #12671]
93923 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93924 some situations.
93925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93926 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93927 add in in __libc_use_alloca calls. Adjust callers.
93928 (glob): Use malloc in some situations.
93929
93930 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93931 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93932 pltexit.
93933
93934 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93935
93936 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93937 and CLOCK_BOOTTIME_ALARM.
93938
93939 [BZ #12782]
93940 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93941 is returned.
93942
93943 * string/_strerror.c (__strerror_r): Print negative errors as signed
93944 numbers.
93945
93946 [BZ #12777]
93947 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93948 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93949 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93950
93951 * configure.in: Fix typo in redirection and correct removal of test
93952 files in two cases.
93953
93954 [BZ #12788]
93955 * locale/setlocale.c (new_composite_name): Fix test to check for
93956 identical name of all categories.
93957
93958 [BZ #12792]
93959 * libio/filedoalloc.c (local_isatty): New function.
93960 (_IO_file_doallocate): Use local_isatty.
93961 * stdio-common/perror.c (perror): In case a new stream is used
93962 forward the stream error.
93963 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93964 error flag.
93965
93966 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93967
93968 [BZ #11884]
93969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93970 alloca.
93971 * include/alloca.h (extend_alloca_account): Define.
93972
93973 [BZ #11857]
93974 * posix/regex.h: Fix comments with documentation of user-accessible
93975 fields after compilation and describe correct free'ing of pattern
93976 after re_compile_pattern.
93977 Patch by Reuben Thomas <rrt@sc3d.org>.
93978
93979 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93980
93981 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93982 and -mno-altivec to prevent the compiler from using Altivec and/or
93983 VSX instructions when the corresponding registers are not available.
93984
93985 2011-05-19 Andreas Schwab <schwab@redhat.com>
93986
93987 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93988
93989 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93990
93991 * libio/freopen.c (freopen): Use __dup2, not dup2.
93992 * libio/freopen64.c (freopen64): Likewise.
93993
93994 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93995
93996 [BZ #12775]
93997 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93998 * math/Makefile (tests): Add test-powl.
93999 (CFLAGS-test-powl.c): Define.
94000 * math/test-powl.c: New file.
94001
94002 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
94003
94004 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
94005
94006 2011-05-17 Ulrich Drepper <drepper@gmail.com>
94007
94008 [BZ #11837]
94009 * iconvdata/gb18030.c: Update to GB18020-2005.
94010
94011 2011-05-16 Ulrich Drepper <drepper@gmail.com>
94012
94013 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94014 RE_SYNTAX_POSIX_AWK): Update to match recent development.
94015 Patch by Aharon Robbins <arnold@skeeve.com>.
94016
94017 [BZ #11892]
94018 * stdlib/putenv.c (putenv): Don't always create copy of the variable
94019 on the stack.
94020
94021 [BZ #11895]
94022 * misc/pselect.c (__pselect): Handle timeout value errors hidden
94023 through underflows.
94024
94025 [BZ #12766]
94026 * misc/error.c (error_at_line): Ensure file_name and old_file_name
94027 point to strings before performing equality test for error_one_per_line
94028 mode.
94029
94030 [BZ #11697]
94031 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94032
94033 [BZ #11820]
94034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94035 (struct user_fpregs_struct): Avoid __uint*_t types.
94036
94037 [BZ #6420]
94038 * malloc/mtrace.c (tr_where): Add additional parameter to point to
94039 symbol info. Use it instead of calling _dl_addr locally.
94040 (lock_and_info): New function.
94041 (tr_freehook): Call lock_and_info and pass symbol info as additional
94042 parameter to tr_where.
94043 (tr_mallochook): Likewise.
94044 (tr_reallochook): Likewise.
94045 (tr_memalignhook): Likewise.
94046
94047 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
94048 used and couldn't be at all thread-safe.
94049
94050 2011-05-15 Ulrich Drepper <drepper@gmail.com>
94051
94052 * libio/freopen.c (freopen): Don't close old file descriptor
94053 before the new one is opened. Instead dup the new file descriptor
94054 to the old one after the new stream is created.
94055 * libio/freopen64.c (freopen64): Likewise.
94056 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94057 * libio/fileops.c (_IO_new_file_close_it): Handle new
94058 _IO_FLAGS2_NOCLOSE flag.
94059 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94060 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94061 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94062 _IO_FLAGS2_NOCLOSE flag.
94063 * include/unistd.h: Add hidden_proto for dup3.
94064 Define __have_dup3.
94065 * io/dup3.c: Define hidden symbol.
94066 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94067
94068 [BZ #7101]
94069 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94070 when an incomplete long option is used.
94071 * posix/tst-getopt_long1.c: New file.
94072 * posix/Makefile (tests): Add tst-getopt_long1.
94073
94074 [BZ #10138]
94075 * scripts/config.guess: Update from autoconf-2.68.
94076 * scripts/config.sub: Likewise.
94077
94078 [BZ #10157]
94079 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94080 tests into ...
94081 (has_cpuclock): ...this. New function.
94082 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94083 macro here based on has_cpuclock code.
94084
94085 [BZ #10149]
94086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94087 First byte (not low byte) is now always NUL.
94088 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94089
94090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94091 Use non-cancelable interfaces.
94092
94093 [BZ #9809]
94094 * locale/iso-639.def: Add entry for Sorani.
94095
94096 [BZ #11901]
94097 * include/stdlib.h: Move include protection to the right place.
94098 Define abort_msg_s. Declare __abort_msg with it.
94099 * stdlib/abort.c (__abort_msg): Adjust type.
94100 * assert/assert.c (__assert_fail_base): New function. Majority
94101 of code from __assert_fail. Allocate memory for __abort_msg with
94102 mmap.
94103 (__assert_fail): Now call __assert_fail_base.
94104 * assert/assert-perr.c: Remove bulk of implementation. Use
94105 __assert_fail_base.
94106 * include/assert.hL Declare __assert_fail_base.
94107 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94108 mmap.
94109 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94110
94111 2011-05-14 Ulrich Drepper <drepper@gmail.com>
94112
94113 [BZ #11952]
94114 [BZ #12453]
94115 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94116 until all modules are registered in the DTV.
94117 * elf/Makefile: Add rules to build and run tst-tls19.
94118 * elf/tst-tls19.c: New file.
94119 * elf/tst-tls19mod1.c: New file.
94120 * elf/tst-tls19mod2.c: New file.
94121 * elf/tst-tls19mod3.c: New file.
94122 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94123
94124 [BZ #12083]
94125 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94126 correctly.
94127
94128 [BZ #12601]
94129 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94130 two-byte sequence errors.
94131 * iconvdata/Makefile (tests): Add bug-iconv8.
94132 * iconvdata/bug-iconv8.c: New file.
94133
94134 [BZ #12626]
94135 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94136 buf2 definition.
94137
94138 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94139
94140 [BZ #12432]
94141 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94142 (dummy_getcfa): New function.
94143 (init): Get _Unwind_GetCFA address, use dummy if not found.
94144 (backtrace_helper): In recursion check, also check whether CFA changes.
94145 (__backtrace): Completely initialize arg.
94146
94147 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94148 storing incomplete byte sequence in state object. Avoid testing for
94149 guaranteed too small input if we know there is enough data available.
94150
94151 2011-05-11 Andreas Schwab <schwab@redhat.com>
94152
94153 * Makeconfig (+link-pie): Indent.
94154 * Rules (binaries-pie): Define if $(have-fpie) and
94155 $(build-shared).
94156 (binaries-shared): Also filter out $(binaries-pie).
94157 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94158 * nscd/Makefile (others-pie): Add nscd.
94159 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94160 ($(objpfx)nscd): Remove command override.
94161 * login/Makefile (others-pie): Add pt_chown.
94162 ($(objpfx)pt_chown): Remove command override.
94163 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94164 remove command overrides.
94165
94166 2011-05-13 Ulrich Drepper <drepper@gmail.com>
94167
94168 * libio/tst_putwc.c: Fix error messages.
94169
94170 [BZ #12724]
94171 * libio/fileops.c (_IO_new_file_close_it): Always flush when
94172 currently writing and seek to current position when not.
94173 * libio/Makefile (tests): Add bug-fclose1.
94174 * libio/bug-fclose1.c: New file.
94175
94176 2011-05-12 Ulrich Drepper <drepper@gmail.com>
94177
94178 [BZ #12511]
94179 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94180 don't set DF_1_NODELETE here.
94181 (do_lookup_x): When entering new entry test for copy relocation
94182 and if necessary set DF_1_NODELETE flag.
94183 * elf/tst-unique4.cc: New file.
94184 * elf/tst-unique4.h: New file.
94185 * elf/tst-unique4lib.cc: New file.
94186 * elf/Makefile: Add rules to build and run tst-unique4.
94187 Patch by Piotr Bury <pbury@goahead.com>.
94188
94189 2011-05-11 Ulrich Drepper <drepper@gmail.com>
94190
94191 [BZ #12052]
94192 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94193
94194 [BZ #12625]
94195 * misc/mntent_r.c (addmntent): Flush the stream after the output
94196
94197 [BZ #12393]
94198 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94199 (is_trusted_path_normalize): Skip initial colon. Append slash
94200 to empty buffer. Duplicate is_trusted_path code but allow
94201 constructed patch to be prefix.
94202 (is_dst): Allow $ORIGIN followed by /.
94203 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94204 Correct testing of result of is_trusted_path_normalize
94205 (decompose_rpath): Fix warning.
94206
94207 2011-05-10 Ulrich Drepper <drepper@gmail.com>
94208
94209 [BZ #11257]
94210 * grp/initgroups.c (internal_getgrouplist): When we found the service
94211 list through the initgroups entry in nsswitch.conf do not always
94212 continue on a successful lookup. Don't always use the
94213 __nss_group_database value if it is set.
94214 * nss/nsswitch.conf (initgroups): Change action for successful db
94215 lookup to continue for compatibility.
94216
94217 2011-05-09 Ulrich Drepper <drepper@gmail.com>
94218
94219 [BZ #11532]
94220 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94221 and CP774 modules.
94222 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94223 and CP774 modules.
94224 * iconvdata/tst-tables.sh: Likewise.
94225 * iconvdata/cp770.c: New file.
94226 * iconvdata/cp771.c: New file.
94227 * iconvdata/cp772.c: New file.
94228 * iconvdata/cp773.c: New file.
94229 * iconvdata/cp774.c: New file.
94230 * iconvdata/testdata/CP770: New file.
94231 * iconvdata/testdata/CP770..UTF8: New file.
94232 * iconvdata/testdata/CP771: New file.
94233 * iconvdata/testdata/CP771..UTF8: New file.
94234 * iconvdata/testdata/CP772: New file.
94235 * iconvdata/testdata/CP772..UTF8: New file.
94236 * iconvdata/testdata/CP773: New file.
94237 * iconvdata/testdata/CP773..UTF8: New file.
94238 * iconvdata/testdata/CP774: New file.
94239 * iconvdata/testdata/CP774..UTF8: New file.
94240
94241 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94242 END CHARMAP line.
94243 * iconvdata/gen-8bit-gap.sh: Likewise.
94244 * iconvdata/gen-8bit.sh: Likewise.
94245
94246 * locale/iso-639.def: Add ary entry.
94247
94248 [BZ #11258]
94249 * locale/C-translit.h.in: Add U20A1 transliteration.
94250
94251 [BZ #12178]
94252 * locale/iso-639.def: Add wae entry.
94253 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94254
94255 [BZ #12545]
94256 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94257 for n.
94258
94259 [BZ #12711]
94260 * locale/C-translit.h.in: Add entry for U20B9.
94261 Patch by pravin.d.s@gmail.com.
94262
94263 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94264
94265 [BZ #12713]
94266 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94267 ENAMETOOLONG use generic getcwd.
94268 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94269 in rtld. Use *stat64.
94270 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94271 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94272 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94273 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94274 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94275 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94276 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94277 __fstatat64 macros.
94278 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94279 * dirent/rewinddir.c: Add libc_hidden_def.
94280 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94281 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94282
94283 * include/dirent.h (__alloc_dir): Add flags parameter.
94284 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94285 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94286 __alloc_dir.
94287 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94288 from fdopendir if O_CLOEXEC is already set.
94289
94290 2011-03-15 Alan Modra <amodra@gmail.com>
94291
94292 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94293 l_tls_firstbyte_offset non-zero. Save padding offset in
94294 l_tls_firstbyte_offset for later use.
94295 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94296 freeing static tls block.
94297
94298 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94299
94300 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94301 where #ifdef was intended. The intent is to prevent ARG_MAX from
94302 being defined by the kernel headers.
94303
94304 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94305
94306 [BZ #12734]
94307 * resolv/resolv.h: Define RES_NOTLDQUERY.
94308 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94309 no-tld-query and set RES_NOTLDQUERY.
94310 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94311 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94312 modern BIND to search name as TLD unless forbidden.
94313
94314 2011-05-07 Petr Baudis <pasky@suse.cz>
94315 Ulrich Drepper <drepper@gmail.com>
94316
94317 [BZ #12393]
94318 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94319 (is_trusted_path): ...to here.
94320 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94321 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94322 using is_trusted_path_normalize() in setuid scripts.
94323
94324 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94325
94326 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94327 __BEGIN/__END_DECLS.
94328
94329 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94330
94331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94332 NSS_STATUS_NOTFOUND if no record was found.
94333
94334 2011-05-05 Andreas Schwab <schwab@redhat.com>
94335
94336 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94337 (headers-not-in-tirpc): Remove rpc/netdb.h
94338 * resolv/netdb.h: Revert last change.
94339
94340 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94341
94342 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94343 circular dependency between libgcc.a and libc.a.
94344
94345 2011-05-05 Andreas Schwab <schwab@redhat.com>
94346
94347 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94348 * nis/Makefile: Don't install rpcsvc/*.
94349 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94350 instead of <rpc/types.h>.
94351 (MAXHOSTNAMELEN): Define.
94352
94353 2011-05-03 Andreas Schwab <schwab@redhat.com>
94354
94355 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94356
94357 2011-04-28 Maciej Babinski <mbabinski@google.com>
94358
94359 [BZ #12714]
94360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94361 gethostbyname4_r when IPv6 results are possible.
94362
94363 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94364
94365 [BZ #12723]
94366 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94367 _PC_PIPE_BUF handling.
94368
94369 2011-04-30 Bruno Haible <bruno@clisp.org>
94370
94371 [BZ #12717]
94372 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94373 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94374 to 'int'.
94375 * inet/getnameinfo.c (getnameinfo): Likewise.
94376
94377 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94378
94379 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94380 to groups setting in database lookup.
94381 * nss/nsswitch.conf: Add initgroups entry.
94382
94383 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94384
94385 [BZ #12685]
94386 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94387 mode string.
94388 Patch by Eric Blake <eblake@redhat.com>.
94389
94390 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94391
94392 * sunrpc/Makefile (need-export-routines): Add svc_run.
94393 (routines): Remove svc_run.
94394 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94395 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94396 * sunrpc/svc_run.c (svc_run): Likewise.
94397 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94398
94399 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94400
94401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94402 problem in reallocation in last patch.
94403
94404 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94405
94406 * sunrpc/Makefile: Move inclusion of Rules.
94407
94408 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94409
94410 * nss/nss_files/files-initgroups.c: New file.
94411 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94412 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94413 _nss_files_initgroups_dyn.
94414
94415 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94416
94417 * elf/elf.h (R_ARM_IRELATIVE): Define.
94418
94419 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94420
94421 * po/ru.po: Update from translation team.
94422
94423 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94424
94425 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94426 dependencies.
94427
94428 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94429
94430 [BZ #12653]
94431 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94432 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94433 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94436
94437 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94438
94439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94440 differing bytes.
94441 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94444
94445 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94446
94447 [BZ #12420]
94448 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94449 storing it.
94450 * stdlib/bug-getcontext.c: New file.
94451 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94452
94453 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94454
94455 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94456 instructions into .machine "z9-109".
94457 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94458 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94459
94460 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94461
94462 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94463 between environment variables and auxiliary vector.
94464
94465 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94466
94467 * Makefile: Add rules to build linkobj/libc.so.
94468 * include/libc-symbols.h: Define libc_hidden_nolink.
94469 * include/rpc/auth.h: Mark functions which are to be hidden.
94470 * include/rpc/auth_des.h: Likewise.
94471 * include/rpc/auth_unix.h: Likewise.
94472 * include/rpc/clnt.h: Likewise.
94473 * include/rpc/des_crypt.h: Likewise.
94474 * include/rpc/key_prot.h: Likewise.
94475 * include/rpc/pmap_clnt.h: Likewise.
94476 * include/rpc/pmap_prot.h: Likewise.
94477 * include/rpc/pmap_rmt.h: Likewise.
94478 * include/rpc/rpc_msg.h: Likewise.
94479 * include/rpc/svc.h: Likewise.
94480 * include/rpc/svc_auth.h: Likewise.
94481 * include/rpc/xdr.h: Likewise.
94482 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94483 * nss/Makefile: Likewise.
94484 * sunrpc/Makefile: Don't install headers. Build library with normal
94485 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94486 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94487 for the compat linking library. Remove use of INTDEF/INTUSE.
94488 * sunrpc/auth_none.c: Likewise.
94489 * sunrpc/auth_unix.c: Likewise.
94490 * sunrpc/authdes_prot.c: Likewise.
94491 * sunrpc/authuxprot.c: Likewise.
94492 * sunrpc/clnt_gen.c: Likewise.
94493 * sunrpc/clnt_perr.c: Likewise.
94494 * sunrpc/clnt_raw.c: Likewise.
94495 * sunrpc/clnt_simp.c: Likewise.
94496 * sunrpc/clnt_tcp.c: Likewise.
94497 * sunrpc/clnt_udp.c: Likewise.
94498 * sunrpc/clnt_unix.c: Likewise.
94499 * sunrpc/des_crypt.c: Likewise.
94500 * sunrpc/des_soft.c: Likewise.
94501 * sunrpc/get_myaddr.c: Likewise.
94502 * sunrpc/key_call.c: Likewise.
94503 * sunrpc/key_prot.c: Likewise.
94504 * sunrpc/netname.c: Likewise.
94505 * sunrpc/pm_getmaps.c: Likewise.
94506 * sunrpc/pm_getport.c: Likewise.
94507 * sunrpc/pmap_clnt.c: Likewise.
94508 * sunrpc/pmap_prot.c: Likewise.
94509 * sunrpc/pmap_prot2.c: Likewise.
94510 * sunrpc/pmap_rmt.c: Likewise.
94511 * sunrpc/publickey.c: Likewise.
94512 * sunrpc/rpc_cmsg.c: Likewise.
94513 * sunrpc/rpc_common.c: Likewise.
94514 * sunrpc/rpc_dtable.c: Likewise.
94515 * sunrpc/rpc_prot.c: Likewise.
94516 * sunrpc/rpc_thread.c: Likewise.
94517 * sunrpc/rtime.c: Likewise.
94518 * sunrpc/svc.c: Likewise.
94519 * sunrpc/svc_auth.c: Likewise.
94520 * sunrpc/svc_authux.c: Likewise.
94521 * sunrpc/svc_raw.c: Likewise.
94522 * sunrpc/svc_run.c: Likewise.
94523 * sunrpc/svc_simple.c: Likewise.
94524 * sunrpc/svc_tcp.c: Likewise.
94525 * sunrpc/svc_udp.c: Likewise.
94526 * sunrpc/svc_unix.c: Likewise.
94527 * sunrpc/svcauth_des.c: Likewise.
94528 * sunrpc/xcrypt.c: Likewise.
94529 * sunrpc/xdr.c: Likewise.
94530 * sunrpc/xdr_array.c: Likewise.
94531 * sunrpc/xdr_float.c: Likewise.
94532 * sunrpc/xdr_intXX_t.c: Likewise.
94533 * sunrpc/xdr_mem.c: Likewise.
94534 * sunrpc/xdr_rec.c: Likewise.
94535 * sunrpc/xdr_ref.c: Likewise.
94536 * sunrpc/xdr_sizeof.c: Likewise.
94537 * sunrpc/xdr_stdio.c: Likewise.
94538
94539 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94540
94541 [BZ #12650]
94542 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94543 * sysdeps/ia64/dl-tls.h: Likewise.
94544 * sysdeps/powerpc/dl-tls.h: Likewise.
94545 * sysdeps/s390/dl-tls.h: Likewise.
94546 * sysdeps/sh/dl-tls.h: Likewise.
94547 * sysdeps/sparc/dl-tls.h: Likewise.
94548 * sysdeps/x86_64/dl-tls.h: Likewise.
94549 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94550
94551 2011-03-14 Andreas Schwab <schwab@redhat.com>
94552
94553 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94554 rpath element also skip the following colon.
94555 (expand_dynamic_string_token): Add is_path parameter and pass
94556 down to DL_DST_REQUIRED and _dl_dst_substitute.
94557 (decompose_rpath): Call expand_dynamic_string_token with
94558 non-zero is_path. Ignore empty rpaths.
94559 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94560 with zero is_path.
94561
94562 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94563
94564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94565 Make cancelable.
94566
94567 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94568
94569 [BZ #12655]
94570 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94571 Patch by Filipe David Manana <fdmanana@apache.org>.
94572
94573 2011-04-07 Andreas Schwab <schwab@redhat.com>
94574
94575 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94576 Maintain aligned stack.
94577 (CHECK_RSP): Remove unused macro.
94578
94579 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94580
94581 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94582 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94583
94584 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94585
94586 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94587
94588 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94589
94590 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94591
94592 [BZ #12518]
94593 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94594 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94595 * sysdeps/x86_64/memmove.c: New file.
94596 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94597 (memcpy): Renamed to ...
94598 (__new_memcpy): This.
94599 (memcpy): Provide GLIBC_2_14 memcpy.
94600 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94601 (memcpy): Provide GLIBC_2_2_5 memcpy.
94602
94603 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94604
94605 [BZ #12631]
94606 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94607
94608 2011-03-30 Andreas Schwab <schwab@redhat.com>
94609
94610 * misc/syncfs.c: New file.
94611 * misc/Makefile (routines): Add syncfs.
94612 * posix/unistd.h: Declare syncfs.
94613 * sysdeps/unix/syscalls.list: Add syncfs.
94614
94615 2011-04-01 Andreas Schwab <schwab@redhat.com>
94616
94617 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94618 open_by_handle_at.
94619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94624 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94626
94627 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94628
94629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94631 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94633 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94636
94637 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94638 sync_file_range.c with -fexceptions.
94639 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94640 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94641 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94642 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94643 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94644 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94646 sync_file_range as cancellation point
94647 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94648 now a wrapper around __call_sync_file_range with cancellation handling.
94649 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94650 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94651 function name to __call_sync_file_range.
94652 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94653 Add call_sync_file_range.
94654
94655 2011-04-01 Andreas Schwab <schwab@redhat.com>
94656
94657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94658 bits/timex.h.
94659
94660 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94661
94662 * iconv/iconv.h: Fix typo in comment.
94663 * io/fcntl.h: Likewise.
94664 * libio/stdio.h: Likewise.
94665 * posix/spawn.h: Likewise.
94666 * posix/unistd.h: Likewise.
94667 * stdlib/stdlib.h: Likewise.
94668 * time/time.h: Likewise.
94669 * wcsmbs/wchar.h: Likewise.
94670
94671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94672 open_by_handle): Add.
94673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94674 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94675 Augment a few comments.
94676 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94681 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94682 open_by_handle.
94683
94684 * io/fcntl.h (AT_EMPTY_PATH): Define.
94685
94686 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94687
94688 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94689 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94690 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94691 to...
94692 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94693 * Versions.def: Add GLIBC_2.14.
94694 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94695 Export.
94696
94697 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94698
94699 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94700 round counter.
94701 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94702
94703 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94704
94705 [BZ #12597]
94706 * string/test-strncmp.c (do_page_test): New function.
94707 (check2): Likewise.
94708 (test_main): Call check2.
94709 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94710
94711 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94712
94713 [BZ #12587]
94714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94715 Handle cache information in CPU leaf 4.
94716 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94717
94718 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94719
94720 [BZ #12583]
94721 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94722 character representation.
94723 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94724
94725 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94726
94727 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94728 END(__isnan) to END(__isnanf) to match function entry point/label
94729 EALIGN(__isnanf,...).
94730
94731 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94732
94733 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94734
94735 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94736
94737 [BZ #12510]
94738 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94739 copy from the symbol referenced in the relocation to initialize the
94740 used variable.
94741 Patch by Piotr Bury <pbury@goahead.com>.
94742 * elf/Makefile: Add rules to build and tst-unique3.
94743 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94744 * elf/tst-unique3.cc: New file.
94745 * elf/tst-unique3.h: New file.
94746 * elf/tst-unique3lib.cc: New file.
94747 * elf/tst-unique3lib2.cc: New file.
94748
94749 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94750
94751 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94752
94753 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94754 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94755 to _start.
94756
94757 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94758
94759 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94760 to-be-loaded object along a path to loader is ld.so.
94761
94762 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94763 Ulrich Drepper <drepper@gmail.com>
94764
94765 * sysdeps/x86_64/memset.S: After aligning destination, code
94766 branches to different locations depending on the value of
94767 misalignment, when multiarch is enabled. Fix this.
94768
94769 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94770
94771 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94772 Set _x86_64_preferred_memory_instruction for AMD processsors.
94773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94774 Set bit_Prefer_SSE_for_memop for AMD processors.
94775
94776 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94777
94778 * libio/fmemopen.c (fmemopen): Optimize a bit.
94779
94780 2011-03-03 Andreas Schwab <schwab@redhat.com>
94781
94782 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94783
94784 2011-03-03 Roland McGrath <roland@redhat.com>
94785
94786 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94787
94788 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94789
94790 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94791 __bzero_ultra1 instead of __memset_ultra1.
94792
94793 2011-02-23 Andreas Schwab <schwab@redhat.com>
94794 Ulrich Drepper <drepper@gmail.com>
94795
94796 [BZ #12509]
94797 * include/link.h (struct link_map): Add l_orig_initfini.
94798 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94799 returning unsuccessfully.
94800 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94801 close of a file loaded at startup, restore the original l_initfini
94802 list.
94803 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94804 list, store the pointer.
94805 * elf/Makefile ($(objpfx)noload-mem): New rule.
94806 (noload-ENV): Define.
94807 (tests): Add $(objpfx)noload-mem.
94808 * elf/noload.c: Include <memcheck.h>.
94809 (main): Call mtrace. Close all opened handles.
94810
94811 2011-02-17 Andreas Schwab <schwab@redhat.com>
94812
94813 [BZ #12454]
94814 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94815 dependencies are missing.
94816
94817 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94818
94819 Fix __if_freereq crash: Unlike the generic version which uses free,
94820 Hurd needs munmap.
94821 * sysdeps/mach/hurd/ifreq.h: New file.
94822
94823 2011-01-27 Petr Baudis <pasky@suse.cz>
94824 Ulrich Drepper <drepper@gmail.com>
94825
94826 [BZ 12445]#
94827 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94828 to extend_alloca().
94829 * stdio-common/bug23.c: New file.
94830 * stdio-common/Makefile (tests): Add bug23.
94831
94832 2010-09-28 Andreas Schwab <schwab@redhat.com>
94833 Ulrich Drepper <drepper@gmail.com>
94834
94835 [BZ #12489]
94836 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94837 before performing relro protection. At old place add assertion
94838 to make sure nothing changed.
94839
94840 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94841 Glauber de Oliveira Costa <glommer@gmail.com>
94842
94843 * elf/elf.h: Add new ARM TLS relocs.
94844
94845 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94846
94847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94848 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94849 cast from r3.
94850 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94851 'tests' variable.
94852 * sysdeps/wordsize-64/tst-writev.c: New file.
94853
94854 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94855
94856 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94857 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94858 insns in _dl_start to prevent a TOC reference before relocs are
94859 resolved.
94860
94861 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94862
94863 [BZ #12469]
94864 * Makeconfig: Remove RANLIB definition.
94865 * Makerules: Don't use RANLIB.
94866 * aclocal.m4: Remove ranlib test.
94867 * configure.in: No need to check for ranlib.
94868 * elf/rtld-Rules: Don't use RANLIB.
94869
94870 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94871
94872 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94873 protection macro.
94874 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94875 inclusion protection macro.
94876
94877 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94878 SIGRTMIN and SIGRTMAX and print information in that case only when
94879 SIGRTMIN is defined.
94880
94881 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94882
94883 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94884 arginfo fn returning -1.
94885
94886 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94887 and thousands string is zero terminated.
94888
94889 2011-02-03 Andreas Schwab <schwab@redhat.com>
94890
94891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94892 sysdeps/unix/sysv/linux/bits/socket.h.
94893
94894 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94895
94896 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94897 (__CPU_COUNT): Remove old macros.
94898 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94899 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94900 (__CPU_ALLOC, __CPU_FREE): Add macros.
94901 (__sched_cpualloc, __sched_cpufree): Add declarations.
94902
94903 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94904
94905 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94906 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94907 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94908 (readdhstai): Return value of addhstaiX call.
94909 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94910 (addgrbyX): Return value returned by cache_addgr.
94911 (readdgrbyname): Return value returned by addgrbyX.
94912 (readdgrbygid): Likewise.
94913 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94914 (addpwbyX): Return value returned by cache_addpw.
94915 (readdpwbyname): Return value returned by addhstbyX.
94916 (readdpwbyuid): Likewise.
94917 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94918 (addservbyX): Return value returned by cache_addserv.
94919 (readdservbyname): Return value returned by addservbyX:
94920 (readdservbyport): Likewise.
94921 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94922 (addhstbyX): Return value returned by cache_addhst.
94923 (readdhstbyname): Return value returned by addhstbyX.
94924 (readdhstbyaddr): Likewise.
94925 (readdhstbynamev6): Likewise.
94926 (readdhstbyaddrv6): Likewise.
94927 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94928 (readdinitgroups): Return value returned by addinitgroupsX.
94929 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94930 (prune_cache): Keep track of timeout value of re-added entries.
94931 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94932 * nscd/nscd.h: Adjust prototypes of readd* functions.
94933
94934 2011-02-04 Roland McGrath <roland@redhat.com>
94935
94936 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94937 (nis_stats): Likewise.
94938 * nis/nis_modify.c (nis_modify): Likewise.
94939 * nis/nis_remove.c (nis_remove): Likewise.
94940 * nis/nis_add.c (nis_add): Likewise.
94941
94942 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94943
94944 * posix/fnmatch_loop.c: Add some consts.
94945
94946 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94947
94948 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94949
94950 [BZ #12460]
94951 * config.make.in (config-cflags-novzeroupper): Define.
94952 * configure.in: Substitute libc_cv_cc_novzeroupper.
94953 * elf/Makefile (AVX-CFLAGS): Define.
94954 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94955 (CFLAGS-tst-auditmod4a.c): Likewise.
94956 (CFLAGS-tst-auditmod4b.c): Likewise.
94957 (CFLAGS-tst-auditmod6b.c): Likewise.
94958 (CFLAGS-tst-auditmod6c.c): Likewise.
94959 (CFLAGS-tst-auditmod7b.c): Likewise.
94960 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94961
94962 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94963
94964 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94965 function to the callback.
94966 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94967
94968 2011-02-02 Andreas Schwab <schwab@redhat.com>
94969
94970 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94971 of errno.
94972
94973 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94974
94975 [BZ #11724]
94976 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94977 of constructors.
94978 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94979 of destructors.
94980 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94981
94982 [BZ #11724]
94983 * elf/Makefile: Add rules to build and run new test.
94984 * elf/tst-initorder.c: New file.
94985 * elf/tst-initorder.exp: New file.
94986 * elf/tst-initordera1.c: New file.
94987 * elf/tst-initordera2.c: New file.
94988 * elf/tst-initordera3.c: New file.
94989 * elf/tst-initordera4.c: New file.
94990 * elf/tst-initorderb1.c: New file.
94991 * elf/tst-initorderb2.c: New file.
94992 * elf/tst-order-a1.c: New file.
94993 * elf/tst-order-a2.c: New file.
94994 * elf/tst-order-a3.c: New file.
94995 * elf/tst-order-a4.c: New file.
94996 * elf/tst-order-b1.c: New file.
94997 * elf/tst-order-b2.c: New file.
94998 * elf/tst-order-main.c: New file.
94999 New test case by George Gensure <werkt0@gmail.com>.
95000
95001 2010-10-01 Andreas Schwab <schwab@redhat.com>
95002
95003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95004 decoding ACE if AI_CANONIDN.
95005
95006 2011-01-18 Ulrich Drepper <drepper@gmail.com>
95007
95008 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95009
95010 2011-01-17 Ulrich Drepper <drepper@gmail.com>
95011
95012 * version.h (RELEASE): Bump for 2.13 release.
95013 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95014
95015 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95016
95017 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95018 MADV_NOHUGEPAGE.
95019 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95024 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95025
95026 * posix/getconf.c: Update copyright year.
95027 * catgets/gencat.c: Likewise.
95028 * csu/version.c: Likewise.
95029 * debug/catchsegv.sh: Likewise.
95030 * debug/xtrace.sh: Likewise.
95031 * elf/ldconfig.c: Likewise.
95032 * elf/ldd.bash.in: Likewise.
95033 * elf/sprof.c (print_version): Likewise.
95034 * iconv/iconv_prog.c: Likewise.
95035 * iconv/iconvconfig.c: Likewise.
95036 * locale/programs/locale.c: Likewise.
95037 * locale/programs/localedef.c: Likewise.
95038 * malloc/memusage.sh: Likewise.
95039 * malloc/mtrace.pl: Likewise.
95040 * nscd/nscd.c (print_version): Likewise.
95041 * nss/getent.c: Likewise.
95042
95043 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95044 PF_CAIF, and PF_ALG.
95045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95046
95047 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
95048
95049 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95050 (modules-names): Use them.
95051 (ifunc-test-modules, ifunc-pie-tests): Define.
95052 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95053 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95054 (test-extras): Likewise.
95055 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95056 $(compile-command.c).
95057 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95058 (all-built-dso): Define.
95059 (check-textrel.out, check-execstack.out): Depend on it.
95060
95061 * configure.in: Don't override --enable-multi-arch.
95062
95063 2011-01-15 Ulrich Drepper <drepper@gmail.com>
95064
95065 [BZ #6812]
95066 * nscd/hstcache.c (tryagain): Define.
95067 (cache_addhst): Return tryagain not notfound for temporary errors.
95068 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95069 failed.
95070
95071 2011-01-14 Ulrich Drepper <drepper@gmail.com>
95072
95073 [BZ #10563]
95074 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95075 to make the syscall.
95076 * sysdeps/unix/sysv/linux/setgroups.c: New file.
95077
95078 [BZ #12378]
95079 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95080 and fall back to matching as normal character if the string ends before
95081 the matching ']' is found. This is what POSIX requires.
95082 * posix/testfnm.c: Adjust test result.
95083 * posix/globtest.sh: Adjust test result. Add new test.
95084 * posix/tst-fnmatch.input: Likewise.
95085 * posix/tst-fnmatch2.c: Add new test.
95086
95087 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
95088
95089 * elf/Makefile (check-execstack): Revert last change. Depend on
95090 check-execstack.h.
95091 (check-execstack.h): New target.
95092 (generated): Add check-execstack.h.
95093 * elf/check-execstack.c: Include "check-execstack.h".
95094 (main): Revert last change.
95095 (handle_file): Return zero if GNU_STACK is absent and
95096 DEFAULT_STACK_PERMS doesn't include PF_X.
95097
95098 2011-01-13 Ulrich Drepper <drepper@gmail.com>
95099
95100 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95101 in child fails because the descriptor is already closed.
95102 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95103 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95104 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95105
95106 [BZ #12397]
95107 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95108 syscall.
95109
95110 [BZ #10484]
95111 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95112 temporary buffer used to handle multi lookups locally.
95113 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95114
95115 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95116
95117 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95118 loader is ld.so.
95119
95120 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
95121
95122 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95123 alignment for SSE2.
95124
95125 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95126
95127 [BZ #12394]
95128 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95129 characters. When rounding increased number of integer digits recompute
95130 number of groups.
95131 * stdio-common/tst-grouping.c: New file.
95132 * stdio-common/Makefile: Add rules to build and run tst-grouping.
95133
95134 2011-01-09 Ulrich Drepper <drepper@gmail.com>
95135
95136 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95137 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
95138
95139 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95140 void.
95141 * bits/select.h: Likewise.
95142
95143 2011-01-08 Ulrich Drepper <drepper@gmail.com>
95144
95145 * po/ja.po: Update from translation team.
95146
95147 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
95148
95149 [BZ #11155]
95150 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95151 implementation just like for lxstat, fxstatat, et al.
95152
95153 2010-12-27 Jim Meyering <meyering@redhat.com>
95154
95155 [BZ #12348]
95156 * posix/regexec.c (build_trtable): Return failure indication upon
95157 calloc failure. Otherwise, re_search_internal could infloop on OOM.
95158
95159 2010-12-25 Ulrich Drepper <drepper@gmail.com>
95160
95161 [BZ #12201]
95162 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95163 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95164 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95166
95167 [BZ #12207]
95168 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95169
95170 [BZ #12204]
95171 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95172 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95173
95174 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
95175
95176 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95177 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95178 script has SORT_BY_INIT_PRIORITY.
95179 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95180 NO_CTORS_DTORS_SECTIONS is defined.
95181 * elf/soinit.c: Likewise.
95182 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95183 NO_CTORS_DTORS_SECTIONS is defined.
95184 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95185 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95186 * sysdeps/sh/init-first.c: Likewise.
95187 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95188
95189 2010-12-24 Ulrich Drepper <drepper@gmail.com>
95190
95191 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95192 always use the slow path.
95193
95194 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
95195
95196 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95197 similar rule which adds the sysdep directories to the header search in
95198 order to pick up the correct platform stackinfo.h.
95199 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95200 perform test if it is, otherwise return successfully without testing.
95201 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95202 DEFAULT_STACK_PERMS define in stackinfo.h.
95203 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95204 defined in stackinfo.h.
95205 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95206 DEFAULT_STACK_PERMS defined in stackinfo.h.
95207 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95208 * sysdeps/ia64/stackinfo.h: Likewise.
95209 * sysdeps/s390/stackinfo.h: Likewise.
95210 * sysdeps/sh/stackinfo.h: Likewise.
95211 * sysdeps/sparc/stackinfo.h: Likewise.
95212 * sysdeps/x86_64/stackinfo.h: Likewise.
95213 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95214 PF_X for powerpc64. Retain PF_X for powerpc32.
95215
95216 2010-12-19 Ulrich Drepper <drepper@gmail.com>
95217
95218 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95219 accurately.
95220 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95221 GETDENTS_64BIT_ALIGNED.
95222
95223 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95224
95225 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95226
95227 2010-12-10 Andreas Schwab <schwab@redhat.com>
95228
95229 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95230 _GNU_SOURCE.
95231
95232 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95233 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95234 Remove __restrict.
95235 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95236 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95237
95238 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95239
95240 [BZ #11655]
95241 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95242 are initialized.
95243
95244 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95245
95246 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95247
95248 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95249
95250 * po/it.po: Update from translation team.
95251
95252 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95253
95254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95255 unused codes.
95256
95257 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95258
95259 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95260
95261 2010-11-24 Andreas Schwab <schwab@redhat.com>
95262
95263 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95264 specially.
95265 (gaih_getanswer_slice): Likewise.
95266
95267 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95268
95269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95270
95271 2010-05-31 Petr Baudis <pasky@suse.cz>
95272
95273 [BZ #11149]
95274 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95275 silently even in the chroot mode.
95276
95277 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95278
95279 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95280 last patch a bit. Pretty printing
95281
95282 2010-05-31 Petr Baudis <pasky@suse.cz>
95283
95284 [BZ #10085]
95285 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95286 initialization of skip_initgroups_dyn.
95287
95288 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95289
95290 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95291 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95292
95293 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95294
95295 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95296
95297 2010-11-11 Andreas Schwab <schwab@redhat.com>
95298
95299 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95300 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95301 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95302 ($(objpfx)tst-fnmatch-mem): New rule.
95303 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95304 * posix/tst-fnmatch.c (main): Call mtrace.
95305
95306 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95307
95308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95309 Support Intel processor model 6 and model 0x2c.
95310
95311 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95312
95313 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95314 signed comparison.
95315
95316 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95317
95318 [BZ #12205]
95319 * string/test-strncasecmp.c (check_result): New function.
95320 (do_one_test): Use it.
95321 (check1): New function.
95322 (test_main): Use it.
95323 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95324 Support strcasecmp and strncasecmp.
95325
95326 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95327
95328 [BZ #12194]
95329 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95330 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95331
95332 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95333
95334 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95335 IFUNC support.
95336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95337 memset-x86-64.
95338 * sysdeps/x86_64/multiarch/bzero.S: New file.
95339 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95340 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95341 * sysdeps/x86_64/multiarch/memset.S: New file.
95342 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95344 Set bit_Prefer_SSE_for_memop for Intel processors.
95345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95346 Define.
95347 (index_Prefer_SSE_for_memop): Define.
95348 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95349
95350 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95351
95352 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95353 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95354
95355 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95356
95357 [BZ #12191]
95358 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95359 (__x86_64_raw_data_cache_size_half): Likewise.
95360 (__x86_64_raw_shared_cache_size): Likewise.
95361 (__x86_64_raw_shared_cache_size_half): Likewise.
95362
95363 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95364 (__x86_64_raw_data_cache_size_half): Likewise.
95365 (__x86_64_raw_shared_cache_size): Likewise.
95366 (__x86_64_raw_shared_cache_size_half): Likewise.
95367 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95368 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95369 and __x86_64_raw_shared_cache_size_half. Round
95370 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95371 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95372 to multiple of 256 bytes.
95373
95374 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95375
95376 [BZ #12167]
95377 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95378 of inacessible symlinks. Verify result of symlink before returning it.
95379 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95380 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95381
95382 2010-10-28 Erich Ritz <erichritz@gmail.com>
95383
95384 * math/math.h (isinf): Fix typo in comment.
95385
95386 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95387
95388 * po/da.po: Update from translation team.
95389
95390 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95391
95392 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95393 is added to the list.
95394
95395 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95396 Ulrich Drepper <drepper@gmail.com>
95397
95398 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95399 the global list here. Move code to...
95400 (_dl_add_to_namespace_list): ...here. New function.
95401 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95402 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95403 * elf/dl-load.c (lose): Don't remove the element from the list.
95404 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95405 (_dl_map_object): Likewise.
95406
95407 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95408
95409 [BZ #12159]
95410 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95411 into all bytes of SSE register.
95412 Patch by Richard Li <richardpku@gmail.com>.
95413
95414 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95415
95416 [BZ #12140]
95417 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95418 perturbing.
95419
95420 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95421
95422 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95423 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95424 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95425 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95427 submachine.
95428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95429
95430 2010-10-22 Andreas Schwab <schwab@redhat.com>
95431
95432 * include/dlfcn.h (__RTLD_SECURE): Define.
95433 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95434 mode & __RTLD_SECURE instead.
95435 (open_path): Rename preloaded parameter to secure.
95436 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95437 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95438 * elf/dl-deps.c (openaux): Likewise.
95439 * elf/rtld.c (struct map_args): Remove is_preloaded.
95440 (map_doit): Don't use it.
95441 (dl_main): Likewise.
95442 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95443 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95444
95445 2010-09-09 Andreas Schwab <schwab@redhat.com>
95446
95447 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95448 (sysd-rules-targets): Remove duplicates.
95449 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95450 rtld-%.$o dependency.
95451
95452 2010-10-18 Andreas Schwab <schwab@redhat.com>
95453
95454 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95455 _dl_map_object do it.
95456
95457 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95458
95459 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95460 fast fma builtins, define the macros in the C99 standard.
95461 (FP_FAST_FMAF): Likewise.
95462 (FP_FAST_FMAL): Likewise.
95463 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95464
95465 * bits/mathdef.h: Update copyright year.
95466 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95467
95468 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95469
95470 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95471 builtins, define the macros in the C99 standard.
95472 (FP_FAST_FMAF): Likewise.
95473 (FP_FAST_FMAL): Likewise.
95474 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95475 multiply/add.
95476 (FP_FAST_FMAF): Likewise.
95477
95478 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95479
95480 [BZ #3268]
95481 * math/libm-test.inc (fma_test): Some new testcases.
95482 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95483 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95484 y and infinite z. Do multiplication by C already in long double.
95485 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95487 y and infinite z. Do bitwise or of inexact bit into u.d.
95488 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95489 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95490 * sysdeps/i386/fpu/s_fma.S: Removed.
95491 * sysdeps/i386/fpu/s_fmal.S: Removed.
95492
95493 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95494
95495 [BZ #3268]
95496 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95498 computation is not scheduled after fetestexcept. Fix value
95499 of minimum denormal long double.
95500
95501 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95502
95503 [BZ #3268]
95504 * math/libm-test.inc (fma_test): Add some more tests.
95505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95506 correctly.
95507
95508 2010-10-15 Andreas Schwab <schwab@redhat.com>
95509
95510 * scripts/data/localplt-s390-linux-gnu.data: New file.
95511 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95512
95513 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95514
95515 [BZ #3268]
95516 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95517 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95518 instead of dbl-64.
95519 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95520 inlines.
95521 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95523 if one of x and y is very large and the other is subnormal.
95524 * sysdeps/s390/fpu/s_fmaf.c: New file.
95525 * sysdeps/s390/fpu/s_fma.c: New file.
95526 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95527 * sysdeps/powerpc/fpu/s_fma.S: New file.
95528 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95529 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95530 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95531
95532 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95533
95534 [BZ #3268]
95535 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95536 fma tests.
95537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95538 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95539 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95540 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95541 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95542 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95543 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95544
95545 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95546
95547 [BZ #12078]
95548 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95549 * posix/bug-regex31.input: Add test case.
95550
95551 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95552
95553 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95554 * posix/bug-regex31.input: New file.
95555
95556 [BZ #12078]
95557 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95558 (parse_sub_exp): Fix last change, use postorder.
95559
95560 * posix/bug-regex31.c: New file.
95561 * posix/Makefile: Add rules to build and run bug-regex31.
95562
95563 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95564
95565 [BZ #12078]
95566 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95567
95568 [BZ #12108]
95569 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95570 to have entries in sys_siglist.
95571
95572 [BZ #12093]
95573 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95574 be NULL.
95575
95576 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95577
95578 [BZ #3268]
95579 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95580 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95581 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95582 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95583 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95584 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95585 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95586 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95587 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95588 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95589 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95590 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95591 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95592 * math/ftestexcept.c (fetestexcept): Likewise.
95593 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95594 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95595 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95596 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95597 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95598 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95599 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95600
95601 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95602
95603 [BZ #12107]
95604 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95605 newline.
95606
95607 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95608
95609 * string/bug-strstr1.c: New file.
95610 * string/Makefile: Add rules to build and run bug-strstr1.
95611
95612 2010-10-05 Eric Blake <eblake@redhat.com>
95613
95614 [BZ #12092]
95615 * string/str-two-way.h (two_way_long_needle): Always clear memory
95616 when skipping input due to the shift table.
95617
95618 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95619
95620 [BZ #12005]
95621 * malloc/mcheck.c: Handle large requests.
95622
95623 [BZ #12077]
95624 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95625 for strncmp and strncasecmp.
95626 * string/stratcliff.c: Add tests for strcmp and strncmp.
95627 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95628
95629 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95630
95631 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95632 __set_fpscr.
95633
95634 2010-09-30 Andreas Jaeger <aj@suse.de>
95635
95636 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95637 (CGROUP_SUPER_MAGIC): Define.
95638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95639 Handle btrfs and cgroup file systems.
95640 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95641 Likewise.
95642
95643 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95644
95645 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95646 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95647
95648 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95649
95650 [BZ #12067]
95651 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95652 trying to locate the ELF header.
95653
95654 2010-09-27 Andreas Schwab <schwab@redhat.com>
95655
95656 [BZ #11611]
95657 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95658 Mask out sign-bit copies when constructing f_fsid.
95659
95660 2010-09-24 Petr Baudis <pasky@suse.cz>
95661
95662 * debug/stack_chk_fail_local.c: Add missing licence exception.
95663 * debug/warning-nop.c: Likewise.
95664
95665 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95666
95667 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95668 implementing getdents64 using getdents syscall, set d_type if
95669 __ASSUME_GETDENTS32_D_TYPE.
95670
95671 2010-09-16 Andreas Schwab <schwab@redhat.com>
95672
95673 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95674 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95675
95676 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95677
95678 [BZ #12037]
95679 * posix/unistd.h: Undo change of feature selection for ftruncate from
95680 2010-01-11.
95681
95682 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95683
95684 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95685 detection.
95686
95687 2010-09-20 Andreas Schwab <schwab@redhat.com>
95688
95689 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95690 fanotify_mark.
95691 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95692
95693 2010-09-14 Andreas Schwab <schwab@redhat.com>
95694
95695 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95696 variables after CHECK_SP call.
95697 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95698
95699 2010-09-13 Andreas Schwab <schwab@redhat.com>
95700 Ulrich Drepper <drepper@redhat.com>
95701
95702 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95703 re-relocationg ld.so.
95704 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95705 _dl_init_paths call.
95706 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95707 here anymore.
95708
95709 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95710
95711 * resolv/res_init.c (__res_vinit): Count the default server we added.
95712
95713 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95714 Ulrich Drepper <drepper@redhat.com>
95715
95716 [BZ #11968]
95717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95718 (____longjmp_chk): Use %ebx for saving value across system call.
95719 Add unwind info.
95720
95721 2010-09-06 Andreas Schwab <schwab@redhat.com>
95722
95723 * manual/Makefile: Don't mix pattern rules with normal rules.
95724
95725 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95726
95727 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95728 operation.
95729 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95730 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95731 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95732 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95734 Likewise.
95735
95736 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95737
95738 [BZ #11979]
95739 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95740 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95741
95742 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95743
95744 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95745 * sysdeps/x86_64/addmul_1.S: Likewise.
95746 * sysdeps/x86_64/lshift.S: Likewise.
95747 * sysdeps/x86_64/mul_1.S: Likewise.
95748 * sysdeps/x86_64/rshift.S: Likewise.
95749 * sysdeps/x86_64/sub_n.S: Likewise.
95750 * sysdeps/x86_64/submul_1.S: Likewise.
95751
95752 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95753
95754 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95755 Define __sched_param instead of SCHED_* and sched_param when
95756 <bits/sched.h> is included with __need_schedparam defined.
95757 * bits/sched.h [__need_schedparam]
95758 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95759 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95760 (__defined_schedparam): Define to 1.
95761 (__sched_param): New structure, identical to sched_param.
95762 (__need_schedparam): Undefine.
95763
95764 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95765
95766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95767 (epoll_create1): Declare.
95768
95769 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95770
95771 2010-08-31 Andreas Schwab <schwab@redhat.com>
95772
95773 [BZ #7066]
95774 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95775 shifting retval into place.
95776
95777 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95778
95779 * nis/rpcsvc/nis.h: Update copyright notice.
95780 * nis/rpcsvc/nis.x: Likewise.
95781 * nis/rpcsvc/nis_callback.h: Likewise.
95782 * nis/rpcsvc/nis_callback.x: Likewise.
95783 * nis/rpcsvc/nis_object.x: Likewise.
95784 * nis/rpcsvc/nis_tags.h: Likewise.
95785 * nis/rpcsvc/yp.h: Likewise.
95786 * nis/rpcsvc/yp.x: Likewise.
95787 * nis/rpcsvc/ypupd.h: Likewise.
95788 * nis/yp_xdr.c: Likewise.
95789 * nis/ypupdate_xdr.c: Likewise.
95790
95791 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95792 mainly the body of pmap_getport. Add parameters to specify timeouts.
95793 (pmap_getport): Use __libc_rpc_getport.
95794 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95795 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95796 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95797
95798 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95799
95800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95801 fanotify_mark.
95802
95803 2010-08-27 Roland McGrath <roland@redhat.com>
95804
95805 * sysdeps/i386/i686/multiarch/Makefile
95806 (CFLAGS-varshift.c): New variable.
95807
95808 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95809
95810 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95811 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95812
95813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95814
95815 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95816
95817 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95818
95819 * sysdeps/x86_64/strlen.S: Unroll the loop.
95820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95821 strlen-sse2 strlen-sse2-bsf.
95822 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95823 __strlen_no_bsf if bit_Slow_BSF is set.
95824 (__strlen_sse42): Removed.
95825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95826 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95827
95828 2010-08-25 Roland McGrath <roland@redhat.com>
95829
95830 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95831 * sysdeps/x86_64/multiarch/varshift.c: New file.
95832 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95833 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95834 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95835 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95836
95837 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95838
95839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95840 strlen-sse2 strlen-sse2-bsf.
95841 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95842 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95843 (__strlen_sse2): Removed.
95844 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95845 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95847 bit_Slow_BSF for Atom.
95848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95849 (index_Slow_BSF): Define.
95850 (HAS_SLOW_BSF): Define.
95851
95852 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95853
95854 [BZ #10851]
95855 * resolv/res_init.c (__res_vinit): When no server address at all
95856 is given default to loopback.
95857
95858 2010-08-24 Roland McGrath <roland@redhat.com>
95859
95860 * configure.in: Remove config-name.h generation.
95861 * configure: Regenerated.
95862 * config-name.in: File removed.
95863 * scripts/config-uname.sh: New file.
95864 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95865 ($(objdir)config-name.h): New target.
95866
95867 * sunrpc/rpc_parse.h: Avoid nested comment.
95868
95869 2010-08-24 Richard Henderson <rth@redhat.com>
95870 Ulrich Drepper <drepper@redhat.com>
95871 H.J. Lu <hongjiu.lu@intel.com>
95872
95873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95875 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95876 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95877 _mm_alignr_epi8 with _mm_loadu_si128.
95878 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95879 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95880 (__m128i_shift_right): Removed.
95881 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95882 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95883 * sysdeps/x86_64/multiarch/varshift.h: New file.
95884 * sysdeps/x86_64/multiarch/varshift.S: New file.
95885
95886 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95887
95888 * configure.in: Move assembler checks to before sysdep dir checking.
95889
95890 2010-08-20 Petr Baudis <pasky@suse.cz>
95891
95892 * LICENSES: Sync the sunrpc license.
95893
95894 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95895
95896 * sunrpc/auth_des.c: Update copyright notice once again.
95897 * sunrpc/auth_none.c: Likewise.
95898 * sunrpc/auth_unix.c: Likewise.
95899 * sunrpc/authdes_prot.c: Likewise.
95900 * sunrpc/authuxprot.c: Likewise.
95901 * sunrpc/bindrsvprt.c: Likewise.
95902 * sunrpc/clnt_gen.c: Likewise.
95903 * sunrpc/clnt_perr.c: Likewise.
95904 * sunrpc/clnt_raw.c: Likewise.
95905 * sunrpc/clnt_simp.c: Likewise.
95906 * sunrpc/clnt_tcp.c: Likewise.
95907 * sunrpc/clnt_udp.c: Likewise.
95908 * sunrpc/clnt_unix.c: Likewise.
95909 * sunrpc/des_crypt.c: Likewise.
95910 * sunrpc/des_soft.c: Likewise.
95911 * sunrpc/get_myaddr.c: Likewise.
95912 * sunrpc/getrpcport.c: Likewise.
95913 * sunrpc/key_call.c: Likewise.
95914 * sunrpc/key_prot.c: Likewise.
95915 * sunrpc/openchild.c: Likewise.
95916 * sunrpc/pm_getmaps.c: Likewise.
95917 * sunrpc/pm_getport.c: Likewise.
95918 * sunrpc/pmap_clnt.c: Likewise.
95919 * sunrpc/pmap_prot.c: Likewise.
95920 * sunrpc/pmap_prot2.c: Likewise.
95921 * sunrpc/pmap_rmt.c: Likewise.
95922 * sunrpc/rpc/auth.h: Likewise.
95923 * sunrpc/rpc/auth_unix.h: Likewise.
95924 * sunrpc/rpc/clnt.h: Likewise.
95925 * sunrpc/rpc/des_crypt.h: Likewise.
95926 * sunrpc/rpc/key_prot.h: Likewise.
95927 * sunrpc/rpc/netdb.h: Likewise.
95928 * sunrpc/rpc/pmap_clnt.h: Likewise.
95929 * sunrpc/rpc/pmap_prot.h: Likewise.
95930 * sunrpc/rpc/pmap_rmt.h: Likewise.
95931 * sunrpc/rpc/rpc.h: Likewise.
95932 * sunrpc/rpc/rpc_des.h: Likewise.
95933 * sunrpc/rpc/rpc_msg.h: Likewise.
95934 * sunrpc/rpc/svc.h: Likewise.
95935 * sunrpc/rpc/svc_auth.h: Likewise.
95936 * sunrpc/rpc/types.h: Likewise.
95937 * sunrpc/rpc/xdr.h: Likewise.
95938 * sunrpc/rpc_clntout.c: Likewise.
95939 * sunrpc/rpc_cmsg.c: Likewise.
95940 * sunrpc/rpc_common.c: Likewise.
95941 * sunrpc/rpc_cout.c: Likewise.
95942 * sunrpc/rpc_dtable.c: Likewise.
95943 * sunrpc/rpc_hout.c: Likewise.
95944 * sunrpc/rpc_main.c: Likewise.
95945 * sunrpc/rpc_parse.c: Likewise.
95946 * sunrpc/rpc_parse.h: Likewise.
95947 * sunrpc/rpc_prot.c: Likewise.
95948 * sunrpc/rpc_sample.c: Likewise.
95949 * sunrpc/rpc_scan.c: Likewise.
95950 * sunrpc/rpc_scan.h: Likewise.
95951 * sunrpc/rpc_svcout.c: Likewise.
95952 * sunrpc/rpc_tblout.c: Likewise.
95953 * sunrpc/rpc_util.c: Likewise.
95954 * sunrpc/rpc_util.h: Likewise.
95955 * sunrpc/rpcinfo.c: Likewise.
95956 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95957 * sunrpc/rpcsvc/key_prot.x: Likewise.
95958 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95959 * sunrpc/rpcsvc/mount.x: Likewise.
95960 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95961 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95962 * sunrpc/rpcsvc/rex.x: Likewise.
95963 * sunrpc/rpcsvc/rstat.x: Likewise.
95964 * sunrpc/rpcsvc/rusers.x: Likewise.
95965 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95966 * sunrpc/rpcsvc/spray.x: Likewise.
95967 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95968 * sunrpc/rtime.c: Likewise.
95969 * sunrpc/svc.c: Likewise.
95970 * sunrpc/svc_auth.c: Likewise.
95971 * sunrpc/svc_authux.c: Likewise.
95972 * sunrpc/svc_raw.c: Likewise.
95973 * sunrpc/svc_run.c: Likewise.
95974 * sunrpc/svc_simple.c: Likewise.
95975 * sunrpc/svc_tcp.c: Likewise.
95976 * sunrpc/svc_udp.c: Likewise.
95977 * sunrpc/svc_unix.c: Likewise.
95978 * sunrpc/svcauth_des.c: Likewise.
95979 * sunrpc/xcrypt.c: Likewise.
95980 * sunrpc/xdr.c: Likewise.
95981 * sunrpc/xdr_array.c: Likewise.
95982 * sunrpc/xdr_float.c: Likewise.
95983 * sunrpc/xdr_mem.c: Likewise.
95984 * sunrpc/xdr_rec.c: Likewise.
95985 * sunrpc/xdr_ref.c: Likewise.
95986 * sunrpc/xdr_sizeof.c: Likewise.
95987 * sunrpc/xdr_stdio.c: Likewise.
95988
95989 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95990 handling.
95991
95992 2010-08-19 Andreas Schwab <schwab@redhat.com>
95993
95994 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95995
95996 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95997
95998 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95999 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96000 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96001 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96002 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96003 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96004 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96005 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96006 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96007 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96008 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96009 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96010 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96011 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96012
96013 2010-07-26 Anton Blanchard <anton@samba.org>
96014
96015 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96016 * malloc/arena.c (heap_trim): Likewise.
96017
96018 2010-08-16 Ulrich Drepper <drepper@redhat.com>
96019
96020 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96021 here. Not...
96022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96023 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96024
96025 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
96026
96027 * sysdeps/i386/elf/Makefile: New file.
96028
96029 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96030
96031 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96032 from fanotify_init.
96033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96035
96036 2010-08-15 Ulrich Drepper <drepper@redhat.com>
96037
96038 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96039 of strncasecmp_l.
96040 * sysdeps/multiarch/strcmp.S: Likewise.
96041
96042 2010-08-14 Ulrich Drepper <drepper@redhat.com>
96043
96044 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96045 strncase_l-nonascii.
96046 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96047 Add strncase_l-ssse3.
96048 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96049 * sysdeps/x86_64/strcmp.S: Likewise.
96050 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96051 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96052 * sysdeps/x86_64/strncase.S: New file.
96053 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96054 * sysdeps/x86_64/strncase_l.S: New file.
96055 * string/Makefile (strop-tests): Add strncasecmp.
96056 * string/test-strncasecmp.c: New file.
96057
96058 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96059 warning.
96060
96061 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96062 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96063
96064 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96065
96066 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96067
96068 2010-08-12 Ulrich Drepper <drepper@redhat.com>
96069
96070 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96071 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96072 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96073
96074 2010-05-01 Alan Modra <amodra@gmail.com>
96075
96076 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96077 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96078 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96079 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96080 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96081 tidying. Don't tail-call __sigjmp_save for static lib.
96082 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96083 save location.
96084 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96085 (CALL_MCOUNT): Add eh info, and nop after bl.
96086 (TAIL_CALL_SYSCALL_ERROR): New macro.
96087 (PSEUDO_RET): Use it.
96088 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96089 Correct save location of integer regs and cr.
96090 (_dl_profile_resolve): Correct cr save location. Delete nops
96091 after bl when SHARED. Reduce cfi size a little by better
96092 placement of cfi directives.
96093 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96094 make a stack frame. Instead use parm save area as a temp.
96095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96096 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
96097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96098 Don't make a stack frame for parent, use parm save area.
96099 Increase child stack frame to 112 bytes. Don't save unused reg,
96100 and adjust reg usage. Set up cfi on error recovery and
96101 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96103 (__makecontext): Add dummy nop after jump to exit.
96104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96105 Use correct parm save area and cr save, reduce stack frame.
96106 Correct cfi for possible PSEUDO_RET frame setup.
96107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96108 Branch to local label emitted by PSEUDO_RET rather than
96109 __syscall_error.
96110
96111 2010-08-12 Andreas Schwab <schwab@redhat.com>
96112
96113 [BZ #11904]
96114 * locale/programs/locale.c (print_assignment): New function.
96115 (show_locale_vars): Use it.
96116
96117 2010-08-11 Ulrich Drepper <drepper@redhat.com>
96118
96119 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96120 field.
96121 (struct statfs64): Likewise.
96122 (_STATFS_F_FLAGS): Define.
96123 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96124 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96125 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96126 (ST_VALID): Define locally.
96127 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96128 __statvfs_getflags, use the provided value.
96129 * sysdeps/unix/sysv/linux/kernel-features.h: Define
96130 __ASSUME_STATFS_F_FLAGS.
96131
96132 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96133
96134 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96135 Add sys/fanotify.h.
96136 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96137 fanotify_mask for GLIBC_2.13.
96138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96139 fanotify_init and fanotify_mark.
96140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96141 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96142
96143 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96144 Add prlimit.
96145 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96146 prlimit64 for GLIBC_2.13.
96147 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96148 prlimit64.
96149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96150 syscall.
96151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96152 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96153 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96155 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
96156 add prlimit alias.
96157 * sysdeps/unix/sysv/linux/prlimit.c: New file.
96158
96159 [BZ #11903]
96160 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96161 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96162
96163 * nss/Makefile: Add rules to build and run tst-nss-test1.
96164 * shlib-versions: Add entry for libnss_test1.
96165 * nss/nss_test1.c: New file.
96166 * nss/tst-nss-test1.c: New file.
96167
96168 * nss/nsswitch.c (__nss_database_custom): Define new variable.
96169 (__nss_configure_lookup): Set appropriate entry in
96170 __nss_configure_lookup to true.
96171 * nss/nsswitch.h: Define enum with indeces of databases in
96172 databases and __nss_database_custom arrays. Declare
96173 __nss_database_custom.
96174 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96175 to avoid using nscd when custom rules are installed.
96176 * nss/getXXbyYY_r.c: Likewise.
96177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96178
96179 * nss/nss_files/files-parse.c: Whitespace fixes.
96180
96181 2010-08-09 Ulrich Drepper <drepper@redhat.com>
96182
96183 [BZ #11883]
96184 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96185 * posix/fnmatch_loop.c: Likewise.
96186
96187 2010-07-17 Andi Kleen <ak@linux.intel.com>
96188
96189 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96190 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96191 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96192 * Versions.def [GLIBC_2.13]: Add.
96193
96194 2010-08-06 Ulrich Drepper <drepper@redhat.com>
96195
96196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96197 Also fail if tpwd after pwuid call is NULL.
96198
96199 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96200
96201 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96202 when converting to ms.
96203
96204 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96205
96206 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96207 EOPNOTSUPP errors with ENOTTY.
96208 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96209 EOPNOTSUPP errors with ENOTTY.
96210
96211 2010-07-31 Ulrich Drepper <drepper@redhat.com>
96212
96213 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96214 Add strcasecmp_l-ssse3.
96215 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96216 strcasecmp.
96217 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96218 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96219 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96220
96221 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96222
96223 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96224
96225 * string/Makefile (strop-tests): Add strcasecmp.
96226 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96227 strcasecmp_l-nonascii.
96228 (gen-as-const-headers): Add locale-defines.sym.
96229 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96230 * sysdeps/x86_64/strcasecmp.S: New file.
96231 * sysdeps/x86_64/strcasecmp_l.S: New file.
96232 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96233 * sysdeps/x86_64/locale-defines.sym: New file.
96234 * string/test-strcasecmp.c: New file.
96235
96236 * string/test-strcasestr.c: Test both ends of the range of characters.
96237 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96238
96239 2010-07-29 Roland McGrath <roland@redhat.com>
96240
96241 [BZ #11856]
96242 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96243
96244 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96245
96246 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96247 for ld.so.
96248
96249 2010-07-27 Andreas Schwab <schwab@redhat.com>
96250
96251 * manual/memory.texi (Malloc Tunable Parameters): Document
96252 M_PERTURB.
96253
96254 2010-07-26 Roland McGrath <roland@redhat.com>
96255
96256 [BZ #11840]
96257 * configure.in (-fgnu89-inline check): Set and substitute
96258 gnu89_inline, not libc_cv_gnu89_inline.
96259 * configure: Regenerated.
96260 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96261
96262 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96263
96264 * string/test-strnlen.c: New file.
96265 * string/Makefile (strop-tests): Add strnlen.
96266 * string/tester.c (test_strnlen): Add a few more test cases.
96267 * string/tst-strlen.c: Better error reporting.
96268
96269 * sysdeps/x86_64/strnlen.S: New file.
96270
96271 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96272
96273 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96274 lower-latency instructions.
96275
96276 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96277
96278 * string/test-strcasestr.c: New file.
96279 * string/test-strstr.c: New file.
96280 * string/Makefile (strop-tests): Add strstr and strcasestr.
96281 * string/str-two-way.h: Don't undefine MAX.
96282 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96283
96284 2010-07-21 Andreas Schwab <schwab@redhat.com>
96285
96286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96287 strcasestr-nonascii.
96288 (CFLAGS-strcasestr-nonascii.c): Define.
96289 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96290 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96291 Remove unused attribute.
96292
96293 2010-07-20 Roland McGrath <roland@redhat.com>
96294
96295 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96296 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96297 ld.so.cache was broken. With it, there is no way to disable dsocaps
96298 like LD_HWCAP_MASK can disable hwcaps.
96299
96300 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96301
96302 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96303
96304 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96305
96306 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96307 call in strcasestr.
96308 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96309 __strcasestr_sse42_nonascii.
96310 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96311 strcasestr-nonascii.c.
96312 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96313
96314 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96315
96316 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96318 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96320
96321 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96322
96323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96324 fcntl.
96325
96326 2010-07-06 Andreas Schwab <schwab@redhat.com>
96327
96328 [BZ #11577]
96329 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96330 dl_signal_cerror.
96331
96332 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96333
96334 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96335 _PC_PIPE_BUF using F_GETPIPE_SZ.
96336
96337 2010-07-05 Roland McGrath <roland@redhat.com>
96338
96339 * manual/arith.texi (Rounding Functions): Fix rint description
96340 implicit in round description.
96341
96342 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96343
96344 * elf/Makefile: Fix linking for a few tests to make recent linker
96345 happy.
96346
96347 2010-06-30 Andreas Schwab <schwab@redhat.com>
96348
96349 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96350 $(common-objpfx)libc_nonshared.a.
96351
96352 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96353
96354 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96355 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96356 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96357 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96358 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96359 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96360 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96361 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96376 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96377 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96378 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96379 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96380 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96381 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96382 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96383 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96384 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96385 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96386 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96387 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96402
96403 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96404
96405 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96406 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96407 * string/memmove.c (memmove): Renamed to ...
96408 (MEMMOVE): ...this. Default to memmove.
96409 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96410 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96411 (END_CHK): Define.
96412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96413 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96414 mempcpy-ssse3-back memmove-ssse3-back.
96415 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96417 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96418 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96419 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96420 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96421 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96422 * sysdeps/x86_64/multiarch/memmove.c: New file.
96423 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96424 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96425 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96426 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96429 Define.
96430 (index_Fast_Copy_Backward): Define.
96431 (HAS_ARCH_FEATURE): Define.
96432 (HAS_FAST_REP_STRING): Define.
96433 (HAS_FAST_COPY_BACKWARD): Define.
96434
96435 2010-06-21 Andreas Schwab <schwab@redhat.com>
96436
96437 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96438 Restore proper fallback handling.
96439
96440 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96441
96442 [BZ #11701]
96443 * posix/group_member.c (__group_member): Correct checking loop.
96444
96445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96446 OOM in getpwuid_r correctly. Return error number when the caller
96447 should return, otherwise -1.
96448 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96449 call returning > 0 value.
96450 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96451
96452 2010-06-07 Andreas Schwab <schwab@redhat.com>
96453
96454 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96455 libc_nonshared.a from targets in modules-names.
96456
96457 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96458
96459 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96460 requires it.
96461
96462 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96463
96464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96465 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96468
96469 2010-06-02 Andreas Schwab <schwab@redhat.com>
96470
96471 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96472
96473 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96474
96475 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96476 and F_GETPIPE_SZ.
96477 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96482 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96483
96484 2010-06-14 Roland McGrath <roland@redhat.com>
96485
96486 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96487
96488 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96489
96490 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96491 __REDIRECT followed by __THROW.
96492 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96493 * posix/getopt.h (getopt): Likewise.
96494
96495 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96496
96497 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96498 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96499 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96500 in AT_FLAGS.
96501 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96502 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96503
96504 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96505
96506 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96507
96508 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96509
96510 [BZ #11640]
96511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96512 Properly check family and model.
96513
96514 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96515
96516 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96517
96518 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96519
96520 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96521
96522 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96523
96524 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96525 symbol reference.
96526
96527 2010-05-19 Andreas Schwab <schwab@redhat.com>
96528
96529 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96530 symbol reference.
96531
96532 2010-05-21 Andreas Schwab <schwab@redhat.com>
96533
96534 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96535 and internal_recvmmsg.
96536 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96537 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96538 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96539 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96540
96541 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96544
96545 2010-05-20 Andreas Schwab <schwab@redhat.com>
96546
96547 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96548
96549 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96550
96551 POWER7 optimizations.
96552 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96553 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96554
96555 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96556
96557 * version.h: Update for 2.13 development version.
96558
96559 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96560
96561 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96562 exceptions. Return 0.
96563
96564 2010-05-07 Roland McGrath <roland@redhat.com>
96565
96566 * elf/ldconfig.c (main): Add a const.
96567
96568 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96569
96570 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96571 (args_options): Add no-idn option.
96572 (ahosts_keys_int): Add idn_flags to ai_flags.
96573 (parse_option): Handle 'i' option to clear idn_flags.
96574
96575 * malloc/malloc.c (_int_free): Possible race in the most recently
96576 added check. Only act on the data if no current modification
96577 happened.
96578
96579 See ChangeLog.17 for earlier changes.