1 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2 Joseph Myers <joseph@codesourcery.com>
4 * Makeconfig (test-name): New variable.
5 (evaluate-test): Likewise.
6 * Makerules (do-test-clean): Remove .test-result files.
7 (common-mostlyclean): Likewise.
8 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9 * scripts/evaluate-test.sh: New file.
11 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14 separate $(objpfx)tst-fopenloc-cmp.out and
15 $(objpfx)tst-fopenloc-mem.out targets.
16 (tests): Update dependencies.
17 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20 (tst-rxspencer-no-utf8-ARGS): New variable.
21 (tst-rxspencer-no-utf8-ENV): Likewise.
22 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23 instead of $(objpfx)tst-rxspencer-mem.
24 ($(objpfx)tst-rxspencer-mem): Change target to
25 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27 * posix/tst-rxspencer-no-utf8.c: New file.
29 * elf/Makefile ($(objpfx)order.out): Remove rule.
30 [$(run-built-tests) = yes] (tests): Depend on
31 $(objpfx)order-cmp.out.
32 ($(objpfx)order-cmp.out): New rule.
33 [$(run-built-tests) = yes] (tests): Depend on
34 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37 $(objpfx)tst-array5-static-cmp.out.
38 ($(objpfx)tst-array1.out): Remove rule.
39 ($(objpfx)tst-array1-cmp.out): New rule.
40 ($(objpfx)tst-array1-static.out): Remove rule.
41 ($(objpfx)tst-array1-static-cmp.out): New rule.
42 ($(objpfx)tst-array2.out): Remove rule.
43 ($(objpfx)tst-array2-cmp.out): New rule.
44 ($(objpfx)tst-array3.out): Remove rule.
45 ($(objpfx)tst-array3-cmp.out): New rule.
46 ($(objpfx)tst-array4.out): Remove rule.
47 ($(objpfx)tst-array4-cmp.out): New rule.
48 ($(objpfx)tst-array5.out): Remove rule.
49 ($(objpfx)tst-array5-cmp.out): New rule.
50 ($(objpfx)tst-array5-static.out): Remove rule.
51 ($(objpfx)tst-array5-static-cmp.out): New rule.
52 [$(run-built-tests) = yes] (tests): Depend on
53 $(objpfx)order2-cmp.out.
54 ($(objpfx)order2.out): Remove rule.
55 ($(objpfx)order2-cmp.out): New rule.
56 ($(objpfx)tst-initorder.out): Remove rule.
57 [$(run-built-tests) = yes] (tests): Depend on
58 $(objpfx)tst-initorder-cmp.out.
59 ($(objpfx)tst-initorder-cmp.out): New rule.
60 ($(objpfx)tst-initorder2.out): Remove rule.
61 [$(run-built-tests) = yes] (tests): Depend on
62 $(objpfx)tst-initorder2-cmp.out.
63 ($(objpfx)tst-initorder2-cmp.out): New rule.
64 [$(run-built-tests) = yes] (tests): Depend on
65 $(objpfx)tst-unused-dep-cmp.out.
66 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
67 ($(objpfx)tst-unused-dep-cmp.out): New rule.
68 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
69 on $(objpfx)tst-setvbuf1-cmp.out.
70 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
71 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
72 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
73 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
74 ($(objpfx)tst-svc.out): Remove rule.
75 ($(objpfx)tst-svc-cmp.out): New rule.
77 2014-02-13 Joseph Myers <joseph@codesourcery.com>
79 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
80 * ctype/ctype.h [__USE_MISC]: Likewise.
81 * dirent/dirent.h [__USE_MISC]: Likewise.
82 * grp/grp.h [__USE_MISC]: Likewise.
83 * io/fcntl.h [__USE_MISC]: Likewise.
84 * io/sys/stat.h [__USE_MISC]: Likewise.
85 * libio/stdio.h [__USE_MISC]: Likewise.
86 * posix/unistd.h [__USE_MISC]: Likewise.
87 * pwd/pwd.h [__USE_MISC]: Likewise.
88 * stdlib.h [__USE_MISC]: Likewise.
89 * string/bits/string2.h [__USE_MISC]: Likewise.
90 * string/string.h [__USE_MISC]: Likewise.
91 * time/time.h [__USE_MISC]: Likewise.
93 2014-02-13 Andreas Schwab <schwab@suse.de>
96 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
97 second answer buffer if it was separately allocated.
99 2014-02-12 Joseph Myers <joseph@codesourcery.com>
101 * sysdeps/mips/math-tests.h: Include <features.h>.
102 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
103 (ROUNDING_TESTS_long_double): Do not define.
104 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
105 (EXCEPTION_TESTS_long_double): Likewise.
106 * sysdeps/mips/mips64/libm-test-ulps: Update.
108 * include/features.h (__USE_BSD): Remove macro definitions.
109 (__USE_SVID): Likewise.
110 (_BSD_SOURCE): Likewise.
111 (_SVID_SOURCE): Likewise.
112 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
113 from definition of _DEFAULT_SOURCE.
114 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
116 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
117 * bits/mman.h [__USE_BSD]: Likewise.
118 * bits/termios.h [__USE_BSD]: Likewise.
119 * bits/waitstatus.h [__USE_BSD]: Likewise.
120 * ctype/ctype.h [__USE_SVID]: Likewise.
121 * dirent/dirent.h [__USE_BSD]: Likewise.
122 * grp/grp.h [__USE_SVID]: Likewise.
123 [__USE_BSD]: Likewise.
124 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
125 * io/fcntl.h [__USE_BSD]: Likewise.
126 * io/ftw.h [__USE_BSD]: Likewise.
127 * io/sys/stat.h [__USE_BSD]: Likewise.
128 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
129 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
130 * libio/stdio.h [__USE_SVID]: Likewise.
131 [__USE_BSD]: Likewise.
132 * math/math.h [__USE_SVID]: Likewise.
133 [__USE_BSD]: Likewise.
134 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
135 * misc/bits/syslog.h [__USE_BSD]: Likewise.
136 * misc/search.h [__USE_SVID]: Likewise.
137 * misc/sys/mman.h [__USE_BSD]: Likewise.
138 * misc/sys/syslog.h [__USE_BSD]: Likewise.
139 * misc/sys/uio.h [__USE_BSD]: Likewise.
140 * posix/bits/unistd.h [__USE_BSD]: Likewise.
141 * posix/glob.h [__USE_BSD]: Likewise.
142 * posix/regex.h [__USE_BSD]: Likewise.
143 * posix/sys/types.h [__USE_BSD]: Likewise.
144 [__USE_SVID]: Likewise.
145 * posix/sys/utsname.h [__USE_SVID]: Likewise.
146 * posix/sys/wait.h [__USE_BSD]: Likewise.
147 [__USE_SVID]: Likewise.
148 * posix/unistd.h [__USE_BSD]: Likewise.
149 [__USE_SVID]: Likewise.
150 * pwd/pwd.h [__USE_SVID]: Likewise.
151 * resolv/netdb.h [__USE_BSD]: Likewise.
152 * setjmp/setjmp.h [__USE_BSD]: Likewise.
153 * signal/signal.h [__USE_BSD]: Likewise.
154 [__USE_SVID]: Likewise.
155 * socket/sys/socket.h [__USE_BSD]: Likewise.
156 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
157 * stdlib/stdlib.h [__USE_BSD]: Likewise.
158 [__USE_SVID]: Likewise.
159 * string/bits/string2.h [__USE_BSD]: Likewise.
160 [__USE_SVID]: Likewise.
161 * string/bits/string3.h [__USE_BSD]: Likewise.
162 * string/endian.h [__USE_BSD]: Likewise.
163 * string/string.h [__USE_SVID]: Likewise.
164 [__USE_BSD]: Likewise.
165 * string/strings.h [__USE_BSD]: Likewise.
166 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
167 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
168 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
169 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
170 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
171 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
173 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
175 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
176 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
178 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
179 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
181 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
183 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
184 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
185 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
187 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
189 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
190 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
191 * termios/termios.h [__USE_BSD]: Likewise.
192 * time/sys/time.h [__USE_BSD]: Likewise.
193 * time/time.h [__USE_BSD]: Likewise.
194 [__USE_SVID]: Likewise.
196 * Makefile (subdir_targets): Remove subdir_lint.out.
198 * stdio-common/Makefile (do-tst-unbputc): Remove target.
199 (do-tst-printf): Likewise.
200 (tests): Depend directly on $(objpfx)tst-unbputc.out and
201 $(objpfx)tst-printf.out.
203 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
205 * Makerules (check-abi-%): Change target to
206 $(objpfx)check-abi-%.out.
207 (check-abi target): Update dependencies.
208 (check-abi-pattern variable): Redirect output of diff to $@.
209 (check-abi variable): Likewise.
210 * elf/Makefile (check-abi): Update dependencies.
212 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
214 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
215 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
217 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
218 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
219 value has largest subnormal exponent.
220 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
221 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
222 * sysdeps/aarch64/soft-fp/sfp-machine.h
223 (_FP_TININESS_AFTER_ROUNDING): New macro.
224 * sysdeps/alpha/soft-fp/sfp-machine.h
225 (_FP_TININESS_AFTER_ROUNDING): Likewise.
226 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
228 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
229 (_FP_TININESS_AFTER_ROUNDING): Likewise.
230 * sysdeps/mips/soft-fp/sfp-machine.h
231 (_FP_TININESS_AFTER_ROUNDING): Likewise.
232 * sysdeps/powerpc/soft-fp/sfp-machine.h
233 (_FP_TININESS_AFTER_ROUNDING): Likewise.
234 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
236 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
237 (_FP_TININESS_AFTER_ROUNDING): Likewise.
238 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
239 (_FP_TININESS_AFTER_ROUNDING): Likewise.
240 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
243 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
246 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
249 2014-02-12 Richard Henderson <rth@redhat.com>
251 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
252 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
253 * sysdeps/unix/sysv/linux/alpha: Move directory from
254 ports/sysdeps/unix/sysv/linux/alpha.
255 * README: Update listing for alpha-*-linux-gnu.
257 2014-02-11 Joseph Myers <joseph@codesourcery.com>
259 * include/features.h: Update comment documenting feature test
261 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
263 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
264 (_SVID_SOURCE): Likewise.
265 (_DEFAULT_SOURCE): Update description of default features.
266 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
268 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
270 * manual/math.texi (Mathematical Constants): Likewise.
271 * manual/signal.texi (Interrupted Primitives): Likewise.
272 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
273 * math/test-matherr.c (_SVID_SOURCE): Do not define.
274 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
275 Don't refer to _SVID_SOURCE in warning text.
277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
279 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
281 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
282 * sysdeps/mips/dl-lookup.c: Remove.
283 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
285 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
288 * math/auto-libm-test-in: Add testcase for expl.
289 * math/auto-libm-test-out: Regenerate.
290 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
291 calculation of unsafe.
292 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
294 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
296 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
297 * sysdeps/unix/sysv/linux/aarch64: Move directory from
298 ports/sysdeps/unix/sysv/linux/aarch64.
299 * README: Update listing for aarch64*-*-linux-gnu.
301 2014-02-11 Will Newton <will.newton@linaro.org>
303 * manual/probes.texi (Mathematical Function Probes): Use
304 "triggered" instead of "hit".
306 2014-02-11 Will Newton <will.newton@linaro.org>
308 * manual/probes.texi (Internal Probes): Add documentation
309 of setjmp, longjmp and longjmp_target probes.
311 2014-02-11 Will Newton <will.newton@linaro.org>
313 * include/stap-probe.h: Add comment about probe argument
316 2014-02-11 Will Newton <will.newton@linaro.org>
318 * malloc/mtrace.c (attribute_hidden): Remove unused macro
319 definition. (tr_where, tr_freehook, tr_mallochook,
320 tr_reallochook, tr_memalignhook): Use ANSI protoype.
322 2014-02-11 David S. Miller <davem@davemloft.net>
324 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
325 processing int_tests.
327 2014-02-10 Joseph Myers <joseph@codesourcery.com>
329 * sysdeps/mips: Move directory from ports/sysdeps/mips.
330 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
331 * sysdeps/unix/sysv/linux/mips: Move directory from
332 ports/sysdeps/unix/sysv/linux/mips.
333 * README: Update listing for mips-*-linux-gnu and
336 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
338 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
339 * sysdeps/unix/sysv/linux/m68k: Move directory from
340 ports/sysdeps/unix/sysv/linux/m68k.
341 * README: Update listing for m68k-*-linux-gnu.
343 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
345 * sysdeps/tile: Move directory from ports/sysdeps/tile.
346 * sysdeps/unix/sysv/linux/generic: Move directory from
347 ports/sysdeps/unix/sysv/linux/generic.
348 * sysdeps/unix/sysv/linux/tile: Move directory from
349 ports/sysdeps/unix/sysv/linux/tile.
350 * README: Update listing for tile*-*-linux-gnu.
352 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
354 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
355 * benchtests/bench-memmem.c (simple_memmem): Likewise.
356 * catgets/open_catalog.c (__open_catalog): Likewise.
357 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
358 * debug/confstr_chk.c: Likewise.
359 * debug/fread_chk.c (__fread_chk): Likewise.
360 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
361 * debug/getgroups_chk.c: Likewise.
362 * debug/mbsnrtowcs_chk.c: Likewise.
363 * debug/mbsrtowcs_chk.c: Likewise.
364 * debug/mbstowcs_chk.c: Likewise.
365 * debug/memcpy_chk.c: Likewise.
366 * debug/memmove_chk.c: Likewise.
367 * debug/mempcpy_chk.c: Likewise.
368 * debug/memset_chk.c: Likewise.
369 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
370 * debug/strcat_chk.c (__strcat_chk): Likewise.
371 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
372 * debug/strncat_chk.c (__strncat_chk): Likewise.
373 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
374 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
375 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
376 * debug/wcpncpy_chk.c: Likewise.
377 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
378 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
379 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
380 * debug/wcsncpy_chk.c: Likewise.
381 * debug/wcsnrtombs_chk.c: Likewise.
382 * debug/wcsrtombs_chk.c: Likewise.
383 * debug/wcstombs_chk.c: Likewise.
384 * debug/wmemcpy_chk.c: Likewise.
385 * debug/wmemmove_chk.c: Likewise.
386 * debug/wmempcpy_chk.c: Likewise.
387 * debug/wmemset_chk.c: Likewise.
388 * dirent/scandirat.c (SCANDIRAT): Likewise.
389 * dlfcn/dladdr1.c (dladdr1): Likewise.
390 * dlfcn/dladdr.c (dladdr): Likewise.
391 * dlfcn/dlclose.c (dlclose_doit): Likewise.
392 * dlfcn/dlerror.c (__dlerror): Likewise.
393 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
394 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
395 * dlfcn/dlopen.c (dlopen_doit): Likewise.
396 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
397 * dlfcn/dlsym.c (dlsym_doit): Likewise.
398 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
399 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
400 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
402 * elf/dl-conflict.c: Likewise.
403 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
404 * elf/dl-dst.h: Likewise.
405 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
406 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
408 * elf/dl-init.c (call_init, _dl_init): Likewise.
409 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
410 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
411 _dl_map_object_from_fd, open_verify, open_path,
412 _dl_map_object): Likewise.
413 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
415 * elf/dl-minimal.c (__libc_memalign): Likewise.
416 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
417 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
418 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
419 * elf/dl-sym.c (do_sym): Likewise.
420 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
421 _dl_tls_get_addr_soft): Likewise.
422 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
423 * elf/dl-writev.h (_dl_writev): Likewise.
424 * elf/ldconfig.c (search_dir): Likewise.
425 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
427 * elf/setup-vdso.h (setup_vdso): Likewise.
428 * grp/compat-initgroups.c (compat_call): Likewise.
429 * grp/fgetgrent.c (fgetgrent): Likewise.
430 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
431 * grp/putgrent.c (putgrent): Likewise.
432 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
434 * hurd/hurdinit.c: Likewise.
435 * iconvdata/8bit-gap.c (struct): Likewise.
436 * iconvdata/ansi_x3.110.c : Likewise.
437 * iconvdata/big5.c : Likewise.
438 * iconvdata/big5hkscs.c : Likewise.
439 * iconvdata/cp1255.c: Likewise.
440 * iconvdata/cp1258.c : Likewise.
441 * iconvdata/cp932.c : Likewise.
442 * iconvdata/euc-cn.c: Likewise.
443 * iconvdata/euc-jisx0213.c : Likewise.
444 * iconvdata/euc-jp.c: Likewise.
445 * iconvdata/euc-jp-ms.c : Likewise.
446 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
447 * iconvdata/gb18030.c : Likewise.
448 * iconvdata/gbbig5.c (const): Likewise.
449 * iconvdata/gbgbk.c: Likewise.
450 * iconvdata/gbk.c : Likewise.
451 * iconvdata/ibm1364.c : Likewise.
452 * iconvdata/ibm930.c : Likewise.
453 * iconvdata/ibm932.c: Likewise.
454 * iconvdata/ibm933.c : Likewise.
455 * iconvdata/ibm935.c : Likewise.
456 * iconvdata/ibm937.c : Likewise.
457 * iconvdata/ibm939.c : Likewise.
458 * iconvdata/ibm943.c: Likewise.
459 * iconvdata/iso_11548-1.c: Likewise.
460 * iconvdata/iso-2022-cn.c : Likewise.
461 * iconvdata/iso-2022-cn-ext.c : Likewise.
462 * iconvdata/iso-2022-jp-3.c: Likewise.
463 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
464 * iconvdata/iso-2022-kr.c : Likewise.
465 * iconvdata/iso646.c (gconv_end): Likewise.
466 * iconvdata/iso_6937-2.c : Likewise.
467 * iconvdata/iso_6937.c : Likewise.
468 * iconvdata/iso8859-1.c: Likewise.
469 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
470 * iconvdata/shift_jisx0213.c : Likewise.
471 * iconvdata/sjis.c : Likewise.
472 * iconvdata/t.61.c : Likewise.
473 * iconvdata/tcvn5712-1.c : Likewise.
474 * iconvdata/tscii.c: Likewise.
475 * iconvdata/uhc.c : Likewise.
476 * iconvdata/unicode.c (gconv_end): Likewise.
477 * iconvdata/utf-16.c (gconv_end): Likewise.
478 * iconvdata/utf-32.c (gconv_end): Likewise.
479 * iconvdata/utf-7.c (base64): Likewise.
480 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
481 * iconv/gconv_close.c (__gconv_close): Likewise.
482 * iconv/gconv_open.c (__gconv_open): Likewise.
483 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
484 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
485 internal_ucs4le_loop_single, ucs4le_internal_loop,
486 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
487 * iconv/iconv.c (iconv): Likewise.
488 * iconv/iconv_close.c: Likewise.
489 * iconv/loop.c (SINGLE): Likewise.
490 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
491 * include/atomic.h: Likewise.
492 * inet/inet6_option.c (option_alloc): Likewise.
493 * intl/bindtextdom.c (set_binding_values): Likewise.
494 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
495 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
496 * intl/localealias.c (read_alias_file): Likewise.
497 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
498 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
499 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
500 * libio/fmemopen.c (fmemopen): Likewise.
501 * libio/iofgets.c (_IO_fgets): Likewise.
502 * libio/iofgets_u.c (fgets_unlocked): Likewise.
503 * libio/iofgetws.c (fgetws): Likewise.
504 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
505 * libio/iogetdelim.c (_IO_getdelim): Likewise.
506 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
507 adjust_wide_data, _IO_wfile_seekoff): Likewise.
508 * locale/findlocale.c (_nl_find_locale): Likewise.
509 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
510 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
512 * locale/setlocale.c (setlocale): Likewise.
513 * login/programs/pt_chown.c (main): Likewise.
514 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
515 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
516 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
517 mmap, mmap64, mremap, munmap): Likewise.
518 * math/e_exp2l.c: Likewise.
519 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
520 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
521 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
522 * math/s_catan.c (__catan): Likewise.
523 * math/s_catanf.c (__catanf): Likewise.
524 * math/s_catanh.c (__catanh): Likewise.
525 * math/s_catanhf.c (__catanhf): Likewise.
526 * math/s_catanhl.c (__catanhl): Likewise.
527 * math/s_catanl.c (__catanl): Likewise.
528 * math/s_ccosh.c (__ccosh): Likewise.
529 * math/s_ccoshf.c (__ccoshf): Likewise.
530 * math/s_ccoshl.c (__ccoshl): Likewise.
531 * math/s_cexp.c (__cexp): Likewise.
532 * math/s_cexpf.c (__cexpf): Likewise.
533 * math/s_cexpl.c (__cexpl): Likewise.
534 * math/s_clog10.c (__clog10): Likewise.
535 * math/s_clog10f.c (__clog10f): Likewise.
536 * math/s_clog10l.c (__clog10l): Likewise.
537 * math/s_clog.c (__clog): Likewise.
538 * math/s_clogf.c (__clogf): Likewise.
539 * math/s_clogl.c (__clogl): Likewise.
540 * math/s_csin.c (__csin): Likewise.
541 * math/s_csinf.c (__csinf): Likewise.
542 * math/s_csinh.c (__csinh): Likewise.
543 * math/s_csinhf.c (__csinhf): Likewise.
544 * math/s_csinhl.c (__csinhl): Likewise.
545 * math/s_csinl.c (__csinl): Likewise.
546 * math/s_csqrt.c (__csqrt): Likewise.
547 * math/s_csqrtf.c (__csqrtf): Likewise.
548 * math/s_csqrtl.c (__csqrtl): Likewise.
549 * math/s_ctan.c (__ctan): Likewise.
550 * math/s_ctanf.c (__ctanf): Likewise.
551 * math/s_ctanh.c (__ctanh): Likewise.
552 * math/s_ctanhf.c (__ctanhf): Likewise.
553 * math/s_ctanhl.c (__ctanhl): Likewise.
554 * math/s_ctanl.c (__ctanl): Likewise.
555 * math/w_pow.c: Likewise.
556 * math/w_powf.c: Likewise.
557 * math/w_powl.c: Likewise.
558 * math/w_scalb.c (sysv_scalb): Likewise.
559 * math/w_scalbf.c (sysv_scalbf): Likewise.
560 * math/w_scalbl.c (sysv_scalbl): Likewise.
561 * misc/error.c (error_tail): Likewise.
562 * misc/pselect.c (__pselect): Likewise.
563 * nis/nis_callback.c (__nis_create_callback): Likewise.
564 * nis/nis_call.c (__nisfind_server): Likewise.
565 * nis/nis_creategroup.c (nis_creategroup): Likewise.
566 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
567 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
568 * nis/nis_getservlist.c (nis_getservlist): Likewise.
569 * nis/nis_lookup.c (nis_lookup): Likewise.
570 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
571 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
572 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
573 * nis/nis_xdr.c (xdr_endpoint): Likewise.
574 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
575 internal_getgrgid_r): Likewise.
576 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
578 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
579 internal_getpwuid_r): Likewise.
580 * nis/nss_compat/compat-spwd.c (getspent_next_file,
581 internal_getspnam_r): Likewise.
582 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
583 _nss_nis_getaliasbyname_r): Likewise.
584 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
585 _nss_nis_getntohost_r): Likewise.
586 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
587 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
589 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
590 internal_nis_gethostent_r, internal_gethostbyname2_r,
591 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
592 _nss_nis_gethostbyname4_r): Likewise.
593 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
594 initgroups_netid): Likewise.
595 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
596 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
597 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
598 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
599 _nss_nis_getprotobynumber_r): Likewise.
600 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
601 _nss_nis_getsecretkey): Likewise.
602 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
603 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
605 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
606 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
607 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
608 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
609 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
610 _nss_nis_getspnam_r): Likewise.
611 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
613 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
614 _nss_nisplus_getntohost_r): Likewise.
615 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
616 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
617 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
618 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
619 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
621 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
622 _nss_nisplus_getnetbyaddr_r): Likewise.
623 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
624 _nss_nisplus_getprotobynumber_r): Likewise.
625 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
626 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
627 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
629 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
630 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
631 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
632 _nss_nisplus_getspnam_r): Likewise.
633 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
634 * nscd/aicache.c (addhstaiX): Likewise.
635 * nscd/cache.c (cache_search, prune_cache): Likewise.
636 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
637 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
638 * nscd/grpcache.c (addgrbyX): Likewise.
639 * nscd/hstcache.c (addhstbyX): Likewise.
640 * nscd/initgrcache.c (addinitgroupsX): Likewise.
641 * nscd/mem.c (gc, mempool_alloc): Likewise.
642 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
644 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
646 * nscd/nscd_getai.c (__nscd_getai): Likewise.
647 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
648 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
650 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
651 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
652 * nscd/nscd_helper.c (__readvall, open_socket,
653 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
654 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
655 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
656 * nscd/pwdcache.c (addpwbyX): Likewise.
657 * nscd/selinux.c (preserve_capabilities): Likewise.
658 * nscd/servicescache.c (addservbyX): Likewise.
659 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
660 * posix/fnmatch.c (fnmatch): Likewise.
661 * posix/getopt.c (_getopt_internal_r): Likewise.
662 * posix/glob.c (glob, glob_in_dir): Likewise.
663 * posix/wordexp.c (exec_comm_child): Likewise.
664 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
665 gaih_getanswer_slice): Likewise.
666 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
667 * resolv/res_init.c: Likewise.
668 * resolv/res_mkquery.c (res_nmkquery): Likewise.
669 * resolv/res_query.c (__libc_res_nquery): Likewise.
670 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
672 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
673 * stdio-common/perror.c (perror): Likewise.
674 * stdio-common/printf_fp.c (___printf_fp): Likewise.
675 * stdio-common/tmpnam.c (tmpnam): Likewise.
676 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
677 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
678 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
679 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
680 * stdlib/putenv.c (putenv): Likewise.
681 * stdlib/setenv.c (__add_to_environ): Likewise.
682 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
683 * stdlib/strtol_l.c (INTERNAL): Likewise.
684 * string/memmem.c (memmem): Likewise.
685 * string/strerror.c (strerror): Likewise.
686 * string/strnlen.c (__strnlen): Likewise.
687 * string/test-memmem.c (simple_memmem): Likewise.
688 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
689 * sunrpc/pm_getport.c (__get_socket): Likewise.
690 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
691 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
692 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
693 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
695 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
696 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
698 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
699 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
700 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
701 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
702 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
703 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
704 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
705 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
706 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
708 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
710 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
711 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
712 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
713 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
719 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
721 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
722 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
723 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
724 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
725 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
728 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
729 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
731 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
732 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
734 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
735 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
737 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
739 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
741 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
743 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
745 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
746 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
747 * sysdeps/posix/opendir.c (__opendirat): Likewise.
748 * sysdeps/posix/sleep.c: Likewise.
749 * sysdeps/posix/tempname.c: Likewise.
750 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
751 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
754 elf_machine_rela): Likewise.
755 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
757 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
758 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
760 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
761 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
762 elf_machine_rela, elf_machine_lazy_rel): Likewise.
763 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
764 elf_machine_rela, elf_machine_lazy_rel): Likewise.
765 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
766 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
767 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
768 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
769 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
771 elf_machine_lazy_rel): Likewise.
772 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
774 elf_machine_lazy_rel): Likewise.
775 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
776 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
777 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
778 * sysdeps/unix/grantpt.c (grantpt): Likewise.
779 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
780 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
781 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
784 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
785 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
786 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
787 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
788 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
789 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
790 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
791 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
793 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
794 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
796 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
797 (__posix_fallocate64_l64): Likewise.
798 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
799 (posix_fallocate): Likewise.
800 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
802 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
803 getifaddrs_internal): Likewise.
804 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
805 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
806 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
807 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
808 * sysdeps/unix/sysv/linux/posix_fallocate64.c
809 (__posix_fallocate64_l64): Likewise.
810 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
812 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
815 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
816 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
817 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
820 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
821 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
824 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
825 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
826 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
828 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
829 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
830 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
832 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
833 (posix_fallocate): Likewise.
834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
835 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
836 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
837 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
838 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
840 * time/asctime.c (asctime_internal): Likewise.
841 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
842 * time/tzset.c (__tzset_parse_tz): Likewise.
843 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
844 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
845 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
846 * wcsmbs/wcsmbsload.h: Likewise.
848 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
851 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
853 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
855 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
856 arena_get2): Remove THREAD_STATS conditionals.
857 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
858 __malloc_stats, int): Likewise.
860 2014-02-08 Mike Frysinger <vapier@gentoo.org>
862 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
863 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
865 2014-02-08 Mike Frysinger <vapier@gentoo.org>
867 * manual/setjmp.texi: Fix typos/grammar errors.
869 2014-02-08 Mike Frysinger <vapier@gentoo.org>
871 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
872 Only return early when n is <= 0. Delete unused return statement.
874 2014-02-08 Mike Frysinger <vapier@gentoo.org>
876 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
877 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
878 * debug/tst-longjmp_chk3.c: New file.
880 2014-02-08 Mike Frysinger <vapier@gentoo.org>
882 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
883 (test_main): Replace code with set_fortify_handler call.
884 * debug/test-strcpy_chk.c: Likewise.
885 * debug/tst-chk1.c: Likewise.
886 * debug/tst-longjmp_chk.c: Likewise.
887 * test-skeleton.c: Include fcntl.h & paths.h
888 (set_fortify_handler): Define.
890 2014-02-08 Mike Frysinger <vapier@gentoo.org>
892 * debug/tst-longjmp_chk.c: Add header comment and include
894 (do_test): Mark static.
895 (TEST_FUNCTION): Define.
897 2014-02-08 Mike Frysinger <vapier@gentoo.org>
899 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
900 (IP_PMTUDISC_INTERFACE): Likewise.
901 (IP_MULTICAST_IF): Likewise.
902 (IP_MULTICAST_TTL): Likewise.
903 (IP_MULTICAST_LOOP): Likewise.
904 (IP_ADD_MEMBERSHIP): Likewise.
905 (IP_DROP_MEMBERSHIP): Likewise.
906 (IP_UNBLOCK_SOURCE): Likewise.
907 (IP_BLOCK_SOURCE): Likewise.
908 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
909 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
910 (IP_MSFILTER): Likewise.
911 (MCAST_JOIN_GROUP): Likewise.
912 (MCAST_BLOCK_SOURCE): Likewise.
913 (MCAST_UNBLOCK_SOURCE): Likewise.
914 (MCAST_LEAVE_GROUP): Likewise.
915 (MCAST_JOIN_SOURCE_GROUP): Likewise.
916 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
917 (MCAST_MSFILTER): Likewise.
918 (IP_MULTICAST_ALL): Likewise.
919 (IP_UNICAST_IF): Likewise.
921 2014-02-08 Mike Frysinger <vapier@gentoo.org>
923 * timezone/Makefile: Delete $(have-ksh) check.
924 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
925 * timezone/tzselect.ksh: Add +x mode bits.
927 2014-02-08 Mike Frysinger <vapier@gentoo.org>
929 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
930 (ANON_INODE_FS_MAGIC): Likewise.
931 (BDEVFS_MAGIC): Likewise.
932 (BINFMTFS_MAGIC): Likewise.
933 (BTRFS_TEST_MAGIC): Likewise.
934 (CRAMFS_MAGIC_WEND): Likewise.
935 (DEBUGFS_MAGIC): Likewise.
936 (ECRYPTFS_SUPER_MAGIC): Likewise.
937 (EXT3_SUPER_MAGIC): Likewise.
938 (EXT4_SUPER_MAGIC): Likewise.
939 (FUTEXFS_SUPER_MAGIC): Likewise.
940 (HOSTFS_SUPER_MAGIC): Likewise.
941 (HUGETLBFS_MAGIC): Likewise.
942 (MINIX3_SUPER_MAGIC): Likewise.
943 (MTD_INODE_FS_MAGIC): Likewise.
944 (NILFS_SUPER_MAGIC): Likewise.
945 (OPENPROM_SUPER_MAGIC): Likewise.
946 (PIPEFS_MAGIC): Likewise.
947 (PSTOREFS_MAGIC): Likewise.
948 (QNX6_SUPER_MAGIC): Likewise.
949 (RAMFS_MAGIC): Likewise.
950 (REISERFS_SUPER_MAGIC_STRING): Likewise.
951 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
952 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
953 (SECURITYFS_MAGIC): Likewise.
954 (SELINUX_MAGIC): Likewise.
955 (SMACK_MAGIC): Likewise.
956 (SOCKFS_MAGIC): Likewise.
957 (SQUASHFS_MAGIC): Likewise.
958 (STACK_END_MAGIC): Likewise.
959 (TMPFS_MAGIC): Likewise.
960 (USBDEVICE_SUPER_MAGIC): Likewise.
961 (V9FS_MAGIC): Likewise.
962 (XENFS_SUPER_MAGIC): Likewise.
963 (CRAMFS_MAGIC): Fix typo in comment.
964 (EXT2_SUPER_MAGIC): Update comment.
965 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
967 2014-02-08 Joseph Myers <joseph@codesourcery.com>
969 * sysdeps/arm: Move directory from ports/sysdeps/arm.
970 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
971 * sysdeps/unix/sysv/linux/arm: Move directory from
972 ports/sysdeps/unix/sysv/linux/arm.
973 * README: Update listing for arm-*-linux-gnueabi.
975 * README: Remove mention of am33.
977 2014-02-07 Roland McGrath <roland@hack.frob.com>
979 * bits/sigset.h (__sigemptyset): Use a statement expression rather
980 than the comma operator, to avoid "rhs of comma has no effect"
982 (__sigfillset, __sigandset, __sigorset): Likewise.
983 * include/signal.h (__sigemptyset): Likewise.
984 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
986 2014-02-07 Allan McRae <allan@archlinux.org>
988 * version.h (RELEASE): Set to "development".
989 (VERSION): Set to "2.19.90"
990 * NEWS: Add 2.20 section.
992 2014-02-06 Carlos O'Donell <carlos@redhat.com>
995 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
997 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
999 * manual/contrib.texi: Update entry for Carlos O'Donell,
1000 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1002 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1004 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1006 * sysdeps/unix/sysv/linux/kernel-features.h
1007 [__LINUX_KERNEL_VERSION >= 0x020621]
1008 (__ASSUME_PROC_PID_TASK_COMM): Define.
1010 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1012 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1013 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1014 Leonard and Allan McRae.
1016 2014-02-04 David S. Miller <davem@davemloft.net>
1018 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1021 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1050 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1053 * shlib-versions: Likewise.
1055 2014-02-04 Roland McGrath <roland@hack.frob.com>
1056 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1059 (abilist-pattern): New variable, set to %-le.abilist.
1061 * Makerules (abilist-pattern): New variable.
1062 (vpath): Use $(abilist-pattern) in place of %.abilist.
1063 (check-abi-% pattern rule): Likewise.
1064 (check-abi, update-abi): Likewise.
1066 2014-02-04 Eric Wong <normalperson@yhbt.net>
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1070 2014-02-04 Eric Wong <normalperson@yhbt.net>
1072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1074 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1076 * manual/startup.texi: Add next, previous, and top entries for
1077 the `Program Arguments' and `Environment Variables' nodes.
1079 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1081 * manual/macros.texi: Add comments before MTASC-safety macros.
1083 * manual/users.texi: Document MTASC-safety properties.
1085 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1086 pthread_getspecific, pthread_setspecific): Format with
1087 @deftypefun, and add @safety note.
1088 * manual/signal.texi: Move comments that analyze the above
1089 functions to their home place.
1091 2014-02-03 Allan McRae <allan@archlinux.org>
1093 * po/sl.po: Update Slovenian translation from translation project.
1095 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1097 * manual/time.texi (timegm): Add missing blank after @c.
1098 Reported by Joseph Myers <joseph@codesourcery.com>.
1100 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1102 * manual/check-safety.sh: New.
1103 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1105 * manual/terminal.texi: Document MTASC-safety properties.
1107 * manual/filesys.texi: Document MTASC-safety properties.
1109 * manual/errno.texi: Document MTASC-safety properties.
1111 * manual/intro.texi: Document safety identifiers and
1114 * manual/string.texi (wcstok): Fix prototype.
1115 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1117 * manual/time.texi: Document MTASC-safety properties.
1119 * manual/string.texi: Document MTASC-safety properties.
1121 * manual/threads.texi: Document MTASC-safety properties.
1123 * manual/stdio.texi: Document MTASC-safety properties.
1125 * manual/syslog.texi: Document MTASC-safety properties.
1127 * manual/sysinfo.texi: Document MTASC-safety properties.
1129 * manual/startup.texi: Document MTASC-safety properties.
1131 * manual/socket.texi: Document MTASC-safety properties.
1133 * manual/signal.texi: Document MTASC-safety properties.
1135 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1137 * manual/setjmp.texi: Document MTASC-safety properties.
1139 * manual/search.texi: Document MTASC-safety properties.
1141 * manual/resource.texi: Document MTASC-safety properties.
1143 * manual/process.texi: Document MTASC-safety properties.
1145 * manual/platform.texi: Document MTASC-safety properties.
1147 * manual/pipe.texi: Document MTASC-safety properties.
1149 * manual/pattern.texi: Document MTASC-safety properties.
1151 * manual/message.texi: Document MTASC-safety properties.
1154 * manual/memory.texi: Document MTASC-safety properties.
1156 * manual/math.texi: Document MTASC-safety properties.
1158 * manual/locale.texi: Document MTASC-safety properties.
1160 * manual/llio.texi: Document MTASC-safety properties.
1162 * manual/libdl.texi: New.
1164 * manual/lang.texi: Document MTASC-safety properties.
1166 * manual/job.texi: Document MTASC-safety properties.
1168 * manual/getopt.texi: Document MTASC-safety properties.
1170 * manual/ctype.texi: Document MTASC-safety properties.
1172 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1175 * csu/libc-tls.c (static_map): Remove variable.
1176 (__libc_setup_tls): Use main executable's link map for TLS data.
1177 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1178 casing for LM_ID_BASE and GL(dl_nns).
1179 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1180 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1181 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1182 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1183 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1185 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1188 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1190 * manual/debug.texi: Document MTASC-safety properties.
1192 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1195 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1196 of __x86_64__ when disabling x87 inline functions.
1198 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1200 * manual/charset.texi: Document MTASC-safety properties.
1202 * manual/crypt.texi: Document MTASC-safety properties.
1204 * manual/conf.texi: Document MTASC-safety properties.
1206 * manual/arith.texi: Document MTASC-safety properties.
1208 * manual/argp.texi: Document MTASC-safety properties.
1210 * manual/macros.texi: Introduce macros to document multi
1211 thread, asynchronous signal and asynchronous cancellation
1213 * manual/intro.texi: Introduce the properties themselves.
1215 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1217 * sysdeps/sh/sh4/Makefile: New file.
1219 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1221 * math/gen-libm-test.pl ($srcdir): New variable.
1222 ($auto_input): Use it.
1224 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1227 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1228 access beyond array bounds when parsing netgroups file.
1230 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1231 the old buffer before realloc.
1233 2014-01-27 Allan McRae <allan@archlinux.org>
1235 * po/fr.po: Update French translation from translation project.
1237 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1239 * sysdeps/sh/libm-test-ulps: Regenerate.
1241 2014-01-24 David S. Miller <davem@davemloft.net>
1243 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1245 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1248 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1250 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1253 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1254 string pointers after reallocation.
1256 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1258 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1259 __SH4A__ instead of __SH_FPU_ANY__.
1261 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1263 * sysdeps/sh/fpu_control.h: New file.
1264 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1265 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1266 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1267 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1268 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1269 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1270 * sysdeps/sh/sys/ucontext.h: Remove.
1271 * sysdeps/sh/sys: Remove directory.
1273 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1275 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1276 s390/sys/ucontext.h.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1278 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1280 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1283 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1285 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1289 Adjust the vDSO correctly for internal calls.
1290 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1292 2014-01-20 Allan McRae <allan@archlinux.org>
1294 * po/ca.po: Update Catalan translation from translation project.
1296 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1298 * sysdeps/s390/sotruss-lib.c: New file.
1300 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1303 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1304 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1305 local calls issues by not having a PLT stub required for IFUNC calls.
1306 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1308 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1310 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1311 * math/test-fpucw-static.c: Likewise.
1313 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1316 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1318 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1320 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1321 implementation for powerpc.
1323 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1326 * sysdeps/posix/system.c (__libc_system): Do not enable
1327 asynchronous cancellation.
1329 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1332 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1333 handling only for numbers special also in the IEEE case.
1335 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1337 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1339 2014-01-11 Allan McRae <allan@archlinux.org>
1341 * po/bg.po: Update Bulgarian translation from translation project.
1343 * po/de.po: Update German translation from translation project.
1345 2014-01-10 Roland McGrath <roland@hack.frob.com>
1347 * sysdeps/generic/gcc-compat.h: New file.
1349 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1351 * benchtests/asin-inputs: Correct slow inputs.
1352 * benchtests/acos-inputs: Likewise.
1354 2014-01-10 Allan McRae <allan@archlinux.org>
1356 * po:sv.po: Update Swedish translation from translation project.
1358 * po/vi.po: Update Vietnamese translation from translation project.
1360 * po/eo.po: Update Esperanto translation from translation project.
1362 * po/cs.po: Update Czech translation from translation project.
1364 * po/nl.po: Update Dutch translation from translation project.
1366 * po/pl.po: Update Polish translation from translation project.
1368 * po/ru.po: Update Russian translation from translation project.
1370 * po/uk.po: Update Ukrainian translation from translation project.
1372 2014-01-08 Brooks Moses <bmoses@google.com>
1374 * elf/dl-load.c: Fix comment typo.
1376 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1378 * po/header.pot: Rename to...
1379 * po/pot.header: ... this.
1380 * po/Makefile: Use pot.header.
1382 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1383 Maxim Kuvyrkov <maxim@kugelworks.com>
1386 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1387 SRC and DEST against LEN.
1389 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1394 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1396 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1400 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1403 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1404 for large positive arguments.
1406 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1408 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1410 * math/auto-libm-test-in: Mark various tests with
1411 xfail-rounding:ldbl-128ibm.
1412 * math/auto-libm-test-out: Regenerated.
1415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1416 Increase overflow threshold.
1418 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1421 * stdio-common/vfprintf.c: Check for integer overflow.
1423 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1425 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1426 the first argument and return value of __tls_get_addr_internal.
1428 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1430 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1431 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1433 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1435 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1436 * sysdeps/s390/rtld-global-offsets.sym: New file.
1437 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1439 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1440 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1441 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1443 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1444 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1450 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1451 halfs of GPRs for high_gprs contexts.
1452 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1453 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1455 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1457 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1459 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1460 for high GPRs (uc_high_gprs) and for future extensions
1462 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1463 for future extensions (__reserved).
1464 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1466 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1467 SC_HIGHGPRS offset definition.
1468 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1469 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1471 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1473 * Versions.def: Add GLIBC_2.19 for libpthread.
1474 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1475 siglongjmp for libpthread with GLIBC_2.19 symver.
1476 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1477 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1478 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1479 * sysdeps/s390/__longjmp.c: New file.
1480 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1481 * sysdeps/s390/longjmp.c: New file.
1482 * sysdeps/s390/setjmp.S: New file.
1483 * sysdeps/s390/sigjmp.S: New file.
1484 * sysdeps/s390/v1-longjmp.c: New file.
1485 * sysdeps/s390/v1-setjmp.h: New file.
1486 * sysdeps/s390/v1-sigjmp.c: New file.
1487 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1488 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1490 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1491 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1492 versioned symbols for ____longjmp_chk.
1493 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1503 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1504 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1505 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1506 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1507 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1508 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1509 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1510 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1511 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1512 * sysdeps/s390/rtld-__longjmp.c: New file.
1513 * sysdeps/s390/rtld-setjmp.S: New file.
1515 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1519 Return -__logl (x) for small positive arguments without evaluating
1522 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1524 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1526 (__ptrace_peeksiginfo_args): ... this.
1527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1531 2014-01-06 Allan McRae <allan@archlinux.org>
1533 * inet/netinet/in.h: Fix typo in comment.
1535 2014-01-05 Andreas Jaeger <aj@suse.de>
1537 * sysdeps/i386/fpu/libm-test-ulps: Update.
1539 2014-01-05 Allan McRae <allan@archlinux.org>
1541 * po/libc.pot: Regenerated.
1543 * malloc/memusagestat.c: Fix gettext call formatting.
1545 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1547 * nscd/nscd.c: Improve usage() output.
1549 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1551 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1552 * sysdeps/unix/sysv/linux/configure: Regenerated.
1553 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1554 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1556 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1559 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1560 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1562 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1565 extra tokens at end of #undef directive.
1566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1570 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1572 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1574 * math/auto-libm-test-in: Mark various tests with
1575 xfail-rounding:ldbl-128ibm.
1576 * math/auto-libm-test-out: Regenerated.
1578 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1581 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1582 numbers with subnormal high part when calculating exponent.
1585 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1591 (__ieee754_acoshl): Use __log1pl not __log1p.
1593 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1595 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1596 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1597 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1598 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1599 Convert to GNU style.
1600 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1601 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1602 memalign_check, __malloc_set_state): Likewise.
1603 * malloc/mallocbug.c (main): Likewise.
1604 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1605 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1606 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1607 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1608 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1609 * malloc/malloc.h: Likewise.
1610 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1611 memalignhook, reallochook, mabort): Likewise.
1612 * malloc/mcheck.h: Likewise.
1613 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1614 mmap64, mremap, munmap, dest): Likewise.
1615 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1616 * malloc/morecore.c (__default_morecore): Likewise.
1617 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1618 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1619 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1620 print_and_abort): Likewise.
1621 * malloc/obstack.h: Likewise.
1622 * malloc/set-freeres.c (__libc_freeres): Likewise.
1623 * malloc/tst-mallocstate.c (main): Likewise.
1624 * malloc/tst-mtrace.c (main): Likewise.
1625 * malloc/tst-realloc.c (do_test): Likewise.
1627 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1630 * nscd/netgroupcache.c (do_notfound): New function.
1631 (addgetnetgrentX): Use it.
1634 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1635 NSS_STATUS_NOTFOUND.
1637 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1639 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1642 2014-01-01 Allan McRae <allan@archlinux.org>
1644 * scripts/update-copyrights: Update configure input file suffix.
1646 * NEWS: Update copyright year.
1647 * catgets/gencat.c: Likewise.
1648 * csu/version.c: Likewise.
1649 * debug/catchsegv.sh: Likewise.
1650 * debug/pcprofiledump.c: Likewise.
1651 * debug/xtrace.sh: Likewise.
1652 * elf/ldconfig.c: Likewise.
1653 * elf/ldd.bash.in: Likewise.
1654 * elf/pldd.c: Likewise.
1655 * elf/sotruss.ksh: Likewise.
1656 * elf/sprof.c: Likewise.
1657 * iconv/iconv_prog.c: Likewise.
1658 * iconv/iconvconfig.c: Likewise.
1659 * locale/programs/locale.c: Likewise.
1660 * locale/programs/localedef.c: Likewise.
1661 * login/programs/pt_chown.c: Likewise.
1662 * malloc/memusage.sh: Likewise.
1663 * malloc/memusagestat.c: Likewise.
1664 * malloc/mtrace.pl: Likewise.
1665 * manual/libc.texinfo: Likewise.
1666 * nscd/nscd.c: Likewise.
1667 * nss/getent.c: Likewise.
1668 * nss/makedb.c: Likewise.
1669 * posix/getconf.c: Likewise.
1670 * scripts/test-installation.pl: Likewise.
1672 * All files with FSF copyright notices: Update copyright dates
1673 using scripts/update-copyrights.
1674 * intl/plural.c: Regenerated.
1675 * locale/programs/charmap-kw.h: Likewise.
1676 * locale/programs/locfile-kw.h: Likewise.
1678 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1680 * sysdeps/unix/sysv/linux/configure: Regenerated.
1681 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1682 the linux/fanotify.h header.
1683 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1684 HAVE_LINUX_FANOTIFY_H is defined.
1686 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1688 * benchtests/cos-inputs: New inputs.
1689 * benchtests/sin-inputs: Likewise.
1691 * benchtests/atan-inputs: New inputs. Fix name of multiple
1692 precision fallback inputs.
1694 * benchtests/atanh-inputs: New inputs.
1695 * benchtests/tanh-inputs: Likewise.
1697 * benchtests/acosh-inputs: New inputs.
1698 * benchtests/asinh-inputs: Likewise.
1700 * benchtests/cosh-inputs: New inputs.
1701 * benchtests/sinh-inputs: Likewise.
1703 * benchtests/acos-inputs: Add more inputs.
1704 * benchtests/asin-inputs: Likewise.
1706 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1709 * manual/arith.texi: Fix spelling.
1710 * manual/charset.texi: Likewise.
1711 * manual/errno.texi: Likewise.
1712 * manual/filesys.texi: Likewise.
1713 * manual/lang.texi: Likewise.
1714 * manual/llio.texi: Likewise.
1715 * manual/locale.texi: Likewise.
1716 * manual/message.texi: Likewise.
1717 * manual/resource.texi: Likewise.
1718 * manual/search.texi: Likewise.
1719 * manual/setjmp.texi: Likewise.
1720 * manual/stdio.texi: Likewise.
1721 * manual/string.texi: Likewise.
1722 * manual/sysinfo.texi: Likewise.
1723 * manual/time.texi: Likewise.
1725 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1727 * po/sl.po: New file.
1729 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1731 * .gitignore: Add core/.gdbinit/.gdb_history.
1733 2013-12-27 Allan McRae <allan@archlinux.org>
1736 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1737 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1739 2013-12-24 Brooks Moses <bmoses@google.com>
1741 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1742 all compilers that claim C++98 compliance, not just GCC.
1743 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1746 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1748 * NEWS: Restore accidentally deleted bug-fix entries.
1750 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1751 Ondřej Bílka <neleai@seznam.cz>
1754 * malloc/malloc.c (_int_free): Perform sanity check only if we
1757 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1760 * manual/stdio.texi (String Input Conversions): Clarify that character
1761 classes are not supported.
1763 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1767 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1771 Calculate results for small negative arguments directly rather
1772 than using reflection formula with special underflow handling.
1774 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1775 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1776 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1777 (fchflags): Likewise.
1779 (setlogin): Likewise.
1780 (sigaltstack): Likewise.
1783 (sigsetmask): Likewise.
1785 (waitpid): Likewise.
1786 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1787 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1789 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1790 * sysdeps/unix/bsd/Makefile: ... here.
1791 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1792 * sysdeps/unix/bsd/Versions: ... here.
1793 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1794 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1795 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1796 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1797 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1798 * sysdeps/unix/bsd/sigblock.c: ... here.
1799 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1800 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1801 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1802 * sysdeps/unix/bsd/sigvec.c: ... here.
1803 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1804 * sysdeps/unix/bsd/tcdrain.c: ... here.
1805 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1806 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1807 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1808 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1809 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1810 * sysdeps/unix/bsd/wait.c: ... here.
1811 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1812 * sysdeps/unix/bsd/wait3.c: ... here.
1813 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1814 * sysdeps/unix/bsd/waitpid.c: ... here.
1816 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1819 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1820 round-to-nearest for [!USE_AS_EXPM1L].
1821 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1822 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1823 more tests of exp and exp10. Expect some exp10 tests to miss
1824 exceptions or fail in directed rounding modes.
1825 * math/auto-libm-test-out: Regenerated.
1826 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1827 (exp10_test_tonearest): New function.
1828 (exp10_towardzero_test_data): New array.
1829 (exp10_test_towardzero): New function.
1830 (exp10_downward_test_data): New array.
1831 (exp10_test_downward): New function.
1832 (exp10_upward_test_data): New array.
1833 (exp10_test_upward): New function.
1834 (main): Call the new functions.
1835 * sysdeps/i386/fpu/libm-test-ulps: Update.
1836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1838 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1840 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1841 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1842 * math/auto-libm-test-out: Regenerated.
1843 * math/libm-test.inc (acosh_test_data): Add more tests.
1844 (atanh_test_data): Likewise.
1845 (ceil_test_data): Likewise.
1846 (copysign_test_data): Likewise.
1847 * sysdeps/i386/fpu/libm-test-ulps: Update.
1848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1850 * timezone/checktab.awk: Update from tzcode 2013i.
1851 * timezone/private.h: Likewise.
1852 * timezone/scheck.c: Likewise.
1853 * timezone/tzfile.h: Likewise.
1854 * timezone/tzselect.ksh: Likewise.
1855 * timezone/zdump.c: Likewise.
1856 * timezone/zic.c: Likewise.
1858 * math/auto-libm-test-in: Add tests of cpow.
1859 * math/auto-libm-test-out: Regenerated.
1860 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1861 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1863 (func_calc_desc): Add mpc_cc_c union field.
1864 (test_functions): Add cpow.
1865 (special_fill_2pi): New function.
1866 (special_real_inputs): Add 2pi.
1867 (calc_generic_results): Handle mpc_cc_c.
1868 * sysdeps/i386/fpu/libm-test-ulps: Update.
1869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1871 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1872 csqrt, ctan and ctanh.
1873 * math/auto-libm-test-out: Regenerated.
1874 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1875 (TEST_COND_x86): Likewise.
1876 (ccos_test_data): Use AUTO_TESTS_c_c.
1877 (ccosh_test_data): Likewise.
1878 (cexp_test_data): Likewise.
1879 (clog_test_data): Likewise.
1880 (csqrt_test_data): Likewise.
1881 (ctan_test_data): Likewise.
1882 (ctan_tonearest_test_data): Likewise.
1883 (ctan_towardzero_test_data): Likewise.
1884 (ctan_downward_test_data): Likewise.
1885 (ctan_upward_test_data): Likewise.
1886 (ctanh_test_data): Likewise.
1887 (ctanh_tonearest_test_data): Likewise.
1888 (ctanh_towardzero_test_data): Likewise.
1889 (ctanh_downward_test_data): Likewise.
1890 (ctanh_upward_test_data): Likewise.
1891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1893 (func_calc_desc): Add mpc_c_c union field.
1894 (FUNC_mpc_c_c): New macro.
1895 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1896 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1898 (special_fill_min_subnorm_p120): New function.
1899 (special_real_inputs): Add min_subnorm_p120.
1900 (calc_generic_results): Handle mpc_c_c.
1901 * sysdeps/i386/fpu/libm-test-ulps: Update.
1902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1904 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1906 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1907 do_sin_slow): New functions.
1908 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1909 cslow2, csloww1, csloww2): Use the new functions.
1911 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1912 Use M to change sign of result instead of X. Assume X is
1914 (csloww1): Likewise.
1918 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1925 (sloww1): Don't adjust sign of DX.
1926 (csloww1): Likewise.
1927 (sloww2): Use X directly and don't adjust sign of DX.
1928 (csloww2): Likewise.
1930 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1932 * math/auto-libm-test-in: Add tests of cabs and carg.
1933 * math/auto-libm-test-out: Regenerated.
1934 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1935 (carg_test_data): Likewise.
1936 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1938 (func_calc_desc): Add mpc_c_f union field.
1939 (test_functions): Add cabs and carg.
1940 (calc_generic_results): Handle mpc_c_f.
1942 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1943 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1944 as a macro and a compat symbol.
1945 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1946 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1947 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1948 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1949 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1950 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1952 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1954 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1956 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1958 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1960 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1962 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1963 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1966 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1970 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1972 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1973 trailing whitespace removed.
1974 * scripts/config.guess: Update to version 2013-11-29.
1975 * scripts/config.sub: Update to version 2013-10-01.
1977 * math/auto-libm-test-in: Add tests of sincos.
1978 * math/auto-libm-test-out: Regenerated.
1979 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1980 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1982 (func_calc_desc): Add mpfr_f_11 union field.
1983 (test_functions): Add sincos.
1984 (calc_generic_results): Handle mpfr_f_11.
1985 * sysdeps/i386/fpu/libm-test-ulps: Update.
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1988 2013-12-19 Andreas Schwab <schwab@suse.de>
1990 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1992 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1993 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1994 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1996 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1998 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1999 * sysdeps/i386/fpu/libm-test-ulps: Update.
2000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2004 round-to-nearest mode when using frndint.
2005 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2006 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2009 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2011 * math/auto-libm-test-out: Regenerated.
2012 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2013 (TEST_COND_x86): Likewise.
2014 (expm1_tonearest_test_data): New array.
2015 (expm1_test_tonearest): New function.
2016 (expm1_towardzero_test_data): New array.
2017 (expm1_test_towardzero): New function.
2018 (expm1_downward_test_data): New array.
2019 (expm1_test_downward): New function.
2020 (expm1_upward_test_data): New array.
2021 (expm1_test_upward): New function.
2022 (main): Run the new test functions.
2023 * sysdeps/i386/fpu/libm-test-ulps: Update.
2024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2026 * include/features.h: Update comment documenting feature test
2027 macros. Mention _DEFAULT_SOURCE in comment.
2028 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2029 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2030 _BSD_SOURCE and _SVID_SOURCE.
2031 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2032 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2033 !_SVID_SOURCE]: Likewise.
2034 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2035 (__USE_POSIX_IMPLICITLY): Define.
2036 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2037 (_POSIX_SOURCE): Undefine and redefine.
2038 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2039 (_POSIX_C_SOURCE): Likewise.
2040 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2041 (Feature Test Macros): Update documentation of default features.
2043 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2045 * benchtests/Makefile: Add bench-strtok.
2046 * benchtests/bench-strtok.c: New file: strtok benchtest.
2048 2013-12-19 Allan McRae <allan@archlinux.org>
2050 * manual/install.texi: Suppress menu for plain text output.
2051 * INSTALL: Regenerated.
2053 2013-12-18 Brooks Moses <bmoses@google.com>
2056 * misc/getauxval.c: Include errno.h.
2057 (__getauxval): Set errno to ENOENT if the requested type is not
2059 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2060 don't declare with __attribute_const__.
2061 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2062 * manual/startup.texi: Document that getauxval sets errno.
2064 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2066 * math/auto-libm-test-in: Add tests of jn and yn.
2067 * math/auto-libm-test-out: Regenerated.
2068 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2069 (yn_test_data): Likewise.
2070 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2072 (func_calc_desc): Add mpfr_if_f union field.
2073 (FUNC_mpfr_if_f): New macro.
2074 (test_functions): Add jn and yn.
2075 (calc_generic_results): Assert type of second input for
2076 mpfr_ff_f. Handle mpfr_if_f.
2077 (output_for_one_input_case): Disable all checking for arguments
2078 fitting floating-point types in case of an integer argument.
2079 * sysdeps/i386/fpu/libm-test-ulps: Update.
2080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2083 Don't expect fegetround reference in libm.so.
2085 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2087 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2088 $(config-cflags-nofma).
2090 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2092 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2093 * math/auto-libm-test-out: Regenerated.
2096 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2097 to determine exponent and adjust argument to have exponent of -1.
2098 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2100 * math/auto-libm-test-out: Regenerated.
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2106 * manual/probes.texi: Remove cases when per-thread arenas are
2109 2013-12-18 Andreas Schwab <schwab@suse.de>
2111 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2112 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2113 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2114 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2115 * sysdeps/i386/i686/multiarch/Makefile: Update.
2116 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2118 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2120 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2121 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2123 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2126 Support TZ transition times < 00:00:00.
2127 This is needed for version-3 tz-format files; it supports time
2128 stamps past 2037 for America/Godthab (the only entry in the tz
2129 database for which this change is relevant).
2130 * manual/time.texi (TZ Variable): Document transition times
2131 from -167:59:59 through -00:00:01.
2132 * time/tzset.c (tz_rule): Time of day is now signed.
2133 (__tzset_parse_tz): Parse negative time of day.
2135 Document TZ transition times >= 25:00:00.
2136 * manual/time.texi (TZ Variable): Document transition times from
2137 25:00:00 through 167:59:59. These are already supported, and this
2138 support will help with version-3 tz-format files.
2140 * manual/time.texi (TZ Variable): Modernize North America example
2141 to reflect current (i.e., 2007-and-later) daylight saving rules.
2143 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2145 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2147 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2148 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2151 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2152 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2153 * sysdeps/unix/bsd/clock.c: Likewise.
2154 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2155 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2156 * sysdeps/unix/bsd/init-posix.c: Likewise.
2157 * sysdeps/unix/bsd/poll.c: Likewise.
2158 * sysdeps/unix/bsd/ptsname.c: Likewise.
2159 * sysdeps/unix/bsd/seekdir.c: Likewise.
2160 * sysdeps/unix/bsd/setegid.c: Likewise.
2161 * sysdeps/unix/bsd/seteuid.c: Likewise.
2162 * sysdeps/unix/bsd/setgid.c: Likewise.
2163 * sysdeps/unix/bsd/setrgid.c: Likewise.
2164 * sysdeps/unix/bsd/setruid.c: Likewise.
2165 * sysdeps/unix/bsd/setsid.c: Likewise.
2166 * sysdeps/unix/bsd/setuid.c: Likewise.
2167 * sysdeps/unix/bsd/sigaction.c: Likewise.
2168 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2169 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2170 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2171 * sysdeps/unix/bsd/telldir.c: Likewise.
2172 * sysdeps/unix/bsd/times.c: Likewise.
2173 * sysdeps/unix/bsd/usleep.c: Likewise.
2175 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2176 ($(objpfx)libbsd-compat.a): Remove rule.
2178 * include/features.h (__FAVOR_BSD): Do not define.
2179 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2180 features conflicting with POSIX.
2181 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2182 (_BSD_SOURCE): Remove description of not being a subset of other
2183 feature test macros.
2184 * manual/job.texi (getpgrp): Do not document BSD version.
2185 (getpgid): Do not document by reference to BSD getpgrp.
2186 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2187 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2188 * signal/signal.h [__FAVOR_BSD]: Likewise.
2189 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2190 instead of making contents conditional on [__FAVOR_BSD].
2191 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2193 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2197 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2200 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2201 values below 2**-450, not 2**-500.
2202 * math/auto-libm-test-in: Don't allow spurious underflow from
2204 * math/auto-libm-test-out: Regenerated.
2208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2209 values of ha and hb and sort them after adjusting subnormal
2211 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2213 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2214 values of ea and eb and sort them after adjusting subnormal
2216 * math/auto-libm-test-in: Do not expect some hypot tests of
2217 subnormals to fail. Add more hypot tests.
2218 * math/auto-libm-test-out: Regenerated.
2220 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2223 * sysdeps/sh/s_fma.c: New file.
2224 * sysdeps/sh/s_fmaf.c: New file.
2225 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2227 * sysdeps/sh/Implies: Add sh/soft-fp.
2229 2013-12-16 Roland McGrath <roland@hack.frob.com>
2231 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2232 level of indirection to members `objname', `errstring', `malloced'.
2233 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2234 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2235 it as the __longjmp argument (just pass 1 instead).
2236 (_dl_catch_error): Initialize C with argument pointers and address of
2237 volatile local ERRCODE rather than copying values out of C at return.
2239 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2241 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2242 * math/auto-libm-test-out: Regenerated.
2243 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2244 (hypot_test_data): Likewise.
2245 (pow_test_data): Likewise.
2246 (pow_tonearest_test_data): Likewise.
2247 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2249 (func_calc_desc): Add mpfr_ff_f union field.
2250 (FUNC_mpfr_ff_f): New macro.
2251 (test_functions): Add atan2, hypot and pow.
2252 (special_fill_min): New function.
2253 (special_fill_minus_min): Likewise.
2254 (special_fill_min_subnorm): Likewise.
2255 (special_fill_minus_min_subnorm): Likewise.
2256 (special_real_inputs): Add min, -min, min_subnorm and
2258 (calc_generic_results): Handle mpfr_ff_f.
2259 * sysdeps/i386/fpu/libm-test-ulps: Update.
2260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2262 2013-12-16 Will Newton <will.newton@linaro.org>
2264 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2265 (Aligned Memory Blocks): Add documentation for aligned_alloc
2266 and suggest it as an alternative to posix_memalign.
2267 (Hooks for Malloc): Document __memalign_hook is also called
2268 for aligned_alloc. (Summary of Malloc): Add summary for
2269 aligned alloc. Document __memalign_hook is also called
2272 2013-12-16 Will Newton <will.newton@linaro.org>
2274 * manual/memory.texi (Malloc Examples): Clarify default
2275 alignment documentation. Suggest posix_memalign rather
2276 than memalign or valloc.
2277 (Aligned Memory Blocks): Remove suggestion to use memalign
2278 or valloc. Remove obsolete comment about BSD.
2279 Document memalign errno values and mark the function obsolete.
2280 Document posix_memalign returned error codes. Mark valloc
2281 as obsolete. (Hooks for Malloc): __memalign_hook is also
2282 called for posix_memalign and valloc.
2283 (Summary of Malloc): Add posix_memalign to function summary.
2284 __memalign_hook is also called for posix_memalign and valloc.
2286 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2288 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2292 (sloww): Use mynumber union. Expand ternary operator into
2294 (cslow): use mynumber union.
2296 2013-12-16 Allan McRae <allan@archlinux.org>
2298 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2299 * configure: Regenerated.
2301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2304 * configure.ac: Added --enable-maintainer-mode. Check for
2305 autoconf when enabled.
2306 * configure: Regenerated.
2308 * nscd/nscd.service: New file.
2309 * nscd/nscd.tmpfiles: New file.
2311 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2314 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2315 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2316 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2317 (strstr): Add __strstr_sse2_unaligned ifunc.
2318 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2319 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2320 (strcasestr): Remove __strcasestr_sse42 ifunc.
2321 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2325 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2327 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2328 * sysdeps/sh/bits/fenv.h: ... here.
2329 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2335 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2338 hypotf multiarch implementations.
2339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2342 multiarch hypot for PPC64.
2343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2346 multiarch hypotf for PPC64.
2348 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2351 modff multiarch implementations.
2352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2355 multiarch modf for PPC64.
2356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2359 multiarch modff for PPC64.
2361 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2364 and logl multiarch implementations.
2365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2368 multiarch logb for PPC64.
2369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2372 multiarch logb for PPC64.
2373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2376 multiarch logb for PPC64.
2378 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2381 isinff multiarch implementation.
2382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2386 multiarch isinf for PPC64.
2387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2390 multiarch isinff for PPC64.
2392 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2395 finitef multiarch implementation.
2396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2400 multiarch finite for PPC64.
2401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2404 multiarch finitef for PPC64.
2406 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2409 lrint multiarch implementation.
2410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2414 multiarch llrint for PPC64.
2415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2416 multiarch lrint for PPC64.
2418 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2421 copysignf multiarch implementation.
2422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2427 multiarch copysign for PPC64.
2428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2429 multiarch copysignf for PPC64.
2431 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2434 multiarch implementation.
2435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2443 multiarch llround for PPC64.
2444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2445 multiarch trunc for PPC64.
2446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2447 multiarch truncf for PPC64.
2449 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2452 multiarch implementation.
2453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2461 multiarch llround for PPC64.
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2463 multiarch round for PPC64.
2464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2465 multiarch roundf for PPC64.
2467 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2470 multiarch implementation.
2471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2479 multiarch llround for PPC64.
2480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2481 multiarch floor for PPC64.
2482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2483 multiarch floorf for PPC64.
2485 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2488 multiarch implementation.
2489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2497 multiarch llround for PPC64.
2498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2499 multiarch ceil for PPC64.
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2501 multiarch ceilf for PPC64.
2503 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2506 multiarch implementation.
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2514 multiarch llround for PPC64.
2515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2516 multiarch lround for PPC64.
2518 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2521 multiarch implementation.
2522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2529 multiarch isnan for PPC64.
2530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2531 multiarch isnanf for PPC64.
2533 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2536 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2537 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2538 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2539 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2542 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2545 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2546 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2549 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2552 multiarch implementations.
2553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2554 (__libc_ifunc_impl_list): Likewise.
2555 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2556 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2558 multiarch stpcpy for PPC64.
2560 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2563 multiarch implementations.
2564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2565 (__libc_ifunc_impl_list): Likewise.
2566 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2567 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2568 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2569 multiarch strcpy for PPC64.
2571 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2573 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2574 redefine function name.
2575 (_wordcopy_fwd_dest_aligned): Likewise.
2576 (_wordcopy_bwd_aligned): Likewise.
2577 (_wordcopy_bwd_dest_aligned): Likewise.
2578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2579 multiarch implementations.
2580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2581 (__libc_ifunc_impl_list): Likewise.
2582 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2584 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2586 multiarch wcscpy for PPC64.
2588 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2591 multiarch implementations.
2592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2593 (__libc_ifunc_impl_list): Likewise.
2594 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2595 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2596 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2597 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2598 multiarch wcscpy for PPC64.
2600 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2603 multiarch implementations.
2604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2605 (__libc_ifunc_impl_list): Likewise.
2606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2607 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2608 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2609 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2610 multiarch wcsrchr for PPC64.
2612 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2615 multiarch implementations.
2616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2617 (__libc_ifunc_impl_list): Likewise.
2618 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2619 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2620 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2621 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2622 multiarch wcschr for PPC64.
2624 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2627 multiarch implementations.
2628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2629 (__libc_ifunc_impl_list): Likewise.
2630 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2631 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2632 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2633 multiarch strchrnul for PPC64.
2635 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2640 (__libc_ifunc_impl_list): Likewise.
2641 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2642 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2643 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2644 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2647 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2652 (__libc_ifunc_impl_list): Likewise.
2653 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2654 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2656 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2659 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2662 multiarch implementations.
2663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2664 (__libc_ifunc_impl_list): Likewise.
2665 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2666 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2667 strncasecmp for PPC64.
2668 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2669 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2670 multiarch strncasecmp_l for PPC64.
2672 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2675 multiarch implementations.
2676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2677 (__libc_ifunc_impl_list): Likewise.
2678 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2680 multiarch strcasecmp for PPC64.
2681 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2683 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2684 multiarch strcasecmp_l for PPC64.
2686 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2691 (__libc_ifunc_impl_list): Likewise.
2692 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2693 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2694 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2697 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2702 (__libc_ifunc_impl_list): Likewise.
2703 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2704 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2705 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2708 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2713 (__libc_ifunc_impl_list): Likewise.
2714 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2715 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2716 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2717 rawmemrchr for PPC64.
2719 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2724 (__libc_ifunc_impl_list): Likewise.
2725 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2726 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2727 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2730 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2735 (__libc_ifunc_impl_list): Likewise.
2736 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2737 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2738 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2741 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2746 (__libc_ifunc_impl_list): Likewise.
2747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2749 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2752 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2754 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2755 avoid cretion of __bzero symbol.
2756 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2758 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2760 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2763 multiarch implementations.
2764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2765 (__libc_ifunc_impl_list): Likewise.
2766 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2767 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2768 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2769 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2771 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2772 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2773 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2774 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2775 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2777 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2779 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2781 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2785 (__libc_ifunc_impl_list): Likewise.
2786 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2787 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2788 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2789 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2792 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2795 multiarch for POWER/PPC64.
2796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2797 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2798 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2803 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2804 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2807 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2809 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2810 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2811 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2812 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2813 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2814 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2815 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2816 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2817 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2818 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2819 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2820 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2821 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2822 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2823 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2832 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2836 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * benchtests/Makefile (bench): Add exp2 and log2.
2839 (LDLIBS-bench-exp2): Add -lm.
2840 (LDLIBS-bench-log2): Likewise.
2841 * benchtests/exp2-inputs: New inputs file.
2842 * benchtests/log2-inputs: New inputs file.
2843 * benchtests/log-inputs: Add new inputs.
2844 * benchtests/tan-inputs: Likewise.
2846 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2848 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2850 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2851 csloww1, csloww2): ... from here.
2853 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2854 instead of structures.
2855 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2856 (POLYNOMIAL): Likewise.
2857 (TAYLOR_SLOW): Likewise.
2865 (bsloww1): Likewise.
2866 (bsloww2): Likewise.
2869 (csloww1): Likewise.
2870 (csloww2): Likewise.
2872 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2874 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2875 (__malloc_assert, __libc_realloc, __libc_calloc,
2876 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2878 * malloc/hooks.c (realloc_check): Likewise.
2880 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2882 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2883 * malloc/arena.c: Remove PER_THREAD conditional.
2884 [!PER_THREAD]: Remove code.
2885 (ptmalloc_unlock_all2): Likewise.
2886 (ptmalloc_init): Likewise.
2887 (_int_new_arena): Likewise.
2888 (arena_get2): Likewise.
2889 * malloc/hooks.c (__malloc_get_state): Likewise.
2890 (__malloc_set_state): Likewise.
2891 * malloc/malloc.c: Likewise.
2892 (struct malloc_state): Likewise.
2893 (struct malloc_par): Likewise.
2894 (__libc_realloc): Likewise.
2895 (__libc_mallopt): Likewise.
2897 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2901 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2903 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2904 macro to a function. Check for zero perturb_byte.
2905 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2907 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2909 * malloc/malloc.c: (force_reg): Remove.
2910 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2911 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2912 force_reg by atomic_forced_read.
2913 * malloc/arena.c (ptmalloc_init): Likewise.
2914 * malloc/hooks.c (top_check): Likewise.
2916 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2920 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2924 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2926 * math/auto-libm-test-in: Add tests of lgamma.
2927 * math/auto-libm-test-out: Regenerated.
2928 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2929 (M_LOG_2_SQRT_PIl): Likewise.
2930 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2931 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2933 (func_calc_desc): Add mpfr_f_f1 union field.
2942 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2943 (test_functions): Add lgamma.
2944 (calc_generic_results): Handle mpfr_f_f1.
2945 * sysdeps/i386/fpu/libm-test-ulps: Update.
2946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2950 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2951 __mpn_add_n for PowerPC64/POWER7.
2952 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2953 __mpn_sub_n for PowerPC64/POWER7.
2955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2957 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2958 __mpn_addmul_1 for PowerPC64.
2959 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2960 __mpn_submul_1 for PowerPC64.
2961 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2963 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2966 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2969 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2971 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2975 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2978 add multiarch folders.
2979 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2980 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2981 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2982 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2983 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2984 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2985 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2986 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2987 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2988 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2989 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2997 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3000 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3006 multiarch __ieee754_hypot for PowerPC32.
3007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3012 multiarch __ieee754_hypotf for PowerPC32.
3014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3017 long_double_symbol only if __logbl is defined.
3018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3019 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3021 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3023 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3024 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3025 path for implementation.
3026 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3029 logb, and logbl multiarch implementations for PowerPC32.
3030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3035 multiarch logb for PowerPC32.
3036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3041 multiarch logbf for PowerPC32.
3042 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3046 multiarch logbl implementation for PowerPC32.
3048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3051 and modff multiarch implementations.
3052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3057 multiarch modf for PowerPC32.
3058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3063 multiarch modff for PowerPC32.
3065 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3068 and lrintf multiarch implementations.
3069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3074 multiarch lrint for PowerPC32.
3075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3076 file: multiarch lrintf for PowerPC32.
3078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3081 and lroundf multiarch implementations.
3082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3089 multiarch lround for PowerPC32.
3090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3091 file: multiarch lroundf for PowerPC32.
3093 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3096 copysign and copysignf multiarch implementations.
3097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3102 file: multiarch copysign for PowerPC32.
3103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3104 file: multiarch copysignf for PowerPC32.
3106 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3109 and truncf multiarch implementations.
3110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3115 multiarch trunc for PowerPC32.
3116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3121 multiarch truncf for PowerPC32.
3123 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3126 and roundf multiarch implementations.
3127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3132 multiarch round for PowerPC32.
3133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3138 multiarch roundf for PowerPC32.
3140 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3143 and floorf multiarch implementations.
3144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3149 multiarch floor for PowerPC32.
3150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3155 multiarch floorf for PowerPC32.
3157 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3160 and ceilf multiarch implementations.
3161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3166 multiarch ceil for PowerPC32.
3167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3172 multiarch ceilf for PowerPC32.
3174 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3176 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3178 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3181 and finitef multiarch implementations.
3182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3187 multiarch finite for PowerPC32.
3188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3191 file: multiarch finitef for PowerPC32.
3193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3196 and isinff multiarch implementations.
3197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3202 multiarch isinf for PowerPC32.
3203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3206 multiarch isinff for PowerPC32.
3208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3211 alias when __isnan is defined.
3212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3213 and isnanf multiarch implementations.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3223 multiarch isnan for PowerPC32.
3224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3229 multiarch isnanf for PowerPC32.
3231 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3234 and sqrtf multiarch implementations.
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3240 multiarch sqrt for PowerPC32.
3241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3246 multiarch sqrtf for PowerPC32.
3248 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3251 and llroundf multiarch implementations.
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3259 file: multiarch llround for PowerPC32.
3260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3261 file: multiarch llroundf for PowerPC32.
3263 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3266 multiarch PowerPC32 fpu implementations.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3272 multiarch llrint for PowerPC32.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3280 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3284 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3286 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3288 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3290 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3292 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3293 multiarch wordcopy for PPC32.
3294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3297 (__libc_ifunc_impl_list): Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3299 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3300 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3301 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3302 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3303 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3305 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3315 multiarch wcscpy for PPC32.
3316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3319 (__libc_ifunc_impl_list): Likewise.
3320 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3321 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3322 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3323 sysdeps/powerpc/power6/wcscpy.c.
3325 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3327 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3335 multiarch wcsrchr for PPC32.
3336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3339 (__libc_ifunc_impl_list): Likewise.
3340 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3341 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3342 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3343 sysdeps/powerpc/power6/wcsrchr.c.
3345 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3353 multiarch wcschr for PPc32.
3354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3357 (__libc_ifunc_impl_list): Likewise.
3358 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3359 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3360 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3361 sysdeps/powerpc/power6/wcschr.c.
3363 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3365 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3366 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3368 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3369 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3370 file: multiarch strchr for PPC32.
3371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3374 (__libc_ifunc_impl_list): Likewise.
3376 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3380 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3382 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3384 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3385 multiarch strchrnul for PPC32.
3386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3389 (__libc_ifunc_impl_list): Likewise.
3391 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3395 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3396 multiarch strncasecmp for PPC32.
3397 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3399 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3400 multiarch strncasecmp_l for PPC32.
3401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3402 strncasecmp multiarch objects.
3403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3404 (__libc_ifunc_impl_list): Likewise.
3406 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3408 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3410 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3411 multiarch strncasecmp for PPC32.
3412 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3414 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3415 multiarch strcasecmp_l for PPC32.
3416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3419 (__libc_ifunc_impl_list): Likewise.
3421 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3423 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3425 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3428 multiarch strncmp for PPC32.
3429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3432 (__libc_ifunc_impl_list): Likewise.
3434 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3436 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3437 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3439 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3440 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3444 (__libc_ifunc_impl_list): Likewise.
3446 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3448 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3450 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3452 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3456 (__libc_ifunc_impl_list): Likewise.
3458 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3460 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3462 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3464 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3465 multiarch rawmemchr for PPC32.
3466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3469 (__libc_ifunc_impl_list): Likewise.
3471 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3473 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3475 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3477 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3478 file: memrchr multiarch for PPC32.
3479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3482 (__libc_ifunc_impl_list): Likewise.
3484 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3486 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3487 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3489 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3491 multiarch memchr for PPC32.
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3495 (__libc_ifunc_impl_list): Likewise.
3497 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3499 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3500 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3502 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3505 file: multiarch mempcpy for PPC32.
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3509 (__libc_ifunc_impl_list): Likewise.
3511 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3513 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3515 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3517 multiarch bzero for PPC32.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3520 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3522 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3523 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3524 file: multiarch memset for PPC32.
3525 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3527 memset multiarch objects.
3528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Likewise.
3531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3533 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3536 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3538 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3542 (__libc_ifunc_impl_list): Likewise.
3544 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3548 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3555 multiarch memcpy for PPC32.
3556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3559 (__libc_ifunc_impl_list): Likewise.
3561 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3564 support multiarch for POWER/PPC32.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3567 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3569 Implies file to make multiarch folder appers before the fpu and
3570 default folder for power4 configuration.
3572 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3574 * scripts/bench.pl: Append volatile keyword to type.
3576 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3578 * sysdeps/sh/sotruss-lib.c: New file.
3579 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3581 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3585 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3588 * math/w_tgamma.c: Include <errno.h>.
3589 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3590 * math/w_tgammaf.c: Include <errno.h>.
3591 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3592 * math/w_tgammal.c: Include <errno.h>.
3593 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3594 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3595 underflow. Add more tgamma tests.
3596 * math/auto-libm-test-out: Regenerated.
3597 * sysdeps/i386/fpu/libm-test-ulps: Update.
3598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3600 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3601 sin, sinh, tan, tanh, tgamma, y0 and y1.
3602 * math/auto-libm-test-out: Regenerated.
3603 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3604 (TEST_COND_x86): Likewise.
3605 (M_E2l): Remove macro.
3607 (M_2_SQRT_PIl): Likewise.
3608 (M_SQRT_PIl): Likewise.
3609 (M_1_DIV_El): Likewise.
3610 (log_test_data): Use AUTO_TESTS_f_f.
3611 (log10_test_data): Likewise.
3612 (log1p_test_data): Likewise.
3613 (log2_test_data): Likewise.
3614 (sin_test_data): Likewise.
3615 (sin_tonearest_test_data): Likewise.
3616 (sin_towardzero_test_data): Likewise.
3617 (sin_downward_test_data): Likewise.
3618 (sin_upward_test_data): Likewise.
3619 (sinh_test_data): Likewise.
3620 (sinh_tonearest_test_data): Likewise.
3621 (sinh_towardzero_test_data): Likewise.
3622 (sinh_downward_test_data): Likewise.
3623 (sinh_upward_test_data): Likewise.
3624 (tan_test_data): Likewise.
3625 (tan_tonearest_test_data): Likewise.
3626 (tan_towardzero_test_data): Likewise.
3627 (tan_downward_test_data): Likewise.
3628 (tan_upward_test_data): Likewise.
3629 (tanh_test_data): Likewise.
3630 (tgamma_test_data): Likewise.
3631 (y0_test_data): Likewise.
3632 (y1_test_data): Likewise.
3633 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3634 (special_real_inputs): Add pi/4.
3635 * sysdeps/i386/fpu/libm-test-ulps: Update.
3636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3638 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3640 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3641 "longjmp_target" static probes.
3642 (__longjmp): Rename to __longjmp_symbol.
3643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3644 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3645 on which longjmp to generate.
3646 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3647 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3649 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3650 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3651 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3652 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3653 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3654 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3656 __longjmp_symbol based on which __longjmp to generate.
3657 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3659 (setjmp): Rename to setjmp_symbol.
3660 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3661 (_setjmp): Rename to _setjmp_symbol.
3662 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3663 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3664 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3665 which setjmp to generate.
3666 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3667 "longjmp_target" static probes.
3669 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3671 * benchtests/README: Add note about output arguments.
3672 * benchtests/bench-sincos.c: Remove file.
3673 * benchtests/sincos-inputs: New file.
3674 * scripts/bench.pl: Identify output arguments and define
3675 static variables for them.
3677 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3680 * Makefile (INSTALL): Add install-plain.texi as the primary
3682 * manual/install-plain.texi: New file.
3683 * manual/install.texi: Include node directive only for
3684 non-plaintext output.
3686 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3688 * stdlib/longlong.h: Update from GCC.
3692 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3693 * math/w_j0f.c (y0f): Likewise.
3694 * math/w_j0l.c (__y0l): Likewise.
3695 * math/w_j1.c (y1): Likewise.
3696 * math/w_j1f.c (y1f): Likewise.
3697 * math/w_j1l.c (__y1l): Likewise
3698 * math/w_jn.c (yn): Likewise.
3699 * math/w_jnf.c (ynf): Likewise.
3700 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3701 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3702 value for Bessel function domain errors outside _SVID_ mode.
3703 Adjust sign of return value for yn (negative integer, 0).
3704 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3705 by zero in return for negative x and set sign appropriately for
3707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3709 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3710 expectations in error cases.
3711 (y1_test_data): Likewise.
3712 (yn_test_data): Likewise.
3713 * sysdeps/i386/fpu/libm-test-ulps: Update.
3714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3716 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3718 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3719 "64" to "64-v1". Add "64-v2".
3720 (abi-64-options): Rename to ...
3721 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3722 (abi-64-condition): Rename to ...
3723 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3724 (abi-64-ld-soname): Rename to ...
3725 (abi-64-v1-ld-soname): ... this.
3726 (abi-64-v2-options): Define.
3727 (abi-64-v2-condition): Likewise.
3728 (abi-64-v2-ld-soname): Likewise.
3729 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3730 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3735 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3736 Alan Modra <amodra@gmail.com>
3738 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3739 New versions for use with the ELFv2 ABI.
3740 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3741 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3743 (struct La_ppc64v2_retval): Likewise.
3744 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3745 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3746 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3747 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3748 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3750 Do not save or restore CR.
3751 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3752 (_dl_profile_resolve): Do no save or restore CR. Support extended
3753 return values for ELFv2 ABI. Fix location of FPR return registers.
3754 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3755 updated values for _CALL_ELF == 2.
3756 (La_regs, La_retval, int_retval): Likewise.
3758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3760 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3761 (FRAME_MIN_SIZE_PARM): Likewise.
3762 (FRAME_BACKCHAIN): Likewise.
3763 (FRAME_CR_SAVE): Likewise.
3764 (FRAME_LR_SAVE): Likewise.
3765 (FRAME_TOC_SAVE): Likewise.
3766 (FRAME_PARM_SAVE): Likewise.
3767 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3768 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3769 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3770 (call_mcount_parm_offset): New macro.
3771 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3772 (PROF): Use symbolic stack frame offsets.
3773 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3775 Redefine in terms of FRAME_MIN_SIZE.
3776 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3777 (_dl_profile_resolve): Likewise. Update comment.
3778 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3779 symbols stack frame offsets.
3780 (__sigsetjmp): Likewise.
3781 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3782 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3783 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3784 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3787 (FRAME_BACKCHAIN): Remove.
3788 (FRAME_CR_SAVE): Likewise.
3789 (FRAME_LR_SAVE): Likewise.
3790 (FRAME_COMPILER_DW): Likewise.
3791 (FRAME_LINKER_DW): Likewise.
3792 (FRAME_TOC_SAVE): Likewise.
3793 (FRAME_PARM_SAVE): Likewise.
3794 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3795 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3796 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3798 (CHECK_SP): Use symbolic stack frame offsets.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3800 zone" instead of caller's parameter save area for temp storage.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3802 Likewise. Also, use symbolic stack frame offsets.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3804 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3805 our own stack frame instead of the caller's.
3806 (__socket): Use symbolic stack frame offsets.
3808 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3809 Alan Modra <amodra@gmail.com>
3811 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3813 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3814 PPC64_LOCAL_ENTRY_OFFSET): Define.
3815 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3817 (elf_machine_fixup_plt): Call it.
3818 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3820 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3821 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3822 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3823 r2 before calling target.
3825 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3826 Alan Modra <amodra@gmail.com>
3828 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3829 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3830 versions of macros to support ELFv2 ABI.
3831 (LOCALENTRY): New macro.
3832 (ENTRY, EALIGN): Use it.
3833 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3834 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3835 fall through into ENTRY entry point.
3836 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3837 Only define if _CALL_ELF != 2.
3839 (elf_machine_matches_host): Verify ABI version matches.
3840 (RTLD_START): Use LOCALENTRY.
3841 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3842 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3843 (PLT_ENTRY_WORDS): New macro.
3844 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3845 (elf_machine_runtime_setup): Support ELFv2 ABI.
3846 (elf_machine_fixup_plt): Likewise.
3847 (elf_machine_plt_conflict): Likewise.
3848 (resolve_ifunc): Likewise.
3849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3853 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3855 (makecontext): Support ELFv2 ABI.
3856 * elf/elf.h (EF_PPC64_ABI): Define.
3858 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3860 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3861 New assembler macro.
3862 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3863 [ASSEMBLER] (ENTRY): ... but instead here ...
3864 [ASSEMBLER] (EALIGN): ... and here.
3865 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3866 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3867 [!ASSEMBLER] (ENTRY_2): Use it.
3868 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3869 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3870 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3871 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3872 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3874 Use PPC64_LOAD_FUNCPTR.
3876 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3878 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3880 2013-12-04 Alan Modra <amodra@gmail.com>
3882 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3883 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3884 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3885 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3888 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3889 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3890 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3891 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3892 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3894 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3897 (__makecontext): Fix incorrect CFI when backtracing out of
3898 context created via makecontext.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3900 (__setcontext): Fix incorrect CFI during switch to new context.
3901 (__novec_setcontext): Likewise.
3903 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3906 * time/strptime_l.c (__strptime_internal): Allow modifiers
3908 * time/tst-strptime.c (day_tests): Add testcase.
3911 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3913 * scripts/bench.pl: Skip over blank lines.
3915 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3918 * manual/time.texi (Calendar Time): Clarify what timezone functions
3921 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3925 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3927 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3929 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3930 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3931 * debug/memset_chk.c (__memset_chk): Likewise.
3932 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3933 * debug/strncpy_chk.c: Likewise.
3935 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3939 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3940 (__ieee754_exp): For possibly underflowing results, check size of
3941 result and force underflow exception if required.
3942 * math/auto-libm-test-in: Add more tests of exp.
3943 * math/auto-libm-test-out: Regenerated.
3944 * sysdeps/i386/fpu/libm-test-ulps: Update.
3945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3948 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3949 * math/w_exp2f.c (__exp2f): Likewise.
3950 * math/w_exp2l.c (__exp2l): Likewise.
3951 * math/auto-libm-test-in: Do not allow missing errno on exp2
3953 * math/auto-libm-test-out: Regenerated.
3955 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3958 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3959 handle filename validation.
3960 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3963 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3966 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3967 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3968 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3970 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3971 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3972 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3974 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3975 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3976 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3977 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3978 Add more erfc tests.
3979 * math/auto-libm-test-out: Regenerated.
3980 * sysdeps/i386/fpu/libm-test-ulps: Update.
3981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3983 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3984 exp2, expm1, j0 and j1.
3985 * math/auto-libm-test-out: Regenerated.
3986 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3987 (erfc_test_data): Likewise.
3988 (exp_test_data): Likewise.
3989 (exp_tonearest_test_data): Likewise.
3990 (exp_towardzero_test_data): Likewise.
3991 (exp_downward_test_data): Likewise.
3992 (exp_upward_test_data): Likewise.
3993 (exp10_test_data): Likewise.
3994 (exp2_test_data): Likewise.
3995 (expm1_test_data): Likewise.
3996 (j0_test_data): Likewise.
3997 (j1_test_data): Likewise.
3998 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3999 (input_flag_type): Add flag_xfail_rounding.
4000 (input_flags): Add xfail-rounding.
4001 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4002 (output_for_one_input_case): Handle flag_xfail_rounding.
4003 * sysdeps/i386/fpu/libm-test-ulps: Update.
4004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4006 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4009 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4012 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4015 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4016 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4017 (STAP_PROBE0): New macro.
4018 (STAP_PROBE1): Likewise.
4019 (STAP_PROBE2): Likewise.
4020 (STAP_PROBE3): Likewise.
4021 (STAP_PROBE4): Likewise.
4023 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4025 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4027 2013-12-02 Steve Ellcey <sellcey@mips.com>
4029 * benchtests/Makefile (bench): Add sqrt.
4030 (LDLIBS-bench-sqrt): New.
4031 * benchtests/sqrt-input: New.
4033 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4035 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4036 (GAIH_EAI): Likewise.
4037 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4038 (gaih_inet): Likewise.
4039 (getaddrinfo): Don't use GAIH_EAI.
4041 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4042 (struct gaih): Remove definition.
4044 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4046 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4047 Use HERRNOP directly.
4049 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4053 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4055 * math/gen-auto-libm-tests.c (test_functions): Add more
4056 single-argument functions.
4057 (special_fill_pi_2): New function.
4058 (special_fill_minus_pi_2): Likewise.
4059 (special_fill_pi_6): Likewise.
4060 (special_fill_minus_pi_6): Likewise.
4061 (special_fill_pi_3): Likewise.
4062 (special_fill_2pi_3): Likewise.
4063 (special_fill_e): Likewise.
4064 (special_fill_1_e): Likewise.
4065 (special_fill_e_minus_1): Likewise.
4066 (special_real_inputs): Add more special inputs.
4067 (output_for_one_input_case): Do not require ERANGE on underflow to
4068 zero if round-to-nearest result does not underflow to zero, unless
4069 exact results required.
4070 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4071 atan, atanh, cbrt, cos and cosh.
4072 * math/auto-libm-test-out: Regenerated.
4073 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4074 (acos_tonearest_test_data): Likewise.
4075 (acos_towardzero_test_data): Likewise.
4076 (acos_downward_test_data): Likewise.
4077 (acos_upward_test_data): Likewise.
4078 (acosh_test_data): Likewise.
4079 (asin_test_data): Likewise.
4080 (asin_tonearest_test_data): Likewise.
4081 (asin_towardzero_test_data): Likewise.
4082 (asin_upward_test_data): Likewise.
4083 (asinh_test_data): Likewise.
4084 (atan_test_data): Likewise.
4085 (atanh_test_data): Likewise.
4086 (cbrt_test_data): Likewise.
4087 (cos_test_data): Likewise.
4088 (cos_tonearest_test_data): Likewise.
4089 (cos_towardzero_test_data): Likewise.
4090 (cos_downward_test_data): Likewise.
4091 (cos_upward_test_data): Likewise.
4092 (cosh_test_data): Likewise.
4093 (cosh_tonearest_test_data): Likewise.
4094 (cosh_towardzero_test_data): Likewise.
4095 (cosh_downward_test_data): Likewise.
4096 (cosh_upward_test_data): Likewise.
4097 * sysdeps/i386/fpu/libm-test-ulps: Update.
4098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4103 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4104 * math/w_exp10f.c (__exp10f): Likewise.
4105 * math/w_exp10l.c (__exp10l): Likewise.
4106 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4107 errno settings in existing tests.
4110 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4111 precision control set to double precision.
4112 * sysdeps/i386/fpu/w_sqrt.c: New file.
4113 * math/auto-libm-test-in: Add more tests.
4114 * math/auto-libm-test-out: Update.
4116 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4117 (sqrt_test_tonearest): New function.
4118 (sqrt_towardzero_test_data): New variable.
4119 (sqrt_test_towardzero): New function.
4120 (sqrt_downward_test_data): New variable.
4121 (sqrt_test_downward): New function.
4122 (sqrt_upward_test_data): New variable.
4123 (sqrt_test_upward): New function.
4124 (main): Call the new functions.
4126 * math/gen-auto-libm-tests.c: New file.
4127 * math/auto-libm-test-in: Likewise.
4128 * math/auto-libm-test-out: New generated file.
4129 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4131 (%beautify): Add generated representations of zero.
4132 (top level): Set $auto_input and call parse_auto_input.
4133 (beautify): Remove trailing "f" from hex float constants.
4134 (parse_args): Handle XFAIL_TEST.
4135 (convert_condition): New function.
4136 (or_value): Likewise.
4137 (or_cond_value): Likewise.
4138 (generate_testfile): Handle AUTO_TESTS_* lines.
4139 (parse_auto_input): New function.
4140 * math/libm-test.inc (XFAIL_TEST): New macro.
4141 (ERRNO_UNCHANGED): Update value.
4142 (ERRNO_EDOM): Likewise.
4143 (ERRNO_ERANGE): Likewise.
4144 (IGNORE_RESULT): Likewise.
4145 (TEST_COND_flt_32): New macro.
4146 (TEST_COND_dbl_64): Likewise.
4147 (TEST_COND_ldbl_96_intel): Likewise.
4148 (TEST_COND_ldbl_96_m68k): Likewise.
4149 (TEST_COND_ldbl_128): Likewise.
4150 (TEST_COND_ldbl_128ibm): Likewise.
4151 (TEST_COND_long32): Likewise.
4152 (TEST_COND_long64): Likewise.
4153 (TEST_COND_before_rounding): Likewise.
4154 (TEST_COND_after_rounding): Likewise.
4155 (enable_test): Handle XFAIL_TEST flag.
4156 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4157 with finite results.
4158 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4161 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4165 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4166 __tls_get_addr_internal instead of __tls_get_offset in order to
4167 avoid GOT pointer dependency. Make rtld export
4168 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4169 __tls_get_addr since we are a __tls_get_offset platform.
4170 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4171 GOT pointer being set up before.
4172 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4174 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4176 * manual/math.texi (Errors in Math Functions): Document accuracy
4180 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4181 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4197 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4198 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4199 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4200 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4201 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4203 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4205 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4207 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4208 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4209 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4210 atomic-feupdateenv and flt-rounds.
4211 * sysdeps/powerpc/nofpu/Versions (libc): Add
4212 __atomic_feholdexcept, __atomic_feclearexcept,
4213 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4215 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4216 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4217 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4222 * manual/arith.texi (FP Exceptions): Document that exceptions may
4223 not be raised when matherr is used.
4224 (Math Error Reporting): Document overflow in directed rounding
4225 modes. Document that errno may not be set when finite values are
4226 returned on overflow. Document intent to set errno on underflow
4227 only for underflow to zero.
4230 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4231 round-to-nearest then adjust result for other rounding modes.
4232 * include/fenv.h (fegetround): Use libm_hidden_proto.
4233 * math/fegetround.c (fegetround): Use libm_hidden_def.
4234 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4235 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4236 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4237 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4239 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4241 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4242 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4244 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4247 * nss/Versions (libnss_files): Add
4248 _nss_files_gethostbyname3_r.
4249 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4251 (HOST_DB_LOOKUP): Remove macro.
4252 (_nss_files_gethostbyname_r): Implement function without the
4253 HOST_DB_LOOKUP macro.
4254 (_nss_files_gethostbyname2_r): Likewise.
4256 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4258 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4260 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4262 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4263 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4266 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4268 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4269 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4270 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4271 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4272 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4273 __fe_nomask_env_priv and attribute_hidden.
4274 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4275 (libc_feupdateenv_test_ppc): Likewise.
4276 (libc_feresetround_ppc): Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4278 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4279 compat_symbol macro.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4281 (__fe_nomask_env): Likewise.
4282 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4284 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4286 * string/Makefile: Remove ifunc tests.
4287 * string/test-string.h: Define TEST_IFUNC.
4288 * string/test-bcopy-ifunc.c: Remove.
4289 * string/test-bzero-ifunc.c: Likewise.
4290 * string/test-memccpy-ifunc.c: Likewise.
4291 * string/test-memchr-ifunc.c: Likewise.
4292 * string/test-memcmp-ifunc.c: Likewise.
4293 * string/test-memcpy-ifunc.c: Likewise.
4294 * string/test-memmem-ifunc.c: Likewise.
4295 * string/test-memmove-ifunc.c: Likewise.
4296 * string/test-mempcpy-ifunc.c: Likewise.
4297 * string/test-memrchr-ifunc.c: Likewise.
4298 * string/test-memset-ifunc.c: Likewise.
4299 * string/test-rawmemchr-ifunc.c: Likewise.
4300 * string/test-stpcpy-ifunc.c: Likewise.
4301 * string/test-stpncpy-ifunc.c: Likewise.
4302 * string/test-strcasecmp-ifunc.c: Likewise.
4303 * string/test-strcasestr-ifunc.c: Likewise.
4304 * string/test-strcat-ifunc.c: Likewise.
4305 * string/test-strchr-ifunc.c: Likewise.
4306 * string/test-strchrnul-ifunc.c: Likewise.
4307 * string/test-strcmp-ifunc.c: Likewise.
4308 * string/test-strcpy-ifunc.c: Likewise.
4309 * string/test-strcspn-ifunc.c: Likewise.
4310 * string/test-strlen-ifunc.c: Likewise.
4311 * string/test-strncasecmp-ifunc.c: Likewise.
4312 * string/test-strncat-ifunc.c: Likewise.
4313 * string/test-strncmp-ifunc.c: Likewise.
4314 * string/test-strncpy-ifunc.c: Likewise.
4315 * string/test-strnlen-ifunc.c: Likewise.
4316 * string/test-strpbrk-ifunc.c: Likewise.
4317 * string/test-strrchr-ifunc.c: Likewise.
4318 * string/test-strspn-ifunc.c: Likewise.
4319 * string/test-strstr-ifunc.c: Likewise.
4321 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4323 * benchtests/Makefile: Remove ifunc tests.
4324 * benchtests/bench-string.h: Define TEST_IFUNC.
4325 * benchtests/bench-bcopy-ifunc.c: Remove.
4326 * benchtests/bench-bzero-ifunc.c: Likewise.
4327 * benchtests/bench-memccpy-ifunc.c: Likewise.
4328 * benchtests/bench-memchr-ifunc.c: Likewise.
4329 * benchtests/bench-memcmp-ifunc.c: Likewise.
4330 * benchtests/bench-memcpy-ifunc.c: Likewise.
4331 * benchtests/bench-memmem-ifunc.c: Likewise.
4332 * benchtests/bench-memmove-ifunc.c: Likewise.
4333 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4334 * benchtests/bench-memrchr-ifunc.c: Likewise.
4335 * benchtests/bench-memset-ifunc.c: Likewise.
4336 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4337 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4338 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4339 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4340 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4341 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4342 * benchtests/bench-strcat-ifunc.c: Likewise.
4343 * benchtests/bench-strchr-ifunc.c: Likewise.
4344 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4345 * benchtests/bench-strcmp-ifunc.c: Likewise.
4346 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4347 * benchtests/bench-strcpy-ifunc.c: Likewise.
4348 * benchtests/bench-strcspn-ifunc.c: Likewise.
4349 * benchtests/bench-strlen-ifunc.c: Likewise.
4350 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4351 * benchtests/bench-strncat-ifunc.c: Likewise.
4352 * benchtests/bench-strncmp-ifunc.c: Likewise.
4353 * benchtests/bench-strncpy-ifunc.c: Likewise.
4354 * benchtests/bench-strnlen-ifunc.c: Likewise.
4355 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4356 * benchtests/bench-strrchr-ifunc.c: Likewise.
4357 * benchtests/bench-strsep-ifunc.c: Likewise.
4358 * benchtests/bench-strspn-ifunc.c: Likewise.
4359 * benchtests/bench-strstr-ifunc.c: Likewise.
4361 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4363 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4365 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4367 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4368 * rt/aio.h: Likewise.
4369 * sysdeps/gnu/bits/utmp.h: Likewise.
4370 * sysdeps/gnu/bits/utmpx.h: Likewise.
4371 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4372 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4373 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4374 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4375 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4376 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4377 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4378 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4379 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4380 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4386 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4387 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4388 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4389 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4390 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4391 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4392 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4393 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4394 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4395 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4397 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4398 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4399 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4400 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4401 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4403 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4406 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4407 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4408 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4409 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4410 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4411 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4412 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4414 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4417 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4418 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4420 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4422 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4426 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4429 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4430 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4431 (__fesetround): Remove define.
4432 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4433 rounding and exceptions handling.
4434 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4435 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4436 (__fe_nomask_env): Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4438 __fegetround instead of fegetround.
4439 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4442 2013-11-21 Roland McGrath <roland@hack.frob.com>
4444 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4447 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4449 2013-11-21 Meador Inge <meadori@codesourcery.com>
4452 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4453 (encrypt_r): Likewise.
4454 * malloc/obstack.h (obstack_free): Likewise.
4455 * posix/unistd.h (encrypt): Likewise.
4457 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4459 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4460 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4461 DL_CALL_DT_FINI() that call the functions directly.
4462 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4463 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4464 * elf/dl-fini.c: Likewise.
4466 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4468 * malloc/hooks.c (memalign_check): Add alignment rounding.
4469 * malloc/malloc.c (_mid_memalign): New function.
4470 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4471 Implement by calling _mid_memalign.
4472 * manual/probes.texi (Memory Allocation Probes): Remove
4473 memory_valloc_retry and memory_pvalloc_retry.
4475 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4477 * locale/programs/locarchive.c (open_archive): Add const
4478 qualifier to ARCHIVEFNAME and copy default fname to
4482 * libio/tst-widetext.input: Rename Oriya to Odia.
4483 * locale/iso-639.def: Likewise.
4485 * manual/probes.texi (Mathematical Function Probes): Add
4486 documentation for sin, cos, asin and acos probes.
4487 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4488 (__sin32): Add slowasin probe.
4489 (__cos32): Add slowacos probe.
4490 (__mpsin): Add slowsin probe.
4491 (__mpcos): Add slowcos probe.
4493 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4496 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4497 thread-local __sim_exceptions_thread and global
4498 __sim_exceptions_global.
4499 (__sim_disabled_exceptions): Change to thread-local
4500 __sim_disabled_exceptions_thread and global
4501 __sim_disabled_exceptions_global.
4502 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4503 and global __sim_round_mode_global.
4504 (__simulate_exceptions): Use thread-local floating-point state and
4505 set global state from it as needed.
4506 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4507 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4508 __sim_round_mode_thread.
4509 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4510 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4511 and global __sim_exceptions_global.
4512 (__sim_disabled_exceptions): Change to thread-local
4513 __sim_disabled_exceptions_thread and global
4514 __sim_disabled_exceptions_global.
4515 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4516 and global __sim_round_mode_global.
4517 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4518 (SIM_SET_GLOBAL): Likewise.
4519 * sysdeps/powerpc/soft-fp/sfp-machine.h
4520 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4521 __sim_round_mode_thread.
4522 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4523 __sim_disabled_exceptions_thread.
4524 (__sim_exceptions): Change to __sim_exceptions_thread.
4525 (__sim_disabled_exceptions): Change to
4526 __sim_disabled_exceptions_thread.
4527 (__sim_round_mode): Change to __sim_round_mode_thread.
4528 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4529 thread-local floating-point state and set global state from it as
4531 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4532 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4533 (__sim_disabled_exceptions): Remove extern declaration.
4534 (feenableexcept): Use thread-local floating-point state and set
4535 global state from it as needed.
4536 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4538 (__sim_disabled_exceptions): Likewise.
4539 (__sim_round_mode): Likewise.
4540 (__fegetenv): Use thread-local floating-point state.
4541 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4542 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4543 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4544 floating-point state and set global state from it as needed.
4545 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4546 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4547 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4549 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4550 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4552 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4553 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4554 Use __sim_round_mode_thread.
4555 * math/test-fenv-tls.c: New file.
4556 * math/Makefile (tests): Add test-fenv-tls.
4557 ($(objpfx)test-fenv-tls): Depend on
4558 $(common-objpfx)nptl/libpthread.so.
4560 2013-11-19 Andreas Schwab <schwab@suse.de>
4562 * locale/programs/locale.c (show_info): Decode wordarray elements.
4563 * locale/categories.def (LC_MONETARY): Add element for
4564 _NL_MONETARY_CRNCYSTR.
4565 * locale/C-monetary.c (conversion_rate): New variable.
4566 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4569 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4571 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4572 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4574 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4576 * elf/Makefile (tst-auxv): New test.
4577 * elf/tst-auxv.c: New
4578 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4580 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4582 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4583 (hidden_proto): Caller changed.
4584 (hidden_tls_proto): New macro.
4585 (libc_hidden_tls_proto): Likewise.
4586 (rtld_hidden_tls_proto): Likewise.
4587 (libm_hidden_tls_proto): Likewise.
4588 (libresolv_hidden_tls_proto): Likewise.
4589 (librt_hidden_tls_proto): Likewise.
4590 (libdl_hidden_tls_proto): Likewise.
4591 (libnss_files_hidden_tls_proto): Likewise.
4592 (libnsl_hidden_tls_proto): Likewise.
4593 (libnss_nisplus_hidden_tls_proto): Likewise.
4594 (libutil_hidden_tls_proto): Likewise.
4596 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4599 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4600 (decompose_rpath): Defer expansion to fillin_rpath.
4601 (_dl_init_paths): Pass linkmap to fillin_rpath.
4603 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4605 * benchtests/Makefile: Add strsep.
4606 * benchtests/bench-strsep.c: New file: strsep benchtest.
4607 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4609 2013-11-18 Andreas Schwab <schwab@suse.de>
4611 * locale/programs/locale.c (show_info) [case byte]: Check for
4612 '\377' instead of '\177'.
4613 * locale/C-monetary.c (not_available): Always use "\377".
4614 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4615 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4616 detect unavailable sign_posn locale elements.
4617 * locale/localeconv.c (__localeconv): For grouping and
4618 mon_grouping handle "\177" and "\377" like no grouping.
4619 (INT_ELEM): New macro. Use it to set all numeric members.
4620 * locale/programs/ld-monetary.c (monetary_read)
4621 <tok_mon_grouping>: Normalize single -1 to the empty string.
4622 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4625 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4628 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4629 when we match (nil).
4630 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4632 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4634 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4635 (NO_TEST_INLINE): Update value.
4636 (ERRNO_UNCHANGED): Likewise.
4637 (ERRNO_EDOM): Likewise.
4638 (ERRNO_ERANGE): Likewise.
4639 (IGNORE_RESULT): Likewise.
4640 (check_float_internal): Check signs of NaN results if
4642 (check_complex): Pass TEST_NAN_SIGN flag through to second
4643 check_float_internal call.
4644 (copysign_test_data): Add tests with quiet NaNs as second
4645 argument. Use TEST_NAN_SIGN.
4646 (fabs_test_data): Add test of negative quiet NaN argument. Use
4648 (signbit_test_data): Add tests of quiet NaN argument.
4649 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4651 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4653 (parse_args): Handle function results specified as IGNORE.
4654 * math/libm-test.inc (IGNORE_RESULT): New macro.
4655 (check_float_internal): Do not check numerical result if flag
4657 (check_complex): Pass through IGNORE_RESULT to second
4658 check_float_internal call.
4659 (check_int): Do not check numerical result if flag IGNORE_RESULT
4661 (check_long): Likewise.
4662 (check_bool): Likewise.
4663 (check_longlong): Likewise.
4664 (lrint_test_data): Add tests of infinite and NaN arguments.
4665 (lrint_tonearest_test_data): Likewise.
4666 (lrint_towardzero_test_data): Likewise.
4667 (lrint_downward_test_data): Likewise.
4668 (lrint_upward_test_data): Likewise.
4669 (llrint_test_data): Likewise.
4670 (llrint_tonearest_test_data): Likewise.
4671 (llrint_towardzero_test_data): Likewise.
4672 (llrint_downward_test_data): Likewise.
4673 (llrint_upward_test_data): Likewise.
4674 (lround_test_data): Likewise.
4675 (llround_test_data): Likewise.
4677 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4678 (ERRNO_UNCHANGED): Update value.
4679 (ERRNO_EDOM): Likewise.
4680 (ERRNO_ERANGE): Likewise.
4681 (NO_TEST_INLINE_FLOAT): New macro.
4682 (NO_TEST_INLINE_DOUBLE): Likewise.
4683 (enable_test): New function.
4684 (RUN_TEST_f_f): Check enable_test before running test.
4685 (RUN_TEST_2_f): Likewise.
4686 (RUN_TEST_fff_f): Likewise.
4687 (RUN_TEST_c_f): Likewise.
4688 (RUN_TEST_f_f1): Likewise.
4689 (RUN_TEST_fF_f1): Likewise.
4690 (RUN_TEST_fI_f1): Likewise.
4691 (RUN_TEST_ffI_f1): Likewise.
4692 (RUN_TEST_c_c): Likewise.
4693 (RUN_TEST_cc_c): Likewise.
4694 (RUN_TEST_f_i): Likewise.
4695 (RUN_TEST_f_i_tg): Likewise.
4696 (RUN_TEST_ff_i_tg): Likewise.
4697 (RUN_TEST_f_b): Likewise.
4698 (RUN_TEST_f_b_tg): Likewise.
4699 (RUN_TEST_f_l): Likewise.
4700 (RUN_TEST_f_L): Likewise.
4701 (RUN_TEST_fFF_11): Likewise.
4702 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4704 (cosh_test_data): Likewise.
4705 (exp_test_data): Likewise.
4706 (expm1_test_data): Likewise.
4707 (hypot_test_data): Likewise.
4708 (pow_test_data): Likewise.
4709 (sinh_test_data): Likewise.
4710 (tanh_test_data): Likewise.
4711 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4714 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4715 tests with quiet NaN input and output.
4716 (acosh_test_data): Likewise.
4717 (asin_test_data): Likewise.
4718 (asinh_test_data): Likewise.
4719 (atan_test_data): Likewise.
4720 (atanh_test_data): Likewise.
4721 (atan2_test_data): Likewise.
4722 (cbrt_test_data): Likewise.
4723 (cos_test_data): Likewise.
4724 (cosh_test_data): Likewise.
4725 (erf_test_data): Likewise.
4726 (erfc_test_data): Likewise.
4727 (exp_test_data): Likewise.
4728 (exp10_test_data): Likewise.
4729 (exp2_test_data): Likewise.
4730 (expm1_test_data): Likewise.
4731 (hypot_test_data): Likewise.
4732 (j0_test_data): Likewise.
4733 (j1_test_data): Likewise.
4734 (jn_test_data): Likewise.
4735 (lgamma_test_data): Likewise.
4736 (log_test_data): Likewise.
4737 (log10_test_data): Likewise.
4738 (log1p_test_data): Likewise.
4739 (log2_test_data): Likewise.
4740 (pow_test_data): Likewise.
4741 (scalb_test_data): Likewise.
4742 (sin_test_data): Likewise.
4743 (sincos_test_data): Likewise.
4744 (sinh_test_data): Likewise.
4745 (tan_test_data): Likewise.
4746 (tanh_test_data): Likewise.
4747 (tgamma_test_data): Likewise.
4748 (y0_test_data): Likewise.
4749 (y1_test_data): Likewise.
4750 (yn_test_data): Likewise.
4753 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4754 argument being NaN and avoid computations with second argument in
4756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4757 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4758 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4760 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4762 * locale/iso-639.def: Add Chitwani Tharu (the).
4764 2013-11-14 Andreas Schwab <schwab@suse.de>
4766 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4767 word instead of empty string.
4769 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4772 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4774 (__fe_nomask_env): Likewise.
4776 2013-11-13 Steve Ellcey <sellcey@mips.com>
4778 * benchtests/bench-timing.h: Include time.h.
4780 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4783 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4785 * sysdeps/unix/sysv/linux/configure: Regenerated.
4787 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4790 * stdlib/strtod_l.c (round_and_return): Do not consider
4791 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4792 exponent one less than half the least subnormal exponent.
4793 * stdlib/test-strtod-round-data: Add more tests.
4794 * stdlib/tst-strtod-round.c (tests): Regenerated.
4796 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4800 (__fe_mask_env): Likewise.
4801 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4802 libm_hidden_proto and add function prototype.
4803 (__fe_mask_env): Add function prototype.
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4805 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4807 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4809 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4811 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4813 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4814 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4816 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4818 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4819 of htab_find_slot().
4821 2013-11-11 David S. Miller <davem@davemloft.net>
4824 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4825 symbol in the non-vis3 case in static builds.
4826 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4827 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4828 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4829 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4831 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4834 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4837 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4839 * benchtests/Makefile: Add bench-strtod.
4840 * benchtests/bench-strtod.c: New file: strtod benchtest
4842 2013-11-11 Andreas Schwab <schwab@suse.de>
4845 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4846 terminating NUL in key length.
4848 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4851 Add artificial ODP entry for vDSO symbol for PPC64.
4852 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4853 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4855 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4858 * nss/getent.c (services_keys): Recognize services starting with digit.
4860 2013-11-06 David S. Miller <davem@davemloft.net>
4863 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4864 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4866 2013-11-06 Will Newton <will.newton@linaro.org>
4868 * manual/memory.texi (Malloc Examples): Remove register
4869 keyword from examples.
4871 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4873 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4875 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4878 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4879 depending on [__GCC_IEC_559 > 0].
4880 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4881 depending on [__GCC_IEC_559_COMPLEX > 0].
4883 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4885 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4888 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4890 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4892 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4895 * malloc/malloc (malloc_info): Do not handle first bin as
4898 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4900 * locale/iso-639.def: Add Central Nahuatl (nhn).
4902 2013-11-01 Bruno Haible <bruno@clisp.org>
4905 * manual/math.texi (BSD Random): Specify range upper bound as
4908 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4910 * locale/iso-639.def: Add Meadow Mari (mhr).
4912 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4914 [BZ #14752], [BZ #15763]
4915 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4917 * rt/tst_shm.c: Add test for escaping directory.
4919 2013-10-31 Andreas Schwab <schwab@suse.de>
4922 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4923 followed by 'x' as part of digit sequence.
4924 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4926 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4929 * configure.ac: allow GNU Make 4.0 and greater.
4930 * configure: Regenerated.
4932 2013-10-30 Will Newton <will.newton@linaro.org>
4935 * malloc/hooks.c (memalign_check): Limit alignment to the
4936 maximum representable power of two.
4937 * malloc/malloc.c (__libc_memalign): Likewise.
4938 * malloc/tst-memalign.c (do_test): Add test for very
4939 large alignment values.
4940 * malloc/tst-posix_memalign.c (do_test): Likewise.
4942 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4945 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4946 (munmap_chunk): Likewise.
4947 (mremap_chunk): Likewise.
4949 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4952 * stdlib/div.c (div): Remove obsolete code.
4953 * stdlib/ldiv.c (ldiv): Likewise.
4954 * stdlib/lldiv.c (lldiv): Likewise.
4956 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4959 * nss/nss_files/files-XXX.c (get_contents_ret): New
4961 (get_contents): New function.
4962 (internal_getent): Use it. Expand size of LINEBUFLEN.
4964 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4966 * configure.in: Moved to ...
4967 * configure.ac: ... here. Change reference to configure.in
4969 * sysdeps/arm/preconfigure.ac: ... here.
4970 configure.in to configure.ac.
4971 * sysdeps/gnu/configure.in: Moved to ...
4972 * sysdeps/gnu/configure.ac: ... here.
4973 * sysdeps/i386/configure.in: Moved to ...
4974 * sysdeps/i386/configure.ac: ... here.
4975 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4976 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4977 * sysdeps/mach/configure.in: Moved to ...
4978 * sysdeps/mach/configure.ac: ... here.
4979 * sysdeps/mach/hurd/configure.in: Moved to ...
4980 * sysdeps/mach/hurd/configure.ac: ... here.
4981 * sysdeps/powerpc/configure.in: Moved to ...
4982 * sysdeps/powerpc/configure.ac: ... here.
4983 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4984 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4985 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4986 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4987 * sysdeps/s390/s390-32/configure.in: Moved to ...
4988 * sysdeps/s390/s390-32/configure.ac: ... here.
4989 * sysdeps/s390/s390-64/configure.in: Moved to ...
4990 * sysdeps/s390/s390-64/configure.ac: ... here.
4991 * sysdeps/sh/configure.in: Moved to ...
4992 * sysdeps/sh/configure.ac: ... here.
4993 * sysdeps/sparc/configure.in: Moved to ...
4994 * sysdeps/sparc/configure.ac: ... here.
4995 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4996 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4997 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4998 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4999 * sysdeps/x86_64/configure.in: Moved to ...
5000 * sysdeps/x86_64/configure.ac: ... here.
5001 * sysdeps/x86_64/preconfigure.in: Moved to ...
5002 * sysdeps/x86_64/preconfigure.ac: ... here.
5003 * aclocal.m4: Change reference to configure.in to configure.ac.
5004 * config.h.in: Likewise.
5005 * manual/install.texi: Likewise.
5006 * manual/maint.texi: Likewise.
5007 * Makefile: Likewise.
5008 * malloc/Makefile: Likewise.
5009 * nscd/Makefile: Likewise.
5010 * Makeconfig: Change reference to configure.in and
5011 preconfigure.in to configure.ac and preconfigure.ac
5013 * INSTALL: Regenerated.
5014 * configure: Likewise.
5015 * sysdeps/gnu/configure: Likewise.
5016 * sysdeps/i386/configure: Likewise.
5017 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5018 * sysdeps/mach/configure: Likewise.
5019 * sysdeps/mach/hurd/configure: Likewise.
5020 * sysdeps/powerpc/configure: Likewise.
5021 * sysdeps/powerpc/powerpc32/configure: Likewise.
5022 * sysdeps/powerpc/powerpc64/configure: Likewise.
5023 * sysdeps/s390/s390-32/configure: Likewise.
5024 * sysdeps/s390/s390-64/configure: Likewise.
5025 * sysdeps/sh/configure: Likewise.
5026 * sysdeps/sparc/configure: Likewise.
5027 * sysdeps/unix/sysv/linux/configure: Likewise.
5028 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5029 * sysdeps/x86_64/configure: Likewise.
5030 * sysdeps/x86_64/preconfigure: Likewise.
5032 2013-10-29 Andreas Schwab <schwab@suse.de>
5034 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5036 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5038 * benchtests/pow-inputs: Add new inputs.
5040 * benchtests/exp-inputs: Add new inputs.
5042 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5043 conditional check for return value.
5044 (__cos32): Likewise.
5046 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5049 to provide a boost for large inputs with word alignment.
5050 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5051 implementation based on optimized PPC64 strcpy.
5052 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5053 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5054 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5055 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5057 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5060 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5062 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5065 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5066 * time/tst-strptime.c (day_tests): Add testcase.
5068 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5071 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5073 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5076 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5077 MAP_FAILED on error.
5079 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5082 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5083 heap for large requests.
5085 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5088 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5089 result if the result has no associated interface.
5090 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5091 interface for all 127.X.Y.Z addresses.
5093 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5095 * locale/iso-639.def: Add Ligurian (lij)
5097 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5100 * sunrpc/rpc_main.c: Document rpcgen -5.
5102 2013-10-19 Michael Stahl <mstahl@redhat.com>
5104 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5106 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5109 * posix/glob.c: Match only directories when trailing slash is present.
5110 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5111 (main): Add testcase.
5113 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5116 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5118 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5120 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5121 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5122 AUTH_DES and cindex for FIPS 140-2.
5123 (DES Encryption): Add cindex FIPS 46-3.
5125 * locale/locarchive.h (struct locarhandle): Add fname.
5126 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5127 if an optional argument was specified to --list-archive,
5129 * locale/programs/locarchive.c (show_archive_content): Take new
5130 argument fname and pass it via ah.fname to open_archive.
5131 * locale/programs/localedef.h: Update decl.
5132 (open_archive): If AH->fname is non-null, open that file
5133 rather than the default file name, and don't ignore ENOENT.
5134 (create_archive): Set AH.fname to NULL.
5135 (delete_locales_from_archive): Likewise.
5136 (add_locales_to_archive): Likewise.
5137 * locale/programs/locfile.c (write_all_categories): Likewise.
5139 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5140 Aldy Hernandez <aldyh@redhat.com>
5142 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5143 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5144 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5145 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5146 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5147 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5148 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5150 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5151 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5152 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5153 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5154 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5155 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5156 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5158 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5160 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5162 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5164 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5165 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5167 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5168 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5169 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5170 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5172 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5173 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5174 * sysdeps/powerpc/preconfigure: Likewise.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5177 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5178 Replace contents of file by #include of <fenv_libc.h>.
5179 * sysdeps/powerpc/soft-fp/sfp-machine.h
5180 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5182 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5195 Allow copysignl PLT reference to be missing.
5197 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5198 Joseph Myers <joseph@codesourcery.com
5201 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5203 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5205 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5207 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5208 * elf/tst-tls1.c: Likewise.
5209 * elf/tst-tls10.h: Likewise.
5210 * elf/tst-tls14.c: Likewise.
5211 * elf/tst-tls2.c: Likewise.
5212 * elf/tst-tls3.c: Likewise.
5213 * elf/tst-tls4.c: Likewise.
5214 * elf/tst-tls5.c: Likewise.
5215 * elf/tst-tls6.c: Likewise.
5216 * elf/tst-tls7.c: Likewise.
5217 * elf/tst-tls8.c: Likewise.
5218 * elf/tst-tls9.c: Likewise.
5219 * elf/tst-tlsmod1.c: Likewise.
5220 * elf/tst-tlsmod13.c: Likewise.
5221 * elf/tst-tlsmod13a.c: Likewise.
5222 * elf/tst-tlsmod14a.c: Likewise.
5223 * elf/tst-tlsmod16a.c: Likewise.
5224 * elf/tst-tlsmod16b.c: Likewise.
5225 * elf/tst-tlsmod2.c: Likewise.
5226 * elf/tst-tlsmod3.c: Likewise.
5227 * elf/tst-tlsmod4.c: Likewise.
5228 * elf/tst-tlsmod5.c: Likewise.
5229 * elf/tst-tlsmod6.c: Likewise.
5231 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5234 * malloc/malloc.c: remove checks for statistics.
5236 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5239 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5240 * inet/tst-network.c: Add testcase.
5242 2013-10-17 Andreas Schwab <schwab@suse.de>
5245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5246 to determine canonical name.
5248 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5250 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5251 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5274 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5275 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5280 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5297 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5298 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5299 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5309 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5312 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5313 make result into a quiet NaN.
5315 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5317 * soft-fp/adddf3.c: Fix horizontal whitespace.
5318 * soft-fp/addsf3.c: Likewise.
5319 * soft-fp/addtf3.c: Likewise.
5320 * soft-fp/divdf3.c: Likewise.
5321 * soft-fp/divsf3.c: Likewise.
5322 * soft-fp/divtf3.c: Likewise.
5323 * soft-fp/double.h: Likewise.
5324 * soft-fp/eqdf2.c: Likewise.
5325 * soft-fp/eqsf2.c: Likewise.
5326 * soft-fp/eqtf2.c: Likewise.
5327 * soft-fp/extenddftf2.c: Likewise.
5328 * soft-fp/extended.h: Likewise.
5329 * soft-fp/extendsfdf2.c: Likewise.
5330 * soft-fp/extendsftf2.c: Likewise.
5331 * soft-fp/extendxftf2.c: Likewise.
5332 * soft-fp/fixdfdi.c: Likewise.
5333 * soft-fp/fixdfsi.c: Likewise.
5334 * soft-fp/fixdfti.c: Likewise.
5335 * soft-fp/fixsfdi.c: Likewise.
5336 * soft-fp/fixsfsi.c: Likewise.
5337 * soft-fp/fixsfti.c: Likewise.
5338 * soft-fp/fixtfdi.c: Likewise.
5339 * soft-fp/fixtfsi.c: Likewise.
5340 * soft-fp/fixtfti.c: Likewise.
5341 * soft-fp/fixunsdfdi.c: Likewise.
5342 * soft-fp/fixunsdfsi.c: Likewise.
5343 * soft-fp/fixunsdfti.c: Likewise.
5344 * soft-fp/fixunssfdi.c: Likewise.
5345 * soft-fp/fixunssfsi.c: Likewise.
5346 * soft-fp/fixunssfti.c: Likewise.
5347 * soft-fp/fixunstfdi.c: Likewise.
5348 * soft-fp/fixunstfsi.c: Likewise.
5349 * soft-fp/fixunstfti.c: Likewise.
5350 * soft-fp/floatdidf.c: Likewise.
5351 * soft-fp/floatdisf.c: Likewise.
5352 * soft-fp/floatditf.c: Likewise.
5353 * soft-fp/floatsidf.c: Likewise.
5354 * soft-fp/floatsisf.c: Likewise.
5355 * soft-fp/floatsitf.c: Likewise.
5356 * soft-fp/floattidf.c: Likewise.
5357 * soft-fp/floattisf.c: Likewise.
5358 * soft-fp/floattitf.c: Likewise.
5359 * soft-fp/floatundidf.c: Likewise.
5360 * soft-fp/floatundisf.c: Likewise.
5361 * soft-fp/floatunditf.c: Likewise.
5362 * soft-fp/floatunsidf.c: Likewise.
5363 * soft-fp/floatunsisf.c: Likewise.
5364 * soft-fp/floatunsitf.c: Likewise.
5365 * soft-fp/floatuntidf.c: Likewise.
5366 * soft-fp/floatuntisf.c: Likewise.
5367 * soft-fp/floatuntitf.c: Likewise.
5368 * soft-fp/fmadf4.c: Likewise.
5369 * soft-fp/fmasf4.c: Likewise.
5370 * soft-fp/fmatf4.c: Likewise.
5371 * soft-fp/gedf2.c: Likewise.
5372 * soft-fp/gesf2.c: Likewise.
5373 * soft-fp/getf2.c: Likewise.
5374 * soft-fp/ledf2.c: Likewise.
5375 * soft-fp/lesf2.c: Likewise.
5376 * soft-fp/letf2.c: Likewise.
5377 * soft-fp/muldf3.c: Likewise.
5378 * soft-fp/mulsf3.c: Likewise.
5379 * soft-fp/multf3.c: Likewise.
5380 * soft-fp/negdf2.c: Likewise.
5381 * soft-fp/negsf2.c: Likewise.
5382 * soft-fp/negtf2.c: Likewise.
5383 * soft-fp/op-1.h: Likewise.
5384 * soft-fp/op-2.h: Likewise.
5385 * soft-fp/op-4.h: Likewise.
5386 * soft-fp/op-8.h: Likewise.
5387 * soft-fp/op-common.h: Likewise.
5388 * soft-fp/quad.h: Likewise.
5389 * soft-fp/single.h: Likewise.
5390 * soft-fp/soft-fp.h: Likewise.
5391 * soft-fp/sqrtdf2.c: Likewise.
5392 * soft-fp/sqrtsf2.c: Likewise.
5393 * soft-fp/sqrttf2.c: Likewise.
5394 * soft-fp/subdf3.c: Likewise.
5395 * soft-fp/subsf3.c: Likewise.
5396 * soft-fp/subtf3.c: Likewise.
5397 * soft-fp/truncdfsf2.c: Likewise.
5398 * soft-fp/trunctfdf2.c: Likewise.
5399 * soft-fp/trunctfsf2.c: Likewise.
5400 * soft-fp/trunctfxf2.c: Likewise.
5401 * soft-fp/unorddf2.c: Likewise.
5402 * soft-fp/unordsf2.c: Likewise.
5403 * soft-fp/unordtf2.c: Likewise.
5405 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5407 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5408 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5410 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5412 * elf/dl-libc.c: Clear initfini list after freeing.
5414 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5416 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5417 * soft-fp/addsf3.c: Likewise.
5418 * soft-fp/addtf3.c: Likewise.
5419 * soft-fp/divdf3.c: Likewise.
5420 * soft-fp/divsf3.c: Likewise.
5421 * soft-fp/divtf3.c: Likewise.
5422 * soft-fp/double.h: Likewise.
5423 * soft-fp/eqdf2.c: Likewise.
5424 * soft-fp/eqsf2.c: Likewise.
5425 * soft-fp/eqtf2.c: Likewise.
5426 * soft-fp/extenddftf2.c: Likewise.
5427 * soft-fp/extended.h: Likewise.
5428 * soft-fp/extendsfdf2.c: Likewise.
5429 * soft-fp/extendsftf2.c: Likewise.
5430 * soft-fp/extendxftf2.c: Likewise.
5431 * soft-fp/fixdfdi.c: Likewise.
5432 * soft-fp/fixdfsi.c: Likewise.
5433 * soft-fp/fixdfti.c: Likewise.
5434 * soft-fp/fixsfdi.c: Likewise.
5435 * soft-fp/fixsfsi.c: Likewise.
5436 * soft-fp/fixsfti.c: Likewise.
5437 * soft-fp/fixtfdi.c: Likewise.
5438 * soft-fp/fixtfsi.c: Likewise.
5439 * soft-fp/fixtfti.c: Likewise.
5440 * soft-fp/fixunsdfdi.c: Likewise.
5441 * soft-fp/fixunsdfsi.c: Likewise.
5442 * soft-fp/fixunsdfti.c: Likewise.
5443 * soft-fp/fixunssfdi.c: Likewise.
5444 * soft-fp/fixunssfsi.c: Likewise.
5445 * soft-fp/fixunssfti.c: Likewise.
5446 * soft-fp/fixunstfdi.c: Likewise.
5447 * soft-fp/fixunstfsi.c: Likewise.
5448 * soft-fp/fixunstfti.c: Likewise.
5449 * soft-fp/floatdidf.c: Likewise.
5450 * soft-fp/floatdisf.c: Likewise.
5451 * soft-fp/floatditf.c: Likewise.
5452 * soft-fp/floatsidf.c: Likewise.
5453 * soft-fp/floatsisf.c: Likewise.
5454 * soft-fp/floatsitf.c: Likewise.
5455 * soft-fp/floattidf.c: Likewise.
5456 * soft-fp/floattisf.c: Likewise.
5457 * soft-fp/floattitf.c: Likewise.
5458 * soft-fp/floatundidf.c: Likewise.
5459 * soft-fp/floatundisf.c: Likewise.
5460 * soft-fp/floatunsidf.c: Likewise.
5461 * soft-fp/floatunsisf.c: Likewise.
5462 * soft-fp/floatuntidf.c: Likewise.
5463 * soft-fp/floatuntisf.c: Likewise.
5464 * soft-fp/floatuntitf.c: Likewise.
5465 * soft-fp/fmadf4.c: Likewise.
5466 * soft-fp/fmasf4.c: Likewise.
5467 * soft-fp/fmatf4.c: Likewise.
5468 * soft-fp/gedf2.c: Likewise.
5469 * soft-fp/gesf2.c: Likewise.
5470 * soft-fp/getf2.c: Likewise.
5471 * soft-fp/ledf2.c: Likewise.
5472 * soft-fp/lesf2.c: Likewise.
5473 * soft-fp/letf2.c: Likewise.
5474 * soft-fp/muldf3.c: Likewise.
5475 * soft-fp/mulsf3.c: Likewise.
5476 * soft-fp/multf3.c: Likewise.
5477 * soft-fp/negdf2.c: Likewise.
5478 * soft-fp/negsf2.c: Likewise.
5479 * soft-fp/negtf2.c: Likewise.
5480 * soft-fp/op-1.h: Likewise.
5481 * soft-fp/op-2.h: Likewise.
5482 * soft-fp/op-4.h: Likewise.
5483 * soft-fp/op-8.h: Likewise.
5484 * soft-fp/op-common.h: Likewise.
5485 * soft-fp/quad.h: Likewise.
5486 * soft-fp/single.h: Likewise.
5487 * soft-fp/soft-fp.h: Likewise.
5488 * soft-fp/sqrtdf2.c: Likewise.
5489 * soft-fp/sqrtsf2.c: Likewise.
5490 * soft-fp/sqrttf2.c: Likewise.
5491 * soft-fp/subdf3.c: Likewise.
5492 * soft-fp/subsf3.c: Likewise.
5493 * soft-fp/subtf3.c: Likewise.
5494 * soft-fp/truncdfsf2.c: Likewise.
5495 * soft-fp/trunctfdf2.c: Likewise.
5496 * soft-fp/trunctfsf2.c: Likewise.
5497 * soft-fp/trunctfxf2.c: Likewise.
5498 * soft-fp/unorddf2.c: Likewise.
5499 * soft-fp/unordsf2.c: Likewise.
5500 * soft-fp/unordtf2.c: Likewise.
5502 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5505 * misc/error.c (error_tail): Fix possible buffer overflow.
5507 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5510 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5513 2013-10-14 P. J. McDermott <pj@pehjota.net>
5516 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5517 testing pipefail option.
5519 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5521 * soft-fp/double.h: Indent preprocessor directives inside #if.
5522 * soft-fp/extended.h: Likewise.
5523 * soft-fp/op-2.h: Likewise.
5524 * soft-fp/op-4.h: Likewise.
5525 * soft-fp/op-common.h: Likewise.
5526 * soft-fp/quad.h: Likewise.
5527 * soft-fp/single.h: Likewise.
5528 * soft-fp/soft-fp.h: Likewise.
5530 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5532 * iconv/iconv_prog.c: Fix typos.
5533 * stdio-common/psiginfo-data.h: Likewise.
5535 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5538 * locale/setlocale.c: Fix typo.
5540 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5543 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5544 signaling NaN arguments.
5545 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5546 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5549 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5551 * soft-fp/gesf2.c (__gesf2): Likewise.
5552 * soft-fp/getf2.c (__getf2): Likewise.
5553 * soft-fp/ledf2.c (__ledf2): Likewise.
5554 * soft-fp/lesf2.c (__lesf2): Likewise.
5555 * soft-fp/letf2.c (__letf2): Likewise.
5557 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5558 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5559 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5560 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5561 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5562 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5563 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5564 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5565 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5566 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5567 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5568 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5569 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5570 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5571 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5572 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5573 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5574 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5575 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5576 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5577 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5578 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5579 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5580 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5581 * soft-fp/floattidf.c (__floattidf): Likewise.
5582 * soft-fp/floattisf.c (__floattisf): Likewise.
5583 * soft-fp/floattitf.c (__floattitf): Likewise.
5584 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5585 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5586 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5587 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5588 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5589 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5590 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5591 * soft-fp/gesf2.c (__gesf2): Likewise.
5592 * soft-fp/getf2.c (__getf2): Likewise.
5593 * soft-fp/ledf2.c (__ledf2): Likewise.
5594 * soft-fp/lesf2.c (__lesf2): Likewise.
5595 * soft-fp/letf2.c (__letf2): Likewise.
5597 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5598 Undefine and redefine.
5599 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5600 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5601 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5602 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5603 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5604 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5605 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5606 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5607 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5608 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5609 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5610 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5611 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5612 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5613 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5616 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5617 without decrementing exponent if mantissa >= that for the
5619 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5620 denominator, not >. Decrement exponent in < case instead of
5621 incrementing in >= case.
5622 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5623 without decrementing exponent if mantissa >= that for the
5626 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5627 computing saturated result for unsigned overflow.
5629 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5630 Jeff Law <law@redhat.com>
5632 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5633 (atan2Mp): Add systemtap probe marker.
5634 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5635 (__ieee754_log): Add systemtap probe marker.
5636 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5637 (atanMp): Add systemtap probe marker.
5638 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5639 (tanMp): Add systemtap probe marker.
5640 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5641 (__slowexp): Add systemtap probe marker.
5642 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5643 (__slowpow): Add systemtap probe marker.
5644 * manual/probes.texi: Document probes.
5646 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5649 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5651 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5653 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5654 written to buffer but not flushed.
5655 * libio/iofwrite_u.c: Likewise.
5656 * libio/iopadn.c: Return bytes returned even if EOF was
5658 * libio/iowpadn.c: Likewise.
5659 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5660 if _IO_padn does not write the whole buffer.
5661 [!COMPILE_WPRINTF] (PAD): Likewise.
5663 2013-10-10 David S. Miller <davem@davemloft.net>
5665 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5668 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5670 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5671 instead of FSF address.
5672 * soft-fp/fixdfti.c: Likewise.
5673 * soft-fp/fixsfti.c: Likewise.
5674 * soft-fp/fixtfti.c: Likewise.
5675 * soft-fp/fixunsdfti.c: Likewise.
5676 * soft-fp/fixunssfti.c: Likewise.
5677 * soft-fp/fixunstfti.c: Likewise.
5678 * soft-fp/floattidf.c: Likewise.
5679 * soft-fp/floattisf.c: Likewise.
5680 * soft-fp/floattitf.c: Likewise.
5681 * soft-fp/floatuntidf.c: Likewise.
5682 * soft-fp/floatuntisf.c: Likewise.
5683 * soft-fp/floatuntitf.c: Likewise.
5684 * soft-fp/trunctfxf2.c: Likewise.
5686 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5687 * soft-fp/fixdfti.c: Likewise.
5688 * soft-fp/fixsfti.c: Likewise.
5689 * soft-fp/fixtfti.c: Likewise.
5690 * soft-fp/fixunsdfti.c: Likewise.
5691 * soft-fp/fixunssfti.c: Likewise.
5692 * soft-fp/fixunstfti.c: Likewise.
5693 * soft-fp/floattidf.c: Likewise.
5694 * soft-fp/floattisf.c: Likewise.
5695 * soft-fp/floattitf.c: Likewise.
5696 * soft-fp/floatuntidf.c: Likewise.
5697 * soft-fp/floatuntisf.c: Likewise.
5698 * soft-fp/floatuntitf.c: Likewise.
5699 * soft-fp/trunctfxf2.c: Likewise.
5701 2013-10-10 David S. Miller <davem@davemloft.net>
5703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5705 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5707 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5708 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5709 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5710 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5711 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5712 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5713 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5716 for NaNs before doing comparisons on argument.
5717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5720 2013-10-10 Will Newton <will.newton@linaro.org>
5722 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5723 passed to _int_memalign does not overflow.
5725 2013-10-10 Torvald Riegel <triegel@redhat.com>
5727 * scripts/bench.pl: Add include-sources directive.
5728 * benchtests/README: Update documentation.
5730 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5732 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5733 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5734 instead of FP_INIT_ROUNDMODE.
5735 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5736 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5739 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5740 copy class of input value.
5741 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5742 not handle exceptions.
5743 * soft-fp/negsf2.c (__negsf2): Likewise.
5744 * soft-fp/negtf2.c (__negtf2): Likewise.
5745 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5747 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5749 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5750 semicolon. From Linux kernel.
5752 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5754 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5756 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5759 * manual/socket.texi: Added statement about buffer
5760 for gethostbyname2_r.
5762 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5764 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5765 Use .p2align directive instead, throughout.
5766 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5767 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5768 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5769 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5770 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5771 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5772 * sysdeps/x86_64/strchr.S: Likewise.
5773 * sysdeps/x86_64/strrchr.S: Likewise.
5775 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5777 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5779 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5781 * sysdeps/generic/math_private.h (__mpsin1): Remove
5783 (__mpcos1): Likewise.
5784 (__mpsin): New argument __range_reduce.
5785 (__mpcos): Likewise.
5786 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5787 (slow): Use __mpsin and __mpcos.
5794 (bsloww1): Likewise.
5795 (bsloww2): Likewise.
5798 (csloww1): Likewise.
5799 (csloww2): Likewise.
5800 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5801 range_reduce. Merge in __mpsin1.
5802 (__mpcos): Likewise.
5804 (__mpcos1): Likewise.
5806 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5808 * locale/loadlocale.c (_nl_intern_locale_data): Use
5810 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5811 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5812 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5813 obstack data is appropriately aligned.
5814 (obstack_int32_grow_fast): Likewise.
5815 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5816 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5817 (add_locale_uint32_array): Likewise.
5819 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5821 * benchtests/Makefile: Remove ARGLIST and RET variables.
5822 ($(objpfx)bench-%.c): Pass only function name to the script.
5823 * benchtests/README: Update documentation.
5824 * benchtests/acos-inputs: Add new directives.
5825 * benchtests/acosh-inputs: Likewise.
5826 * benchtests/asin-inputs: Likewise.
5827 * benchtests/asinh-inputs: Likewise.
5828 * benchtests/atan-inputs: Likewise.
5829 * benchtests/atanh-inputs: Likewise.
5830 * benchtests/cos-inputs: Likewise.
5831 * benchtests/cosh-inputs: Likewise.
5832 * benchtests/exp-inputs: Likewise.
5833 * benchtests/log-inputs: Likewise.
5834 * benchtests/pow-inputs: Likewise.
5835 * benchtests/rint-inputs: Likewise.
5836 * benchtests/sin-inputs: Likewise.
5837 * benchtests/sinh-inputs: Likewise.
5838 * benchtests/tan-inputs: Likewise.
5839 * benchtests/tanh-inputs: Likewise.
5840 * scripts/bench.pl: Add support for new directives.
5842 2013-10-07 Alan Modra <amodra@gmail.com>
5844 * README: Fix careless merge.
5846 2013-10-05 Alan Modra <amodra@gmail.com>
5848 * NEWS: Mention powerpc64le support and bugs fixed.
5849 * README: Both big-endian and little-endian powerpc64 supported.
5851 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5853 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5854 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5855 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5856 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5858 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5860 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5863 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5865 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5866 Move -mhard-float appending from
5867 ports/sysdeps/powerpc/powerpc32/Makefile.
5868 [$(with-fp) = yes] (ASFLAGS): Likewise.
5869 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5870 * sysdeps/powerpc/nofpu: Move directory from
5871 ports/sysdeps/powerpc/nofpu.
5872 * sysdeps/powerpc/soft-fp: Move directory from
5873 ports/sysdeps/powerpc/soft-fp.
5874 * sysdeps/powerpc/powerpc32/405: Move directory from
5875 ports/sysdeps/powerpc/powerpc32/405.
5876 * sysdeps/powerpc/powerpc32/440: Move directory from
5877 ports/sysdeps/powerpc/powerpc32/440.
5878 * sysdeps/powerpc/powerpc32/464: Move directory from
5879 ports/sysdeps/powerpc/powerpc32/464.
5880 * sysdeps/powerpc/powerpc32/476: Move directory from
5881 ports/sysdeps/powerpc/powerpc32/476.
5882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5883 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5885 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5887 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5889 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5891 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5892 * README: Update for powerpc-*-linux-gnu software floating point
5895 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5896 case to powerpc/powerpc32*.
5897 * sysdeps/unix/sysv/linux/configure: Regenerated.
5899 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5900 (_FPU_MASK_OM): Define as 0x04.
5901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5909 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5912 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5915 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5916 and setcontext_e500.
5918 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5920 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5922 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5924 * manual/threads.texi (Default Thread Attributes): Fix typo.
5926 2013-10-04 Will Newton <will.newton@linaro.org>
5928 * malloc/Makefile: Add tst-memalign.
5929 * malloc/tst-memalign.c: New file.
5931 * malloc/tst-posix_memalign.c: Add comments.
5932 (do_test): Add comments and call free on all potentially
5933 allocated pointers. Add space after cast.
5935 * malloc/tst-pvalloc.c: Add comments.
5936 (do_test): Add comments and call free on all potentially
5937 allocated pointers. Remove duplicate check for NULL pointer.
5938 Add space after cast.
5940 * malloc/tst-valloc.c: Add comments.
5941 (do_test): Add comments and call free on all potentially
5942 allocated pointers. Remove duplicate check for NULL pointer.
5943 Add space after cast.
5945 2013-10-04 Alan Modra <amodra@gmail.com>
5947 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5948 Use stdint types in rather than __attribute__((mode())).
5949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5951 2013-10-04 Alan Modra <amodra@gmail.com>
5953 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5954 Correct handling of unaligned relocs for little-endian.
5955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5957 2013-10-04 Alan Modra <amodra@gmail.com>
5959 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5960 * configure: Regenerate.
5961 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5962 * shlib-versions: Likewise.
5964 2013-10-04 Alan Modra <amodra@gmail.com>
5966 * string/tester.c (test_memrchr): Increment reported test cycle.
5968 2013-10-04 Alan Modra <amodra@gmail.com>
5970 * string/test-memcpy.c (do_one_test): When reporting errors, print
5971 string address and don't overrun end of string.
5973 2013-10-04 Alan Modra <amodra@gmail.com>
5975 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5976 insrdi. Make better use of reg selection to speed exit slightly.
5977 Schedule entry path a little better. Remove useless "are we done"
5978 checks on entry to main loop. Handle wrapping around zero address.
5979 Correct main loop count. Handle single left-over word from main
5980 loop inline rather than by using loop_small. Remove extra word
5981 case in loop_small caused by wrong loop count. Add little-endian
5983 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5984 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5986 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5987 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5988 support. Avoid rlwimi.
5989 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5991 2013-10-04 Alan Modra <amodra@gmail.com>
5993 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5995 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5996 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5997 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5998 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5999 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6000 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6002 2013-10-04 Alan Modra <amodra@gmail.com>
6004 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6005 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6007 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6008 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6009 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6010 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6011 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6012 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6013 use of regs. Use power7 mtocrf. Tidy function tails.
6015 2013-10-04 Alan Modra <amodra@gmail.com>
6017 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6018 Formatting. Consistently use rXXX register defines or rN defines.
6019 Use early exit labels that avoid restoring unused non-volatile regs.
6020 Make cr field use more consistent with rWORDn compares. Rename
6021 regs used as shift registers for unaligned loop, using rN defines
6022 for short lifetime/multiple use regs.
6023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6025 addi 1,1,64 to pop stack frame. Simplify return value code.
6026 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6028 2013-10-04 Alan Modra <amodra@gmail.com>
6030 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6031 support. Correct typos, formatting. Optimize tail. Use insrdi
6033 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6034 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6035 little-endian support. Correct typos.
6036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6038 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6039 in loop and entry code to keep "and." results.
6040 (strchr): Add little-endian support. Comment. Move cntlzd
6042 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6044 2013-10-04 Alan Modra <amodra@gmail.com>
6046 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6047 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6048 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6049 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6051 2013-10-04 Alan Modra <amodra@gmail.com>
6053 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6054 (rTMP): Define as r11.
6055 (strcmp): Add little-endian support. Optimise tail.
6056 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6057 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6058 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6060 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6062 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6064 2013-10-04 Alan Modra <amodra@gmail.com>
6066 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6067 little-endian support. Remove unnecessary "are we done" tests.
6068 Handle "s" wrapping around zero and extremely large "size".
6069 Correct main loop count. Handle single left-over word from main
6070 loop inline rather than by using small_loop. Correct comments.
6071 Delete "zero" tail, use "end_max" instead.
6072 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6074 2013-10-04 Alan Modra <amodra@gmail.com>
6076 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6077 support. Don't branch over align.
6078 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6079 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6080 support. Rearrange tmp reg use to suit. Comment.
6081 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6083 2013-10-04 Alan Modra <amodra@gmail.com>
6085 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6087 2013-10-04 Alan Modra <amodra@gmail.com>
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6090 conditional form of branch and link when obtaining pc.
6091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6093 2013-10-04 Alan Modra <amodra@gmail.com>
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6100 2013-10-04 Alan Modra <amodra@gmail.com>
6102 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6103 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6104 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6105 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6106 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6107 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6108 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6109 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6110 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6111 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6113 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6114 Alistair Popple <alistair@ozlabs.au.ibm.com>
6115 Alan Modra <amodra@gmail.com>
6118 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6119 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6120 _dl_hwcap access for little-endian.
6121 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6122 destroy vmx regs when saving unaligned.
6123 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6124 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6125 destroy vmx regs when saving unaligned.
6127 2013-10-04 Alan Modra <amodra@gmail.com>
6129 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6130 Don't use a union to pack hi/low value.
6132 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6134 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6136 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6138 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6139 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6140 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6142 2013-10-04 Alan Modra <amodra@gmail.com>
6144 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6145 constants to usual value for .cst8 section, and remove redundant
6147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6148 constant for 0x1p52. Load little-endian words of double from
6149 correct stack offsets.
6151 2013-10-04 Alan Modra <amodra@gmail.com>
6153 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6154 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6155 words of double from correct stack offsets.
6156 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6157 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6158 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6162 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6163 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6164 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6165 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6166 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6167 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6168 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6169 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6170 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6171 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6172 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6174 2013-10-04 Alan Modra <amodra@gmail.com>
6176 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6177 64-bit int/double union.
6178 (_FPU_SETCW): Likewise.
6179 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6180 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6182 2013-10-04 Alan Modra <amodra@gmail.com>
6184 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6185 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6187 2013-10-04 Alan Modra <amodra@gmail.com>
6189 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6190 use vector int constants.
6191 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6193 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6195 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6196 array with long long.
6197 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6198 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6199 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6200 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6201 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6202 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6203 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6204 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6205 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6206 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6207 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6208 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6209 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6211 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6213 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6214 (__signbit): Likewise. Correct for little-endian.
6215 (__signbitl): Call __signbit.
6216 (lrint): Correct for little-endian.
6217 (lrintf): Call lrint.
6219 2013-10-04 Alan Modra <amodra@gmail.com>
6221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6222 union 32-bit int array member with 64-bit int array.
6223 (t515, tm256): Double rather than long double.
6224 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6226 2013-10-04 Alan Modra <amodra@gmail.com>
6228 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6230 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6232 version of math_ldbl.h.
6234 2013-10-04 Alan Modra <amodra@gmail.com>
6236 [BZ #15734], [BZ #15735]
6237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6238 all uses of ieee875 long double macros and unions. Simplify test
6239 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6240 ldbl_extract_mantissa value for ix,iy exponents. Properly
6241 normalize after ldbl_extract_mantissa, and don't add hidden bit
6242 already handled. Don't treat low word of ieee854 mantissa like
6243 low word of IBM long double and mask off bit when testing for
6245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6246 all uses of ieee875 long double macros and unions. Simplify tests
6247 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6248 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6249 two1022, instead use their values. Recognise that tests for large
6250 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6252 Rewrite all uses of ieee875 long double macros and unions. Simplify
6253 test for 0.0L and nan. Correct negation.
6254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6255 ieee875 long double macros and unions. Correct output for large
6256 magnitude x. Correct absolute value calculation.
6257 (__erfcl): Likewise.
6258 * math/libm-test.inc: Add tests for errors discovered in IBM long
6259 double versions of fmodl, remainderl, erfl and erfcl.
6261 2013-10-04 Alan Modra <amodra@gmail.com>
6263 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6264 all uses of ieee854 long double macros and unions. Simplify tests
6265 for long doubles that are fully specified by the high double.
6266 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6268 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6269 Remove dead code too.
6270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6271 (__ieee754_ynl): Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6275 Remove dead code too.
6276 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6279 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6284 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6286 Comment on variable precision.
6287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6290 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6294 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6296 2013-10-04 Alan Modra <amodra@gmail.com>
6298 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6299 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6300 all uses of ieee854 long double macros and unions.
6301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6308 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6314 Simplify sign and nan test too.
6315 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6320 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6323 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6330 2013-10-04 Alan Modra <amodra@gmail.com>
6332 * stdio-common/printf_size.c (__printf_size): Don't use
6333 union ieee854_long_double in fpnum union.
6334 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6335 signbit macro to retrieve sign from long double.
6336 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6337 retrieve sign from long double.
6338 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6339 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6340 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6341 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6342 * math/test-misc.c (main): Don't use union ieee854_long_double.
6344 2013-10-04 Alan Modra <amodra@gmail.com>
6347 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6348 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6349 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6350 calculation. Remove unnecessary test for denormal exponent.
6351 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6352 Correct handling of denormals. Avoid undefined shift behaviour.
6353 Correct normalisation of low mantissa when low double is denormal.
6354 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6355 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6356 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6357 Correct normalisation of low mantissa. Test for overflow of high
6358 mantissa and normalise.
6359 (ldbl_nearbyint): Use more readable constant for two52.
6360 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6361 (__mpn_construct_long_double): Fix test for overflow of high
6362 mantissa and correct normalisation. Avoid undefined shift.
6364 2013-10-04 Alan Modra <amodra@gmail.com>
6366 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6367 (union ibm_extended_long_double): Define as an array of ieee754_double.
6368 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6369 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6370 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6371 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6380 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6382 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6383 page size instead of calling getpagesize.
6385 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6386 (LOCFILE_ALIGN_MASK): Likewise.
6387 (LOCFILE_ALIGN_UP): Likewise.
6388 (LOCFILE_ALIGNED_P): Likewise.
6389 * locale/programs/ld-collate.c (collate_output): Use the new
6390 macros instead of __alignof__ (int32_t).
6391 * locale/weight.h (findidx): Likewise.
6393 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6396 * manual/string.texi: Fix strncat and wcsncat.
6398 2013-10-03 Brooks Moses <bmoses@google.com>
6401 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6402 * Makerules: ...here, and adjust associated comments.
6404 2013-10-02 Will Newton <will.newton@linaro.org>
6406 * malloc/Makefile: Add tst-pvalloc.
6407 * malloc/tst-pvalloc.c: New file.
6409 2013-10-02 Will Newton <will.newton@linaro.org>
6411 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6412 improve test coverage.
6414 2013-10-02 Will Newton <will.newton@linaro.org>
6416 * malloc/Makefile: Add tst-posix_memalign.
6417 * malloc/tst-posix_memalign.c: New file.
6419 2013-10-01 Eric Blake <eblake@redhat.com>
6421 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6422 Use __THROWNL rather than __THROW on static functions.
6424 2013-09-30 Petr Machata <pmachata@redhat.com>
6426 * elf/elf.h (R_AARCH64_ABS16): New macro.
6427 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6428 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6429 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6430 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6431 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6432 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6433 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6434 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6435 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6436 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6437 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6438 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6439 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6440 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6441 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6442 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6443 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6444 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6445 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6446 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6447 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6448 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6449 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6450 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6451 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6452 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6453 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6454 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6455 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6456 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6457 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6458 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6459 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6460 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6461 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6462 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6463 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6464 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6465 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6466 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6467 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6468 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6469 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6470 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6471 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6472 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6473 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6474 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6475 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6476 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6477 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6478 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6479 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6480 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6481 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6482 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6483 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6484 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6485 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6486 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6487 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6488 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6489 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6490 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6491 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6492 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6493 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6494 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6495 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6496 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6497 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6498 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6499 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6500 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6501 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6502 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6503 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6504 (R_AARCH64_TLSDESC_LDR): Likewise.
6505 (R_AARCH64_TLSDESC_ADD): Likewise.
6506 (R_AARCH64_TLSDESC_CALL): Likewise.
6508 2013-09-30 Andreas Schwab <schwab@suse.de>
6511 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6512 the nss database lookup.
6513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6516 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6518 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6520 2013-09-28 P. J. McDermott <pj@pehjota.net>
6522 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6523 ${Bash-specific parameter/pattern/string} parameter expansion.
6524 * sysdeps/unix/make-syscalls.sh: Likewise.
6526 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6528 * sysdeps/sh/stackguard-macros.h: New file.
6530 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6534 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6535 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6536 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6537 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6539 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6541 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6542 Fix thread ID register.
6544 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6546 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6547 [POSIX || UNIX98]: Require rather than permitting all symbols from
6549 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6550 element of struct sched_param.
6551 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6552 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6553 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6554 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6557 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6559 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6560 argument calculation.
6562 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6564 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6566 [POSIX] (pthread_attr_t): Do not require type.
6567 [POSIX] (pthread_cond_t): Likewise.
6568 [POSIX] (pthread_condattr_t): Likewise.
6569 [POSIX] (pthread_key_t): Likewise.
6570 [POSIX] (pthread_mutex_t): Likewise.
6571 [POSIX] (pthread_mutexattr_t): Likewise.
6572 [POSIX] (pthread_once_t): Likewise.
6573 [POSIX] (pthread_t): Likewise.
6574 [POSIX-based standards] (pthread_atfork): Expect function.
6576 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6577 Richard Sandiford <richard@codesourcery.com>
6579 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6580 (swap_endianness_p): New extern variable.
6581 (set_big_endian): New inline function.
6582 (maybe_swap_uint32): Likewise.
6583 (maybe_swap_uint32_array): Likewise.
6584 (maybe_swap_uint32_obstack): Likewise.
6585 * locale/programs/locfile.c: Include <stdbool.h>.
6586 (swap_endianness_p): New variable.
6587 (add_locale_uint32): Call maybe_swap_uint32.
6588 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6589 (write_locale_data): Call maybe_swap_uint32_array.
6590 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6592 (obstack_int32_grow_fast): Likewise.
6593 (output_weightwc): Call maybe_swap_uint32_obstack.
6594 (collate_output): Likewise.
6595 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6596 (OPT_LITTLE_ENDIAN): Likewise.
6597 (options): Add --little-endian and --big-endian options.
6598 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6599 * locale/programs/locarchive.c: Include "locfile.h".
6603 (create_archive): Use the new macros to access fields of
6604 structures directly mapped from or written to locale archives.
6605 (oldlocrecentcmp): Likewise.
6606 (enlarge_archive): Likewise.
6607 (insert_name): Likewise.
6608 (add_alias): Likewise.
6609 (add_locale): Likewise.
6610 (delete_locales_from_archive): Likewise.
6611 (show_archive_content): Likewise.
6612 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6615 2013-09-24 Roland McGrath <roland@hack.frob.com>
6617 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6618 http://www.gnu.org/doc/freemanuals.texi.
6619 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6621 2013-09-24 Will Newton <will.newton@linaro.org>
6623 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6626 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6628 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6631 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6633 * manual/threads.texi (POSIX Threads): Fix a typo.
6635 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6638 * string/tst-strcoll-overflow.c: New test case.
6639 * string/Makefile (xtests): Add tst-strcoll-overflow.
6640 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6641 cache if string sizes may cause integer overflow.
6644 * string/strcoll_l.c (coll_seq): New members rule, idx,
6645 save_idx and back_us.
6646 (get_next_seq_nocache): New function.
6647 (do_compare_nocache): New function.
6648 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6651 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6654 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6655 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6656 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6659 * elf/Makefile (tests): Add tst-ptrguard1.
6660 (tests-static): Add tst-ptrguard1-static.
6661 (tst-ptrguard1-ARGS): Define.
6662 (tst-ptrguard1-static-ARGS): Define.
6663 * elf/tst-ptrguard1.c: New file.
6664 * elf/tst-ptrguard1-static.c: New file.
6665 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6666 * sysdeps/i386/stackguard-macros.h: Likewise.
6667 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6668 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6669 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6670 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6671 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6672 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6674 2013-09-23 Hector Marco <hecmargi@upv.es>
6675 Ismael Ripoll <iripoll@disca.upv.es>
6676 Carlos O'Donell <carlos@redhat.com>
6679 * sysdeps/generic/stackguard-macros.h: Define
6680 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6681 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6682 Define __pointer_chk_guard_local.
6683 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6684 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6686 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6689 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6691 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6693 * include/string.h (__ffs): Declare as hidden.
6694 * string/ffs.c (__ffs): Define as hidden.
6695 * sysdeps/i386/ffs.c (__ffs): Likewise.
6696 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6697 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6698 * sysdeps/s390/ffs.c (__ffs): Likewise.
6699 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6701 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6703 * NEWS: Mention malloc probes.
6705 * malloc/arena.c (new_heap): New memory_heap_new probe.
6706 (grow_heap): New memory_heap_more probe.
6707 (shrink_heap): New memory_heap_less probe.
6708 (heap_trim): New memory_heap_free probe.
6709 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6710 (systrim): New memory_sbrk_less probe.
6711 * manual/probes.texi: Document them.
6713 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6714 * manual/probes.texi: Document it.
6716 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6717 (__libc_realloc): Add memory_realloc_retry probe.
6718 (__libc_memalign): Add memory_memalign_retry probe.
6719 (__libc_valloc): Add memory_valloc_retry probe.
6720 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6721 (__libc_calloc): Add memory_calloc_retry probe.
6722 * manual/probes.texi: Document them.
6724 * malloc/arena.c (get_free_list): Add probe
6725 memory_arena_reuse_free_list.
6726 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6727 and memory_arena_reuse.
6728 (arena_get2) [!PER_THREAD]: Likewise.
6729 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6730 memory_arena_reuse_realloc.
6731 * manual/probes.texi: Document them.
6733 * malloc/malloc.c (__libc_free): Add
6734 memory_mallopt_free_dyn_thresholds probe.
6735 (__libc_mallopt): Add multiple memory_mallopt probes.
6736 * manual/probes.texi: Document them.
6738 * malloc/malloc.c: Include stap-probe.h.
6739 (__libc_mallopt): Add memory_mallopt probe.
6740 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6741 * manual/probes.texi: New.
6742 * manual/Makefile (chapters): Add probes.
6743 * manual/threads.texi: Set next node.
6745 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6748 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6749 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6750 Add `Chinese' to `nan' entry name.
6752 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6754 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6755 (POLYNOMIAL): Likewise.
6756 (TAYLOR_SINCOS): Likewise.
6757 (TAYLOR_SLOW): Likewise.
6758 (__sin): Use TAYLOR_SINCOS.
6760 (slow): Use TAYLOR_SLOW.
6765 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6767 * stdlib/strtod_l.c: Fix buffer overrun.
6769 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6771 * benchtests/Makefile (bench): Add sincos.
6772 * benchtests/bench-sincos.c: New file.
6774 * math/libm-test.inc (cos_test_data): New test inputs.
6775 (sin_test_data): Likewise.
6777 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6785 (bsloww1): Likewise.
6786 (bsloww2): Likewise.
6788 (csloww1): Likewise.
6789 (csloww2): Likewise.
6791 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6800 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6802 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6803 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6804 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6805 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6806 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6807 * elf/cache.c (print_entry): Handle the new cache flags.
6809 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6810 Aldy Hernandez <aldyh@redhat.com>
6812 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6813 Change condition to [_SOFT_FLOAT].
6814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6826 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6829 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6832 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6834 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6835 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6836 (__longjmp): Use LOAD_GP to load saved GPRs.
6837 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6838 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6839 (__sigsetjmp): Use SAVE_GP to save GPRs.
6841 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6842 Do not append -msoft-float.
6843 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6845 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6847 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6849 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6852 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6853 (_FPU_GETCW): Use initial "__" on variable and field names but not
6854 on macro parameter name.
6855 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6856 parentheses around reference to macro parameter.
6858 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6860 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6862 (ctype_startup): Use uint32_t in cast and sizeof for
6865 2013-09-11 Jia Liu <proljc@gmail.com>
6867 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6869 [__FreeBSD__]: Likewise.
6871 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6874 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6875 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6876 (strchr): Remove __strchr_sse42 ifunc selection.
6877 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6878 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6880 2013-09-11 Will Newton <will.newton@linaro.org>
6882 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6883 parameter to RES. Remove hardcoded 1000 value.
6884 * benchtests/bench-skeleton.c (main): Pass RES parameter
6885 to TIMING_INIT and multiply result by 1000.
6887 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6891 2013-09-11 Andreas Schwab <schwab@suse.de>
6893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6895 (O_TMPFILE) [__USE_GNU]: Define.
6896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6899 2013-09-11 Will Newton <will.newton@linaro.org>
6902 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6905 2013-09-11 Will Newton <will.newton@linaro.org>
6908 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6911 2013-09-11 Will Newton <will.newton@linaro.org>
6914 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6917 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6919 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6921 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6922 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6923 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6925 2013-09-10 Allan McRae <allan@archlinux.org>
6928 * manual/arith.texi (Parsing of Floats): Clarify
6932 * manual/install.texi (Running make install): Mention
6934 * INSTALL: Regenerated.
6936 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6938 * csu/init-first.c (_init): Remove the !SHARED condition around
6939 FPU control word initialization.
6940 * elf/dl-support.c (_dl_fpu_control): New variable.
6941 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6942 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6943 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6944 * math/test-fpucw-static.c: New file.
6945 * math/test-fpucw-ieee.c: New file.
6946 * math/test-fpucw-ieee-static.c: New file.
6947 * math/Makefile (tests): Add `test-fpucw-ieee' and
6949 (tests-static): New variable.
6950 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6952 [($(build-shared),yes)]
6953 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6955 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6958 2013-09-09 Allan McRae <allan@archlinux.org>
6961 * manual/string.texi (Collation Functions): Fix typo in
6963 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6966 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6969 * libio/memstream.c (open_memstream): Fix memory leak.
6970 * libio/wmemstream.c (open_wmemstream): Likewise.
6973 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6975 2013-09-09 Will Newton <will.newton@linaro.org>
6977 * malloc/Makefile: Add tst-realloc to tests.
6978 * malloc/tst-realloc.c: New file.
6980 2013-09-09 Allan McRae <allan@archlinux.org>
6983 * COPYING: Update from GNU website to fix FSF address.
6984 * COPYING.LIB: Likewise.
6986 2013-09-06 David S. Miller <davem@davemloft.net>
6988 * po/zh_TW.po: Update Chinese (traditional) translation from
6989 translation project.
6991 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6992 Joseph Myers <joseph@codesourcery.com>
6994 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6996 (obstack_chunk_alloc): New macro.
6997 (obstack_chunk_free): Likewise.
6998 (record_offset): New function.
6999 (init_locale_data): Likewise.
7000 (align_locale_data): Likewise.
7001 (add_locale_empty): Likewise.
7002 (add_locale_raw_data): Likewise.
7003 (add_locale_raw_obstack): Likewise.
7004 (add_locale_string): Likewise.
7005 (add_locale_wstring): Likewise.
7006 (add_locale_uint32): Likewise.
7007 (add_locale_uint32_array): Likewise.
7008 (add_locale_char): Likewise.
7009 (start_locale_structure): Likewise.
7010 (end_locale_structure): Likewise.
7011 (start_locale_prelude): Likewise.
7012 (end_locale_prelude): Likewise.
7013 (write_locale_data): Take locale_file structure rather than an
7015 * locale/programs/locfile.h: Include "obstack.h".
7016 (struct locale_file): Change to store locale file contents instead
7018 (init_locale_data): New prototype.
7019 (align_locale_data): Likewise.
7020 (add_locale_empty): Likewise.
7021 (add_locale_raw_data): Likewise.
7022 (add_locale_raw_obstack): Likewise.
7023 (add_locale_string): Likewise.
7024 (add_locale_wstring): Likewise.
7025 (add_locale_uint32): Likewise.
7026 (add_locale_uint32_array): Likewise.
7027 (add_locale_char): Likewise.
7028 (start_locale_structure): Likewise.
7029 (end_locale_structure): Likewise.
7030 (start_locale_prelude): Likewise.
7031 (end_locale_prelude): Likewise.
7032 (write_locale_data): Update prototype.
7033 * locale/programs/3level.h (struct TABLE): Remove result field.
7034 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7035 Use new locale_file interface.
7036 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7037 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7038 * locale/programs/ld-address.c (address_output): Use new
7039 locale_file interface.
7040 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7042 (collate_finish): Don't call collseq_table_finalize.
7043 (collate_output): Use new locale_file interface.
7044 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7046 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7047 (TABLE): Move defines earlier in file.
7048 (ELEMENT): Likewise.
7049 (DEFAULT): Likewise.
7050 (wctrans_table_add): Move macro and inline function earlier in
7052 (struct wctype_table): Move type earlier in file.
7053 (add_locale_wctype_table): New static prototype.
7054 (struct locale_ctype_t): Use logical types instead of struct iovec
7055 pointers for members.
7056 (ctype_output): Use new locale_file interface.
7057 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7058 new locale_file interface.
7059 (allocate_arrays): Update for use of new locale_file interface.
7060 * locale/programs/ld-identification.c (identification_output): Use
7061 new locale_file interface.
7062 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7063 * locale/programs/ld-messages.c (messages_output): Likewise.
7064 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7065 * locale/programs/ld-name.c (name_output): Likewise.
7066 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7067 * locale/programs/ld-paper.c (paper_output): Likewise.
7068 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7069 * locale/programs/ld-time.c (time_output): Likewise.
7071 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7073 * benchtests/Makefile: Add memrchr benchmark.
7074 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7075 benchmark as memrchr.
7076 * benchtests/bench-memrchr-ifunc.c: New file.
7077 * benchtests/bench-memrchr.c: New file.
7079 2013-09-06 Will Newton <will.newton@linaro.org>
7081 * benchtests/Makefile (string-bench): Add memcpy.
7083 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7084 Cong Wang <amwang@redhat.com>
7087 * sysdeps/unix/sysv/linux/bits/in.h
7088 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7089 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7090 before __USE_KERNEL_IPV6_DEFS uses.
7091 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7093 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7094 sockaddr_in6, or ipv6_mreq.
7096 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7098 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7099 memory access for final bytes in some large inputs.
7100 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7102 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7104 * string/test-memrchr.c: New file.
7105 * string/test-memrchr-ifunc.c: New file.
7106 * string/Makefile: Add new memrchr testcase.
7108 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7110 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7111 fanotify_init returns EPERM.
7113 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7115 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7117 (top level): Treat second token from macro or constant entries for
7118 allowed headers as allowed.
7119 * include/complex.h: Condition internal declarations on
7121 * include/fenv.h: Condition include of <stdbool.h> and internal
7122 declarations on [!_ISOMAC].
7124 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7127 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7129 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7131 * configure.in (--enable-versioning): Remove configure option.
7132 (libc_cv_asm_symver_directive): Remove configure test.
7133 (libc_cv_ld_version_script_option): Likewise.
7134 (VERSIONING): Remove variable and AC_SUBST.
7135 (DO_VERSIONING): Remove AC_DEFINE.
7136 * configure: Regenerated.
7137 * config.h.in (DO_VERSIONING): Remove macro.
7138 * Makerules [$(versioning) = yes]: Change conditionals to
7139 [$(build-shared) = yes].
7140 * config.make.in (versioning): Remove variable.
7141 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7142 [$(build-shared) = yes].
7143 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7144 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7145 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7146 [$(build-shared) = yes].
7147 * extra-lib.mk [$(versioning) = yes]: Likewise.
7148 * hurd/Makefile [$(versioning) = yes]: Likewise.
7149 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7151 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7153 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7154 [SHARED && !NO_HIDDEN].
7155 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7157 [SHARED && DO_VERSIONING]: Likewise..
7158 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7159 [$(build-shared) = yes].
7160 * manual/install.texi (--disable-versioning): Remove
7162 * INSTALL: Regenerated.
7163 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7165 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7166 [$(build-shared) = yes].
7167 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7168 * sysdeps/i386/i686/multiarch/strstr-c.c
7169 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7170 [SHARED && !NO_HIDDEN].
7171 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7172 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7173 * sysdeps/powerpc/powerpc32/dl-machine.c
7174 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7175 * sysdeps/powerpc/powerpc32/sysdep.h
7176 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7177 to [SHARED && PIC && !NO_HIDDEN].
7178 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7179 conditional to [SHARED].
7181 2013-09-04 Will Newton <will.newton@linaro.org>
7183 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7184 * benchtests/bench-string.h: Include bench-timing.h instead
7185 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7186 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7187 call to HP_TIMING_DIFF_INIT.
7188 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7189 instead of hp-timing.h macros.
7190 * benchtests/bench-memchr.c: Likewise.
7191 * benchtests/bench-memcmp.c: Likewise.
7192 * benchtests/bench-memcpy.c: Likewise.
7193 * benchtests/bench-memmem.c: Likewise.
7194 * benchtests/bench-memmove.c: Likewise.
7195 * benchtests/bench-memset.c: Likewise.
7196 * benchtests/bench-rawmemchr.c: Likewise.
7197 * benchtests/bench-strcasecmp.c: Likewise.
7198 * benchtests/bench-strcasestr.c: Likewise.
7199 * benchtests/bench-strcat.c: Likewise.
7200 * benchtests/bench-strchr.c: Likewise.
7201 * benchtests/bench-strcmp.c: Likewise.
7202 * benchtests/bench-strcpy.c: Likewise.
7203 * benchtests/bench-strcpy_chk.c: Likewise.
7204 * benchtests/bench-strlen.c: Likewise.
7205 * benchtests/bench-strncasecmp.c: Likewise.
7206 * benchtests/bench-strncat.c: Likewise.
7207 * benchtests/bench-strncmp.c: Likewise.
7208 * benchtests/bench-strncpy.c: Likewise.
7209 * benchtests/bench-strnlen.c: Likewise.
7210 * benchtests/bench-strpbrk.c: Likewise.
7211 * benchtests/bench-strrchr.c: Likewise.
7212 * benchtests/bench-strspn.c: Likewise.
7213 * benchtests/bench-strstr.c: Likewise.
7215 2013-09-04 Will Newton <will.newton@linaro.org>
7217 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7219 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7222 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7223 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7224 * math/libm-test.inc (lgamma_test_data): Add more tests.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7228 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7230 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7234 Add strcmp-sse2-unaligned
7235 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7237 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7239 * Versions.def (libc): Add GLIBC_2.19.
7241 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7243 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7244 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7246 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7249 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7250 intermediate calculations in recurrence.
7251 (__ieee754_ynf): Likewise.
7252 * math/libm-test.inc (jn_test_data): Do not allow spurious
7253 underflow exception. Add more tests.
7254 (yn_test_data): Add more tests.
7255 * sysdeps/i386/fpu/libm-test-ulps: Update.
7256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7258 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7260 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7262 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7264 * csu/init-first.c: Fix then/than typos.
7265 * locale/programs/ld-collate.c: Likewise.
7266 * locale/programs/linereader.h: Likewise.
7267 * manual/charset.texi: Likewise.
7268 * manual/filesys.texi: Likewise.
7269 * manual/stdio.texi: Likewise.
7270 * manual/string.texi: Likewise.
7271 * stdlib/fmtmsg.c: Likewise.
7272 * sysdeps/i386/stpncpy.S: Likewise.
7273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7274 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7275 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7276 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7278 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7280 * elf/dl-open.c: Fix typos.
7281 * iconvdata/gbbig5.c: Likewise.
7282 * iconvdata/iso-2022-jp.c: Likewise.
7283 * iconv/gconv_int.h: Likewise.
7284 * iconv/loop.c: Likewise.
7285 * nis/rpcsvc/nis.h: Likewise.
7286 * resolv/ns_name.c: Likewise.
7287 * stdio-common/vfscanf.c: Likewise.
7288 * streams/stropts.h: Likewise.
7289 * sunrpc/rpc_thread.c: Likewise.
7290 * sysdeps/i386/strpbrk.S: Likewise.
7291 * sysdeps/ieee754/k_standard.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7294 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7295 * sysdeps/mach/hurd/profil.c: Likewise.
7296 * sysdeps/s390/dl-procinfo.h: Likewise.
7297 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7298 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7299 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7300 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7301 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7303 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7305 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7308 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7310 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7319 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7321 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7322 Roland McGrath <roland@hack.frob.com>
7324 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7325 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7327 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7329 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7330 __executable_start symbol instead of _start.
7332 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7334 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7335 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7337 * sysdeps/gnu/ldsodefs.h: ... this new file.
7339 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7340 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7341 instead of ELFOSABI_LINUX.
7343 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7344 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7345 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7346 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7348 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7349 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7352 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7353 (ibm_extended_long_double): Add ieee_nan member.
7354 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7355 (do_test): New function.
7357 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7359 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7360 functions, renamed from truncdfsf_test, trunctfsf_test,
7362 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7364 (do_test): Run all these.
7366 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7368 * argp/argp-help.c: Fix typos.
7369 * argp/argp-parse.c: Likewise.
7370 * debug/backtracesyms.c: Likewise.
7371 * elf/elf.h: Likewise.
7372 * malloc/malloc.c: Likewise.
7373 * nis/nis_print.c: Likewise.
7374 * resolv/res_comp.c: Likewise.
7375 * stdlib/stdlib.h: Likewise.
7376 * sunrpc/clnt_tcp.c: Likewise.
7377 * sunrpc/clnt_udp.c: Likewise.
7378 * sunrpc/clnt_unix.c: Likewise.
7379 * sysdeps/unix/bsd/ptsname.c: Likewise.
7380 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7381 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7388 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7390 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7392 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7395 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7398 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7399 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7400 ($(objpfx)bug-dl-leaf): New rule.
7401 ($(objpfx)bug-dl-leaf.so): Likewise.
7402 ($(objpfx)bug-dl-leaf.out): Likewise.
7403 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7404 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7405 * dlfcn/bug-dl-leaf.c: New test.
7406 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7407 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7408 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7409 (dlclose): Likewise.
7410 (dlmopen): Likewise.
7412 2013-08-27 Roland McGrath <roland@hack.frob.com>
7414 * include/netdb.h [!_ISOMAC]:
7415 Don't include <tls.h>.
7416 (h_errno, __libc_h_errno): Move declaration and macros out of
7419 * include/resolv.h [_RESOLV_H_]:
7420 Don't include <tls.h>.
7421 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7422 * resolv/res_libc.c: Don't include <tls.h>.
7423 (_res): Use __attribute__ ((nocommon)) in place of
7424 __attribute__ ((section (".bss"))).
7426 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7427 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7429 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7431 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7432 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7434 * resolv/res_mkquery.c: Include <sys/time.h>.
7436 * inet/ifreq.c: Moved to ...
7437 * sysdeps/unix/ifreq.c: ... here.
7438 * inet/ifreq.c: New file, true stub version.
7440 * socket/sa_len.c: New file.
7441 * socket/Makefile (aux): Add it.
7442 * sysdeps/unix/sysv/linux/Makefile
7443 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7444 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7445 and #include <socket/sa_len.c>.
7446 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7447 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7449 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7450 * bits/socket.h: ... here.
7452 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7453 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7454 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7456 2013-08-27 Andreas Schwab <schwab@suse.de>
7459 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7460 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7461 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7462 * string/test-strcasecmp.c (test_main): Run tests in several
7464 * string/test-strncasecmp.c (test_main): Likewise.
7466 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7467 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7468 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7470 (__strncasecmp_ssse3) [PIC]: Likewise.
7472 2013-08-26 Roland McGrath <roland@hack.frob.com>
7474 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7476 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7477 instead of explicitly declaring xdecrypt.
7478 * nis/nss_nis/nis-publickey.c: Likewise.
7480 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7483 * nscd/aicache.c: Include res_hconf.h.
7484 (addhstaiX): Initialize res_hconf.
7486 2013-08-26 Andreas Schwab <schwab@suse.de>
7488 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7489 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7491 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 * nscd/aicache.c (addhstaiX): Fix indentation.
7495 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7497 * configure.ac: Quote $build_pt_chown test.
7498 * configure: Regenerated.
7500 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7503 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7504 * math/s_cexpf.c (__cexpf): Likewise.
7505 * math/s_cexpl.c (__cexpl): Likewise.
7506 * math/libm-test.inc (cexp_test_data): Correct expected return
7507 value for NaN + i0. Add another test.
7509 2013-08-22 David S. Miller <davem@davemloft.net>
7511 * po/ca.po: Update Catalan translation from translation project.
7512 * po/uk.po: Add Ukrainian translations from translation project.
7514 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7517 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7518 is infinite, not alongside NaN test.
7519 * math/s_fdimf.c (__fdimf): Likewise.
7520 * math/s_fdiml.c (__fdiml): Likewise.
7521 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7524 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7526 * argp/argp-help.c: Fix typos.
7527 * crypt/speeds.c: Likewise.
7528 * csu/check_fds.c: Likewise.
7529 * elf/dl-load.c: Likewise.
7530 * elf/dl-open.c: Likewise.
7531 * elf/reldep3.c: Likewise.
7532 * elf/reldep.c: Likewise.
7533 * elf/sprof.c: Likewise.
7534 * iconv/iconv_charmap.c: Likewise.
7535 * iconv/skeleton.c: Likewise.
7536 * iconv/strtab.c: Likewise.
7537 * io/lockf64.c: Likewise.
7538 * libio/libioP.h: Likewise.
7539 * resolv/gai_notify.c: Likewise.
7540 * resolv/ns_name.c: Likewise.
7541 * resolv/ns_samedomain.c: Likewise.
7542 * resolv/res_send.c: Likewise.
7543 * stdlib/random.c: Likewise.
7544 * sunrpc/rpc/xdr.h: Likewise.
7545 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7546 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7547 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7548 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7553 * sysdeps/mach/hurd/check_fds.c: Likewise.
7554 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7555 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7557 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7558 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7559 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7560 * sysdeps/pthread/aio_notify.c: Likewise.
7561 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7562 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7563 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7565 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7567 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7569 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7570 version if bit_Slow_SSE4_2 is set.
7571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7574 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7577 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7578 trampoline stack frame information.
7579 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7581 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7582 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7583 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7584 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7585 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7586 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7588 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7589 interrupting a syscall and set with option SA_SIGINFO.
7591 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7594 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7595 argument is infinite.
7596 * math/s_cprojf.c (__cprojf): Likewise.
7597 * math/s_cprojl.c (__cprojl): Likewise.
7598 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7599 * math/libm-test.inc (cproj_test_data): Add more tests.
7601 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7603 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7604 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7605 size. Use __ffs to determine corresponding shift.
7607 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7608 Roland McGrath <roland@hack.frob.com>
7610 * Makefile (INSTALL): Remove trailing blank lines from output of
7613 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7615 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7616 Align 32 bit compat elf_greg to 8 bytes.
7618 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7620 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7622 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7624 * string/strcoll_l.c (coll_seq): New structure.
7625 (get_next_seq_cached): New function.
7626 (get_next_seq): New function.
7627 (do_compare): New function.
7628 (STRCOLL): Use GNU style definition. Simplify implementation
7629 by using get_next_seq, get_next_seq_cached and do_compare.
7631 2013-08-16 Florian Weimer <fweimer@redhat.com>
7635 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7637 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7639 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7640 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7641 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7643 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7644 GETDENTS_64BIT_ALIGNED.
7645 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7646 * manual/filesys.texi (Reading/Closing Directory): Document
7647 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7649 * manual/conf.texi (Limits for Files): Add portability note to
7651 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7653 2013-08-13 Andreas Schwab <schwab@suse.de>
7656 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7658 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7659 LDBL_MAX_EXP >= 16384]: Add tests for it.
7661 2013-08-12 David S. Miller <davem@davemloft.net>
7663 * version.h (RELEASE): Set to "development".
7664 (VERSION): Set to "2.18.90".
7665 * NEWS: Add 2.19 section.
7667 2013-08-03 David S. Miller <davem@davemloft.net>
7669 * po/ko.po: Update Korean translation from translation project.
7671 2013-08-01 David S. Miller <davem@davemloft.net>
7673 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7674 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7677 2013-07-30 David S. Miller <davem@davemloft.net>
7679 * po/fr.po: Update French translation from translation project.
7681 2013-07-28 David S. Miller <davem@davemloft.net>
7683 * po/cs.po: Update Czech translation from translation project.
7685 * po/sv.po: Update Swedish translation from translation project.
7687 2013-07-27 David S. Miller <davem@davemloft.net>
7689 * po/eo.po: Update Esperanto translation from translation project.
7691 * po/vi.po: Update Vietnamese translation from translation project.
7693 * po/de.po: Update German translation from translation project.
7695 2013-07-26 David S. Miller <davem@davemloft.net>
7697 * po/bg.po: Update Bulgarian translation from translation project.
7699 * po/nl.po: Update Dutch translation from translation project.
7700 * po/pl.po: Update Polish translation from translation project.
7701 * po/ru.po: Update Russian translation from translation project.
7703 2013-07-24 David S. Miller <davem@davemloft.net>
7705 * po/libc.pot: Update.
7707 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7709 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7711 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7712 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7713 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7715 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7717 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7719 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7720 Andreas Schwab <schwab@suse.de>
7721 Roland McGrath <roland@hack.frob.com>
7722 Joseph Myers <joseph@codesourcery.com>
7723 Carlos O'Donell <carlos@redhat.com>
7726 * config.h.in: Define HAVE_PT_CHOWN.
7727 * config.make.in (build-pt-chown): New variable.
7728 * configure.in (--enable-pt_chown): New configure option.
7729 * configure: Regenerate.
7730 * login/Makefile: Include Makeconfig. Build pt_chown only if
7731 build-pt-chown is enabled.
7732 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7733 pt_chown to fix pty ownership.
7734 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7736 * manual/install.texi (Configuring and compiling): Mention
7737 --enable-pt_chown. Add @findex for grantpt.
7738 * INSTALL: Regenerate.
7740 2013-07-20 David S. Miller <davem@davemloft.net>
7742 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7743 difference between 32-bit and 64-bit.
7745 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7748 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7749 Avoid system header dependency with -ffreestanding.
7750 ($(objpfx)bits/syscall%d): Likewise.
7752 2013-07-13 David S. Miller <davem@davemloft.net>
7754 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7755 underflows from atanl/atan2l due to bug 15319.
7756 (casinh_test_data): Likewise.
7758 2013-07-07 David S. Miller <davem@davemloft.net>
7760 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7762 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7764 * sysdeps/i386/fpu/libm-test-ulps: Update.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7767 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7769 * configure.in (--enable-lock-elision): Fix message text.
7770 * INSTALL: Regenerate.
7771 * configure: Regenerate.
7773 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7777 2013-07-03 Andreas Jaeger <aj@suse.de>
7779 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7781 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7782 (ptrace_peeksiginfo_args): Add.
7783 (__ptrace_peeksiginfo_flags): Add.
7784 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7788 2013-07-03 Allan McRae <allan@archlinux.org>
7790 * sysdeps/i386/fpu/libm-test-ulps: Update.
7792 2013-07-02 David S. Miller <davem@davemloft.net>
7794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7796 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7800 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7802 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7805 2013-07-02 Andi Kleen <ak@linux.intel.com>
7807 * config.h.in (ENABLE_LOCK_ELISION): Add.
7808 * configure.in (--enable-lock-elision): Add option.
7809 * manual/install.texi: Document --enable lock elision.
7810 * configure: Regenerate
7811 * INSTALL: Regenerate.
7813 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7815 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7816 SSE4.2 strcasecmp for libc.a.
7817 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7819 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7822 * soft-fp/op-common.h (_FP_FMA): New macro.
7823 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7824 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7825 (_FP_MUL_MEAT_1_imm): ... here.
7826 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7827 (_FP_MUL_MEAT_1_wide): ... here.
7828 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7829 (_FP_MUL_MEAT_1_hard): ... here.
7830 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7831 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7832 (_FP_MUL_MEAT_2_wide): ... here.
7833 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7834 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7835 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7836 (_FP_MUL_MEAT_2_gmp): ... here.
7837 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7838 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7839 (_FP_MUL_MEAT_4_wide): ... here.
7840 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7841 (_FP_MUL_MEAT_4_gmp): ... here.
7842 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7843 (_FP_WFRACBITS_DW_S): Likewise.
7844 (_FP_WFRACXBITS_DW_S): Likewise.
7845 (_FP_HIGHBIT_DW_S): Likewise.
7846 (FP_FMA_S): Likewise.
7847 (_FP_FRAC_HIGH_DW_S): Likewise.
7848 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7849 (_FP_WFRACBITS_DW_D): Likewise.
7850 (_FP_WFRACXBITS_DW_D): Likewise.
7851 (_FP_HIGHBIT_DW_D): Likewise.
7852 (FP_FMA_D): Likewise.
7853 (_FP_FRAC_HIGH_DW_D): Likewise.
7854 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7855 (_FP_WFRACBITS_DW_E): Likewise.
7856 (_FP_WFRACXBITS_DW_E): Likewise.
7857 (_FP_HIGHBIT_DW_E): Likewise.
7858 (FP_FMA_E): Likewise.
7859 (_FP_FRAC_HIGH_DW_E): Likewise.
7860 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7861 (_FP_WFRACBITS_DW_Q): Likewise.
7862 (_FP_WFRACXBITS_DW_Q): Likewise.
7863 (_FP_HIGHBIT_DW_Q): Likewise.
7864 (FP_FMA_Q): Likewise.
7865 (_FP_FRAC_HIGH_DW_Q): Likewise.
7866 * soft-fp/fmasf4.c: New file.
7867 * soft-fp/fmadf4.c: Likewise.
7868 * soft-fp/fmatf4.c: Likewise.
7870 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7873 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7877 (index_Slow_SSE4_2): Likewise.
7878 (index_Prefer_PMINUB_for_stringop): Likewise.
7879 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7880 bit_Slow_SSE4_2 is set.
7881 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7882 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7884 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7886 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7887 rtld_global._dl_hwcap2.
7888 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7890 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7891 POWER8 feature descriptions defined in _dl_hwcap2.
7892 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7893 string handling for POWER8 feature bits.
7894 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7895 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7896 _dl_powerpc_cap_flags.
7897 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7898 * sysdeps/powerpc/rtld-global-offsets.sym
7899 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7900 _dl_hwcap2 in the rtld_global_ro structure.
7902 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7904 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7905 hardware capabilities in support of AT_HWCAP2.
7906 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7907 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7909 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7910 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7911 explicitly the unknown a_type display mechanism is used.
7912 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7913 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7915 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7916 to macro prototype for AT_HWCAP2 support.
7917 * sysdeps/i386/dl-procinfo.h: Likewise.
7918 * sysdeps/s390/dl-procinfo.h: Likewise.
7919 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7920 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7921 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7922 return -1 for unknown a_type display fallback.
7923 * sysdeps/sparc/dl-procinfo.h: Likewise.
7924 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7925 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7927 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7929 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7930 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7932 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7935 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7936 mprotect making __stack_prot writable.
7938 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7939 Joseph Myers <joseph@codesourcery.com>
7941 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7942 as being properly aligned.
7944 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7946 * dlfcn/modstatic5.c: New file.
7947 * dlfcn/tststatic5.c: New file.
7948 * dlfcn/Makefile (tests): Add tststatic5.
7949 (tests-static): Likewise.
7950 (modules-names): Add modstatic5.
7951 (tststatic5-ENV): New variable.
7952 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7955 * elf/dl-support.c (_dl_main_map): New variable.
7956 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7957 (_dl_nns, _dl_load_adds): Set to 1.
7958 (_dl_initial_searchlist): Refer to _dl_main_map.
7959 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7960 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7961 call to _dl_get_origin.
7962 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7964 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7965 * dlfcn/modstatic3.c: New file.
7966 * dlfcn/tststatic3.c: New file.
7967 * dlfcn/tststatic4.c: New file.
7968 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7969 (tests-static): Likewise.
7970 (modules-names): Add modstatic3.
7971 (tststatic3-ENV, tststatic4-ENV): New variables.
7972 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7973 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7975 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7977 * configure.in (CC): Require GCC version 4.4 or later.
7978 * configure: Regenerated.
7979 * manual/install.texi (Tools for Compilation): Update GCC version
7981 * INSTALL: Regenerated.
7983 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7986 * string/test-memcmp.c (check2): New.
7987 (main): Call check2.
7989 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7991 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7994 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7996 (dl_open_worker) [!SHARED]: ... here.
7998 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8000 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8002 2013-06-25 Richard Henderson <rth@redhat.com>
8004 * locale/programs/locarchive.c: Include <libc-internal.h>
8006 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8008 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8009 trailing whitespace removed.
8011 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8014 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8015 * locale/programs/locarchive.c: Include libc-mmap.h.
8016 (prepare_address_space): Take two new outputs (the mmap base and len).
8017 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8019 (create_archive): Declare new mmap base and len values for
8020 prepare_address_space, and store the result in ah.
8021 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8022 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8023 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8024 Declare new mmap base and len values for
8025 prepare_address_space, and store the result in new_ah.
8026 (open_archive): Declare new mmap base and len values for
8027 prepare_address_space, and store the result in ah.
8028 (close_archive): If ah->mmap_base is not NULL, use that and
8029 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8030 * sysdeps/generic/libc-mmap.h: New file.
8032 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8034 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8035 (ALIGN_UP): Likewise.
8036 (PTR_ALIGN_DOWN): Likewise.
8037 (PTR_ALIGN_UP): Likewise.
8039 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8041 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8042 entry mapped to PPC_PLATFORM_POWER8.
8043 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8045 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8046 (_dl_string_platform): Add case for exporting platform position for
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8049 search path to sysdeps/powerpc/powerpc32/power8 directory.
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8051 search path to sysdeps/powerpc/powerpc64/power8 directory.
8052 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8054 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8057 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8059 * INSTALL: Regenerate.
8061 * nscd/connections.c (nscd_init): Fix comment.
8063 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8065 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8068 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8069 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8071 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8073 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8075 (DL_DST_REQ_STATIC): Remove macro.
8077 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8080 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8081 with a shift of 0 bits.
8083 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8085 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8088 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8091 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8093 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8095 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8096 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8097 accepts -fno-tree-loop-distribute-patterns.
8098 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8099 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8101 * string/memset.c (memset): Likewise.
8102 * string/test-memmove.c (simple_memmove): Disable loop transformation
8104 * string/test-memset.c (simple_memset): Likewise.
8105 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8106 * benchtests/bench-memset.c (simple_memset): Likewise.
8107 * configure: Regenerated.
8109 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8111 * math/test-misc.c (main): Ignore fesetround failure when failures
8112 of subsequent rounding tests would be ignored.
8115 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8116 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8117 * math/fegetenv.c (__fegetenv): Return 0.
8118 * math/fegetexcept.c (fegetexcept): Return 0.
8119 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8121 * math/feholdexcpt.c (feholdexcept): Return 0.
8122 * math/fesetenv.c (__fesetenv): Return 0.
8123 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8124 argument FE_TONEAREST.
8125 * math/feupdateenv.c (__feupdateenv): Return 0.
8126 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8128 2013-06-18 Roland McGrath <roland@hack.frob.com>
8130 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8131 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8132 ($(objpfx)rtld-%.os rules): Use them.
8134 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8136 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8139 2013-06-17 Roland McGrath <roland@hack.frob.com>
8141 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8142 length of target pattern, then descending length of dependency pattern.
8143 * configure.in (AWK): Require gawk 3.1.2 or newer.
8144 * manual/install.texi (Tools for Compilation): Say that we do.
8145 * configure: Regenerated.
8147 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8148 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8149 * scripts/sysd-rules.awk: ... this new script.
8150 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8151 than a glob-style pattern.
8153 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8155 * math/test-misc.c (main): Do not treat incorrectly rounded
8156 conversions as failure unless ROUNDING_TESTS passes.
8158 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8161 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8162 restore exception state around main square root computation, then
8163 check for inexactness explicitly.
8165 * math/libm-test.inc (fma_test_data): Add another test.
8167 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8169 * manual/threads.texi (Non-POSIX Extensions): New document
8170 node. Document pthread_getattr_default_np and
8171 pthread_setattr_default_np.
8173 * Versions.def (libpthread): Add GLIBC_2.18.
8174 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8183 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8194 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8197 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8199 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 H.J. Lu <hjl.tools@gmail.com>
8203 * sysdeps/x86_64/rtld-memset.c: Remove file.
8204 * sysdeps/x86_64/rtld-memset.S: New file.
8206 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8208 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8209 (test_in_one_mode): Take arguments for whether the rounding mode
8210 is supported for each floating-point type.
8211 (do_test): Pass new arguments to test_in_one_mode using
8214 2013-06-13 Roland McGrath <roland@hack.frob.com>
8216 * posix/tst-waitid.c (do_test): Distinguish different instances of
8217 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8218 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8219 before entering the kernel for waitpid.
8221 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8223 * NEWS: Fix note on clock function precision. Text by Roland
8226 2013-06-13 Roland McGrath <roland@hack.frob.com>
8228 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8229 it into place only when and if the sanity check passes.
8231 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8233 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8234 output for whether conversion result is exact. Take argument
8235 indicating whether type is IBM long double.
8236 (round_for_all): Change need_exact field to ibm_ld.
8237 * stdlib/tst-strtod-round.c (struct exactness): New type.
8238 (struct test): Change bool ld_ok field to struct exactness exact.
8239 (TEST): Update all definitions for change to field.
8240 (tests): Regenerate array contents.
8241 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8242 field value. Check for IBM long double here.
8243 (do_test): Update calls to test_in_one_mode.
8245 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8248 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8249 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8251 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8254 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8255 generated by the compiler on loop optimizations.
8256 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8257 general definitions.
8259 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8261 * math/bug-nextafter.c: Include <math-tests.h>.
8262 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8264 * math/bug-nexttoward.c: Include <math-tests.h>.
8265 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8267 * math/test-misc.c: Include <math-tests.h>.
8268 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8271 2013-06-12 Andreas Jaeger <aj@suse.de>
8273 * po/ia.po: Update Interlingua translation from translation
8276 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8278 * include/fenv.h: Include stdbool.h.
8279 (struct rm_ctx): New structure.
8280 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8282 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8283 (SET_RESTORE_ROUNDF): Likewise.
8284 (SET_RESTORE_ROUNDL): Likewise.
8285 (SET_RESTORE_ROUND_NOEX): Likewise.
8286 (SET_RESTORE_ROUND_NOEXF): Likewise.
8287 (SET_RESTORE_ROUND_NOEXL): Likewise.
8288 (SET_RESTORE_ROUND_53BIT): Likewise.
8289 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8290 (libc_feresetround_noexf_ctx): Likewise.
8291 (libc_feresetround_noexl_ctx): Likewise.
8292 (libc_feholdsetround_53bit_ctx): Likewise.
8293 (libc_feresetround_53bit_ctx): Likewise.
8294 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8295 (libc_feholdexcept_setround_sse_ctx): New function.
8296 (libc_fesetenv_sse_ctx): Likewise.
8297 (libc_feupdateenv_sse_ctx): Likewise.
8298 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8299 (libc_feholdexcept_setround_387_ctx): Likewise.
8300 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8301 (libc_feholdsetround_387_prec_ctx): Likewise.
8302 (libc_feholdsetround_387_ctx): Likewise.
8303 (libc_feholdsetround_387_53bit_ctx): Likewise.
8304 (libc_feholdsetround_sse_ctx): Likewise.
8305 (libc_feresetround_sse_ctx): Likewise.
8306 (libc_feresetround_387_ctx): Likewise.
8307 (libc_feupdateenv_387_ctx): Likewise.
8308 (libc_feholdexcept_setroundf_ctx): Define macro.
8309 (libc_fesetenvf_ctx): Likewise.
8310 (libc_feupdateenvf_ctx): Likewise.
8311 (libc_feholdsetroundf_ctx): Likewise.
8312 (libc_feresetroundf_ctx): Likewise.
8313 (libc_feholdexcept_setround_ctx): Likewise.
8314 (libc_fesetenv_ctx): Likewise.
8315 (libc_feupdateenv_ctx): Likewise.
8316 (libc_feholdsetround_ctx): Likewise.
8317 (libc_feresetround_ctx): Likewise.
8318 (libc_feholdexcept_setroundl_ctx): Likewise.
8319 (libc_feupdateenvl_ctx): Likewise.
8320 (libc_feholdsetroundl_ctx): Likewise.
8321 (libc_feresetroundl_ctx): Likewise.
8322 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8323 (libc_feresetround_53bit_ctx): Likewise.
8325 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8327 * locale/iso-639.def: Convert to UTF-8.
8329 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8331 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8332 (EXCEPTION_TESTS_double): Likewise.
8333 (EXCEPTION_TESTS_long_double): Likewise.
8334 (EXCEPTION_TESTS): Likewise.
8335 * math/libm-test.inc (test_exceptions): Only test exceptions if
8336 EXCEPTION_TESTS (FLOAT).
8338 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8340 * benchtests/Makefile (string-bench): Add strcpy_chk and
8342 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8343 * benchtests/bench-stpcpy_chk.c: New file.
8344 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8345 * benchtests/bench-strcpy_chk.c: New file.
8346 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8348 (do_test): Likewise.
8350 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8352 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8353 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8354 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8355 with tabs where appropriate.
8356 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8358 [PPC_PLATFORM_PPC440]: Likewise.
8359 [PPC_PLATFORM_PPC464]: Likewise.
8360 [PPC_PLATFORM_PPC476]: Likewise.
8361 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8362 ppc464, and ppc476 platform strings merging from ports/
8365 2013-06-11 Andreas Schwab <schwab@suse.de>
8368 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8369 (from_ucs4_idx): Regenerate.
8370 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8371 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8372 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8373 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8374 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8375 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8376 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8377 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8378 from FROM_LOOP and TO_LOOP specific macros.
8379 (BODY): Handle combining characters.
8380 * iconvdata/BIG5HKSCS.irreversible: Update.
8381 * iconvdata/BIG5HKSCS.precomposed: New file.
8382 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8384 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8386 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8388 * include/sys/time.h: Fix indentation and add copyright header.
8390 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8391 (do_test): Likewise.
8392 * string/test-memchr.c (do_one_test): Likewise.
8393 (do_test): Likewise.
8394 * string/test-memcmp.c (do_one_test): Likewise.
8395 (do_test): Likewise.
8396 * string/test-memcpy.c (do_one_test): Likewise.
8397 (do_test): Likewise.
8398 * string/test-memmem.c (do_one_test): Likewise.
8399 (do_test): Likewise.
8400 (do_random_tests): Likewise.
8401 * string/test-memmove.c (do_one_test): Likewise.
8402 (do_test): Likewise.
8403 * string/test-memset.c (do_one_test): Likewise.
8404 (do_test): Likewise.
8405 * string/test-rawmemchr.c (do_one_test): Likewise.
8406 (do_test): Likewise.
8407 * string/test-strcasecmp.c (do_one_test): Likewise.
8408 (do_test): Likewise.
8409 * string/test-strcasestr.c (do_one_test): Likewise.
8410 (do_test): Likewise.
8411 * string/test-strcat.c (do_one_test): Likewise.
8412 (do_test): Likewise.
8413 * string/test-strchr.c (do_one_test): Likewise.
8414 (do_test): Likewise.
8415 * string/test-strcmp.c (do_one_test): Likewise.
8416 (do_test): Likewise.
8417 * string/test-strcpy.c (do_one_test): Likewise.
8418 (do_test): Likewise.
8419 * string/test-string.h: Likewise.
8420 (test_init): Likewise.
8421 * string/test-strlen.c (do_one_test): Likewise.
8422 (do_test): Likewise.
8423 * string/test-strncasecmp.c (do_one_test): Likewise.
8424 (do_test): Likewise.
8425 * string/test-strncat.c (do_one_test): Likewise.
8426 (do_test): Likewise.
8427 * string/test-strncmp.c (do_one_test): Likewise.
8428 (do_test_limit): Likewise.
8429 (do_test): Likewise.
8430 * string/test-strncpy.c (do_one_test): Likewise.
8431 (do_test): Likewise.
8432 * string/test-strnlen.c (do_one_test): Likewise.
8433 (do_test): Likewise.
8434 * string/test-strpbrk.c (do_one_test): Likewise.
8435 (do_test): Likewise.
8436 * string/test-strrchr.c (do_one_test): Likewise.
8437 (do_test): Likewise.
8438 * string/test-strspn.c (do_one_test): Likewise.
8439 (do_test): Likewise.
8440 * string/test-strstr.c (do_one_test): Likewise.
8441 (do_test): Likewise.
8443 * benchtests/Makefile (string-bench): Add string benchmarks.
8444 * benchtests/bench-bcopy-ifunc.c: New file.
8445 * benchtests/bench-bcopy.c: New file.
8446 * benchtests/bench-bzero-ifunc.c: New file.
8447 * benchtests/bench-bzero.c: New file.
8448 * benchtests/bench-memccpy-ifunc.c: New file.
8449 * benchtests/bench-memccpy.c: New file.
8450 * benchtests/bench-memchr-ifunc.c: New file.
8451 * benchtests/bench-memchr.c: New file.
8452 * benchtests/bench-memcmp-ifunc.c: New file.
8453 * benchtests/bench-memcmp.c: New file.
8454 * benchtests/bench-memmem-ifunc.c: New file.
8455 * benchtests/bench-memmem.c: New file.
8456 * benchtests/bench-memmove-ifunc.c: New file.
8457 * benchtests/bench-memmove.c: New file.
8458 * benchtests/bench-mempcpy-ifunc.c: New file.
8459 * benchtests/bench-mempcpy.c: New file.
8460 * benchtests/bench-memset-ifunc.c: New file.
8461 * benchtests/bench-memset.c: New file.
8462 * benchtests/bench-rawmemchr-ifunc.c: New file.
8463 * benchtests/bench-rawmemchr.c: New file.
8464 * benchtests/bench-stpcpy-ifunc.c: New file.
8465 * benchtests/bench-stpcpy.c: New file.
8466 * benchtests/bench-stpncpy-ifunc.c: New file.
8467 * benchtests/bench-stpncpy.c: New file.
8468 * benchtests/bench-strcasecmp-ifunc.c: New file.
8469 * benchtests/bench-strcasecmp.c: New file.
8470 * benchtests/bench-strcasestr-ifunc.c: New file.
8471 * benchtests/bench-strcasestr.c: New file.
8472 * benchtests/bench-strcat-ifunc.c: New file.
8473 * benchtests/bench-strcat.c: New file.
8474 * benchtests/bench-strchr-ifunc.c: New file.
8475 * benchtests/bench-strchr.c: New file.
8476 * benchtests/bench-strchrnul-ifunc.c: New file.
8477 * benchtests/bench-strchrnul.c: New file.
8478 * benchtests/bench-strcmp-ifunc.c: New file.
8479 * benchtests/bench-strcmp.c: New file.
8480 * benchtests/bench-strcpy-ifunc.c: New file.
8481 * benchtests/bench-strcpy.c: New file.
8482 * benchtests/bench-strcspn-ifunc.c: New file.
8483 * benchtests/bench-strcspn.c: New file.
8484 * benchtests/bench-strlen-ifunc.c: New file.
8485 * benchtests/bench-strlen.c: New file.
8486 * benchtests/bench-strncasecmp-ifunc.c: New file.
8487 * benchtests/bench-strncasecmp.c: New file.
8488 * benchtests/bench-strncat-ifunc.c: New file.
8489 * benchtests/bench-strncat.c: New file.
8490 * benchtests/bench-strncmp-ifunc.c: New file.
8491 * benchtests/bench-strncmp.c: New file.
8492 * benchtests/bench-strncpy-ifunc.c: New file.
8493 * benchtests/bench-strncpy.c: New file.
8494 * benchtests/bench-strnlen-ifunc.c: New file.
8495 * benchtests/bench-strnlen.c: New file.
8496 * benchtests/bench-strpbrk-ifunc.c: New file.
8497 * benchtests/bench-strpbrk.c: New file.
8498 * benchtests/bench-strrchr-ifunc.c: New file.
8499 * benchtests/bench-strrchr.c: New file.
8500 * benchtests/bench-strspn-ifunc.c: New file.
8501 * benchtests/bench-strspn.c: New file.
8502 * benchtests/bench-strstr-ifunc.c: New file.
8503 * benchtests/bench-strstr.c: New file.
8505 * benchtests/Makefile: Disable parallel execution of targets.
8506 (string-bench): Add memcpy.
8507 (benchset): New variable to store a list of benchmark sets.
8508 (bench-func): Renamed from bench.
8509 (bench-set): New target.
8510 (bench): Depend on bench-func and bench-set.
8511 * benchtests/README: Add section on benchmark sets.
8512 * benchtests/bench-memcpy-ifunc.c: New file.
8513 * benchtests/bench-memcpy.c: New file.
8514 * benchtests/bench-string.h: New file.
8516 2013-06-11 Andreas Schwab <schwab@suse.de>
8519 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8520 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8521 values in the triple.
8522 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8523 terminator in the group key.
8525 2013-06-11 Andreas Jaeger <aj@suse.de>
8527 * po/zh_TW.po: Update Chinese (traditional) translation from
8528 translation project.
8530 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8532 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8533 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8534 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8536 (clock_getcpuclockid): Likewise.
8537 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8538 Add weak_alias and libc_hidden_def.
8539 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8540 * rt/clock_gettime.c (clock_gettime): Rename to
8541 __clock_gettime. Add weak_alias and libc_hidden_def.
8542 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8543 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8544 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8545 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8546 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8548 * rt/clock_settime.c (clock_settime): Rename to
8549 __clock_settime. Add weak_alias and libc_hidden_def.
8550 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8552 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8554 * mach/err_boot.sub: Remove trailing whitespace.
8555 * mach/err_ipc.sub: Likewise.
8556 * mach/err_mach.sub: Likewise.
8558 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8559 (ROUNDING_TESTS_double): Likewise.
8560 (ROUNDING_TESTS_long_double): Likewise.
8561 (ROUNDING_TESTS): Likewise.
8562 * math/libm-test.inc: Include <math-tests.h>.
8563 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8564 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8565 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8566 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8568 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8570 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8573 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8575 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8576 otherwise empty TRANS lines.
8577 * sysdeps/gnu/errlist.c: Regenerated.
8579 * catgets/gencat.c (error_print): Use (void) in function
8581 * crypt/crypt_util.c (__init_des): Likewise.
8582 * crypt/speeds.c (Stop): Likewise.
8584 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8585 * inet/ruserpass.c (token): Likewise.
8586 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8587 * intl/localealias.c (extend_alias_table): Likewise.
8588 * intl/plural-exp.c (init_germanic_plural): Likewise.
8589 * libio/fcloseall.c (__fcloseall): Likewise.
8590 * libio/genops.c (_IO_flush_all): Likewise.
8591 (_IO_flush_all_linebuffered): Likewise.
8592 (_IO_cleanup): Likewise.
8593 (_IO_iter_begin): Likewise.
8594 (_IO_iter_end): Likewise.
8595 (_IO_list_lock): Likewise.
8596 (_IO_list_unlock): Likewise.
8597 (_IO_list_resetlock): Likewise.
8598 * libio/getchar.c (getchar): Likewise.
8599 * libio/getchar_u.c (getchar_unlocked): Likewise.
8600 * libio/getwchar.c (getwchar): Likewise.
8601 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8602 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8603 * login/getpt.c (__getpt): Likewise.
8604 * login/tst-utmp.c (main): Likewise.
8605 * malloc/hooks.c (__malloc_check_init): Likewise.
8606 * malloc/malloc.c (__malloc_stats): Likewise.
8607 * malloc/mtrace.c (tr_break): Likewise.
8609 (muntrace): Likewise.
8610 * misc/fstab.c (endfsent): Likewise.
8611 * misc/getclktck.c (__getclktck): Likewise.
8612 * misc/getdtsz.c (__getdtablesize): Likewise.
8613 * misc/gethostid.c (gethostid): Likewise.
8614 * misc/getpagesize.c (__getpagesize): Likewise.
8615 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8616 (__get_nprocs): Likewise.
8617 (__get_phys_pages): Likewise.
8618 (__get_avphys_pages): Likewise.
8619 * misc/getttyent.c (getttyent): Likewise.
8620 (setttyent): Likewise.
8621 (endttyent): Likewise.
8622 * misc/getusershell.c (getusershell): Likewise.
8623 (endusershell): Likewise.
8624 (setusershell): Likewise.
8625 (initshells): Likewise.
8626 * misc/hsearch.c (__hdestroy): Likewise.
8627 * misc/sync.c (sync): Likewise.
8628 * misc/syslog.c (closelog_internal): Likewise.
8629 (closelog): Likewise.
8630 * misc/ttyslot.c (ttyslot): Likewise.
8631 * misc/vhangup.c (vhangup): Likewise.
8632 * posix/fork.c (__fork): Likewise.
8633 * posix/getegid.c (__getegid): Likewise.
8634 * posix/geteuid.c (__geteuid): Likewise.
8635 * posix/getgid.c (__getgid): Likewise.
8636 * posix/getpid.c (__getpid): Likewise.
8637 * posix/getppid.c (__getppid): Likewise.
8638 * posix/getuid.c (__getuid): Likewise.
8639 * posix/pause.c (pause): Likewise.
8640 * posix/setpgrp.c (setpgrp): Likewise.
8641 * posix/setsid.c (__setsid): Likewise.
8642 * posix/test-vfork.c (noop): Likewise.
8643 * resolv/gethnamaddr.c (_endhtent): Likewise.
8644 (_gethtent): Likewise.
8645 (ht_endhostent): Likewise.
8646 (gethostent): Likewise.
8647 (dns_service): Likewise.
8648 * stdlib/drand48.c (drand48): Likewise.
8649 * stdlib/lrand48.c (lrand48): Likewise.
8650 * stdlib/mrand48.c (mrand48): Likewise.
8651 * stdlib/rand.c (rand): Likewise.
8652 * stdlib/random.c (__random): Likewise.
8653 * stdlib/setenv.c (clearenv): Likewise.
8654 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8655 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8656 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8657 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8658 (__get_nprocs): Likewise.
8659 (__get_phys_pages): Likewise.
8660 (__get_avphys_pages): Likewise.
8661 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8662 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8663 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8664 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8665 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8666 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8667 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8668 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8669 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8670 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8671 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8672 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8673 * sysdeps/posix/clock.c (clock): Likewise.
8674 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8675 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8676 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8677 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8678 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8680 (__get_nprocs_conf): Likewise.
8681 (__get_phys_pages): Likewise.
8682 (__get_avphys_pages): Likewise.
8683 * time/clock.c (clock): Likewise.
8684 * time/tzset.c (__tzname_max): Likewise.
8686 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8688 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8689 (__bswap_32): Do not use "register".
8690 * crypt/crypt.c (_ufc_doit_r): Likewise.
8691 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8692 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8693 * gmon/gmon.c (__monstartup): Likewise.
8694 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8695 * hurd/hurdmalloc.c (more_memory): Likewise.
8698 (realloc): Likewise.
8699 (malloc_fork_prepare): Likewise.
8700 (malloc_fork_parent): Likewise.
8701 (malloc_fork_child): Likewise.
8702 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8703 (_svcauth_des): Likewise.
8704 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8705 * inet/inet_net.c (inet_network): Likewise.
8706 * inet/inet_netof.c (inet_netof): Likewise.
8707 * inet/rcmd.c (__validuser2_sa): Likewise.
8708 * io/fts.c (fts_open): Likewise.
8709 (fts_load): Likewise.
8710 (fts_close): Likewise.
8711 (fts_read): Likewise.
8712 (fts_children): Likewise.
8713 (fts_build): Likewise.
8714 (fts_stat): Likewise.
8715 (fts_sort): Likewise.
8716 (fts_alloc): Likewise.
8717 (fts_lfree): Likewise.
8718 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8719 (_IO_file_xsgetn): Likewise.
8720 (_IO_file_xsgetn_mmap): Likewise.
8721 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8722 (_IO_cookie_write): Likewise.
8723 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8724 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8725 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8726 * malloc/obstack.c (_obstack_begin): Likewise.
8727 (_obstack_begin_1): Likewise.
8728 (_obstack_newchunk): Likewise.
8729 (_obstack_allocated_p): Likewise.
8730 (obstack_free): Likewise.
8731 (_obstack_memory_used): Likewise.
8732 * misc/getttyent.c (getttynam): Likewise.
8733 (getttyent): Likewise.
8736 * misc/getusershell.c (initshells): Likewise.
8737 * misc/syslog.c (__vsyslog_chk): Likewise.
8738 * misc/ttyslot.c (ttyslot): Likewise.
8739 * nis/nis_hash.c (__nis_hash): Likewise.
8740 * posix/fnmatch_loop.c (FCT): Likewise.
8741 * posix/getconf.c (print_all): Likewise.
8743 * posix/getopt.c (exchange): Likewise.
8744 * posix/glob.c (globfree): Likewise.
8745 (prefix_array): Likewise.
8746 (__glob_pattern_type): Likewise.
8747 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8748 (NS_GET32): Likewise.
8749 (NS_PUT16): Likewise.
8750 (NS_PUT32): Likewise.
8751 * resolv/gethnamaddr.c (getanswer): Likewise.
8752 (gethostbyname2): Likewise.
8753 (gethostbyaddr): Likewise.
8754 (_gethtent): Likewise.
8755 (_gethtbyname2): Likewise.
8756 (_gethtbyaddr): Likewise.
8757 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8758 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8759 * resolv/res_init.c (__res_vinit): Likewise.
8760 (net_mask): Likewise.
8761 * resolv/res_mkquery.c (outchar): Likewise.
8763 * stdio-common/printf_fp.c (outchar): Likewise.
8765 * stdio-common/printf_fphex.c (outchar): Likewise.
8767 * stdio-common/printf_size.c (outchar): Likewise.
8769 * stdio-common/test_rdwr.c (main): Likewise.
8770 * stdio-common/tfformat.c (matches): Likewise.
8771 * stdio-common/vfprintf.c (outchar): Likewise.
8772 (printf_unknown): Likewise.
8773 (buffered_vfprintf): Likewise.
8774 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8775 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8776 (ReadFile): Likewise.
8777 * stdlib/qsort.c (SWAP): Likewise.
8778 (_quicksort): Likewise.
8779 * stdlib/setenv.c (__add_to_environ): Likewise.
8780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8781 * stdlib/strtol_l.c (__strtol_l): Likewise.
8782 * stdlib/tst-strtod.c (main): Likewise.
8783 * stdlib/tst-strtol.c (main): Likewise.
8784 * stdlib/tst-strtoll.c (main): Likewise.
8785 * string/bits/string2.h (__strcmp_cc): Likewise.
8786 (__strcmp_cg): Likewise.
8787 (__strcspn_c1): Likewise.
8788 (__strcspn_c2): Likewise.
8789 (__strcspn_c3): Likewise.
8790 (__strspn_c1): Likewise.
8791 (__strspn_c2): Likewise.
8792 (__strspn_c3): Likewise.
8793 (__strsep_1c): Likewise.
8794 (__strsep_2c): Likewise.
8795 (__strsep_3c): Likewise.
8796 * string/memccpy.c (__memccpy): Likewise.
8797 * string/stpcpy.c (__stpcpy): Likewise.
8798 * string/strcmp.c (strcmp): Likewise.
8799 * string/strrchr.c (strrchr): Likewise.
8800 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8802 * sysdeps/mach/hurd/getcwd.c
8803 (_hurd_canonicalize_directory_name_internal): Likewise.
8804 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8805 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8806 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8807 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8808 Likewise, in both definitions.
8809 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8811 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8812 64] (__bswap_64): Likewise.
8813 * time/test_time.c (main): Likewise.
8814 * time/tzfile.c (__tzfile_read): Likewise.
8815 (__tzfile_compute): Likewise.
8816 * time/tzset.c (__tzset_parse_tz): Likewise.
8817 (tzset_internal): Likewise.
8818 (compute_change): Likewise.
8819 * wcsmbs/wcscat.c (__wcscat): Likewise.
8820 * wcsmbs/wcschr.c (wcschr): Likewise.
8821 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8822 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8823 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8824 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8825 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8826 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8827 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8828 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8829 * wcsmbs/wmemset.c (wmemset): Likewise.
8831 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8833 * scripts/config.guess: Update to version 2013-05-16.
8834 * scripts/config.sub: Update to version 2013-04-24.
8835 * scripts/install-sh: Update to version 2011-11-20.07.
8836 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8837 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8839 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8841 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8842 * elf/sln.c: Likewise.
8843 * hurd/hurd/ioctl.h: Likewise.
8844 * hurd/hurdmalloc.c: Likewise.
8845 * hurd/xattr.c: Likewise.
8846 * include/shlib-compat.h: Likewise.
8847 * inet/ruserpass.c: Likewise.
8848 * libio/iofgets_u.c: Likewise.
8849 * libio/iofgetws_u.c: Likewise.
8850 * locale/programs/ld-identification.c: Likewise.
8851 * locale/programs/ld-time.c: Likewise.
8852 * mach/msg-destroy.c: Likewise.
8853 * nss/nss_files/files-netgrp.c: Likewise.
8854 * resolv/res_data.c: Likewise.
8855 * soft-fp/op-1.h: Likewise.
8856 * soft-fp/op-2.h: Likewise.
8857 * soft-fp/op-4.h: Likewise.
8858 * soft-fp/op-common.h: Likewise.
8859 * stdio-common/printf_fphex.c: Likewise.
8860 * stdlib/strtod_l.c: Likewise.
8861 * sunrpc/rpc/clnt.h: Likewise.
8862 * sysdeps/generic/framestate.c: Likewise.
8863 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8864 * sysdeps/i386/bsd-setjmp.S: Likewise.
8865 * sysdeps/i386/__longjmp.S: Likewise.
8866 * sysdeps/i386/setjmp.S: Likewise.
8867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8868 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8869 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8885 * sysdeps/ieee754/support.c: Likewise.
8886 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8887 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8888 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8889 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8890 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8891 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8892 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8893 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8894 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8895 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8896 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8897 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8898 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8899 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8901 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8902 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8905 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8907 * posix/transbug.c: Remove executable mode.
8909 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8911 * crypt/speeds.c: Remove trailing whitespace.
8912 * dlfcn/default.c: Likewise.
8913 * elf/ifuncdep2.c: Likewise.
8914 * elf/ifuncmain1.c: Likewise.
8915 * elf/ifuncmain1vis.c: Likewise.
8916 * elf/testobj.h: Likewise.
8917 * elf/tst-stackguard1.c: Likewise.
8918 * gmon/sys/gmon.h: Likewise.
8919 * hurd/hurdmsg.c: Likewise.
8920 * hurd/new-fd.c: Likewise.
8921 * hurd/ports-get.c: Likewise.
8922 * iconvdata/ibm1008_420.c: Likewise.
8923 * inet/tst-getni1.c: Likewise.
8924 * inet/tst-getni2.c: Likewise.
8925 * libio/ioungetc.c: Likewise.
8926 * libio/wfiledoalloc.c: Likewise.
8927 * manual/libm-err-tab.pl: Likewise.
8928 * math/w_dremf.c: Likewise.
8929 * misc/ftruncate.c: Likewise.
8930 * posix/bug-glob2.c: Likewise.
8931 * posix/tst-pcre.c: Likewise.
8932 * posix/wait4.c: Likewise.
8933 * resolv/README: Likewise.
8934 * resolv/res_debug.h: Likewise.
8935 * resolv/tst-inet_ntop.c: Likewise.
8936 * setjmp/bug269-setjmp.c: Likewise.
8937 * soft-fp/extended.h: Likewise.
8938 * soft-fp/op-1.h: Likewise.
8939 * soft-fp/op-2.h: Likewise.
8940 * soft-fp/op-4.h: Likewise.
8941 * soft-fp/op-8.h: Likewise.
8942 * soft-fp/testit.c: Likewise.
8943 * stdio-common/bug16.c: Likewise.
8944 * stdlib/random.c: Likewise.
8945 * sunrpc/rpcsvc/rquota.x: Likewise.
8946 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8947 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8948 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8949 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8951 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8952 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8953 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8954 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8955 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8956 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8973 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8975 * sysdeps/ieee754/s_lib_version.c: Likewise.
8976 * sysdeps/mach/hurd/check_fds.c: Likewise.
8977 * sysdeps/mach/hurd/getsockname.c: Likewise.
8978 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8979 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8980 * sysdeps/powerpc/bits/link.h: Likewise.
8981 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8982 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8983 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8984 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8985 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8987 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8988 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8989 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8990 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8994 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8995 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8996 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8997 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8998 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9000 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9001 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9002 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9004 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9005 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9006 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9007 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9008 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9009 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9010 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9011 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9013 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9014 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9015 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9016 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9017 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9018 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9019 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9020 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9021 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9022 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9023 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9024 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9025 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9026 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9027 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9028 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9029 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9030 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9033 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9035 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9036 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9037 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9039 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9040 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9041 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9042 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9043 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9044 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9045 * sysdeps/powerpc/sysdep.h: Likewise.
9046 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9047 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9048 * sysdeps/sh/dl-trampoline.S: Likewise.
9049 * sysdeps/sh/memset.S: Likewise.
9050 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9051 * sysdeps/sh/strlen.S: Likewise.
9052 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9053 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9054 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9055 * sysdeps/sparc/sparc32/rem.S: Likewise.
9056 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9057 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9058 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9059 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9060 * sysdeps/sparc/sparc32/urem.S: Likewise.
9061 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9062 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9063 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9064 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9066 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9067 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9068 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9069 * sysdeps/unix/bsd/times.c: Likewise.
9070 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9071 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9075 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9077 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9078 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9079 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9080 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9081 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9082 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9083 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9084 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9085 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9086 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9087 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9088 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9089 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9090 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9091 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9092 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9093 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9094 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9095 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9096 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9097 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9098 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9099 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9100 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9101 * sysdeps/x86_64/strcspn.S: Likewise.
9103 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9105 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9106 generated file. Regenerate properly from gen-translit.pl.
9107 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9108 locale/C-translit.h.
9110 2013-06-05 Andreas Schwab <schwab@suse.de>
9113 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9114 week as 6 instead of -1.
9115 * time/tst-strptime.c (day_tests): Add test case.
9117 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9119 * sysdeps/generic/math_private.h
9120 (libc_feholdexcept_setround_53bit): Replace with
9121 libc_feholdsetround_53bit.
9122 (libc_feupdateenv_53bit): Replace with
9123 libc_feresetround_53bit.
9124 (SET_RESTORE_ROUND_53BIT): Adjust.
9126 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9128 * string/test-strchrnul.c: Add copyright header.
9130 * posix/tst-getaddrinfo4.c: Increase test timeout.
9132 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9135 * math/libm-test.inc (MAX_EXP): Remove
9137 (ulp): Use MIN_EXP - MANT_DIG.
9138 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9140 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9142 * po/be.po: Revert last change.
9143 * po/zh_CN.po: Likewise.
9144 * po/header.pot: Likewise.
9146 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9148 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9149 link-libc-deps to empty as target-specific variable.
9150 * Makerules (link-libc-args): New variable.
9151 (libc-for-link): Likewise.
9152 (link-libc-deps): Likewise.
9153 (lib%.so): Depend on $(link-libc-deps). Link with
9155 (build-module): Link with $(link-libc-args).
9156 (build-module-asneeded): Likewise.
9157 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9159 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9160 target-specific variable.
9161 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9162 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9163 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9165 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9167 ($(objpfx)libpcprofile.so): Likewise.
9168 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9170 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9171 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9172 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9174 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9175 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9176 * login/Makefile ($(objpfx)libutil.so): Likewise.
9177 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9178 * math/Makefile ($(objpfx)libm.so): Likewise.
9179 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9180 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9181 variable instead of depending directly on libc.
9182 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9183 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9185 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9187 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9188 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9189 ($(objpfx)libanl.so): Likewise.
9190 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9192 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9194 * sysdeps/i386/fpu/Makefile: Remove file.
9195 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9196 ($(objpfx)libm.so): Remove dependency on ld.so.
9198 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9201 * nis/yp_xdr.c (XDRMAXNAME): Define.
9202 (XDRMAXRECORD): Define.
9203 (xdr_domainname): Use XDRMAXNAME.
9204 (xdr_mapname): Likewise.
9205 (xdr_peername): Likewise.
9206 (xdr_keydat): Use XDRMAXRECORD.
9207 (xdr_valdat): Likewise.
9209 2013-05-30 Jeff Law <law@redhat.com>
9212 * manual/errno.texi (ESTALE): Update to account for more than
9213 just NFS file systems.
9214 * sysdeps/gnu/errlist.c: Regenerated.
9216 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9219 * elf/Makefile (tests): Add tst-null-argv.
9220 (modules-names): Add tst-null-argv-lib.
9221 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9222 (tst-null-argv-ENV): Set environment for tst-null-argv.
9223 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9224 (RTLD_PROGNAME): New macro.
9225 * elf/tst-null-argv.c: New test case.
9226 * elf/tst-null-argv-lib.c: Library for test case.
9227 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9228 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9229 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9230 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9231 * elf/dl-init.c (call_init): Likewise.
9232 (_dl_init): Likewise.
9233 * elf/dl-load.c (print_search_path): Likewise.
9234 (_dl_map_object): Likewise.
9235 * elf/dl-lookup.c (do_lookup_x): Likewise.
9236 (add_dependency): Likewise.
9237 (_dl_lookup_symbol_x): Likewise.
9238 (_dl_debug_bindings): Likewise.
9239 * elf/dl-open.c (_dl_show_scope): Likewise.
9240 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9241 * elf/dl-version.c (match_symbol): Likewise.
9242 (_dl_check_map_versions): Likewise.
9243 * elf/rtld.c (dl_main): Likewise.
9244 (print_unresolved): Use RTLD_PROGNAME.
9245 (print_missing_version): Likewise.
9246 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9247 (elf_machine_rela): Likewise.
9248 * sysdeps/powerpc/powerpc32/dl-machine.c
9249 (__process_machine_rela): Likewise.
9250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9252 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9254 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9256 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9263 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9265 * po/be.po: Add descriptive title.
9266 * po/zh_CN.po: Likewise.
9267 * po/header.pot: Likewise.
9269 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9271 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9273 (enlarge_archive): Likewise.
9275 2013-05-28 Ben North <ben@redfrontdoor.org>
9277 * manual/arith.texi (frexp): It is the magnitude of the return
9278 value which lies in [0.5, 1), not the return value itself.
9280 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9284 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9286 * stdio-common/bug26.c (main): Correct fscanf template.
9288 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9289 declare _dl_skip_args.
9291 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9294 * manual/platform.texi: Add missing @end deftypefun.
9296 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9300 bit of mantissa of 2^16382.
9301 * math/libm-test.inc (hypot_test_data): Add more tests.
9303 * math/libm-test.inc: Add drem and pow10 to list of tested
9305 (pow10_test): New function.
9306 (drem_test): Likewise.
9307 (drem_test_tonearest): Likewise.
9308 (drem_test_towardzero): Likewise.
9309 (drem_test_downward): Likewise.
9310 (drem_test_upward): Likewise.
9311 (main): Call the new functions.
9313 * math/libm-test.inc (finite_test_data): Remove.
9314 (finite_test): Run tests from isfinite_test_data.
9315 (gamma_test_data): Remove.
9316 (gamma_test): Run tests from lgamma_test_data.
9317 * sysdeps/i386/fpu/libm-test-ulps: Update.
9318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9320 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9322 * manual/platform.texi: Add PowerPC PPR function set documentation.
9323 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9326 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9328 * math/libm-test.inc (MAX_EXP): Define.
9330 (ulp): New function.
9331 (check_float_internal): Use ULPDIFF.
9332 (cpow_test): Disable failing test.
9333 (check_ulp): Test ulp() implemetnation.
9334 (main): Call check_ulp before starting tests.
9336 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9338 * math/gen-libm-test.pl (generate_testfile): Do not handle
9339 START_DATA and END_DATA.
9340 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9342 (acos_tonearest_test_data): Likewise.
9343 (acos_towardzero_test_data): Likewise.
9344 (acos_downward_test_data): Likewise.
9345 (acos_upward_test_data): Likewise.
9346 (acosh_test_data): Likewise.
9347 (asin_test_data): Likewise.
9348 (asin_tonearest_test_data): Likewise.
9349 (asin_towardzero_test_data): Likewise.
9350 (asin_downward_test_data): Likewise.
9351 (asin_upward_test_data): Likewise.
9352 (asinh_test_data): Likewise.
9353 (atan_test_data): Likewise.
9354 (atanh_test_data): Likewise.
9355 (atan2_test_data): Likewise.
9356 (cabs_test_data): Likewise.
9357 (cacos_test_data): Likewise.
9358 (cacosh_test_data): Likewise.
9359 (carg_test_data): Likewise.
9360 (casin_test_data): Likewise.
9361 (casinh_test_data): Likewise.
9362 (catan_test_data): Likewise.
9363 (catanh_test_data): Likewise.
9364 (cbrt_test_data): Likewise.
9365 (ccos_test_data): Likewise.
9366 (ccosh_test_data): Likewise.
9367 (ceil_test_data): Likewise.
9368 (cexp_test_data): Likewise.
9369 (cimag_test_data): Likewise.
9370 (clog_test_data): Likewise.
9371 (clog10_test_data): Likewise.
9372 (conj_test_data): Likewise.
9373 (copysign_test_data): Likewise.
9374 (cos_test_data): Likewise.
9375 (cos_tonearest_test_data): Likewise.
9376 (cos_towardzero_test_data): Likewise.
9377 (cos_downward_test_data): Likewise.
9378 (cos_upward_test_data): Likewise.
9379 (cosh_test_data): Likewise.
9380 (cosh_tonearest_test_data): Likewise.
9381 (cosh_towardzero_test_data): Likewise.
9382 (cosh_downward_test_data): Likewise.
9383 (cosh_upward_test_data): Likewise.
9384 (cpow_test_data): Likewise.
9385 (cproj_test_data): Likewise.
9386 (creal_test_data): Likewise.
9387 (csin_test_data): Likewise.
9388 (csinh_test_data): Likewise.
9389 (csqrt_test_data): Likewise.
9390 (ctan_test_data): Likewise.
9391 (ctan_tonearest_test_data): Likewise.
9392 (ctan_towardzero_test_data): Likewise.
9393 (ctan_downward_test_data): Likewise.
9394 (ctan_upward_test_data): Likewise.
9395 (ctanh_test_data): Likewise.
9396 (ctanh_tonearest_test_data): Likewise.
9397 (ctanh_towardzero_test_data): Likewise.
9398 (ctanh_downward_test_data): Likewise.
9399 (ctanh_upward_test_data): Likewise.
9400 (erf_test_data): Likewise.
9401 (erfc_test_data): Likewise.
9402 (exp_test_data): Likewise.
9403 (exp_tonearest_test_data): Likewise.
9404 (exp_towardzero_test_data): Likewise.
9405 (exp_downward_test_data): Likewise.
9406 (exp_upward_test_data): Likewise.
9407 (exp10_test_data): Likewise.
9408 (exp2_test_data): Likewise.
9409 (expm1_test_data): Likewise.
9410 (fabs_test_data): Likewise.
9411 (fdim_test_data): Likewise.
9412 (finite_test_data): Likewise.
9413 (floor_test_data): Likewise.
9414 (fma_test_data): Likewise.
9415 (fma_towardzero_test_data): Likewise.
9416 (fma_downward_test_data): Likewise.
9417 (fma_upward_test_data): Likewise.
9418 (fmax_test_data): Likewise.
9419 (fmin_test_data): Likewise.
9420 (fmod_test_data): Likewise.
9421 (fpclassify_test_data): Likewise.
9422 (frexp_test_data): Likewise.
9423 (gamma_test_data): Likewise.
9424 (hypot_test_data): Likewise.
9425 (ilogb_test_data): Likewise.
9426 (isfinite_test_data): Likewise.
9427 (isgreater_test_data): Likewise.
9428 (isgreaterequal_test_data): Likewise.
9429 (isinf_test_data): Likewise.
9430 (isless_test_data): Likewise.
9431 (islessequal_test_data): Likewise.
9432 (islessgreater_test_data): Likewise.
9433 (isnan_test_data): Likewise.
9434 (isnormal_test_data): Likewise.
9435 (issignaling_test_data): Likewise.
9436 (isunordered_test_data): Likewise.
9437 (j0_test_data): Likewise.
9438 (j1_test_data): Likewise.
9439 (jn_test_data): Likewise.
9440 (ldexp_test_data): Likewise.
9441 (lgamma_test_data): Likewise.
9442 (lrint_test_data): Likewise.
9443 (lrint_tonearest_test_data): Likewise.
9444 (lrint_towardzero_test_data): Likewise.
9445 (lrint_downward_test_data): Likewise.
9446 (lrint_upward_test_data): Likewise.
9447 (llrint_test_data): Likewise.
9448 (llrint_tonearest_test_data): Likewise.
9449 (llrint_towardzero_test_data): Likewise.
9450 (llrint_downward_test_data): Likewise.
9451 (llrint_upward_test_data): Likewise.
9452 (log_test_data): Likewise.
9453 (log10_test_data): Likewise.
9454 (log1p_test_data): Likewise.
9455 (log2_test_data): Likewise.
9456 (logb_test_data): Likewise.
9457 (logb_downward_test_data): Likewise.
9458 (lround_test_data): Likewise.
9459 (llround_test_data): Likewise.
9460 (modf_test_data): Likewise.
9461 (nearbyint_test_data): Likewise.
9462 (nextafter_test_data): Likewise.
9463 (nexttoward_test_data): Likewise.
9464 (pow_test_data): Likewise.
9465 (pow_tonearest_test_data): Likewise.
9466 (pow_towardzero_test_data): Likewise.
9467 (pow_downward_test_data): Likewise.
9468 (pow_upward_test_data): Likewise.
9469 (remainder_test_data): Likewise.
9470 (remainder_tonearest_test_data): Likewise.
9471 (remainder_towardzero_test_data): Likewise.
9472 (remainder_downward_test_data): Likewise.
9473 (remainder_upward_test_data): Likewise.
9474 (remquo_test_data): Likewise.
9475 (rint_test_data): Likewise.
9476 (rint_tonearest_test_data): Likewise.
9477 (rint_towardzero_test_data): Likewise.
9478 (rint_downward_test_data): Likewise.
9479 (rint_upward_test_data): Likewise.
9480 (round_test_data): Likewise.
9481 (scalb_test_data): Likewise.
9482 (scalbn_test_data): Likewise.
9483 (scalbln_test_data): Likewise.
9484 (signbit_test_data): Likewise.
9485 (sin_test_data): Likewise.
9486 (sin_tonearest_test_data): Likewise.
9487 (sin_towardzero_test_data): Likewise.
9488 (sin_downward_test_data): Likewise.
9489 (sin_upward_test_data): Likewise.
9490 (sincos_test_data): Likewise.
9491 (sinh_test_data): Likewise.
9492 (sinh_tonearest_test_data): Likewise.
9493 (sinh_towardzero_test_data): Likewise.
9494 (sinh_downward_test_data): Likewise.
9495 (sinh_upward_test_data): Likewise.
9496 (sqrt_test_data): Likewise.
9497 (tan_test_data): Likewise.
9498 (tan_tonearest_test_data): Likewise.
9499 (tan_towardzero_test_data): Likewise.
9500 (tan_downward_test_data): Likewise.
9501 (tan_upward_test_data): Likewise.
9502 (tanh_test_data): Likewise.
9503 (tgamma_test_data): Likewise.
9504 (trunc_test_data): Likewise.
9505 (y0_test_data): Likewise.
9506 (y1_test_data): Likewise.
9507 (yn_test_data): Likewise.
9508 (significand_test_data): Likewise.
9510 * math/gen-libm-test.pl (@functions): Remove variable.
9511 (generate_testfile): Don't handle START and END lines.
9512 * math/libm-test.inc (START): New macro.
9514 (END_COMPLEX): Likewise.
9515 (acos_test): Use END macro without arguments.
9516 (acos_test_tonearest): Likewise.
9517 (acos_test_towardzero): Likewise.
9518 (acos_test_downward): Likewise.
9519 (acos_test_upward): Likewise.
9520 (acosh_test): Likewise.
9521 (asin_test): Likewise.
9522 (asin_test_tonearest): Likewise.
9523 (asin_test_towardzero): Likewise.
9524 (asin_test_downward): Likewise.
9525 (asin_test_upward): Likewise.
9526 (asinh_test): Likewise.
9527 (atan_test): Likewise.
9528 (atanh_test): Likewise.
9529 (atan2_test): Likewise.
9530 (cabs_test): Likewise.
9531 (cacos_test): Use END_COMPLEX macro without arguments.
9532 (cacosh_test): Likewise.
9533 (carg_test): Use END macro without arguments.
9534 (casin_test): Use END_COMPLEX macro without arguments.
9535 (casinh_test): Likewise.
9536 (catan_test): Likewise.
9537 (catanh_test): Likewise.
9538 (cbrt_test): Use END macro without arguments.
9539 (ccos_test): Use END_COMPLEX macro without arguments.
9540 (ccosh_test): Likewise.
9541 (ceil_test): Use END macro without arguments.
9542 (cexp_test): Use END_COMPLEX macro without arguments.
9543 (cimag_test): Use END macro without arguments.
9544 (clog_test): Use END_COMPLEX macro without arguments.
9545 (clog10_test): Likewise.
9546 (conj_test): Likewise.
9547 (copysign_test): Use END macro without arguments.
9548 (cos_test): Likewise.
9549 (cos_test_tonearest): Likewise.
9550 (cos_test_towardzero): Likewise.
9551 (cos_test_downward): Likewise.
9552 (cos_test_upward): Likewise.
9553 (cosh_test): Likewise.
9554 (cosh_test_tonearest): Likewise.
9555 (cosh_test_towardzero): Likewise.
9556 (cosh_test_downward): Likewise.
9557 (cosh_test_upward): Likewise.
9558 (cpow_test): Use END_COMPLEX macro without arguments.
9559 (cproj_test): Likewise.
9560 (creal_test): Use END macro without arguments.
9561 (csin_test): Use END_COMPLEX macro without arguments.
9562 (csinh_test): Likewise.
9563 (csqrt_test): Likewise.
9564 (ctan_test): Likewise.
9565 (ctan_test_tonearest): Likewise.
9566 (ctan_test_towardzero): Likewise.
9567 (ctan_test_downward): Likewise.
9568 (ctan_test_upward): Likewise.
9569 (ctanh_test): Likewise.
9570 (ctanh_test_tonearest): Likewise.
9571 (ctanh_test_towardzero): Likewise.
9572 (ctanh_test_downward): Likewise.
9573 (ctanh_test_upward): Likewise.
9574 (erf_test): Use END macro without arguments.
9575 (erfc_test): Likewise.
9576 (exp_test): Likewise.
9577 (exp_test_tonearest): Likewise.
9578 (exp_test_towardzero): Likewise.
9579 (exp_test_downward): Likewise.
9580 (exp_test_upward): Likewise.
9581 (exp10_test): Likewise.
9582 (exp2_test): Likewise.
9583 (expm1_test): Likewise.
9584 (fabs_test): Likewise.
9585 (fdim_test): Likewise.
9586 (finite_test): Likewise.
9587 (floor_test): Likewise.
9588 (fma_test): Likewise.
9589 (fma_test_towardzero): Likewise.
9590 (fma_test_downward): Likewise.
9591 (fma_test_upward): Likewise.
9592 (fmax_test): Likewise.
9593 (fmin_test): Likewise.
9594 (fmod_test): Likewise.
9595 (fpclassify_test): Likewise.
9596 (frexp_test): Likewise.
9597 (gamma_test): Likewise.
9598 (hypot_test): Likewise.
9599 (ilogb_test): Likewise.
9600 (isfinite_test): Likewise.
9601 (isgreater_test): Likewise.
9602 (isgreaterequal_test): Likewise.
9603 (isinf_test): Likewise.
9604 (isless_test): Likewise.
9605 (islessequal_test): Likewise.
9606 (islessgreater_test): Likewise.
9607 (isnan_test): Likewise.
9608 (isnormal_test): Likewise.
9609 (issignaling_test): Likewise.
9610 (isunordered_test): Likewise.
9611 (j0_test): Likewise.
9612 (j1_test): Likewise.
9613 (jn_test): Likewise.
9614 (ldexp_test): Likewise.
9615 (lgamma_test): Likewise.
9616 (lrint_test): Likewise.
9617 (lrint_test_tonearest): Likewise.
9618 (lrint_test_towardzero): Likewise.
9619 (lrint_test_downward): Likewise.
9620 (lrint_test_upward): Likewise.
9621 (llrint_test): Likewise.
9622 (llrint_test_tonearest): Likewise.
9623 (llrint_test_towardzero): Likewise.
9624 (llrint_test_downward): Likewise.
9625 (llrint_test_upward): Likewise.
9626 (log_test): Likewise.
9627 (log10_test): Likewise.
9628 (log1p_test): Likewise.
9629 (log2_test): Likewise.
9630 (logb_test): Likewise.
9631 (logb_test_downward): Likewise.
9632 (lround_test): Likewise.
9633 (llround_test): Likewise.
9634 (modf_test): Likewise.
9635 (nearbyint_test): Likewise.
9636 (nextafter_test): Likewise.
9637 (nexttoward_test): Likewise.
9638 (pow_test): Likewise.
9639 (pow_test_tonearest): Likewise.
9640 (pow_test_towardzero): Likewise.
9641 (pow_test_downward): Likewise.
9642 (pow_test_upward): Likewise.
9643 (remainder_test): Likewise.
9644 (remainder_test_tonearest): Likewise.
9645 (remainder_test_towardzero): Likewise.
9646 (remainder_test_downward): Likewise.
9647 (remainder_test_upward): Likewise.
9648 (remquo_test): Likewise.
9649 (rint_test): Likewise.
9650 (rint_test_tonearest): Likewise.
9651 (rint_test_towardzero): Likewise.
9652 (rint_test_downward): Likewise.
9653 (rint_test_upward): Likewise.
9654 (round_test): Likewise.
9655 (scalb_test): Likewise.
9656 (scalbn_test): Likewise.
9657 (scalbln_test): Likewise.
9658 (signbit_test): Likewise.
9659 (sin_test): Likewise.
9660 (sin_test_tonearest): Likewise.
9661 (sin_test_towardzero): Likewise.
9662 (sin_test_downward): Likewise.
9663 (sin_test_upward): Likewise.
9664 (sincos_test): Likewise.
9665 (sinh_test): Likewise.
9666 (sinh_test_tonearest): Likewise.
9667 (sinh_test_towardzero): Likewise.
9668 (sinh_test_downward): Likewise.
9669 (sinh_test_upward): Likewise.
9670 (sqrt_test): Likewise.
9671 (tan_test): Likewise.
9672 (tan_test_tonearest): Likewise.
9673 (tan_test_towardzero): Likewise.
9674 (tan_test_downward): Likewise.
9675 (tan_test_upward): Likewise.
9676 (tanh_test): Likewise.
9677 (tgamma_test): Likewise.
9678 (trunc_test): Likewise.
9679 (y0_test): Likewise.
9680 (y1_test): Likewise.
9681 (yn_test): Likewise.
9682 (significand_test): Likewise.
9684 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9687 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9689 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9692 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9693 __ppc_mdoio and __ppc_mdoom.
9694 * manual/platform.texi: Document new functions __ppc_yield,
9695 __ppc_mdoio and __ppc_mdoom.
9697 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9699 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9700 (main): Mention "tls" pseudo-hwcap is legacy.
9701 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9703 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9705 * math/gen-libm-test.pl (parse_args): Output only string of
9706 arguments as text for test name, not full call or descriptions of
9707 tests for extra outputs.
9708 (generate_testfile): Do not pass function name to parse_args.
9709 Generate this_func variable from START.
9710 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9712 (struct test_ff_f_data): Likewise.
9713 (test_ff_f_data_nexttoward): Likewise.
9714 (struct test_fi_f_data): Likewise.
9715 (struct test_fl_f_data): Likewise.
9716 (struct test_if_f_data): Likewise.
9717 (struct test_fff_f_data): Likewise.
9718 (struct test_c_f_data): Likewise.
9719 (struct test_f_f1_data): Likewise. Remove field extra_name.
9720 (struct test_fF_f1_data): Likewise.
9721 (struct test_ffI_f1_data): Likewise.
9722 (struct test_c_c_data): Rename test_name field to arg_str.
9723 (struct test_cc_c_data): Likewise.
9724 (struct test_f_i_data): Likewise.
9725 (struct test_ff_i_data): Likewise.
9726 (struct test_f_l_data): Likewise.
9727 (struct test_f_L_data): Likewise.
9728 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9730 (COMMON_TEST_SETUP): New macro.
9731 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9732 (COMMON_TEST_CLEANUP): Likewise.
9733 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9734 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9736 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9737 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9739 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9740 (RUN_TEST_fff_f): Take argument string. Call new setup and
9742 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9743 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9745 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9746 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9748 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9749 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9751 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9752 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9754 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9755 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9757 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9758 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9760 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9761 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9763 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9764 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9766 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9767 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9769 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9770 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9772 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9773 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9775 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9776 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9778 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9779 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9781 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9782 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9784 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9785 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9787 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9789 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9791 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9792 to _sifields.sigfault.
9793 (si_addr_lsb): Define new macro.
9794 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9796 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9798 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9801 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9803 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9805 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9808 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9810 * math/gen-libm-test.pl (parse_args): Do not include expected
9811 result in test name.
9812 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9815 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9816 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9819 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9821 * benchtests/Makefile: Sort function entries.
9823 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9824 tanh, asinh, acosh, atanh.
9825 * benchtests/acos-inputs: New file.
9826 * benchtests/acosh-inputs: New file.
9827 * benchtests/asin-inputs: New file.
9828 * benchtests/asinh-inputs: New file.
9829 * benchtests/atanh-inputs: New file.
9830 * benchtests/cosh-inputs: New file.
9831 * benchtests/log-inputs: New file.
9832 * benchtests/sinh-inputs: New file.
9833 * benchtests/tanh-inputs: New file.
9835 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9838 * posix/tst-getaddrinfo4.c: New test.
9839 * posix/Makefile (tests): Add it.
9841 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9844 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9845 when no services were used.
9846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9847 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9849 2013-05-21 Andreas Schwab <schwab@suse.de>
9852 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9853 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9855 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9856 redundant variable declarations and reallocation of buffer when
9857 parsing as IPv6 address. Always set NSS status when called from
9858 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9859 buffer too small. Correct computation of needed size.
9860 * nss/Makefile (tests): Add test-digits-dots.
9861 * nss/test-digits-dots.c: New test.
9863 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9865 * benchtests/Makefile: Remove instructions for adding
9867 * benchtests/README: New file to explain how to execute and
9868 enhance the benchmark tests.
9870 2013-05-21 Andreas Schwab <schwab@suse.de>
9873 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9874 * setjmp/tst-sigsetjmp.c: New test.
9876 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9878 * sysdeps/x86_64/memset.S (memset): New implementation.
9879 (__bzero): Likewise.
9880 (__memset_tail): New function.
9882 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9884 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9885 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9886 __memcpy_sse2_unaligned ifunc selection.
9887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9888 Add memcpy-sse2-unaligned.S.
9889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9890 Add: __memcpy_sse2_unaligned.
9892 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9896 math_force_eval before restoring floating-point envrionment.
9897 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9902 (__nearbyintl): Use math_force_eval before restoring
9903 floating-point environment.
9904 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9906 * math/gen-libm-test.pl (special_functions): Remove.
9907 (parse_args): Don't handle TEST_extra. Handle functions with no
9909 * math/libm-test.inc (struct test_sincos_data): Replace with
9910 struct test_fFF_11_data.
9911 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9912 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9913 (sincos_test_data): Change element type to struct
9914 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9915 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9916 RUN_TEST_LOOP_sincos.
9917 * math/README.libm-test: Don't mention special handling of
9918 individual functions.
9919 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9920 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9921 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9922 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9923 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9926 * math/gen-libm-test.pl (get_variable): Remove function.
9927 (parse_args): Don't show pointer parameters to call in test
9928 names. Use "extra output N" in test names for extra outputs
9929 rather than naming variables.
9931 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9934 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9935 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9936 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9938 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9940 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9943 * math/gen-libm-test.pl (@tests): Remove variable.
9945 (new_test): Remove function.
9946 (show_exceptions): New function.
9947 (special_functions): Use show_exceptions instead of new_test.
9948 (parse_args): Likewise.
9949 (generate_testfile): Pass only function name in generated call to
9950 print_max_error or print_complex_max_error.
9951 (get_ulps): Do not handle complex tests specially.
9952 (output_test): Rename to ...
9953 (get_all_ulps_for_test): ... this. Return a string rather than
9954 printing to a file. Require ulps to be present.
9955 (output_ulps): Generate arrays rather than #defines.
9956 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9957 (struct ulp_data): New type.
9958 (BUILD_COMPLEX_ULP): Remove macro.
9959 (compare_ulp_data): New function.
9960 (find_ulps): Likewise.
9961 (find_test_ulps): Likewise.
9962 (find_function_ulps): Likewise.
9963 (find_complex_function_ulps): Likewise.
9964 (print_max_error): Determine allowed ulps using
9966 (print_complex_max_error): Determine allowed ulps using
9967 find_complex_function_ulps.
9968 (check_float_internal): Determine max ulps using find_test_ulps.
9969 (check_float): Do not take max_ulp parameter. Update call to
9970 check_float_internal.
9971 (check_complex): Likewise.
9972 (check_int): Do not take max_ulp parameter.
9973 (check_long): Likewise.
9974 (check_bool): Likewise.
9975 (check_longlong): Likewise.
9976 (struct test_f_f_data): Remove max_ulp field.
9977 (struct test_ff_f_data): Likewise.
9978 (struct test_ff_f_data_nexttoward): Likewise.
9979 (struct test_fi_f_data): Likewise.
9980 (struct test_fl_f_data): Likewise.
9981 (struct test_if_f_data): Likewise.
9982 (struct test_fff_f_data): Likewise.
9983 (struct test_c_f_data): Likewise.
9984 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9985 (struct test_fF_f1_data): Likewise.
9986 (struct test_ffI_f1_data): Likewise.
9987 (struct test_c_c_data): Remove max_ulp field.
9988 (struct test_cc_c_data): Likewise.
9989 (struct test_f_i_data): Likewise.
9990 (struct test_ff_i_data): Likewise.
9991 (struct test_f_l_data): Likewise.
9992 (struct test_f_L_data): Likewise.
9993 (struct test_sincos_data): Likewise.
9994 (RUN_TEST_f_f): Do not handle ulps.
9995 (RUN_TEST_LOOP_f_f): Likewise.
9996 (RUN_TEST_2_f): Likewise.
9997 (RUN_TEST_LOOP_2_f): Likewise.
9998 (RUN_TEST_fff_f): Likewise.
9999 (RUN_TEST_LOOP_fff_f): Likewise.
10000 (RUN_TEST_c_f): Likewise.
10001 (RUN_TEST_LOOP_c_f): Likewise.
10002 (RUN_TEST_f_f1): Likewise.
10003 (RUN_TEST_LOOP_f_f1): Likewise.
10004 (RUN_TEST_fF_f1): Likewise.
10005 (RUN_TEST_LOOP_fF_f1): Likewise.
10006 (RUN_TEST_fI_f1): Likewise.
10007 (RUN_TEST_LOOP_fI_f1): Likewise.
10008 (RUN_TEST_ffI_f1): Likewise.
10009 (RUN_TEST_LOOP_ffI_f1): Likewise.
10010 (RUN_TEST_c_c): Likewise.
10011 (RUN_TEST_LOOP_c_c): Likewise.
10012 (RUN_TEST_cc_c): Likewise.
10013 (RUN_TEST_LOOP_cc_c): Likewise.
10014 (RUN_TEST_f_i): Likewise.
10015 (RUN_TEST_LOOP_f_i): Likewise.
10016 (RUN_TEST_f_i_tg): Likewise.
10017 (RUN_TEST_LOOP_f_i_tg): Likewise.
10018 (RUN_TEST_ff_i_tg): Likewise.
10019 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10020 (RUN_TEST_f_b): Likewise.
10021 (RUN_TEST_LOOP_f_b): Likewise.
10022 (RUN_TEST_f_b_tg): Likewise.
10023 (RUN_TEST_LOOP_f_b_tg): Likewise.
10024 (RUN_TEST_f_l): Likewise.
10025 (RUN_TEST_LOOP_f_l): Likewise.
10026 (RUN_TEST_f_L): Likewise.
10027 (RUN_TEST_LOOP_f_L): Likewise.
10028 (RUN_TEST_sincos): Likewise.
10029 (RUN_TEST_LOOP_sincos): Likewise.
10031 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10035 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10036 main case of finite arguments, set rounding mode to FE_TONEAREST
10037 and discard exceptions.
10038 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10040 (remainder_tonearest_test_data): New variable.
10041 (remainder_test_tonearest): New function.
10042 (remainder_towardzero_test_data): New variable.
10043 (remainder_test_towardzero): New function.
10044 (remainder_downward_test_data): New variable.
10045 (remainder_test_downward): New function.
10046 (remainder_upward_test_data): New variable.
10047 (remainder_test_upward): New function.
10048 (main): Call the new test functions.
10050 * math/libm-test.inc (struct test_f_f1_data): Remove field
10052 (struct test_fF_f1_data): Likewise.
10053 (struct test_ffI_f1_data): Likewise.
10054 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10055 based on value of EXTRA_EXPECTED.
10056 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10057 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10058 EXTRA_VAR based on value of EXTRA_EXPECTED.
10059 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10060 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10061 EXTRA_VAR based on value of EXTRA_EXPECTED.
10062 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10063 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10064 EXTRA_VAR based on value of EXTRA_EXPECTED.
10065 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10066 * math/gen-libm-test.pl (parse_args): Don't output initializers
10067 for extra output values.
10069 * math/libm-test.inc (check_int): Expect result to be exactly
10070 equal to expected value and do not handle ulps.
10071 (check_long): Likewise.
10072 (check_longlong): Likewise.
10074 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10076 (cimag_test_data): Likewise.
10077 (conj_test_data): Likewise.
10078 (copysign_test_data): Likewise.
10079 (cproj_test_data): Likewise.
10080 (creal_test_data): Likewise.
10081 (fabs_test_data): Likewise.
10082 (fdim_test_data): Likewise.
10083 (finite_test_data): Likewise.
10084 (floor_test_data): Likewise.
10085 (fmax_test_data): Likewise.
10086 (fmin_test_data): Likewise.
10087 (fmod_test_data): Likewise.
10088 (fpclassify_test_data): Likewise.
10089 (frexp_test_data): Likewise.
10090 (ilogb_test_data): Likewise.
10091 (isfinite_test_data): Likewise.
10092 (isgreater_test_data): Likewise.
10093 (isgreaterequal_test_data): Likewise.
10094 (isinf_test_data): Likewise.
10095 (isless_test_data): Likewise.
10096 (islessequal_test_data): Likewise.
10097 (islessgreater_test_data): Likewise.
10098 (isnan_test_data): Likewise.
10099 (isnormal_test_data): Likewise.
10100 (issignaling_test_data): Likewise.
10101 (isunordered_test_data): Likewise.
10102 (ldexp_test_data): Likewise.
10103 (lrint_test_data): Likewise.
10104 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10105 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10106 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10107 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10108 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10109 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10111 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10112 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10113 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10114 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10116 (lrint_downward_test_data): Test for "inexact" exceptions.
10117 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10118 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10119 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10121 (lrint_upward_test_data): Test for "inexact" exceptions.
10122 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10124 (llrint_test_data): Test for "inexact" exceptions.
10125 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10126 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10127 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10128 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10129 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10130 (llrint_downward_test_data): Test for "inexact" exceptions.
10131 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10132 (llrint_upward_test_data): Test for "inexact" exceptions.
10133 (logb_test_data): Likewise.
10134 (logb_downward_test_data): Likewise.
10135 (nextafter_test_data): Likewise.
10136 (nexttoward_test_data): Likewise.
10137 (remainder_test_data): Likewise.
10138 (remquo_test_data): Likewise.
10139 (scalbn_test_data): Likewise.
10140 (scalbln_test_data): Likewise.
10141 (signbit_test_data): Likewise.
10142 (sqrt_test_data): Likewise.
10143 (significand_test_data): Likewise.
10145 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10148 * benchtests/bench-modf.c (struct args): Mark arg0 as
10150 * scripts/bench.pl: Mark members of struct args as volatile.
10152 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10155 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10156 negative infinity on POWER6 or lower.
10157 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10159 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10162 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10163 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10164 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10165 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10166 (_FP_SETQNAN): New macro.
10167 (_FP_SETQNAN_SEMIRAW): Likewise.
10168 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10169 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10170 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10171 (FP_EXTEND): Use _FP_FRAC_SNANP.
10172 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10173 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10180 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10182 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10183 with DIVIDE_BY_ZERO_EXCEPTION.
10184 (gamma_test_data): Likewise.
10185 (lgamma_test_data): Likewise.
10186 (log_test_data): Likewise.
10187 (log10_test_data): Likewise.
10188 (log2_test_data): Likewise.
10189 (tgamma_test_data): Likewise.
10191 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10192 (acos_test_tonearest): Likewise.
10193 (acos_test_towardzero): Likewise.
10194 (acos_test_downward): Likewise.
10195 (acos_test_upward): Likewise.
10196 (acosh_test): Likewise.
10197 (asin_test): Likewise.
10198 (asin_test_tonearest): Likewise.
10199 (asin_test_towardzero): Likewise.
10200 (asin_test_downward): Likewise.
10201 (asin_test_upward): Likewise.
10202 (asinh_test): Likewise.
10203 (atan_test): Likewise.
10204 (atanh_test): Likewise.
10205 (atan2_test): Likewise.
10206 (cabs_test): Likewise.
10207 (cacos_test): Likewise.
10208 (cacosh_test): Likewise.
10209 (casin_test): Likewise.
10210 (casinh_test): Likewise.
10211 (catan_test): Likewise.
10212 (catanh_test): Likewise.
10213 (cbrt_test): Likewise.
10214 (ccos_test): Likewise.
10215 (ccosh_test): Likewise.
10216 (cexp_test): Likewise.
10217 (clog_test): Likewise.
10218 (clog10_test): Likewise.
10219 (cos_test): Likewise.
10220 (cos_test_tonearest): Likewise.
10221 (cos_test_towardzero): Likewise.
10222 (cos_test_downward): Likewise.
10223 (cos_test_upward): Likewise.
10224 (cosh_test): Likewise.
10225 (cosh_test_tonearest): Likewise.
10226 (cosh_test_towardzero): Likewise.
10227 (cosh_test_downward): Likewise.
10228 (cosh_test_upward): Likewise.
10229 (cpow_test): Likewise.
10230 (csin_test): Likewise.
10231 (csinh_test): Likewise.
10232 (csqrt_test): Likewise.
10233 (ctan_test): Likewise.
10234 (ctan_test_tonearest): Likewise.
10235 (ctan_test_towardzero): Likewise.
10236 (ctan_test_downward): Likewise.
10237 (ctan_test_upward): Likewise.
10238 (ctanh_test): Likewise.
10239 (ctanh_test_tonearest): Likewise.
10240 (ctanh_test_towardzero): Likewise.
10241 (ctanh_test_downward): Likewise.
10242 (ctanh_test_upward): Likewise.
10243 (erf_test): Likewise.
10244 (erfc_test): Likewise.
10245 (exp_test): Likewise.
10246 (exp_test_tonearest): Likewise.
10247 (exp_test_towardzero): Likewise.
10248 (exp_test_downward): Likewise.
10249 (exp_test_upward): Likewise.
10250 (exp10_test): Likewise.
10251 (exp2_test): Likewise.
10252 (expm1_test): Likewise.
10253 (fmod_test): Likewise.
10254 (gamma_test): Likewise.
10255 (hypot_test): Likewise.
10256 (j0_test): Likewise.
10257 (j1_test): Likewise.
10258 (jn_test): Likewise.
10259 (lgamma_test): Likewise.
10260 (log_test): Likewise.
10261 (log10_test): Likewise.
10262 (log1p_test): Likewise.
10263 (log2_test): Likewise.
10264 (logb_test_downward): Likewise.
10265 (pow_test): Likewise.
10266 (pow_test_tonearest): Likewise.
10267 (pow_test_towardzero): Likewise.
10268 (pow_test_downward): Likewise.
10269 (pow_test_upward): Likewise.
10270 (remainder_test): Likewise.
10271 (remquo_test): Likewise.
10272 (sin_test): Likewise.
10273 (sin_test_tonearest): Likewise.
10274 (sin_test_towardzero): Likewise.
10275 (sin_test_downward): Likewise.
10276 (sin_test_upward): Likewise.
10277 (sincos_test): Likewise.
10278 (sinh_test): Likewise.
10279 (sinh_test_tonearest): Likewise.
10280 (sinh_test_towardzero): Likewise.
10281 (sinh_test_downward): Likewise.
10282 (sinh_test_upward): Likewise.
10283 (sqrt_test): Likewise.
10284 (tan_test): Likewise.
10285 (tan_test_tonearest): Likewise.
10286 (tan_test_towardzero): Likewise.
10287 (tan_test_downward): Likewise.
10288 (tan_test_upward): Likewise.
10289 (tanh_test): Likewise.
10290 (tgamma_test): Likewise.
10291 (y0_test): Likewise.
10292 (y1_test): Likewise.
10293 (yn_test): Likewise.
10295 * math/gen-libm-test.pl (adjust_arg): Remove function.
10296 (special_function): Remove argument $in_func. Only handle
10297 generating output for tables of tests, not inside functions.
10298 (parse_args): Likewise.
10299 (generate_testfile): Remove variable $in_func. Update call to
10301 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10302 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10303 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10304 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10305 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10306 (MAX_VALUE_INIT): Rename macro to max_value.
10307 (MIN_VALUE_INIT): Rename macro to min_value.
10308 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10309 (plus_zero): Remove variable.
10310 (minus_zero): Likewise.
10311 (plus_infty): Likewise.
10312 (minus_infty): Likewise.
10313 (qnan_value): Likewise.
10314 (max_value): Likewise.
10315 (min_value): Likewise.
10316 (min_subnorm_value): Likewise.
10318 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10320 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10321 uint64_t or uint32_t usage.
10322 * crypt/sha256-block.c: Likewise.
10323 * crypt/sha256-crypt.c: Likewise.
10324 * crypt/sha256.c: Likewise.
10325 * crypt/sha512-block.c: Likewise.
10326 * crypt/sha512-crypt.c: Likewise.
10327 * crypt/sha512.c: Likewise.
10328 * debug/backtrace-tst.c: Likewise.
10329 * debug/pcprofiledump.c: Likewise.
10330 * elf/cache.c: Likewise.
10331 * elf/dl-cache.c: Likewise.
10332 * elf/dl-misc.c: Likewise.
10333 * elf/dl-profile.c: Likewise.
10334 * elf/dl-support.c: Likewise.
10335 * elf/ldconfig.c: Likewise.
10336 * elf/sprof.c: Likewise.
10337 * iconv/dummy-repertoire.c: Likewise.
10338 * iconv/iconv_charmap.c: Likewise.
10339 * iconv/skeleton.c: Likewise.
10340 * iconvdata/8bit-generic.c: Likewise.
10341 * iconvdata/cp737.h: Likewise.
10342 * iconvdata/cp775.h: Likewise.
10343 * iconvdata/ibm1008.h: Likewise.
10344 * iconvdata/ibm1025.h: Likewise.
10345 * iconvdata/ibm1046.h: Likewise.
10346 * iconvdata/ibm1097.h: Likewise.
10347 * iconvdata/ibm1112.h: Likewise.
10348 * iconvdata/ibm1122.h: Likewise.
10349 * iconvdata/ibm1123.h: Likewise.
10350 * iconvdata/ibm1124.h: Likewise.
10351 * iconvdata/ibm1129.h: Likewise.
10352 * iconvdata/ibm1130.h: Likewise.
10353 * iconvdata/ibm1132.h: Likewise.
10354 * iconvdata/ibm1133.h: Likewise.
10355 * iconvdata/ibm1137.h: Likewise.
10356 * iconvdata/ibm1140.h: Likewise.
10357 * iconvdata/ibm1141.h: Likewise.
10358 * iconvdata/ibm1142.h: Likewise.
10359 * iconvdata/ibm1143.h: Likewise.
10360 * iconvdata/ibm1144.h: Likewise.
10361 * iconvdata/ibm1145.h: Likewise.
10362 * iconvdata/ibm1146.h: Likewise.
10363 * iconvdata/ibm1147.h: Likewise.
10364 * iconvdata/ibm1148.h: Likewise.
10365 * iconvdata/ibm1149.h: Likewise.
10366 * iconvdata/ibm1153.h: Likewise.
10367 * iconvdata/ibm1154.h: Likewise.
10368 * iconvdata/ibm1155.h: Likewise.
10369 * iconvdata/ibm1156.h: Likewise.
10370 * iconvdata/ibm1157.h: Likewise.
10371 * iconvdata/ibm1158.h: Likewise.
10372 * iconvdata/ibm1160.h: Likewise.
10373 * iconvdata/ibm1161.h: Likewise.
10374 * iconvdata/ibm1162.h: Likewise.
10375 * iconvdata/ibm1163.h: Likewise.
10376 * iconvdata/ibm1164.h: Likewise.
10377 * iconvdata/ibm1166.h: Likewise.
10378 * iconvdata/ibm1167.h: Likewise.
10379 * iconvdata/ibm12712.h: Likewise.
10380 * iconvdata/ibm1390.h: Likewise.
10381 * iconvdata/ibm1399.h: Likewise.
10382 * iconvdata/ibm16804.h: Likewise.
10383 * iconvdata/ibm4517.h: Likewise.
10384 * iconvdata/ibm4899.h: Likewise.
10385 * iconvdata/ibm4909.h: Likewise.
10386 * iconvdata/ibm4971.h: Likewise.
10387 * iconvdata/ibm5347.h: Likewise.
10388 * iconvdata/ibm803.h: Likewise.
10389 * iconvdata/ibm856.h: Likewise.
10390 * iconvdata/ibm901.h: Likewise.
10391 * iconvdata/ibm902.h: Likewise.
10392 * iconvdata/ibm9030.h: Likewise.
10393 * iconvdata/ibm9066.h: Likewise.
10394 * iconvdata/ibm921.h: Likewise.
10395 * iconvdata/ibm922.h: Likewise.
10396 * iconvdata/ibm9448.h: Likewise.
10397 * iconvdata/isiri-3342.h: Likewise.
10398 * iconvdata/jis0201.h: Likewise.
10399 * include/link.h: Likewise.
10400 * include/netdb.h: Likewise.
10401 * inet/check_native.c: Likewise.
10402 * inet/check_pf.c: Likewise.
10403 * inet/getipv4sourcefilter.c: Likewise.
10404 * inet/getnameinfo.c: Likewise.
10405 * inet/getsourcefilter.c: Likewise.
10406 * inet/htonl.c: Likewise.
10407 * inet/setipv4sourcefilter.c: Likewise.
10408 * inet/setsourcefilter.c: Likewise.
10409 * inet/test-inet6_opt.c: Likewise.
10410 * inet/tst-network.c: Likewise.
10411 * locale/C-collate.c: Likewise.
10412 * locale/C-ctype.c: Likewise.
10413 * locale/C-time.c: Likewise.
10414 * locale/C-translit.h: Likewise.
10415 * locale/loadarchive.c: Likewise.
10416 * locale/programs/3level.h: Likewise.
10417 * locale/programs/charmap.c: Likewise.
10418 * locale/programs/charmap.h: Likewise.
10419 * locale/programs/ld-address.c: Likewise.
10420 * locale/programs/ld-collate.c: Likewise.
10421 * locale/programs/ld-ctype.c: Likewise.
10422 * locale/programs/ld-identification.c: Likewise.
10423 * locale/programs/ld-measurement.c: Likewise.
10424 * locale/programs/ld-messages.c: Likewise.
10425 * locale/programs/ld-monetary.c: Likewise.
10426 * locale/programs/ld-name.c: Likewise.
10427 * locale/programs/ld-numeric.c: Likewise.
10428 * locale/programs/ld-paper.c: Likewise.
10429 * locale/programs/ld-telephone.c: Likewise.
10430 * locale/programs/ld-time.c: Likewise.
10431 * locale/programs/linereader.c: Likewise.
10432 * locale/programs/locale.c: Likewise.
10433 * locale/programs/locarchive.c: Likewise.
10434 * locale/programs/locfile.h: Likewise.
10435 * locale/programs/repertoire.c: Likewise.
10436 * locale/programs/simple-hash.c: Likewise.
10437 * locale/programs/simple-hash.h: Likewise.
10438 * malloc/memusage.c: Likewise.
10439 * malloc/memusagestat.c: Likewise.
10440 * nis/nis_defaults.c: Likewise.
10441 * nis/nis_hash.c: Likewise.
10442 * nis/nis_print.c: Likewise.
10443 * nis/nis_xdr.c: Likewise.
10444 * nscd/connections.c: Likewise.
10445 * nscd/hstcache.c: Likewise.
10446 * nscd/nscd_gethst_r.c: Likewise.
10447 * nscd/nscd_getserv_r.c: Likewise.
10448 * nscd/nscd_helper.c: Likewise.
10449 * nscd/servicescache.c: Likewise.
10450 * nss/makedb.c: Likewise.
10451 * nss/nss_db/db-XXX.c: Likewise.
10452 * nss/nss_db/db-initgroups.c: Likewise.
10453 * nss/nss_db/db-netgrp.c: Likewise.
10454 * nss/nss_files/files-network.c: Likewise.
10455 * nss/nss_files/files-parse.c: Likewise.
10456 * posix/bug-regex5.c: Likewise.
10457 * posix/fnmatch_loop.c: Likewise.
10458 * posix/regcomp.c: Likewise.
10459 * posix/regexec.c: Likewise.
10460 * posix/tst-rfc3484-2.c: Likewise.
10461 * posix/tst-rfc3484-3.c: Likewise.
10462 * posix/tst-rfc3484.c: Likewise.
10463 * resolv/nss_dns/dns-canon.c: Likewise.
10464 * resolv/nss_dns/dns-network.c: Likewise.
10465 * resolv/res_init.c: Likewise.
10466 * resolv/res_mkquery.c: Likewise.
10467 * resolv/tst-aton.c: Likewise.
10468 * stdlib/cxa_atexit.c: Likewise.
10469 * stdlib/cxa_finalize.c: Likewise.
10470 * stdlib/gen-fpioconst.c: Likewise.
10471 * stdlib/strtol_l.c: Likewise.
10472 * string/tst-endian.c: Likewise.
10473 * sunrpc/auth_des.c: Likewise.
10474 * sunrpc/clnt_udp.c: Likewise.
10475 * sunrpc/rtime.c: Likewise.
10476 * sunrpc/svcauth_des.c: Likewise.
10477 * sunrpc/xdr.c: Likewise.
10478 * sunrpc/xdr_intXX_t.c: Likewise.
10479 * sunrpc/xdr_rec.c: Likewise.
10480 * sysdeps/generic/ldconfig.h: Likewise.
10481 * sysdeps/generic/ldsodefs.h: Likewise.
10482 * sysdeps/generic/memusage.h: Likewise.
10483 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10486 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10493 * sysdeps/posix/getaddrinfo.c: Likewise.
10494 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10495 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10496 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10497 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10498 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10499 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10500 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10501 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10502 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10503 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10504 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10505 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10506 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10507 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10508 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10509 * sysdeps/x86_64/dl-tls.h: Likewise.
10510 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10511 * time/alt_digit.c: Likewise.
10512 * time/era.c: Likewise.
10513 * wcsmbs/tst-c16c32-1.c: Likewise.
10515 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10517 * math/libm-test.inc (struct test_sincos_data): New type.
10518 (RUN_TEST_LOOP_sincos): New macro.
10519 (sincos_test_data): New variable.
10520 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10522 2013-05-16 Richard Henderson <rth@redhat.com>
10524 * math/atest-exp2.c (LIMB64): New macro.
10525 (CONSTSZ): New macro.
10526 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10528 (print_mpn_fp): ... to function scope.
10529 (read_mpn_hex): Remove.
10530 (get_log2): Remove.
10531 (exp2_mpn): Use mp_log2.
10532 (main): Use mp_exp1.
10534 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10536 * math/libm-test.inc: Remove comment about not testing "inexact"
10538 (INEXACT_EXCEPTION): New macro.
10539 (NO_INEXACT_EXCEPTION): Likewise.
10540 (INVALID_EXCEPTION_OK): Update value.
10541 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10542 (OVERFLOW_EXCEPTION_OK): Likewise.
10543 (UNDERFLOW_EXCEPTION_OK): Likewise.
10544 (IGNORE_ZERO_INF_SIGN): Likewise.
10545 (ERRNO_UNCHANGED): Likewise.
10546 (ERRNO_EDOM): Likewise.
10547 (ERRNO_ERANGE): Likewise.
10548 (test_exceptions): Handle testing "inexact" exceptions.
10549 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10550 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10551 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10552 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10554 (rint_towardzero_test_data): Likewise.
10555 (rint_downward_test_data): Likewise.
10556 (rint_upward_test_data): Likewise.
10558 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10559 with OVERFLOW_EXCEPTION.
10560 (exp10_test_data): Likewise.
10561 (exp2_test_data): Likewise.
10562 (expm1_test_data): Likewise.
10563 (lgamma_test_data): Likewise.
10564 (pow_test_data): Likewise.
10565 (tgamma_test_data): Likewise.
10566 (yn_test_data): Remove duplicate test of overflow.
10568 * math/libm-test.inc (struct test_cc_c_data): New type.
10569 (RUN_TEST_LOOP_cc_c): New macro.
10570 (cpow_test_data): New variable.
10571 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10573 * math/libm-test.inc (struct test_f_L_data): New type.
10574 (RUN_TEST_LOOP_f_L): New macro.
10575 (llrint_test_data): New variable.
10576 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10577 (llrint_tonearest_test_data): New variable.
10578 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10579 (llrint_towardzero_test_data): New variable.
10580 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10581 (llrint_downward_test_data): New variable.
10582 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10583 (llrint_upward_test_data): New variable.
10584 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10585 (llround_test_data): New variable.
10586 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10588 2013-05-13 Peter Collingbourne <pcc@google.com>
10590 * math/atest-exp2.c (get_log2): Remove const attribute.
10592 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10594 * math/libm-test.inc (struct test_f_l_data): New type.
10595 (RUN_TEST_LOOP_f_l): New macro.
10596 (lrint_test_data): New variable.
10597 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10598 (lrint_tonearest_test_data): New variable.
10599 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10600 (lrint_towardzero_test_data): New variable.
10601 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10602 (lrint_downward_test_data): New variable.
10603 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10604 (lrint_upward_test_data): New variable.
10605 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10606 (lround_test_data): New variable.
10607 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10609 2013-05-15 Peter Collingbourne <pcc@google.com>
10611 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10612 (EXTRACT_WORDS64) Use where appropriate.
10613 (INSERT_WORDS64) Likewise.
10615 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10616 constraints with x constraints.
10617 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10619 * malloc/obstack.c (_obstack_compat): Add initializer.
10621 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10623 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10624 si_trapno and add si_addr_lsb to _sifields.sigfault.
10625 (si_trapno): Remove macro.
10626 (si_addr_lsb): Define new macro.
10627 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10629 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10631 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10632 instead of TEST_f_l.
10633 (llrint_test_tonearest): Likewise.
10634 (llrint_test_towardzero): Likewise.
10635 (llrint_test_downward): Likewise.
10636 (llrint_test_upward): Likewise.
10637 (llround_test): Likewise.
10639 * math/libm-test.inc (struct test_f_i_data): Add comment.
10640 (RUN_TEST_LOOP_f_b): New macro.
10641 (RUN_TEST_LOOP_f_b_tg): Likewise.
10642 (finite_test_data): New variable.
10643 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10644 (isfinite_test_data): New variable.
10645 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10646 (isinf_test_data): New variable.
10647 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10648 (isnan_test_data): New variable.
10649 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10650 (isnormal_test_data): New variable.
10651 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10652 (issignaling_test_data): New variable.
10653 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10654 (signbit_test_data): New variable.
10655 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10657 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10658 with INVALID_EXCEPTION.
10659 (acosh_test_data): Likewise.
10660 (asin_test_data): Likewise.
10661 (atanh_test_data): Likewise.
10662 (fmod_test_data): Likewise.
10663 (log_test_data): Likewise.
10664 (log10_test_data): Likewise.
10665 (log2_test_data): Likewise.
10666 (pow_test_data): Likewise.
10667 (sqrt_test_data): Likewise.
10668 (y0_test_data): Likewise.
10669 (y1_test_data): Likewise.
10670 (yn_test_data): Likewise.
10672 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10675 * math/libm-test.inc (struct test_ff_i_data): New type.
10676 (RUN_TEST_LOOP_ff_i_tg): New macro.
10677 (isgreater_test_data): New variable.
10678 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10679 (isgreaterequal_test_data): New variable.
10680 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10681 (isless_test_data): New variable.
10682 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10683 (islessequal_test_data): New variable.
10684 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10685 (islessgreater_test_data): New variable.
10686 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10687 (isunordered_test_data): New variable.
10688 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10690 2013-05-14 David S. Miller <davem@davemloft.net>
10692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10694 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10696 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10698 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10700 (struct test_f_i_data): Change type of max_ulp to int.
10702 * math/libm-test.inc (test_ffI_f1_data): New type.
10703 (RUN_TEST_LOOP_ffI_f1): New macro.
10704 (remquo_test_data): New variable.
10705 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10707 * setjmp/tst-setjmp-fp.c: New file.
10708 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10709 (link-libm): New variable.
10710 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10712 * math/libm-test.inc (struct test_f_i_data): New type.
10713 (RUN_TEST_LOOP_f_i): New macro.
10714 (RUN_TEST_LOOP_f_i_tg): Likewise.
10715 (fpclassify_test_data): New variable.
10716 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10717 (ilogb_test_data): New variable.
10718 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10720 * math/libm-test.inc (scalbln_test): Correct function name in END
10723 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10724 (RUN_TEST_LOOP_fI_f1): New macro.
10725 (frexp_test_data): New variable.
10726 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10728 * math/libm-test.inc (struct test_fF_f1_data): New type.
10729 (RUN_TEST_LOOP_fF_f1): New macro.
10730 (modf_test_data): New variable.
10731 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10733 * math/libm-test.inc (struct test_f_f1_data): New type.
10734 (RUN_TEST_LOOP_f_f1): New macro.
10735 (gamma_test_data): New variable.
10736 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10737 (lgamma_test_data): New variable.
10738 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10740 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10742 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10743 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10744 (main): Comment "tls" pseudo-hwcap.
10746 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10748 * math/libm-test.inc (struct test_fl_f_data): New type.
10749 (RUN_TEST_LOOP_fl_f): New variable.
10750 (scalbln_test_data): New variable.
10751 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10753 * math/libm-test.inc (struct test_fi_f_data): New type.
10754 (RUN_TEST_LOOP_fi_f): New macro.
10755 (ldexp_test_data): New variable.
10756 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10757 (scalbn_test_data): New variable.
10758 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10760 * math/libm-test.inc (struct test_c_f_data): New type.
10761 (RUN_TEST_LOOP_c_f): New macro.
10762 (cabs_test_data): New variable.
10763 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10764 (carg_test_data): New variable.
10765 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10766 (cimag_test_data): New variable.
10767 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10768 (creal_test_data): New variable.
10769 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10771 * math/libm-test.inc (struct test_if_f_data): New type.
10772 (RUN_TEST_LOOP_if_f): New macro.
10773 (jn_test_data): New variable.
10774 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10775 (yn_test_data): New variable.
10776 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10778 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10780 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10782 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10783 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10785 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10787 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10788 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10789 (bench-deps): Add bench-timing.h.
10790 * benchtests-bench-skeleton.c: Include bench-timing.h.
10791 (main): Use TIMING_* macros instead of clock_gettime.
10792 * benchtests/bench-timing.h: New file.
10795 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10796 Renamed from _LIB_VERSION.
10797 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10799 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10801 * math/libm-test.inc (struct test_fff_f_data): New type.
10802 (RUN_TEST_LOOP_fff_f): New macro.
10803 (fma_test_data): New variable.
10804 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10805 (fma_towardzero_test_data): New variable.
10806 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10807 (fma_downward_test_data): New variable.
10808 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10809 (fma_upward_test_data): New variable.
10810 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10812 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10813 (struct test_c_c_data): New type.
10814 (RUN_TEST_LOOP_c_c): New macro.
10815 (cacos_test_data): New variable.
10816 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10817 (cacosh_test_data): New variable.
10818 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10819 (casin_test_data): New variable.
10820 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10821 (casinh_test_data): New variable.
10822 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10823 (catan_test_data): New variable.
10824 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10825 (catanh_test_data): New variable.
10826 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10827 (ccos_test_data): New variable.
10828 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10829 (ccosh_test_data): New variable.
10830 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10831 (cexp_test_data): New variable.
10832 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10833 (clog_test_data): New variable.
10834 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10835 (clog10_test_data): New variable.
10836 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10837 (conj_test_data): New variable.
10838 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10839 (cproj_test_data): New variable.
10840 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10841 (csin_test_data): New variable.
10842 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10843 (csinh_test_data): New variable.
10844 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10845 (csqrt_test_data): New variable.
10846 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10847 (ctan_test_data): New variable.
10848 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10849 (ctan_tonearest_test_data): New variable.
10850 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10851 (ctan_towardzero_test_data): New variable.
10852 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10853 (ctan_downward_test_data): New variable.
10854 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10855 (ctan_upward_test_data): New variable.
10856 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10857 (ctanh_test_data): New variable.
10858 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10859 (ctanh_tonearest_test_data): New variable.
10860 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10861 (ctanh_towardzero_test_data): New variable.
10862 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10863 (ctanh_downward_test_data): New variable.
10864 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10865 (ctanh_upward_test_data): New variable.
10866 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10867 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10870 * math/libm-test.inc (struct test_ff_f_data): New type.
10871 (struct test_ff_f_data_nexttoward): Likewise.
10872 (RUN_TEST_LOOP_2_f): New macro.
10873 (RUN_TEST_LOOP_ff_f): Likewise.
10874 (atan2_test_data): New variable.
10875 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10876 (copysign_test_data): New variable.
10877 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10878 (fdim_test_data): New variable.
10879 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10880 (fmax_test_data): New variable.
10881 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10882 (fmin_test_data): New variable.
10883 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10884 (fmod_test_data): New variable.
10885 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10886 (hypot_test_data): New variable.
10887 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10888 (nextafter_test_data): New variable.
10889 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10890 (nexttoward_test_data): New variable.
10891 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10892 (pow_test_data): New variable.
10893 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10894 (pow_tonearest_test_data): New variable.
10895 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10896 (pow_towardzero_test_data): New variable.
10897 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10898 (pow_downward_test_data): New variable.
10899 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10900 (pow_upward_test_data): New variable.
10901 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10902 (remainder_test_data): New variable.
10903 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10904 (scalb_test_data): New variable.
10905 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10906 * sysdeps/i386/fpu/libm-test-ulps: Update.
10908 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10910 * math/libm-test.inc (fma_test): Use max_value instead of local
10912 (nextafter_test): Likewise.
10914 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10915 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10916 (acos_downward_test_data): New variable.
10917 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10918 (acos_upward_test_data): New variable.
10919 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10920 (acosh_test_data): New variable.
10921 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10922 (asin_test_data): New variable.
10923 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10924 (asin_tonearest_test_data): New variable.
10925 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10926 (asin_towardzero_test_data): New variable.
10927 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10928 (asin_downward_test_data): New variable.
10929 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10930 (asin_upward_test_data): New variable.
10931 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10932 (asinh_test_data): New variable.
10933 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10934 (atan_test_data): New variable.
10935 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10936 (atanh_test_data): New variable.
10937 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10938 (cbrt_test_data): New variable.
10939 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10940 (ceil_test_data): New variable.
10941 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10942 (cos_test_data): New variable.
10943 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10944 (cos_tonearest_test_data): New variable.
10945 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10946 (cos_towardzero_test_data): New variable.
10947 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10948 (cos_downward_test_data): New variable.
10949 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10950 (cos_upward_test_data): New variable.
10951 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10952 (cosh_test_data): New variable.
10953 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10954 (cosh_tonearest_test_data): New variable.
10955 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10956 (cosh_towardzero_test_data): New variable.
10957 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10958 (cosh_downward_test_data): New variable.
10959 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10960 (cosh_upward_test_data): New variable.
10961 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10962 (erf_test_data): New variable.
10963 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10964 (erfc_test_data): New variable.
10965 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10966 (exp_test_data): New variable.
10967 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10968 (exp_tonearest_test_data): New variable.
10969 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10970 (exp_towardzero_test_data): New variable.
10971 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10972 (exp_downward_test_data): New variable.
10973 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10974 (exp_upward_test_data): New variable.
10975 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10976 (exp10_test_data): New variable.
10977 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10978 (exp2_test_data): New variable.
10979 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10980 (expm1_test_data): New variable.
10981 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10982 (fabs_test_data): New variable.
10983 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10984 (floor_test_data): New variable.
10985 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10986 (j0_test_data): New variable.
10987 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10988 (j1_test_data): New variable.
10989 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10990 (log_test_data): New variable.
10991 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10992 (log10_test_data): New variable.
10993 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10994 (log1p_test_data): New variable.
10995 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10996 (log2_test_data): New variable.
10997 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10998 (logb_test_data): New variable.
10999 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11000 (logb_downward_test_data): New variable.
11001 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11002 (nearbyint_test_data): New variable.
11003 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11004 (rint_test_data): New variable.
11005 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11006 (rint_tonearest_test_data): New variable.
11007 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11008 (rint_towardzero_test_data): New variable.
11009 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11010 (rint_downward_test_data): New variable.
11011 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11012 (rint_upward_test_data): New variable.
11013 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11014 (round_test_data): New variable.
11015 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11016 (sin_test_data): New variable.
11017 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11018 (sin_tonearest_test_data): New variable.
11019 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11020 (sin_towardzero_test_data): New variable.
11021 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11022 (sin_downward_test_data): New variable.
11023 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11024 (sin_upward_test_data): New variable.
11025 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11026 (sinh_test_data): New variable.
11027 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11028 (sinh_tonearest_test_data): New variable.
11029 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11030 (sinh_towardzero_test_data): New variable.
11031 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11032 (sinh_downward_test_data): New variable.
11033 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11034 (sinh_upward_test_data): New variable.
11035 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11036 (sqrt_test_data): New variable.
11037 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11038 (tan_test_data): New variable.
11039 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11040 (tan_tonearest_test_data): New variable.
11041 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11042 (tan_towardzero_test_data): New variable.
11043 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11044 (tan_downward_test_data): New variable.
11045 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11046 (tan_upward_test_data): New variable.
11047 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11048 (tanh_test_data): New variable.
11049 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11050 (tgamma_test_data): New variable.
11051 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11052 (trunc_test_data): New variable.
11053 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11054 (y0_test_data): New variable.
11055 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11056 (y1_test_data): New variable.
11057 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11058 (significand_test_data): New variable.
11059 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11061 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11064 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11066 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11068 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11070 2013-05-10 Andreas Jaeger <aj@suse.de>
11073 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11074 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11076 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11078 * math/gen-libm-test.pl (adjust_arg): New function.
11079 (special_functions): Handle generating output in both functions
11081 (parse_args): Likewise.
11082 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11083 $in_func argument to parse_args.
11084 * math/libm-test.inc (struct test_f_f_data): New type.
11085 (IF_ROUND_INIT_): New macro.
11086 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11087 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11088 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11089 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11090 (ROUND_RESTORE_): Likewise.
11091 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11092 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11093 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11094 (ROUND_RESTORE_FE_UPWARD): Likewise.
11095 (RUN_TEST_LOOP_f_f): New macro.
11096 (acos_test_data): New variable.
11097 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11098 (acos_tonearest_test_data): New variable.
11099 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11101 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11103 * benchtests/bench-skeleton.c (startup): Fix coding style.
11105 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11108 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11109 negative infinity argument.
11110 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11111 negative infinity argument.
11112 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11113 negative infinity argument.
11114 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11117 2013-05-10 Florian Weimer <fweimer@redhat.com>
11119 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11120 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11121 * iconv/iconv_prog.c (main): Likewise.
11122 * locale/programs/charmap-dir.c (charmap_readdir)
11123 (fopen_uncompressed): Likewise.
11124 * locale/programs/locfile.c (siblings_uncached)
11125 (write_locale_data): Use lstat64 instead of lstat.
11126 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11129 2013-05-10 Andreas Jaeger <aj@suse.de>
11132 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11134 Include <locale.h>.
11136 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11138 * elf/dl-close.c (_dl_close_worker): Add comments.
11140 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11143 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11145 (__ieee754_rem_pio2l): Update comments.
11148 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11150 (__ieee754_rem_pio2l): Update comments.
11152 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11153 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11155 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11158 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11159 (M_PI_34_LOG10El): Likewise.
11160 (M_PI2_LOG10El): Likewise.
11161 (M_PI4_LOG10El): Likewise.
11162 (M_PI_LOG10El): Likewise.
11164 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11168 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11170 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11171 (MINUS_ZERO_INIT): Likewise.
11172 (PLUS_INFTY_INIT): Likewise.
11173 (MINUS_INFTY_INIT): Likewise.
11174 (QNAN_VALUE_INIT): Likewise.
11175 (MAX_VALUE_INIT): Likewise.
11176 (MIN_VALUE_INIT): Likewise.
11177 (MIN_SUBNORM_VALUE_INIT): Likewise.
11178 (plus_zero): Initialize with PLUS_ZERO_INIT.
11179 (minus_zero): Initialize with MINUS_ZERO_INIT.
11180 (plus_infty): Initialize with PLUS_INFTY_INIT.
11181 (minus_infty): Initialize with MINUS_INFTY_INIT.
11182 (qnan_value): Initialize with QNAN_VALUE_INIT.
11183 (max_value): Initialize with MAX_VALUE_INIT.
11184 (min_value): Initialize with MIN_VALUE_INIT.
11185 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11187 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11188 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11189 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11190 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11192 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11193 (RUN_TEST_2_f): Likewise.
11194 (RUN_TEST_ff_f): Likewise.
11195 (RUN_TEST_fi_f): Likewise.
11196 (RUN_TEST_fl_f): Likewise.
11197 (RUN_TEST_fff_f): Likewise.
11198 (RUN_TEST_c_f): Likewise.
11199 (RUN_TEST_f_f1): Likewise.
11200 (RUN_TEST_fF_f1): Likewise.
11201 (RUN_TEST_fI_f1): Likewise.
11202 (RUN_TEST_ffI_f1): Likewise.
11203 (RUN_TEST_c_c): Likewise.
11204 (RUN_TEST_cc_c): Likewise.
11205 (RUN_TEST_f_i): Likewise.
11206 (RUN_TEST_f_i_tg): Likewise.
11207 (RUN_TEST_ff_i_tg): Likewise.
11208 (RUN_TEST_f_b): Likewise.
11209 (RUN_TEST_f_b_tg): Likewise.
11210 (RUN_TEST_f_l): Likewise.
11211 (RUN_TEST_f_L): Likewise.
11212 (RUN_TEST_sincos): Likewise.
11213 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11214 whether to show exceptions. Do not include ");\n" in return
11216 (special_functions): Output call to RUN_TEST_sincos instead of
11217 check_float calls. Update calls to new_test.
11218 (parse_args): Output call to single RUN_TEST_* macro instead of
11219 check_* calls and other assignments. Update calls to new_test.
11225 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11226 input to result for tgamma overflow.
11227 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11228 (gamma_coeff): New variable.
11229 (NCOEFF): New macro.
11230 (gamma_positive): New function.
11231 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11232 underflow here. Use gamma_positive instead of exp (lgamma) for
11234 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11235 (gamma_coeff): New variable.
11236 (NCOEFF): New macro.
11237 (gammaf_positive): New function.
11238 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11239 underflow here. Use gamma_positive instead of exp (lgamma) for
11241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11242 (gamma_coeff): New variable.
11243 (NCOEFF): New macro.
11244 (gammal_positive): New function.
11245 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11246 underflow here. Use gamma_positive instead of exp (lgamma) for
11248 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11249 (gamma_coeff): New variable.
11250 (NCOEFF): New macro.
11251 (gammal_positive): New function.
11252 (__ieee754_gammal_r): Handle positive infinity, overflow and
11253 underflow here. Handle NaN the same as positive infinity. Remove
11254 check x < 0xffffffff for negative integers. Use gamma_positive
11255 instead of exp (lgamma) for other arguments.
11256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11257 (gamma_coeff): New variable.
11258 (NCOEFF): New macro.
11259 (gammal_positive): New function.
11260 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11261 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11265 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11266 * sysdeps/generic/math_private.h (__gamma_productf): New
11268 (__gamma_product): Likewise.
11269 (__gamma_productl): Likewise.
11270 * math/Makefile (libm-calls): Add gamma_product.
11271 * math/libm-test.inc (tgamma_test): Add more tests.
11272 * sysdeps/i386/fpu/libm-test-ulps: Update.
11273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11275 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11277 * benchtests/bench-skeleton.c (main): Preheat CPU.
11279 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11281 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11283 2013-05-07 Roland McGrath <roland@hack.frob.com>
11285 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11286 and _dl_skip_args_internal.
11288 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11290 * manual/message.texi (Message Translation): Talk about users.
11291 Message to key mapping impacts design.
11293 2013-05-06 Roland McGrath <roland@hack.frob.com>
11295 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11297 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11299 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11300 * sysdeps/wordsize-64/glob64.c: ... here.
11302 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11303 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11306 * debug/getlogin_r_chk.c: Moved to ...
11307 * login/getlogin_r_chk.c: ... here.
11308 * debug/Makefile (routines): Move getlogin_r_chk to ...
11309 * login/Makefile (routines): ... here.
11310 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11311 * login/Versions (libc: GLIBC_2.4): ... here.
11313 * io/poll.c (__poll): Renamed from poll.
11314 Add libc_hidden_def.
11315 (poll): Define as weak alias.
11317 * debug/ptsname_r_chk.c: Moved to ...
11318 * login/ptsname_r_chk.c: ... here.
11319 * debug/Makefile (routines): Move ptsname_r_chk to ...
11320 * login/Makefile (routines): ... here.
11321 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11322 * login/Versions (libc: GLIBC_2.4): ... here.
11324 * posix/getlogin.c: Moved to ...
11325 * login/getlogin.c: ... here.
11326 * posix/getlogin_r.c: Moved to ...
11327 * login/getlogin_r.c: ... here.
11328 * posix/getlogin_r.c: Moved to ...
11329 * login/getlogin_r.c: ... here.
11330 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11331 * login/Makefile (routines): ... here.
11332 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11333 * login/Versions (libc: GLIBC_2.0): ... here.
11335 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11336 (setrlimit): Define as weak alias.
11338 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11339 Call __ names for open, ftruncate, and close.
11340 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11341 (truncate): Define as weak alias.
11343 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11345 * math/gen-libm-test.pl (parse_args): Initialize x before each
11346 test of frexp, modf and remquo.
11348 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11349 test signgam value.
11351 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11355 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11357 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11359 2013-05-06 Roland McGrath <roland@hack.frob.com>
11361 * elf/dl-writev.h: New file.
11362 * elf/dl-misc.c: Include it.
11363 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11364 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11366 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11368 * math/libm-test.inc (noXFails): Remove variable.
11369 (noXPasses): Likewise.
11370 (BUILD_COMPLEX_INT): Remove macro.
11371 (print_screen): Remove xfail argument.
11372 (print_screen_max_error): Likewise.
11373 (update_stats): Likewise.
11374 (print_max_error): Likewise. Update calls to other affected
11376 (print_complex_max_error): Likewise.
11377 (test_single_exception): Update calls to print_screen.
11378 (test_single_errno): Likewise.
11379 (check_float_internal): Remove xfail argument. Update calls to
11380 other affected functions.
11381 (check_float): Likewise.
11382 (check_complex): Likewise.
11383 (check_int): Likewise.
11384 (check_long): Likewise.
11385 (check_bool): Likewise.
11386 (check_longlong): Likewise.
11387 (main): Don't print noXFails and noXPasses.
11388 * math/gen-libm-test.pl (top level): Don't mention expected
11389 failure handling in comment.
11390 (new_test): Don't handle expected failures.
11391 (parse_args): Don't mention expected failure handling in comment.
11392 (generate_testfile): Don't handle expected failures.
11393 (parse_ulps): Likewise.
11394 (print_ulps_file): Likewise.
11395 (get_failure): Remove function.
11396 (output_test): Don't handle expected failures.
11397 * make/README.libm-test: Don't mention expected failure handling.
11399 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11400 (minus_zero): Likewise.
11401 (plus_infty): Likewise.
11402 (minus_infty): Likewise.
11403 (qnan_value): Likewise.
11404 (max_value): Likewise.
11405 (min_value): Likewise.
11406 (min_subnorm_value): Likewise.
11407 (initialize): Do not initialize those variables dynamically.
11409 2013-05-03 Roland McGrath <roland@hack.frob.com>
11411 * io/open.c (__open_2): Moved to ...
11412 * io/open_2.c: ... this new file.
11413 * io/open64.c (__open64_2): Moved to ...
11414 * io/open64_2.c: ... this new file.
11415 * io/openat.c (__openat_2): Moved to ...
11416 * io/openat_2.c: ... this new file.
11417 * io/openat64.c (__openat64_2): Moved to ...
11418 * io/openat64_2.c: ... this new file.
11419 * io/Makefile (routines): Add them.
11420 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11421 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11422 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11423 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11424 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11425 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11426 (__openat64): Add hidden_ver.
11427 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11428 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11430 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11431 Separately conditionalize setting of GLRO(dl_sysinfo) so
11432 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11433 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11435 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11437 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11438 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11440 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11441 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11442 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11443 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11444 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11446 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11448 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11449 test signgam value.
11451 * math/libm-test.inc (hypot_test): Do not use
11452 IGNORE_ZERO_INF_SIGN.
11454 2013-05-03 Andreas Jaeger <aj@suse.de>
11456 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11458 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11459 (PF_MAX): Adjust for VSOCK change.
11461 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11465 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11468 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11469 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11470 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11472 2013-05-02 David S. Miller <davem@davemloft.net>
11474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11476 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11478 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11480 2013-05-01 Roland McGrath <roland@hack.frob.com>
11482 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11484 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11487 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11488 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11489 Use __attribute__ ((__gnu_inline__)).
11490 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11491 Don't use __attribute__ ((__gnu_inline__)).
11493 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11496 * math/s_catan.c (__catan): Handle small real or imaginary part of
11497 input specially to avoid spurious underflow.
11498 * math/s_catanf.c (__catanf): Likewise.
11499 * math/s_catanh.c (__catanh): Likewise.
11500 * math/s_catanhf.c (__catanhf): Likewise.
11501 * math/s_catanhl.c (__catanhl): Likewise.
11502 * math/s_catanl.c (__catanl): Likewise.
11503 * math/libm-test.inc (catan_test): Add more tests.
11504 (catanh_test): Likewise.
11505 * sysdeps/i386/fpu/libm-test-ulps: Update.
11506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11508 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11512 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11515 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11516 accurately for denominator in atan2.
11517 * math/s_catanf.c (__catanf): Likewise.
11518 * math/s_catanh.c (__catanh): Likewise.
11519 * math/s_catanhf.c (__catanhf): Likewise.
11520 * math/s_catanhl.c (__catanhl): Likewise.
11521 * math/s_catanl.c (__catanl): Likewise.
11522 * math/libm-test.inc (catan_test): Add more tests.
11523 (catanh_test): Likewise.
11524 * sysdeps/i386/fpu/libm-test-ulps: Update.
11525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11527 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11529 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11531 * benchtests/Makefile (bench): Remove slow benchmarks.
11532 * benchtests/atan-inputs: Add slow benchmark inputs.
11533 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11534 (BENCH_FUNC): Accept variant offset.
11536 * benchtests/bench-skeleton.c (main): Run benchmark for each
11538 * benchtests/cos-inputs: Add slow benchmark inputs.
11539 * benchtests/exp-inputs: Likewise.
11540 * benchtests/pow-inputs: Likewise.
11541 * benchtests/sin-inputs: Likewise.
11542 * benchtests/slowatan-inputs: Remove.
11543 * benchtests/slowatan.c: Remove.
11544 * benchtests/slowcos-inputs: Remove.
11545 * benchtests/slowcos.c: Remove.
11546 * benchtests/slowexp-inputs: Remove.
11547 * benchtests/slowexp.c: Remove.
11548 * benchtests/slowpow-inputs: Remove.
11549 * benchtests/slowpow.c: Remove.
11550 * benchtests/slowsin-inputs: Remove.
11551 * benchtests/slowsin.c: Remove.
11552 * benchtests/slowtan-inputs: Remove.
11553 * benchtests/slowtan.c: Remove.
11554 * benchtests/tan-inputs: Add slow benchmark inputs.
11555 * scripts/bench.pl: Parse comments and directives.
11557 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11559 ($(objpfx)bench-%.c): Remove *-ITER.
11560 * benchtests/bench-modf.c: Remove definition of ITER.
11561 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11562 (main): Loop for DURATION seconds instead of fixed number of
11564 * scripts/bench.pl: Don't expect iterations in parameters.
11566 2013-04-29 Roland McGrath <roland@hack.frob.com>
11568 * io/fchdir.c (__fchdir): Renamed from fchdir.
11569 (fchdir): Define as weak alias.
11571 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11573 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11574 (ERRNO_EDOM): Likewise.
11575 (ERRNO_ERANGE): Likewise.
11576 (noErrnoTests): New variable.
11577 (init_max_error): Set errno to 0.
11578 (test_single_errno): New function.
11579 (test_errno): Likewise.
11580 (check_float_internal): Call test_errno. Set errno to 0.
11581 (check_complex): Refer to errno tests in comment.
11582 (check_int): Call test_errno. Set errno to 0.
11583 (check_long): Likewise.
11584 (check_bool): Likewise.
11585 (check_longlong): Likewise.
11586 (cos_test): Use ERRNO_* flags for errno tests instead of
11588 (expm1_test): Likewise.
11589 (fmod_test): Likewise.
11590 (ilogb_test): Likewise.
11591 (lgamma_test): Likewise.
11592 (pow_test): Likewise.
11593 (remainder_test): Likewise.
11594 (sin_test): Likewise.
11595 (tan_test): Likewise.
11596 (yn_test): Likewise.
11597 (initialize): Set errno to 0.
11598 (main): Print number of errno tests.
11599 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11601 2013-04-29 Andreas Jaeger <aj@suse.de>
11604 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11608 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11609 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11613 * stdlib/random.c (__initstate): Return NULL if
11617 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11618 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11621 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11625 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11627 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11628 of individual tests.
11629 (casin_test): Likewise.
11630 (casinh_test): Likewise.
11632 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11635 * math/s_catan.c (__catan): Handle arguments with large real or
11636 imaginary part separately without squaring.
11637 * math/s_catanf.c (__catanf): Likewise.
11638 * math/s_catanh.c (__catanh): Likewise.
11639 * math/s_catanhf.c (__catanhf): Likewise.
11640 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11642 (__catanhl): Handle arguments with large real or imaginary part
11643 separately without squaring.
11644 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11646 (__catanl): Handle arguments with large real or imaginary part
11647 separately without squaring.
11648 * math/libm-test.inc (catan_test): Add more tests.
11649 (catanh_test): Likewise.
11650 * sysdeps/i386/fpu/libm-test-ulps: Update.
11651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11653 2013-04-27 Andreas Jaeger <aj@suse.de>
11656 * stdlib/stdlib.h: Update guards for qecvt.
11657 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11660 2013-04-27 Allan McRae <allan@archlinux.org>
11662 * sysdeps/i386/fpu/libm-test-ulps: Update.
11664 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11667 * math/s_catan.c: Include <float.h>.
11668 (__catan): Ensure underflow exception occurs for underflowed
11670 * math/s_catanf.c: Include <float.h>.
11671 (__catanf): Ensure underflow exception occurs for underflowed
11673 * math/s_catanh.c: Include <float.h>.
11674 (__catanh): Ensure underflow exception occurs for underflowed
11676 * math/s_catanhf.c: Include <float.h>.
11677 (__catanhf): Ensure underflow exception occurs for underflowed
11679 * math/s_catanhl.c: Include <float.h>.
11680 (__catanhl): Ensure underflow exception occurs for underflowed
11682 * math/s_catanl.c: Include <float.h>.
11683 (__catanl): Ensure underflow exception occurs for underflowed
11685 * math/libm-test.inc (catan_test): Add more tests.
11686 (catanh_test): Likewise.
11689 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11690 underflowed result.
11691 * math/s_ccoshf.c (__ccoshf): Likewise.
11692 * math/s_ccoshl.c (__ccoshl): Likewise.
11693 * math/s_csin.c (__csin): Likewise.
11694 * math/s_csinf.c (__csinf): Likewise.
11695 * math/s_csinh.c (__csinh): Likewise.
11696 * math/s_csinhf.c (__csinhf): Likewise.
11697 * math/s_csinhl.c (__csinhl): Likewise.
11698 * math/s_csinl.c (__csinl): Likewise.
11699 * math/libm-test.inc (ccos_test): Add more tests.
11700 (ccosh_test): Likewise.
11701 (csin_test): Likewise.
11702 (csinh_test): Likewise.
11704 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11706 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11707 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11708 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11709 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11710 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11711 powerpc/power5+/fpu folders.
11712 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11715 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11719 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11721 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11722 additions to variable.
11723 [$(config-machine) = x86_64] (modules-names): Likewise.
11724 ($(objpfx)tst-audit3): Remove dependency.
11725 ($(objpfx)tst-audit3.out): Likewise.
11726 ($(objpfx)tst-audit4): Likewise.
11727 ($(objpfx)tst-audit4.out): Likewise.
11728 ($(objpfx)tst-audit5): Likewise.
11729 ($(objpfx)tst-audit5.out): Likewise.
11730 ($(objpfx)tst-audit6): Likewise.
11731 ($(objpfx)tst-audit6.out): Likewise.
11732 ($(objpfx)tst-audit7): Likewise.
11733 ($(objpfx)tst-audit7.out): Likewise.
11734 (tst-audit3-ENV): Remove variable.
11735 (tst-audit4-ENV): Likewise.
11736 (tst-audit5-ENV): Likewise.
11737 (tst-audit6-ENV): Likewise.
11738 (tst-audit7-ENV): Likewise.
11739 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11740 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11741 addition to variable.
11742 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11743 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11747 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11748 tst-audit3, tst-audit4 and tst-audit5.
11749 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11750 tst-audit6 and tst-audit7.
11751 [$(subdir) = elf] (modules-names): Add audit modules for those
11753 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11754 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11755 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11756 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11757 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11758 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11759 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11760 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11761 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11762 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11763 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11764 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11765 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11766 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11767 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11768 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11770 [$(subdir) = elf && $(config-cflags-avx) = yes]
11771 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11772 [$(subdir) = elf && $(config-cflags-avx) = yes]
11773 (CFLAGS-tst-auditmod4a.c): Likewise.
11774 [$(subdir) = elf && $(config-cflags-avx) = yes]
11775 (CFLAGS-tst-auditmod4b.c): Likewise.
11776 [$(subdir) = elf && $(config-cflags-avx) = yes]
11777 (CFLAGS-tst-auditmod6b.c): Likewise.
11778 [$(subdir) = elf && $(config-cflags-avx) = yes]
11779 (CFLAGS-tst-auditmod6c.c): Likewise.
11780 [$(subdir) = elf && $(config-cflags-avx) = yes]
11781 (CFLAGS-tst-auditmod7b.c): Likewise.
11782 * elf/tst-audit3.c: Move to ...
11783 * sysdeps/x86_64/tst-audit3.c: ... here.
11784 * elf/tst-audit4.c: Move to ...
11785 * sysdeps/x86_64/tst-audit4.c: ... here.
11786 * elf/tst-audit5.c: Move to ...
11787 * sysdeps/x86_64/tst-audit5.c: ... here.
11788 * elf/tst-audit6.c: Move to ...
11789 * sysdeps/x86_64/tst-audit6.c: ... here.
11790 * elf/tst-audit7.c: Move to ...
11791 * sysdeps/x86_64/tst-audit7.c: ... here.
11792 * elf/tst-auditmod3a.c: Move to ...
11793 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11794 * elf/tst-auditmod3b.c: Move to ...
11795 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11796 * elf/tst-auditmod4a.c: Move to ...
11797 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11798 * elf/tst-auditmod4b.c: Move to ...
11799 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11800 * elf/tst-auditmod5a.c: Move to ...
11801 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11802 * elf/tst-auditmod5b.c: Move to ...
11803 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11804 * elf/tst-auditmod6a.c: Move to ...
11805 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11806 * elf/tst-auditmod6b.c: Move to ...
11807 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11808 * elf/tst-auditmod6c.c: Move to ...
11809 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11810 * elf/tst-auditmod7a.c: Move to ...
11811 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11812 * elf/tst-auditmod7b.c: Move to ...
11813 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11815 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11818 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11819 define unconditionally.
11820 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11821 define unconditionally.
11822 (INT8_C, INT16_C, etc.): Likewise.
11824 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11826 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11827 __ehdr_start with hidden visibility.
11829 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11831 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11833 * math/libm-test.inc (cos_test): Use accurate hex constants.
11834 (sincost_test): Likewise.
11836 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11838 * math/libm-test.inc (catan_test): Add more tests.
11839 (catanh_test): Likewise.
11841 * math/s_catanf.c (__catanf): Use suffixed floating-point
11843 * math/s_catanhf.c (__catanhf): Likewise.
11844 * math/s_catanhl.c (__catanhl): Likewise.
11845 * math/s_catanl.c (__catanl): Likewise.
11848 * math/s_catan.c (__catan): Calculate imaginary part of result
11849 with log1p not log unless computing log of number close to 0.
11850 * math/s_catanf.c (__catanf): Likewise.
11851 * math/s_catanl.c (__catanl): Likewise.
11852 * math/s_catanh.c (__catanh): Calculate real part of result with
11853 log1p not log unless computing log of number close to 0.
11854 * math/s_catanhf.c (__catanhf): Likewise.
11855 * math/s_catanhl.c (__catanhl): Likewise.
11856 * math/libm-test.inc (catan_test): Add more tests.
11857 (catanh_test): Likewise.
11858 * sysdeps/i386/fpu/libm-test-ulps: Update.
11859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11863 * benchtests/Makefile: Mention files in which fast and slow
11864 paths of math functions are implemented.
11866 2013-04-23 Roland McGrath <roland@hack.frob.com>
11868 * sysdeps/posix/timespec_get.c: New file.
11870 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11872 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11874 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11876 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11877 powerpc/power5/fpu folders.
11878 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11879 * benchtests/Makefile: Add modf testcase.
11880 * benchtests/bench-modf.c: New file: Benchmark test for mo
11882 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11885 * time/Makefile (tests): Add tst-strptime-whitespace.
11886 * time/strptime_l.c (get_number): Use ISSPACE.
11887 (__strptime_internal): Likewise.
11888 * time/tst-strptime-whitespace.c: New test case.
11890 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11892 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11894 (_nss_files_init): Set it here.
11896 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11898 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11899 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11902 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11904 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11906 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11911 2013-04-21 David S. Miller <davem@davemloft.net>
11913 * po/ru.po: Update Russion translation from translation project.
11915 2013-04-17 Adam Conrad <adconrad@0c3.net>
11917 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11920 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11922 * configure.in: Remove i386 configure warning. Remove i386 case.
11923 * configure: Regenerate.
11924 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11925 Add example to error message.
11926 * sysdeps/i386/configure: Regenerate.
11928 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11930 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11932 * benchtests/cos-inputs: New file.
11933 * benchtests/slowcos-inputs: New file.
11934 * benchtests/slowcos.c: New file.
11935 * benchtests/slowtan-inputs: New file.
11936 * benchtests/slowtan.c: New file.
11937 * benchtests/tan-inputs: New file.
11939 2013-04-16 Roland McGrath <roland@hack.frob.com>
11941 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11944 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11946 * benchtests/Makefile: Include cppflags-iterator.mk to add
11947 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11949 * Makefile.in (bench-clean): New target.
11950 * benchtests/Makefile (bench-clean): Likewise.
11952 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11954 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11956 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11958 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11960 2013-04-15 Andreas Schwab <schwab@suse.de>
11962 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11964 * nscd/pwdcache.c (cache_addpw): Likewise.
11965 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11968 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11970 * benchtests/Makefile (bench): Write all output to
11971 bench-out.tmp together.
11973 2013-04-15 Andreas Schwab <schwab@suse.de>
11975 * nscd/nscd.c (main): Don't fork again after closing files.
11977 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11979 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11981 * benchtests/Rules (bench-deps): Collect dependencies into a
11982 single variable. Add Makefile to dependencies.
11983 ($(objpfx)bench-%.c): Depend on bench-deps.
11985 2013-04-12 Roland McGrath <roland@hack.frob.com>
11986 Xavier Roche <roche+kml2@exalead.com>
11989 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11990 just that it's a file descriptor.
11991 * manual/llio.texi (Synchronizing AIO Operations): Update description
11992 for EBADF error from aio_fsync.
11994 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11996 * Rules (bench): Move target definition...
11997 * benchtests/Makefile: ... here.
11999 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12001 * math/libm-test.inc (cos_test): Fix PI/2 test.
12002 (sincos_test): Likewise.
12003 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12004 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12006 2013-04-11 Andreas Schwab <schwab@suse.de>
12009 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12010 accept exponent character only when digits were seen.
12011 * stdio-common/Makefile (tests): Add bug26.
12012 * stdio-common/bug26.c: New file.
12015 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12018 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12020 * Makeconfig (rtld-prefix): Define built linker prefix.
12021 * Rules (run-bench): Use it.
12022 * math/Makefile (run-regen-ulps): Likewise.
12024 * Rules (bench): Remove eval.
12026 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12027 Roland McGrath <roland@hack.frob.com>
12028 Ondrej Bilka <neleai@seznam.cz>
12031 * time/getdate.c: Include ctype.h and alloca.h.
12032 (__getdate_r): Trim leading and trailing spaces of input.
12033 * time/tst-getdate.c (tests): Add tests with leading and
12036 2013-04-08 Roland McGrath <roland@hack.frob.com>
12039 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12040 when computing value.
12042 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12044 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12045 Use testrun.sh to run libm tests.
12048 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12050 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12053 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12055 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12057 * Makefile.in (regen-ulps): New target.
12058 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12059 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12060 [ifneq (no,$(PERL)] (regen-ulps): New target.
12061 [ifeq (no,$(PERL)] (regen-ulps): New target.
12062 * math/libm-test.inc (ulps_file_name): Define.
12063 (output_dir): New variable.
12064 (options): Add "output-dir" option.
12065 (parse_opt): Handle 'o' case.
12066 (main): If output_dir is non-NULL use it as a prefix
12068 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12070 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12072 [BZ #10060, #10062]
12073 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12074 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12075 fail configure if __sync_val_compare_and_swap is not inlined.
12076 * sysdeps/i386/configure: Regenerate.
12077 * configure.in: Build for i686 when configured for i386.
12078 * configure: Regenerate.
12079 * README: Remove i386 reference.
12081 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12083 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12084 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12086 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12088 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12089 (lmsnanval): New variables.
12090 (F): Add conversion tests.
12091 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12092 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12094 * stdio-common/tstdiomisc.c (F): Properly collect individual
12097 [BZ #14686, #15336]
12098 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12099 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12100 Instead, use input NaN values or generate a qNaN by arithmetic
12101 operation. Also fix bugs to comply with the standard.
12102 * math/libm-test.inc (remainder_test): Add more tests.
12104 [BZ #15335, #15342]
12105 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12107 input NaN values or generate a qNaN by arithmetic operation.
12109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12112 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12115 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12118 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12119 underflowed result.
12120 * math/s_cexpf.c (__cexpf): Likewise.
12121 * math/s_cexpl.c (__cexpl): Likewise.
12122 * math/libm-test.inc (cexp_test): Add more tests.
12124 2013-04-03 Andreas Schwab <schwab@suse.de>
12127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12128 order arrays from heap if bigger than alloca cutoff.
12130 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12132 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12133 (SNAN_TESTS_double): Refer to GCC PR56831.
12134 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12137 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12139 * Rules (bench): Move bench.out after the run is complete.
12141 * Rules (bench): Echo currently running benchmark.
12143 * benchtests/Makefile (bench): Add atan and slowatan.
12144 * benchtests/atan-inputs: New file.
12145 * benchtests/slowatan-inputs: New file.
12146 * benchtests/slowatan.c: New file.
12148 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12153 * sysdeps/unix/sysv/linux/kernel-features.h
12154 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12155 __ASSUME_XFS_RESTRICTED_CHOWN.
12156 * sysdeps/unix/sysv/linux/pathconf.c
12157 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12158 Save and restore errno.
12160 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12163 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12164 arguments using __kernel_casinh.
12165 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12166 arguments using __kernel_casinhf.
12167 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12168 arguments using __kernel_casinhl.
12169 * math/libm-test.inc (cacosh_test): Add more tests.
12170 * sysdeps/i386/fpu/libm-test-ulps: Update.
12171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12173 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12175 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12178 * bench/Makefile (bench): Add sin and slowsin.
12179 * benchtests/sin-inputs: New file.
12180 * benchtests/slowsin-inputs: New file.
12181 * benchtests/slowsin.c: New file.
12183 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12184 (bench): Add slowexp and slowpow.
12185 (exp-ITER): Increase iterations.
12186 (pow-ITER): Likewise.
12187 * benchtests/exp-inputs: Change input.
12188 * benchtests/pow-inputs: Likewise.
12189 * benchtests/slowexp-inputs: New file.
12190 * benchtests/slowexp.c: New file.
12191 * benchtests/slowpow-inputs: New file.
12192 * benchtests/slowpow.c: New file.
12194 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12196 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12198 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12199 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12200 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12201 * benchtests/Makefile: Add rint benchtest.
12202 * benchtests/rint-inputs: Input for rint benchtest.
12204 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12206 * Versions.def (libm): Add GLIBC_2.18.
12207 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12208 hidden libm prototypes.
12209 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12210 * math/Makefile (libm-calls): Add s_issignaling.
12211 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12212 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12213 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12215 * math/math.h [__USE_GNU] (issignaling): New macro.
12216 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12217 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12219 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12222 * manual/arith.texi (issignaling): New section.
12223 * manual/libm-err-tab.pl (@all_functions): Update comment.
12224 * math/gen-libm-test.pl (parse_args): Apply special handling for
12226 * math/libm-test.inc (print_float, issignaling_test): New
12228 (check_float_internal): Add issignaling checks.
12229 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12230 default definition.
12231 * sysdeps/powerpc/math-tests.h: New file.
12232 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12234 * math/test-snan.c (TEST_FUNC): Likewise.
12236 2013-03-30 David S. Miller <davem@davemloft.net>
12238 * po/de.po: Update from translation team.
12240 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12243 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12244 imaginary part less than 1.0 and real part less than 0.5
12246 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12247 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12248 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12249 (cacos_test): Add more tests.
12250 (casin_test): Likewise.
12251 (casinh_test): Likewise.
12252 * sysdeps/i386/fpu/libm-test-ulps: Update.
12253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12255 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12257 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12258 ONE with its value.
12260 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12261 (__pow_mp): Replace ONE and MONE with their values.
12262 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12264 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12265 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12266 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12269 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12271 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12272 (__pow_mp): Replace ZERO and MZERO with their values.
12273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12274 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12275 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12277 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12278 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12281 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12283 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12285 2013-03-28 Roland McGrath <roland@hack.frob.com>
12287 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12288 Declare with __attribute__ ((weak)).
12289 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12290 Call __call_tls_dtors only if it's not NULL.
12292 2013-03-28 Roland McGrath <roland@hack.frob.com>
12294 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12295 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12296 magic __ehdr_start linker symbol if it's defined.
12297 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12298 them up here if it was already done.
12300 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12301 (_dl_aux_init): Use const in cast when setting it.
12302 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12303 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12304 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12306 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12308 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12309 * csu/libc-tls.c: Nor here.
12310 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12312 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12313 (__libc_message): Never call vsyslog.
12315 2013-03-28 Alan Modra <amodra@gmail.com>
12317 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12319 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12322 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12325 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12329 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12332 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12333 Don't add gid passed as argument.
12335 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12337 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12340 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12341 imaginary part between 1.0 and 1.5 and real part less than 0.5
12343 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12344 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12345 * math/libm-test.inc (cacos_test): Add more tests.
12346 (casin_test): Likewise.
12347 (casinh_test): Likewise.
12348 * sysdeps/i386/fpu/libm-test-ulps: Update.
12349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12351 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12353 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12356 (denorm): Likewise.
12357 (__dbl_mp): Likewise.
12358 (add_magnitudes): Likewise.
12359 (sub_magnitudes): Likewise.
12367 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12369 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12370 (__dubcos): Likewise.
12371 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12372 (__ieee754_acos): Likewise.
12373 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12375 (__exp1): Likewise.
12376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12377 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12379 (my_log2): Likewise.
12380 (checkint): Likewise.
12381 * sysdeps/ieee754/dbl-64/e_remainder.c
12382 (__ieee754_remainder): Likewise.
12383 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12385 (bsloww): Likewise.
12386 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12388 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12389 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12390 MANTISSA_STORE_T to store computations on mantissa. Use
12391 macros for rounding and division.
12392 (denorm): Likewise.
12393 (__dbl_mp): Likewise.
12394 (add_magnitudes): Likewise.
12395 (sub_magnitudes): Likewise.
12398 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12399 powers of two in terms of TWOPOW macro.
12400 (mp_no): Make type of mantissa as MANTISSA_T.
12401 [!RADIXI]: Define RADIXI.
12402 [!TWO52]: Define TWO52.
12403 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12405 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12407 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12408 llroundl symbol when building for PPC32.
12410 2013-03-24 Mark H Weaver <mhw@netris.org>
12412 * manual/arith.texi (Normalization Functions): Fix prototypes for
12413 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12415 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12419 high value to check if expl overflow.
12420 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12421 to check for underflow and overflow.
12422 * math/libm-test.inc: Add exp test.
12424 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12427 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12430 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12432 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12435 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12437 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12438 wrap blocks consisting of several statements.
12440 * sysdeps/generic/math-tests.h: New file.
12441 * sysdeps/i386/fpu/math-tests.h: Likewise.
12442 * math/test-snan.c: Include it.
12443 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12445 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12448 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12449 (__ieee754_j0l): Do not improve calculations using cos of twice
12450 input for inputs above LDBL_MAX / 2.0L.
12451 (__ieee754_y0l): Likewise.
12452 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12453 (__ieee754_j1l): Do not improve calculations using cos of twice
12454 input for inputs above LDBL_MAX / 2.0L.
12455 (__ieee754_y1l): Likewise.
12456 * math/libm-test.inc (j0_test): Add another test.
12457 (j1_test): Likewise.
12458 (y0_test): Likewise.
12459 (y1_test): Likewise.
12460 * sysdeps/i386/fpu/libm-test-ulps: Update.
12462 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12464 * Rules ($(objpfx)bench-%.c): Include code from a C source
12467 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12470 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12471 imaginary part 1.0 and real part less than 0.5 specially.
12472 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12473 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12474 * math/libm-test.inc (cacos_test): Add more tests.
12475 (casin_test): Likewise.
12476 (casinh_test): Likewise.
12477 * sysdeps/i386/fpu/libm-test-ulps: Update.
12478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12483 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12485 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12487 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12488 * config.make.in (config-cflags-sse4): Remove variable.
12489 (config-cflags-avx): Likewise.
12490 (config-cflags-sse2avx): Likewise.
12491 (config-cflags-novzeroupper): Likewise.
12492 (config-asflags-i686): Likewise.
12493 (have-mfma4): Likewise.
12494 (have-as-vis3): Likewise.
12496 * configure.in (MIG): Do not AC_SUBST.
12497 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12498 (libc_cv_cc_sse4): Do not AC_SUBST.
12499 (libc_cv_cc_avx): Likewise.
12500 (libc_cv_cc_sse2avx): Likewise.
12501 (libc_cv_cc_novzeroupper): Likewise.
12502 (libc_cv_cc_fma4): Likewise.
12503 (libc_cv_as_i686): Likewise.
12504 (libc_cv_sparc_as_vis3): Likewise.
12505 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12507 (config-asflags-i686): Likewise.
12508 (config-cflags-avx): Likewise.
12509 (config-cflags-sse2avx): Likewise.
12510 (have-mfma4): Likewise.
12511 (config-cflags-novzeroupper): Likewise.
12512 * sysdeps/mach/configure.in (MIG): Likewise.
12513 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12514 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12516 (config-cflags-avx): Likewise.
12517 (config-cflags-sse2avx): Likewise.
12518 (have-mfma4): Likewise.
12519 (config-cflags-novzeroupper): Likewise.
12520 * configure: Regenerated.
12521 * sysdeps/i386/configure: Likewise.
12522 * sysdeps/mach/configure: Likewise.
12523 * sysdeps/sparc/configure: Likewise.
12524 * sysdeps/x86_64/configure: Likewise.
12526 2013-03-20 Roland McGrath <roland@hack.frob.com>
12529 * locale/programs/localedef.c (options): Put N_ translation marker
12530 on argument names, not just descriptions.
12532 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12534 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12536 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12539 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12541 2013-03-19 Roland McGrath <roland@hack.frob.com>
12543 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12544 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12545 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12546 [!BEFORE_ABORT] (before_abort): New function.
12547 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12548 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12549 (writev_for_fatal): New function.
12550 (WRITEV_FOR_FATAL): New macro; call that.
12551 (backtrace_and_maps): New function.
12552 (BEFORE_ABORT): New macro; call that.
12553 (struct str_list): Type removed.
12554 (__libc_message, __libc_fatal): Functions removed.
12555 Include <sysdeps/posix/libc_fatal.c> instead.
12557 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12559 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12561 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12564 2013-03-19 Andreas Schwab <schwab@suse.de>
12566 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12567 * sysdeps/gnu/configure: Regenerate.
12569 * configure.in: Substitute libc_cv_rtlddir.
12570 * configure: Regenerate.
12571 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12572 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12573 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12574 * elf/Makefile (install-others, CFLAGS-interp.c)
12575 (ldso_install, common-ldd-rewrite): Likewise.
12576 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12577 $(inst_slibdir)/$(rtld-installed-name).
12578 * scripts/rellns-sh: Add -p option.
12579 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12582 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12584 * manual/nptl.texi: Renamed to ...
12585 * manual/threads.texi: ... this.
12586 * manual/Makefile (chapters): Update.
12588 2013-03-18 Roland McGrath <roland@hack.frob.com>
12591 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12592 on argument names, not just descriptions.
12593 * malloc/memusagestat.c (options): Likewise.
12594 * nss/getent.c (options): Likewise.
12596 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12599 * iconv/iconv_prog.c (options): Put N_ translation marker
12600 on argument names, not just descriptions.
12601 * iconv/iconvconfig.c (options): Likewise.
12603 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12605 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12606 implementation which is faster on all x86_64 architectures.
12607 Tested on AMD, Intel Nehalem, SNB, IVB.
12608 * sysdeps/x86_64/strnlen.S: Likewise.
12610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12611 Remove all multiarch strlen and strnlen versions.
12612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12613 Remove strlen and strnlen related parts.
12615 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12616 Inline strlen part.
12617 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12619 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12620 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12621 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12622 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12623 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12624 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12626 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12628 * manual/memory.texi (Malloc Tunable Parameters):
12629 Sort parameters alphabetically. Add comments for missing entries.
12631 2013-03-17 David S. Miller <davem@davemloft.net>
12633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12635 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12638 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12639 for arguments at most half maximum finite value.
12640 * math/libm-test.inc (j0_test): Add more tests.
12641 (j1_test): Likewise.
12642 (y0_test): Likewise.
12643 (y1_test): Likewise.
12644 * sysdeps/i386/fpu/libm-test-ulps: Update.
12645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12648 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12649 1 / x and functions P and Q for arguments above 0x1p256L.
12650 (__ieee754_y0l): Likewise.
12651 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12652 (__ieee754_y1l): Likewise.
12653 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12654 (j1_test): Likewise.
12655 (y0_test): Likewise.
12656 (y1_test): Likewise.
12658 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12660 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12663 2013-03-15 Roland McGrath <roland@hack.frob.com>
12665 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12666 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12667 zero since it's initialized to EXEC_PAGESIZE.
12669 * sysdeps/unix/sysv/linux/ldsodefs.h
12670 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12671 * sysdeps/generic/ldsodefs.h: ... here.
12673 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12675 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12677 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12679 * math/test-snan.c: Renamed from
12680 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12681 * math/Makefile (tests): Add test-snan.
12682 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12685 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12686 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12688 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12689 __builtin_nan family of functions.
12690 * math/libm-test.inc (initialize): Initialize qnan_value with
12691 __builtin_nan family of functions.
12692 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12694 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12696 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12697 storage class. Initialize qNaN_var and sNaN_var with
12698 __builtin_nan and __builtin_nans families of functions,
12701 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12702 (sqrt_test): Remove duplicate test with qNaN input.
12703 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12704 (round_test, signbit_test, significand_test): Note missing +/-Inf
12705 as well as qNaN tests.
12707 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12708 qNaN_var. Fix a few strings, too.
12709 * math/libm-test.inc (nan_value): Rename to qnan_value.
12710 * math/gen-libm-test.pl (%beautify): Adjust to that.
12711 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12712 * math/test-misc.c (main): Likewise.
12713 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12714 to __qnan_bytes, and __qnan_union, respectively.
12715 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12717 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12718 and lqnanval, respectively.
12719 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12720 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12721 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12722 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12724 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12725 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12728 * math/test-misc.c (main): Fix copy'n'pastos.
12729 * misc/tst-efgcvt.c (special): Likewise.
12731 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12732 Remove declarations.
12734 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12736 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12737 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12738 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12739 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12741 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12743 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12744 macro to return vdso values correctly in IFUNC implementations.
12745 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12746 Optimization by using IFUNC.
12748 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 Richard Henderson <rth@redhat.com>
12750 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12752 * Makefile.in (bench): New target.
12753 * NEWS: Mention the benchmark framework.
12754 * Rules (bench): Likewise.
12755 (binaries-bench): Generate binaries for functions to
12757 * benchtests/Makefile: New makefile for benchmark tests.
12758 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12760 * benchtests/exp-inputs: New input file for EXP function.
12761 * benchtests/pow-inputs: New input file for POW function.
12762 * scripts/bench.pl: New script to generate source files for
12763 benchmark programs.
12765 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12767 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12768 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12769 computations on mantissa. Use macros for rounding and
12771 (denorm): Likewise.
12772 (__dbl_mp): Likewise.
12773 (add_magnitudes): Likewise.
12774 (sub_magnitudes): Likewise.
12777 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12778 powers of two in terms of TWOPOW macro.
12779 (mp_no): Make type of mantissa as MANTISSA_T.
12780 [!RADIXI]: Define RADIXI.
12781 [!TWO52]: Define TWO52.
12782 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12784 * manual/nptl.texi (cindex): Modify threads to pthreads.
12786 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12788 * sysdeps/x86_64/preconfigure: Regenerated.
12790 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12793 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12795 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12796 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12798 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12799 * math/libm-test.inc (j0_test): Do not allow one spurious
12800 underflow exception.
12801 (y1_test): Likewise.
12803 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12805 * manual/Makefile (chapters): Add nptl.
12806 * manual/debug.texi (Debugging Support): Add link to Threads
12808 * manual/nptl.texi: New file.
12810 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12812 2013-03-14 Petr Baudis <pasky@ucw.cz>
12814 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12815 for non-NULL pointer before the memory validity test. Pointed
12816 out by Holger Brunck <holger.brunck@keymile.com>.
12818 2013-03-13 Andreas Schwab <schwab@suse.de>
12820 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12823 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12825 * timezone/zic.c: Update from tzcode 2013b.
12827 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12829 * manual/install.texi (Configuring and compiling):
12830 Mention i686 and i586.
12831 * INSTALL: Regenerate.
12833 2013-03-12 Roland McGrath <roland@hack.frob.com>
12835 * sysdeps/init_array/elf-init.c: New file.
12837 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12838 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12840 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12841 __gmon_start__ as global, but as static with a .preinit_array pointer.
12842 * sysdeps/init_array/gmon-start.c: New file. Use that.
12843 * sysdeps/init_array/crti.S: New file, empty except for comments.
12844 * sysdeps/init_array/crtn.S: Likewise.
12846 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12848 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12851 Remove Prefer_SSE_for_memop.
12852 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12853 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12854 HAS_PREFER_SSE_FOR_MEMOP.
12855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12858 Remove bzero, memset ifunc support.
12859 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12860 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12861 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12862 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12864 2013-03-11 Andreas Schwab <schwab@suse.de>
12867 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12870 (GLIBC_2.16): Remove pthread_atfork.
12872 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12874 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12875 (ptestcases.h): Likewise.
12877 2013-03-08 Roland McGrath <roland@hack.frob.com>
12879 * Makeconfig ($(common-objpfx)config.status): Depend on
12880 sysdeps/*/preconfigure{,.in} too.
12882 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12884 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12885 (__free_hook): Use void * instead of __malloc_ptr_t.
12886 (__malloc_hook): Likewise.
12887 (__realloc_hook): Likewise.
12888 (__memalign_hook): Likewise.
12889 (__after_morecore_hook): Likewise.
12890 * malloc/arena.c (save_malloc_hook): Likewise.
12891 (save_free_hook): Likewise.
12892 * malloc/hooks.c (malloc_hook_ini): Likewise.
12893 (realloc_hook_ini): Likewise.
12894 (memalign_hook_ini): Likewise.
12895 * malloc/malloc.c (malloc_hook_ini): Likewise.
12896 (realloc_hook_ini): Likewise.
12897 (memalign_hook_ini): Likewise.
12898 (__free_hook): Likewise.
12899 (__malloc_hook): Likewise.
12900 (__realloc_hook): Likewise.
12901 (__memalign_hook): Likewise.
12902 (__libc_malloc): Likewise.
12903 (__libc_free): Likewise.
12904 (__libc_realloc): Likewise.
12905 (__libc_memalign): Likewise.
12906 (__libc_valloc): Likewise.
12907 (__libc_pvalloc): Likewise.
12908 (__libc_calloc): Likewise.
12909 (__posix_memalign): Likewise.
12910 * malloc/morecore.c (__sbrk): Likewise.
12911 (__default_morecore): Likewise.
12913 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12915 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12916 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12917 __malloc_ptrdiff_t.
12919 * malloc/malloc.h (__malloc_size_t): Remove macro.
12920 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12922 (old_memalign_hook): Likewise.
12923 (old_realloc_hook): Likewise.
12924 (struct hdr): Likewise.
12926 (mallochook): Likewise.
12927 (memalignhook): Likewise.
12928 (reallochook): Likewise.
12929 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12930 (tr_old_realloc_hook): Likewise.
12931 (tr_old_memalign_hook): Likewise.
12932 (tr_mallochook): Likewise.
12933 (tr_reallochook): Likewise.
12934 (tr_memalignhook): Likewise.
12936 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12939 default_ldbl_pack and using as default implementation.
12940 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12942 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12943 redundant definition.
12944 (ldbl_insert_mantissa): Likewise.
12945 (ldbl_canonicalize): Likewise.
12946 (ldbl_nearbyint): Likewise.
12947 (ldbl_pack): Rename to ldbl_pack_ppc.
12948 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12949 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12950 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12952 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12955 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12956 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12957 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12959 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12960 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12961 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12963 2013-03-07 Andreas Jaeger <aj@suse.de>
12965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12968 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12970 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12971 Include mpa.h and declare __MPEXP.
12972 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12973 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12974 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12975 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12976 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12977 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12978 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12980 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12981 (__slowpow): Use long double EXPL and LOGL functions to
12983 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12984 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12985 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12986 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12987 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12988 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12991 intermediate variable to calculate exponent.
12993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12997 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12998 [!NO__SQR]: Define __sqr.
12999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13000 and NO__SQR. Remove all code except __mul and __sqr. Include
13001 sysdeps/ieee754/dbl-64/mpa.c.
13002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13005 * posix/Makefile (tests): Add tst-pathconf.
13006 * posix/tst-pathconf.c: New test case.
13007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13009 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13011 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13013 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13015 2013-03-06 Andreas Jaeger <aj@suse.de>
13017 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13018 definition via __MAP_ANONYMOUS.
13020 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13021 it's not part of Linux headers.
13023 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13024 (MAP_HUGE_MASK): Define.
13026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13028 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13031 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13032 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13034 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13037 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13039 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13040 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13041 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13042 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13043 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13044 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13050 Handle f2fs and efivarfs.
13052 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13055 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13056 (EFIVARFS_MAGIC): Add.
13057 (F2FS_LINK_MAX): Add.
13059 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13061 * stdio-common/vfprintf.c: Replace __builtin_expect with
13064 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13067 * sysdeps/generic/bp-sym.h: Remove file.
13068 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13069 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13070 <bp-sym.h> and <bp-asm.h>.
13071 (__longjmp): Don't use BP_SYM.
13072 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13074 (memcpy): Don't use BP_SYM.
13075 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13076 <bp-sym.h> and <bp-asm.h>.
13077 (memcpy): Don't use BP_SYM.
13078 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13080 (memcpy): Don't use BP_SYM.
13081 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13083 (memset): Don't use BP_SYM.
13084 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13085 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13086 (__bzero): Don't use BP_SYM.
13087 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13088 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13089 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13090 <bp-sym.h> and <bp-asm.h>.
13091 (memcmp): Don't use BP_SYM. Remove comment about bounded
13093 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13094 <bp-sym.h> and <bp-asm.h>.
13095 (memcpy): Don't use BP_SYM.
13096 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13097 <bp-sym.h> and <bp-asm.h>.
13098 (memset): Don't use BP_SYM.
13099 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13100 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13101 (__bzero): Don't use BP_SYM.
13102 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13103 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13104 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13105 <bp-sym.h> and <bp-asm.h>.
13106 (strncmp): Don't use BP_SYM. Remove comment about bounded
13108 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13109 <bp-sym.h> and <bp-asm.h>.
13110 (memcpy): Don't use BP_SYM.
13111 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13112 <bp-sym.h> and <bp-asm.h>.
13113 (memset): Don't use BP_SYM.
13114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13116 (__bzero): Don't use BP_SYM.
13117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13120 <bp-sym.h> and <bp-asm.h>.
13121 (__memchr): Don't use BP_SYM.
13122 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13123 <bp-sym.h> and <bp-asm.h>.
13124 (memcmp): Don't use BP_SYM. Remove comment about bounded
13126 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13127 <bp-sym.h> and <bp-asm.h>.
13128 (memcpy): Don't use BP_SYM.
13129 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13130 <bp-sym.h> and <bp-asm.h>.
13131 (__mempcpy): Don't use BP_SYM.
13132 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13133 <bp-sym.h> and <bp-asm.h>.
13134 (__memrchr): Don't use BP_SYM.
13135 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13136 <bp-sym.h> and <bp-asm.h>.
13137 (memset): Don't use BP_SYM.
13138 (__bzero): Likewise.
13139 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13140 <bp-sym.h> and <bp-asm.h>.
13141 (__rawmemchr): Don't use BP_SYM.
13142 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13143 <bp-sym.h> and <bp-asm.h>.
13144 (__STRCMP): Don't use BP_SYM.
13145 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13146 <bp-sym.h> and <bp-asm.h>.
13147 (strchr): Don't use BP_SYM.
13148 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13149 <bp-sym.h> and <bp-asm.h>.
13150 (__strchrnul): Don't use BP_SYM.
13151 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13152 <bp-sym.h> and <bp-asm.h>.
13153 (strlen): Don't use BP_SYM.
13154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13155 <bp-sym.h> and <bp-asm.h>.
13156 (strncmp): Don't use BP_SYM. Remove comment about bounded
13158 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13159 <bp-sym.h> and <bp-asm.h>.
13160 (__strnlen): Don't use BP_SYM.
13161 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13162 <bp-sym.h> and <bp-asm.h>.
13163 (__GI__setjmp): Don't use BP_SYM.
13164 (_setjmp): Likewise.
13165 (__sigsetjmp): Likewise.
13166 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13167 (L(start_addresses)): Don't use BP_SYM.
13168 (_start): Likewise.
13169 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13171 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13172 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13173 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13174 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13175 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13177 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13178 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13179 about bounded pointers.
13180 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13181 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13182 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13184 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13185 about bounded pointers. Remove GKM FIXME comments.
13186 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13187 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13189 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13190 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13191 Remove GKM FIXME comments.
13192 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13193 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13194 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13196 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13197 about bounded pointers. Remove GKM FIXME comment.
13198 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13200 (strncmp): Don't use BP_SYM. Remove comment about bounded
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13203 <bp-sym.h> and <bp-asm.h>.
13204 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13206 <bp-sym.h> and <bp-asm.h>.
13207 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13210 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13212 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13215 2013-03-05 David S. Miller <davem@davemloft.net>
13217 * po/es.po: Update from translation team.
13219 2013-03-05 Andreas Jaeger <aj@suse.de>
13221 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13222 <bits/mman-linux.h>.
13223 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13226 <bits/mman-linux.h> to end of file.
13227 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13229 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13230 <bits/mman-linux.h> to end of file.
13231 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13233 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13234 <bits/mman-linux.h> to end of file.
13236 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13237 (MCL_CURRENT, MCL_FUTURE): Define here.
13239 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13242 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13244 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13246 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13248 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13249 fourth parameter needed for rt_sigprocmask syscall.
13250 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13251 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13252 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13253 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13255 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13257 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13260 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13261 comment about bounded pointers.
13262 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13263 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13265 2013-03-04 Andreas Jaeger <aj@suse.de>
13267 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13268 common definitions.
13270 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13271 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13272 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13274 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13277 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13280 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13281 __ieee754_sqrl instead of __sqrl.
13283 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13285 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13286 * sysdeps/powerpc/fpu_control.h: ... here.
13287 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13288 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13289 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13290 * sysdeps/powerpc/bits/mathinline.h: ... here.
13292 2013-03-01 Roland McGrath <roland@hack.frob.com>
13294 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13295 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13296 to just [NEED_DL_SYSINFO_DSO].
13297 * elf/dl-support.c: Likewise.
13298 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13299 * elf/rtld.c (dl_main): Likewise.
13300 * elf/setup-vdso.h (setup_vdso): Likewise.
13301 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13302 * sysdeps/unix/sysv/linux/dl-sysdep.c
13303 (_dl_discover_osversion): Likewise.
13305 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13307 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13308 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13310 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13312 * NEWS: Mention libm performance improvements and non-x86 PI
13315 * csu/libc-start.c (__pthread_initialize_minimal): Change
13316 function arguments.
13317 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13319 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13322 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13323 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13324 <bp-sym.h> and <bp-asm.h>.
13325 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13326 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13328 (memcpy): Don't use BP_SYM.
13329 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13331 (__mpn_add_n): Don't use BP_SYM.
13332 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13333 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13335 (__mpn_addmul_1): Don't use BP_SYM.
13336 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13337 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13339 (_setjmp): Don't use BP_SYM.
13340 (__novmx_setjmp): Likewise.
13341 (__GI__setjmp): Likewise.
13342 (__vmx_setjmp): Likewise.
13343 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13345 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13346 (__bzero): Don't use BP_SYM.
13347 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13348 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13350 <bp-sym.h> and <bp-asm.h>.
13351 (memcpy): Don't use BP_SYM.
13352 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13353 <bp-sym.h> and <bp-asm.h>.
13354 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13355 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13356 <bp-sym.h> and <bp-asm.h>.
13357 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13358 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13360 (__mpn_lshift): Don't use BP_SYM.
13361 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13362 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13364 (memset): Don't use BP_SYM.
13365 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13366 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13367 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13369 (__mpn_mul_1): Don't use BP_SYM.
13370 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13371 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13372 <bp-sym.h> and <bp-asm.h>.
13373 (memcmp): Don't use BP_SYM.
13374 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13375 <bp-sym.h> and <bp-asm.h>.
13376 (memcpy): Don't use BP_SYM.
13377 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13378 <bp-sym.h> and <bp-asm.h>.
13379 (memset): Don't use BP_SYM.
13380 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13381 <bp-sym.h> and <bp-asm.h>.
13382 (strncmp): Don't use BP_SYM.
13383 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13384 <bp-sym.h> and <bp-asm.h>.
13385 (memcpy): Don't use BP_SYM.
13386 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13387 <bp-sym.h> and <bp-asm.h>.
13388 (memset): Don't use BP_SYM.
13389 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13390 <bp-sym.h> and <bp-asm.h>.
13391 (__memchr): Don't use BP_SYM.
13392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13393 <bp-sym.h> and <bp-asm.h>.
13394 (memcmp): Don't use BP_SYM.
13395 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13396 <bp-sym.h> and <bp-asm.h>.
13397 (memcpy): Don't use BP_SYM.
13398 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13399 <bp-sym.h> and <bp-asm.h>.
13400 (__mempcpy): Don't use BP_SYM.
13401 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13402 <bp-sym.h> and <bp-asm.h>.
13403 (__memrchr): Don't use BP_SYM.
13404 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13405 <bp-sym.h> and <bp-asm.h>.
13406 (memset): Don't use BP_SYM.
13407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13408 <bp-sym.h> and <bp-asm.h>.
13409 (__rawmemchr): Don't use BP_SYM.
13410 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13411 <bp-sym.h> and <bp-asm.h>.
13412 (__STRCMP): Don't use BP_SYM.
13413 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13414 <bp-sym.h> and <bp-asm.h>.
13415 (strchr): Don't use BP_SYM.
13416 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13417 <bp-sym.h> and <bp-asm.h>.
13418 (__strchrnul): Don't use BP_SYM.
13419 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13420 <bp-sym.h> and <bp-asm.h>.
13421 (strlen): Don't use BP_SYM.
13422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13423 <bp-sym.h> and <bp-asm.h>.
13424 (strncmp): Don't use BP_SYM.
13425 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13426 <bp-sym.h> and <bp-asm.h>.
13427 (__strnlen): Don't use BP_SYM.
13428 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13430 (__mpn_rshift): Don't use BP_SYM.
13431 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13432 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13433 <bp-sym.h> and <bp-asm.h>.
13434 (__sigsetjmp): Don't use BP_SYM.
13435 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13436 (L(start_addresses)): Don't use BP_SYM.
13437 (_start): Likewise.
13438 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13440 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13441 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13442 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13443 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13445 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13446 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13447 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13448 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13450 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13452 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13453 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13455 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13457 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13458 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13459 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13461 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13463 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13465 (strncmp): Don't use BP_SYM,
13466 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13468 (__mpn_sub_n): Don't use BP_SYM.
13469 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13470 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13472 (__mpn_submul_1): Don't use BP_SYM.
13473 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13475 <bp-sym.h> and <bp-asm.h>.
13476 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13478 <bp-sym.h> and <bp-asm.h>.
13479 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13482 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13485 Use ZK to minimize writes to Z.
13486 (sub_magnitudes): Simplify code a bit.
13487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13488 Use ZK to minimize writes to Z.
13489 (sub_magnitudes): Simplify code a bit.
13491 2013-02-27 Roland McGrath <roland@hack.frob.com>
13493 * csu/gmon-start.c: Add special exception to license text.
13495 2013-02-27 Richard Henderson <rth@redhat.com>
13497 * scripts/config.guess: Update from config.git.
13498 * scripts/config.sub: Likewise.
13500 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13502 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13504 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13506 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13508 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13510 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13512 2013-02-26 Roland McGrath <roland@hack.frob.com>
13514 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13515 [$(build-shared = yes].
13517 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13520 (__mul): Reduce iterations for calculating mantissa.
13522 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13524 (__mpranred): Likewise.
13527 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13528 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13530 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13532 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13533 Define __attribute__.
13535 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13537 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13539 * posix/regex_internal.h (__attribute): Remove.
13540 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13541 (re_string_context_at): Likewise.
13542 (bitset_not): Use __attribute__ and mark function as possibly
13544 (bitset_merge): Likewise.
13545 (bitset_mask): Likewise.
13546 (re_string_char_size_at): Likewise.
13547 (re_string_wchar_at): Likewise.
13548 (re_string_elem_size_at): Likewise.
13550 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13552 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13556 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13560 (denorm): Likewise.
13561 (__dbl_mp): Likewise.
13562 (add_magnitudes): Likewise.
13563 (sub_magnitudes): Likewise.
13567 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13570 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13573 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13577 up changes with default code.
13578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13581 2013-02-24 Allan McRae <allan@archlinux.org>
13583 * manual/socket.texi (The Internet Namespace): Order menu items
13584 to match that in the file.
13586 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13587 node listing of the info page menu.
13589 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13592 * sysdeps/i386/bp-asm.h: Remove file.
13593 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13594 (PARMS): Do not use macros from bp-asm.h.
13598 (__mpn_add_n): Do not use BP_SYM
13599 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13601 (PARMS): Do not use macros from bp-asm.h.
13604 (__mpn_addmul_1): Do not use BP_SYM
13605 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13607 (PARMS): Do not use macros from bp-asm.h.
13608 (SIGMSK): Likewise.
13609 (_setjmp): Likewise. Do not use BP_SYM.
13610 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13612 (PARMS): Do not use macros from bp-asm.h.
13613 (SIGMSK): Likewise.
13614 (setjmp): Likewise. Do not use BP_SYM.
13615 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13617 (PARMS): Do not use macros from bp-asm.h.
13618 (__frexp): Do not use BP_SYM.
13620 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13622 (PARMS): Do not use macros from bp-asm.h.
13623 (__frexpf): Do not use BP_SYM.
13624 (frexpf): Likewise.
13625 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13627 (PARMS): Do not use macros from bp-asm.h.
13628 (__frexpl): Do not use BP_SYM.
13629 (frexpl): Likewise.
13630 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13632 (PARMS): Do not use macros from bp-asm.h.
13633 (__remquo): Do not use BP_SYM.
13634 (remquo): Likewise.
13635 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13637 (PARMS): Do not use macros from bp-asm.h.
13638 (__remquof): Do not use BP_SYM.
13639 (remquof): Likewise.
13640 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13642 (PARMS): Do not use macros from bp-asm.h.
13643 (__remquol): Do not use BP_SYM.
13644 (remquol): Likewise.
13645 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13647 (PARMS): Do not use macros from bp-asm.h.
13650 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13651 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13653 (PARMS): Do not use macros from bp-asm.h.
13654 (strlen): Do not use BP_SYM.
13655 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13657 (PARMS): Do not use macros from bp-asm.h.
13661 (__mpn_add_n): Do not use BP_SYM.
13662 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13664 (PARMS): Do not use macros from bp-asm.h.
13667 (__mpn_addmul_1): Do not use BP_SYM.
13668 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13671 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13673 (PARMS): Do not use macros from bp-asm.h.
13676 (__mpn_lshift): Do not use BP_SYM.
13677 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13679 (PARMS): Do not use macros from bp-asm.h.
13683 (memcpy): Likewise. Do not use BP_SYM.
13684 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13685 libc_hidden_def and weak_alias.
13686 (mempcpy): Do not use BP_SYM in weak_alias.
13687 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13689 (PARMS): Do not use macros from bp-asm.h.
13692 [!BZERO_P] (CHR): Likewise.
13693 (memset): Likewise. Do not use BP_SYM.
13694 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13696 (PARMS): Do not use macros from bp-asm.h.
13699 (__mpn_mul_1): Do not use BP_SYM.
13700 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13702 (PARMS): Do not use macros from bp-asm.h.
13705 (__mpn_rshift): Do not use BP_SYM.
13706 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13708 (PARMS): Do not use macros from bp-asm.h.
13711 (strchr): Likewise. Do not use BP_SYM.
13712 (index): Do not use BP_SYM in weak_alias.
13713 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13715 (PARMS): Do not use macros from bp-asm.h.
13718 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13719 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13721 (PARMS): Do not use macros from bp-asm.h.
13722 (strlen): Do not use BP_SYM.
13723 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13725 (PARMS): Do not use macros from bp-asm.h.
13729 (__mpn_sub_n): Do not use BP_SYM.
13730 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13732 (PARMS): Do not use macros from bp-asm.h.
13735 (__mpn_submul_1): Do not use BP_SYM.
13736 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13738 (PARMS): Do not use macros from bp-asm.h.
13742 (__mpn_add_n): Do not use BP_SYM.
13743 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13746 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13748 (PARMS): Do not use macros from bp-asm.h.
13751 (memcmp): Do not use BP_SYM.
13752 (bcmp): Do not use BP_SYM in weak_alias.
13753 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13755 (PARMS): Do not use macros from bp-asm.h.
13759 (memcpy): Likewise. Do not use BP_SYM.
13760 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13762 (PARMS): Do not use macros from bp-asm.h.
13766 (memmove): Likewise. Do not use BP_SYM.
13767 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13769 (PARMS): Do not use macros from bp-asm.h.
13773 (__mempcpy): Likewise. Do not use BP_SYM.
13774 (mempcpy): Do not use BP_SYM in weak_alias.
13775 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13777 (PARMS): Do not use macros from bp-asm.h.
13780 [!BZERO_P] (CHR): Likewise.
13781 (memset): Likewise. Do not use BP_SYM.
13782 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13784 (PARMS): Do not use macros from bp-asm.h.
13786 (strcmp): Do not use BP_SYM.
13787 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13789 (PARMS): Do not use macros from bp-asm.h.
13792 [USE_AS_STRTOK_R] (SAVE): Likewise.
13793 (FUNCTION): Likewise. Do not use BP_SYM.
13794 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13796 (strtok_r): Likewise.
13797 (__GI___strtok_r): Likewise.
13798 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13799 (PARMS): Do not use macros from bp-asm.h.
13802 (__mpn_lshift): Do not use BP_SYM.
13803 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13804 (PARMS): Do not use macros from bp-asm.h.
13807 (__memchr): Do not use BP_SYM.
13808 (memchr): Do not use BP_SYM in weak_alias.
13809 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13810 (PARMS): Do not use macros from bp-asm.h.
13813 (memcmp): Do not use BP_SYM.
13814 (bcmp): Do not use BP_SYM in weak_alias.
13815 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13816 (PARMS): Do not use macros from bp-asm.h.
13819 (__mpn_mul_1): Do not use BP_SYM.
13820 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13822 (PARMS): Do not use macros from bp-asm.h.
13825 (__rawmemchr): Do not use BP_SYM.
13826 (rawmemchr): Do not use BP_SYM in weak_alias.
13827 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13828 (PARMS): Do not use macros from bp-asm.h.
13831 (__mpn_rshift): Do not use BP_SYM.
13832 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13833 (PARMS): Do not use macros from bp-asm.h.
13834 (SIGMSK): Likewise.
13835 (__sigsetjmp): Likewise. Do not use BP_SYM.
13836 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13837 (_start): Do not use BP_SYM.
13838 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13839 (PARMS): Do not use macros from bp-asm.h.
13842 (__stpcpy): Likewise. Do not use BP_SYM.
13843 (stpcpy): Do not use BP_SYM in weak_alias.
13844 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13846 (PARMS): Do not use macros from bp-asm.h.
13850 (__stpncpy): Likewise. Do not use BP_SYM.
13851 (stpncpy): Do not use BP_SYM in weak_alias.
13852 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13853 (PARMS): Do not use macros from bp-asm.h.
13856 (strchr): Likewise. Do not use BP_SYM.
13857 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13859 (PARMS): Do not use macros from bp-asm.h.
13862 (__strchrnul): Likewise. Do not use BP_SYM.
13863 (strchrnul): Do not use BP_SYM in weak_alias.
13864 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13866 (PARMS): Do not use macros from bp-asm.h.
13868 (strcspn): Do not use BP_SYM.
13869 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13871 (PARMS): Do not use macros from bp-asm.h.
13874 (strpbrk): Likewise. Do not use BP_SYM.
13875 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13877 (PARMS): Do not use macros from bp-asm.h.
13880 (strrchr): Likewise. Do not use BP_SYM.
13881 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13882 (PARMS): Do not use macros from bp-asm.h.
13884 (strspn): Do not use BP_SYM.
13885 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13886 (PARMS): Do not use macros from bp-asm.h.
13890 (FUNCTION): Likewise. Do not use BP_SYM.
13891 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13893 (strtok_r): Likewise.
13894 (__GI___strtok_r): Likewise.
13895 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13896 (PARMS): Do not use macros from bp-asm.h.
13900 (__mpn_sub_n): Do not use BP_SYM.
13901 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13903 (PARMS): Do not use macros from bp-asm.h.
13906 (__mpn_submul_1): Do not use BP_SYM.
13907 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13909 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13911 (PARMS): Do not use macros from bp-asm.h.
13916 (__clone): Do not use BP_SYM.
13917 (clone): Do not use BP_SYM in weak_alias.
13918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13920 (PARMS): Do not use macros from bp-asm.h.
13922 (__mmap64): Do not use BP_SYM.
13923 (mmap64): Do not use BP_SYM in weak_alias.
13924 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13925 <bp-sym.h> and <bp-asm.h>.
13926 (PARMS): Do not use macros from bp-asm.h.
13927 (__posix_fadvise64_l64): Do not use BP_SYM.
13928 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13929 (PARMS): Do not use macros from bp-asm.h.
13931 (semtimedop): Do not use BP_SYM.
13932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13935 2013-02-21 Allan McRae <allan@archlinux.org>
13937 * manual/message.texi (Charset conversion in gettext):
13938 Move @end statement to beginning of line.
13940 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13947 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13948 (denorm): Likewise.
13949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13952 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13954 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13955 tail-call to the resolved function if pltexit isn't needed.
13957 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13960 or Y being zero as being unlikely.
13961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13964 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13966 * manual/nss.texi (System Databases and Name Service Switch):
13967 Remove frobnicate @pxref.
13969 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13971 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13972 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13974 2013-02-20 Petr Machata <pmachata@redhat.com>
13976 * elf/elf.h (R_ARM_TARGET1): New macro.
13977 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13978 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13979 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13980 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13981 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13982 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13983 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13984 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13985 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13986 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13987 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13988 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13989 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13990 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13991 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13992 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13993 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13994 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13995 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13996 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13997 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13998 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13999 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14000 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14001 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14002 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14003 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14004 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14005 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14006 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14007 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14008 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14009 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14010 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14011 (R_ARM_THM_GOT_BREL12): Likewise.
14012 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14013 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14014 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14015 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14016 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14017 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14018 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14019 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14020 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14022 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14024 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14025 __attribute_used__ to __attribute__ ((unused)).
14027 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14029 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14032 comment formatting.
14033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14035 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14038 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14040 (ENTER): Remove both macro definitions.
14042 (CHECK_BOUNDS_LOW): Likewise.
14043 (CHECK_BOUNDS_HIGH): Likewise.
14044 (CHECK_BOUNDS_BOTH): Likewise.
14045 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14046 (RETURN_BOUNDED_POINTER): Likewise.
14047 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14048 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14049 (POP_ERRNO_LOCATION_RETURN): Likewise.
14050 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14051 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14052 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14054 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14055 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14056 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14057 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14058 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14059 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14060 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14061 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14062 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14063 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14064 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14065 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14066 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14067 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14069 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14070 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14072 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14073 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14074 * sysdeps/i386/i586/memset.S (memset): Likewise.
14075 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14076 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14077 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14079 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14080 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14081 Change uses of L(2) to L(out).
14082 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14083 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14084 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14085 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14086 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14088 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14089 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14091 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14092 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14093 (RETURN): Do not use macro LEAVE.
14094 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14095 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14096 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14097 * sysdeps/i386/i686/memset.S (memset): Likewise.
14098 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14099 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14100 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14101 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14103 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14104 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14105 L(1_2) and L(1_3) into L(1).
14106 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14107 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14108 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14109 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14110 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14111 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14112 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14113 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14114 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14116 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14117 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14118 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14119 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14120 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14121 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14122 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14123 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14124 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14125 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14126 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14127 * sysdeps/i386/strspn.S (strspn): Likewise.
14128 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14130 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14131 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14132 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14133 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14134 L(1_3) into L(1_1).
14135 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14136 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14137 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14139 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14141 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14143 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14146 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14148 * math/atest-exp.c (exp_mpn): Remove ROUND.
14149 * math/atest-exp2.c (exp_mpn): Likewise.
14150 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14152 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14153 * stdlib/tst-tls-atexit-lib.c: Likewise.
14154 * stdlib/tst-tls-atexit.c: Likewise.
14156 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14158 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14159 and __attribute_alloc_size__.
14161 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14163 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14164 __attribute_alloc_size__.
14165 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14166 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14168 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14170 * include/programs/xmalloc.h: New file.
14171 * catgets/gencat.c: Include it.
14172 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14173 * elf/pldd.c: Likewise.
14174 * iconv/iconv_charmap.c: Likewise.
14175 * iconv/iconvconfig.c: Likewise.
14176 * iconv/strtab.c: Likewise.
14177 * locale/programs/locale.c: Likewise.
14178 * locale/programs/localedef.h: Likewise.
14179 * locale/programs/simple-hash.c: Likewise.
14180 * nscd/nscd.h: Likewise.
14181 * nss/makedb.c: Likewise.
14182 * sysdeps/generic/ldconfig.h: Likewise.
14184 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14186 * Versions.def: Add GLIBC_2.18.
14187 * include/link.h (struct link_map): New member l_tls_dtor_count.
14188 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14189 (__call_tls_dtors): Likewise.
14190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14191 __cxa_thread_atexit_impl.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14208 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14209 (tests): Add test case tst-tls-atexit.
14210 (modules-names): Add shared library for tst-tls-atexit.
14211 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14212 (GLIBC_PRIVATE): Add __call_tls_dtors.
14213 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14215 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14216 * stdlib/tst-tls-atexit.c: New test case.
14217 * stdlib/tst-tls-atexit-lib.c: New test case.
14219 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14221 * elf/Versions (ld): Add _dl_find_dso_for_object.
14222 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14223 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14224 (dl_open_worker): Use _dl_find_dso_for_object.
14225 * elf/dl-sym.c (do_sym): Likewise.
14226 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14228 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14230 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14231 Syntactic changes only.
14232 (_dl_runtime_profile): Do a tail-call to the resolved function.
14234 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14237 * sysdeps/x86_64/bp-asm.h: Remove file.
14238 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14239 <bp-sym.h> and <bp-asm.h>.
14240 (__clone): Do not use BP_SYM.
14241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14242 <bp-sym.h> and <bp-asm.h>.
14243 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14244 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14246 (_setjmp): Do not use BP_SYM.
14247 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14249 (setjmp): Do not use BP_SYM.
14250 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14252 (mempcpy): Do not use BP_SYM in weak_alias.
14253 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14255 (strchr): Do not use BP_SYM.
14256 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14258 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14259 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14260 (_start): Do not use BP_SYM.
14261 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14263 (strcat): Do not use BP_SYM.
14264 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14266 (STRCMP): Do not use BP_SYM.
14267 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14269 (STRCPY): Do not use BP_SYM.
14270 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14272 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14274 (FUNCTION): Do not use BP_SYM.
14275 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14277 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14279 2013-02-17 Andreas Jaeger <aj@suse.de>
14281 * time/Versions: Sort entries.
14282 * string/Versions: Likewise.
14283 * resolv/Versions: Likewise.
14284 * posix/Versions: Likewise.
14285 * iconv/Versions: Likewise.
14286 * elf/Versions: Likewise.
14287 * wcsmbs/Versions: Likewise.
14289 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14291 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14292 loop termination condition.
14294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14295 variable to calculate EZ.
14298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14299 the lower precision input.
14301 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14304 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14305 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14306 (run-via-rtld-prefix): Do not handle %-bp tests.
14307 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14308 (all-object-suffixes): Remove .ob.
14309 (bppfx): Remove variable.
14310 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14311 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14312 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14313 [$(build-bounded) = yes] (libtype.ob): Likewise.
14314 * Makerules (elide-routines.ob): Remove variable.
14315 (do-tests-clean): Do not handle *-bp.out.
14316 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14317 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14318 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14319 (tests): Do not include $(tests-bp.out).
14320 (xtests): Do not include $(xtests-bp.out).
14321 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14322 [$(build-bounded) = yes] ($(addprefix
14323 $(objpfx),$(binaries-bounded))): Remove rule.
14324 ($(objpfx)%-bp.out): Remove rule.
14325 * config.make.in (build-bounded): Remove variable.
14326 * crypt/Makefile [$(build-bounded) = yes]
14327 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14328 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14329 append to variable.
14330 [$(build-bounded) = yes] (install-lib): Likewise.
14331 [$(build-bounded) = yes] (generated): Likewise.
14332 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14334 * intl/Makefile [$(build-bounded) = yes]
14335 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14336 * math/Makefile [$(build-bounded) = yes]
14337 ($(tests:%=$(objpfx)%-bp): Likewise.
14338 * misc/Makefile [$(build-bounded) = yes]
14339 ($(objpfx)tst-tsearch-bp): Likewise.
14340 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14341 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14343 * string/Makefile (o-objects.ob): Remove variable.
14344 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14345 (CFLAGS-.ob): Remove variable.
14346 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14347 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14348 both definitions of variable.
14349 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14350 (ASFLAGS-.ob): Remove variable.
14352 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14355 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14356 Remove __BOUNDED_POINTERS__ from condition.
14357 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14358 * string/bits/string2.h [!__NO_STRING_INLINES &&
14359 !__BOUNDED_POINTERS__]: Likewise.
14360 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14362 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14363 Remove conditional code.
14364 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14365 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14366 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14370 * csu/libc-start.c: Do not include <bp-sym.h>.
14371 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14372 * elf/dl-open.c: Do not include <bp-sym.h>.
14373 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14374 * math/fegetenv.c: Do not include <bp-sym.h>.
14375 (fegetenv): Do not use BP_SYM in versioned symbols.
14376 * nptl/sysdeps/pthread/bits/libc-lockP.h
14377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14380 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14382 (__pthread_mutex_destroy): Likewise.
14383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14384 (__pthread_mutex_lock): Likewise.
14385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14386 (__pthread_mutex_trylock): Likewise.
14387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14388 (__pthread_mutex_unlock): Likewise.
14389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14390 (__pthread_mutexattr_init): Likewise.
14391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14392 (__pthread_mutexattr_destroy): Likewise.
14393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14394 (__pthread_mutexattr_settype): Likewise.
14395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14396 (__pthread_rwlock_init): Likewise.
14397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14398 (__pthread_rwlock_destroy): Likewise.
14399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14400 (__pthread_rwlock_rdlock): Likewise.
14401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14402 (__pthread_rwlock_tryrdlock): Likewise.
14403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14404 (__pthread_rwlock_wrlock): Likewise.
14405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14406 (__pthread_rwlock_trywrlock): Likewise.
14407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14408 (__pthread_rwlock_unlock): Likewise.
14409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14410 (__pthread_key_create): Likewise.
14411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14412 (__pthread_setspecific): Likewise.
14413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14414 (__pthread_getspecific): Likewise.
14415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14418 (_pthread_cleanup_push_defer): Likewise.
14419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14420 (_pthread_cleanup_pop_restore): Likewise.
14421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14422 (pthread_setcancelstate): Likewise.
14423 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14425 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14426 (memchr): Do not use BP_SYM in weak_alias.
14427 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14428 (fegetenv): Do not use BP_SYM in versioned symbols.
14429 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14430 (fesetenv): Do not use BP_SYM in versioned symbols.
14431 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14432 (feupdateenv): Do not use BP_SYM in versioned symbols.
14433 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14434 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14435 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14436 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14437 (open64): Do not use BP_SYM in weak_alias.
14438 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14439 (fegetenv): Do not use BP_SYM in versioned symbols.
14440 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14441 (fesetenv): Do not use BP_SYM in versioned symbols.
14442 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14443 (feupdateenv): Do not use BP_SYM in versioned symbols.
14444 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14445 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14446 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14447 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14448 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14449 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14450 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14452 (__libc_start_main): Do not use BP_SYM.
14454 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14457 redundant return line.
14459 (denorm): Likewise.
14460 (dbl_mp): Likewise.
14461 (sub_magnitudes): Likewise.
14467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14469 (denorm): Likewise.
14470 (dbl_mp): Likewise.
14471 (sub_magnitudes): Likewise.
14478 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14480 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14481 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14484 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14485 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14487 of __mul for squares.
14488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14492 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14493 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14495 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14498 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14500 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14501 prototype or function definition. Rename ubp_* variables and
14502 parameters. Remove argv definitions conditional on
14503 [__BOUNDED_POINTERS__].
14504 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14505 * elf/dl-runtime.c (_dl_fixup): Likewise.
14506 * include/set-hooks.h (RUN_HOOK): Likewise.
14507 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14509 * string/strcpy.c (strcpy): Do not use __unbounded.
14510 * sysdeps/generic/frame.h (struct layout): Likewise.
14511 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14512 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14513 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14514 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14515 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14516 (__backtrace): Likewise.
14517 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14519 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14520 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14521 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14523 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14524 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14525 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14526 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14527 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14528 Do not use __unbounded.
14529 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14530 Rename __unboundedrlimits parameter to rlimits in prototype.
14531 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14532 Do not use __unbounded.
14533 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14534 not use __ptrvalue.
14535 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14536 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14537 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14538 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14539 __ptrvalue or __unbounded.
14540 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14541 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14543 (__new_msgctl): Do not use __ptrvalue.
14544 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14546 (__libc_msgrcv): Do not use __ptrvalue.
14547 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14548 startup_info): Do not use __unbounded.
14549 (__libc_start_main): Likewise. Rename ubp_* variables and
14550 parameters. Remove argv definitions conditional on
14551 [__BOUNDED_POINTERS__].
14552 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14554 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14556 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14558 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14560 (__new_shmctl): Do not use __ptrvalue.
14561 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14562 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14564 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14565 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14566 (__libc_sigaction): Likewise.
14567 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14568 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14570 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14572 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14574 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14576 * string/mempcpy.c: Implement by calling memcpy.
14578 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14585 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14586 values in the mantissa.
14588 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14589 minimize writes to Z.
14590 (sub_magnitudes): Simplify code a bit.
14592 2013-02-12 Roland McGrath <roland@hack.frob.com>
14594 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14595 from the message. The linker prefixes all warnings with that already.
14597 2013-02-12 Andreas Schwab <schwab@suse.de>
14600 * posix/regexec.c (extend_buffers): Add parameter min_len.
14601 (check_matching): Pass minimum needed length.
14602 (clean_state_log_if_needed): Likewise.
14603 (get_subexp): Likewise.
14604 * posix/Makefile (tests): Add bug-regex34.
14605 (bug-regex34-ENV): Define.
14606 * posix/bug-regex34.c: New file.
14609 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14610 elements compare against the byte sequence of it, not its name.
14611 * posix/Makefile (tests): Add bug-regex35.
14612 (bug-regex35-ENV): Define.
14613 * posix/bug-regex35.c: New file.
14615 2013-02-11 Tom de Vries <tom@codesourcery.com>
14617 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14619 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14620 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14621 (CHECK_EOL): Add undef.
14623 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14625 * bits/stdlib-bsearch.h: New file.
14626 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14627 * stdlib/stdlib.h: Likewise.
14629 2013-02-11 Roland McGrath <roland@hack.frob.com>
14631 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14632 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14634 * manual/search.texi (Array Search Function): Add missing const in
14636 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14637 declaration to use rlim_t.
14638 (Basic Scheduling Functions): Remove erroneous const from
14639 sched_getparam prototype. Remove erroneous * from
14640 sched_get_priority_max and sched_get_priority_min prototypes.
14641 (Resource Usage): Fix summary @comment on vtimes to refer to
14642 sys/vtimes.h rather than vtimes.h.
14643 Add missing *s in vtimes prototype.
14644 (Limits on Resources): Fix ulimit prototype to return long int.
14645 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14646 prototypes to use long int rather than double.
14647 (BSD Random): Fix initstate and setstate to use char *, not void *.
14648 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14649 prototype to make second argument 'struct aiocb64 *const[]'.
14650 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14651 (Status of AIO Operations): Remove erroneous const in aio_return and
14652 aio_return64 prototypes.
14653 (Synchronizing I/O): Fix sync prototype to return void.
14654 * manual/startup.texi (Suboptions): Remove an erroneous const in
14655 getsubopt prototype.
14656 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14657 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14658 use size_t rather than int.
14659 (Scanning All Users): Likewise for getpwent_r.
14660 (Setting Groups): Add missing const to setgroups prototype.
14661 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14662 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14663 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14664 'const void *' rather than 'const char *'.
14665 (Host Address Functions): Likewise for inet_ntop.
14666 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14667 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14668 ssize_t for return value.
14669 (Sending Data): Likewise for send, sendto, sendmsg.
14670 (Socket Option Functions): Add a missing const in setsockopt prototype.
14671 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14672 use wchar_t for the argument.
14673 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14674 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14676 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14677 double/float/long double for second argument.
14678 Fix return types of significand, significandf, significandl.
14679 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14680 argument in fchmod prototype.
14681 (File Owner): Use uid_t and gid_t in fchown prototype.
14682 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14683 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14684 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14685 use 'const struct dirent **' as argument types to CMP function pointer
14687 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14688 (File Times): Fix summary magic @comment for struct utimbuf and utime
14689 to refer to utime.h, not time.h.
14690 * manual/string.texi (Argz Functions): Add missing const in
14691 argz_extract and argz_next prototypes.
14692 (Finding Tokens in a String): Likewise for basename.
14693 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14694 (Copying and Concatenation): Fix typo in wmemmove prototype.
14695 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14696 (Signal Stack): Remove erroneous const in sigstack prototype.
14697 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14699 (Simple Calendar Time): Likewise for stime.
14700 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14702 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14703 say sys/sysctl.h instead.
14704 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14705 and vsyslog prototypes.
14707 2013-02-11 Tom de Vries <tom@codesourcery.com>
14709 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14712 2013-02-11 Roland McGrath <roland@hack.frob.com>
14714 * misc/sys/mman.h: Fix typo in mremap comment.
14716 2013-02-08 Roland McGrath <roland@hack.frob.com>
14718 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14719 the '\0' terminator.
14721 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14724 * debug/segfault.c: Don't include <bp-checks.h>.
14725 * sysdeps/generic/bp-checks.h: Remove file.
14726 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14727 (__GETDENTS): Don't use CHECK_N.
14728 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14729 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14730 (__getgroups): Don't use CHECK_N.
14731 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14732 (setgroups): Don't use CHECK_N.
14733 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14734 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14735 (__libc_msgrcv): Don't use CHECK_N.
14736 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14737 (__libc_msgsnd): Don't use CHECK_N.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14740 (__libc_pread): Don't use CHECK_N.
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14742 include <bp-checks.h>.
14743 (__libc_pread64): Don't use CHECK_N.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14745 include <bp-checks.h>.
14746 (__libc_pwrite): Don't use CHECK_N.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14748 include <bp-checks.h>.
14749 (__libc_pwrite64): Don't use CHECK_N.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14752 (__libc_pread): Don't use CHECK_N.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14754 include <bp-checks.h>.
14755 (__libc_pread64): Don't use CHECK_N.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14757 include <bp-checks.h>.
14758 (__libc_pwrite): Don't use CHECK_N.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14760 include <bp-checks.h>.
14761 (__libc_pwrite64): Don't use CHECK_N.
14762 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14763 (do_pread): Don't use CHECK_N.
14764 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14765 (do_pread64): Don't use CHECK_N.
14766 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14767 (do_pwrite): Don't use CHECK_N.
14768 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14769 (do_pwrite64): Don't use CHECK_N.
14770 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14771 (__libc_readv): Don't use CHECK_N.
14772 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14773 (semop): Don't use CHECK_N.
14774 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14776 (semtimedop): Don't use CHECK_N.
14777 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14778 (__libc_pread): Don't use CHECK_N.
14779 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14781 (__libc_pread64): Don't use CHECK_N.
14782 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14784 (__libc_pwrite): Don't use CHECK_N.
14785 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14787 (__libc_pwrite64): Don't use CHECK_N.
14788 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14790 (__libc_msgrcv): Don't use CHECK_N.
14791 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14792 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14793 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14794 (__libc_writev): Don't use CHECK_N.
14796 2013-02-08 Roland McGrath <roland@hack.frob.com>
14798 * string/strcpy.c: Removed unused variable.
14800 * Makeconfig (+sysdep-includes): Define with := rather than =.
14801 Use an existing include/ subdir of each sysdeps dir before it.
14803 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14805 * nscd/connection.c (register_traced_file): Comment function.
14806 [HAVE_INOTIFY] (union __inev): Define.
14807 [HAVE_INOTIFY] (inotify_check_files): New function.
14808 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14809 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14811 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14813 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14815 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14816 loaded if not already and that a failure is permanent.
14818 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14821 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14822 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14824 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14827 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14828 (CHECK_1_NULL_OK): Likewise.
14829 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14830 (__fxstat): Do not use CHECK_1.
14831 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14833 (___fxstat64): Do not use CHECK_1.
14834 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14836 (__fxstatat): Do not use CHECK_1.
14837 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14839 (__fxstatat64): Do not use CHECK_1.
14840 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14842 (__fxstat): Do not use CHECK_1.
14843 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14845 (__fxstatat): Do not use CHECK_1.
14846 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14848 (__getresgid): Do not use CHECK_1.
14849 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14851 (__getresuid): Do not use CHECK_1.
14852 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14854 (__lxstat): Do not use CHECK_1.
14855 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14857 (__old_msgctl): Do not use CHECK_1.
14858 (__new_msgctl): Likewise.
14859 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14861 (__new_setrlimit): Do not use CHECK_1.
14862 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14864 (__old_shmctl): Do not use CHECK_1.
14865 (__new_shmctl): Likewise.
14866 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14868 (__xstat): Do not use CHECK_1.
14869 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14870 (__lxstat): Do not use CHECK_1.
14871 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14873 (___lxstat64): Do not use CHECK_1.
14874 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14875 (__old_msgctl): Do not use CHECK_1.
14876 (__new_msgctl): Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14879 (__gettimeofday): Do not use CHECK_1.
14880 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14881 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14882 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14884 (__gettimeofday): Do not use CHECK_1.
14885 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14886 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14887 (__new_shmctl): Do not use CHECK_1.
14888 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14890 (do_sigtimedwait): Do not use CHECK_1.
14891 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14893 (do_sigwaitinfo): Do not use CHECK_1.
14894 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14896 (msgctl): Do not use CHECK_1.
14897 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14899 (shmctl): Do not use CHECK_1.
14900 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14901 (ustat): Do not use CHECK_1.
14902 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14904 (__fxstat): Do not use CHECK_1.
14905 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14907 (__fxstatat): Do not use CHECK_1.
14908 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14910 (__lxstat): Do not use CHECK_1.
14911 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14913 (__xstat): Do not use CHECK_1.
14914 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14915 (__xstat): Do not use CHECK_1.
14916 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14917 (___xstat64): Do not use CHECK_1.
14920 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14922 (CHECK_BOUNDS_HIGH): Likewise.
14923 * string/strcpy.c: Do not include <bp-checks.h>.
14924 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14926 2013-02-07 Roland McGrath <roland@hack.frob.com>
14928 * nscd/nscd-client.h (__nscd_drop_map_ref):
14929 Add __attribute__ ((unused)).
14930 * nis/nss-nisplus.h (niserr2nss): Likewise.
14932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14933 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14935 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14936 Remove inline keyword.
14937 * include/rounding-mode.h (round_away): Likewise.
14938 * libio/wfileops.c (adjust_wide_data): Likewise.
14939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14940 (__m128i_strloadu_tolower): Likewise.
14941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14942 (__m128i_strloadu_tolower): Likewise.
14943 * time/mktime.c (ydhms_diff): Likewise.
14944 * locale/elem-hash.h (elem_hash): Likewise.
14945 * locale/setlocale.c (setdata): Likewise.
14946 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14947 (re_string_wchar_at): Likewise.
14948 (bitset_not, bitset_merge, bitset_mask): Likewise.
14949 [!(__GNUC__ > 3)] (inline): Remove macro.
14950 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14951 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14952 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14953 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14954 * string/memcmp.c (memcmp_bytes): Likewise.
14955 * locale/programs/locarchive.c (compute_hashval): Likewise.
14956 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14957 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14958 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14959 * nss/getent.c (print_rpc, print_protocols): Likewise.
14960 (print_passwd, print_group, print_aliases): Likewise.
14961 * nis/nss-nisplus.h (niserr2nss): Likewise.
14962 * nscd/connections.c (restart_p): Likewise.
14963 Change return type to bool.
14965 2013-02-05 Roland McGrath <roland@hack.frob.com>
14967 * Makeconfig (all-Depend-files): Add existing
14968 $(sorted-subdirs:=/Depend) files.
14969 (all-subdirs): Remove nss.
14970 * sysdeps/unix/inet/Subdirs: Add it here instead.
14971 * hesiod/Depend: New file.
14973 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14974 instead of calling alloca.
14976 * io/lseek.c (__lseek): Rename to __libc_lseek.
14977 Define __lseek as an alias.
14979 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14981 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14983 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14984 else clause and remove check for non-standard endianness.
14986 2013-02-04 David S. Miller <davem@davemloft.net>
14988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14990 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14994 (__ubp_memchr): Remove prototype.
14995 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14996 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14997 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14998 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14999 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15001 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15002 (__ubp_memchr): Likewise.
15003 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15004 (__ubp_memchr): Likewise.
15005 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15006 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15007 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15008 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15010 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15011 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15012 (__getcwd): Do not use CHECK_STRING.
15013 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15015 (__real_chown): Do not use CHECK_STRING.
15016 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15018 (fchownat): Do not use CHECK_STRING.
15019 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15021 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15023 (__lchown): Do not use CHECK_STRING.
15024 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15025 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15026 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15027 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15029 include <bp-checks.h>.
15030 (truncate64): Do not use CHECK_STRING.
15031 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15033 (__real_chown): Do not use CHECK_STRING.
15034 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15036 (__lchown): Do not use CHECK_STRING.
15037 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15039 (__chown): Do not use CHECK_STRING.
15040 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15042 (truncate64): Do not use CHECK_STRING.
15043 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15045 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15046 (__xmknod): Do not use CHECK_STRING.
15047 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15049 (__xmknodat): Do not use CHECK_STRING.
15050 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15051 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15053 2013-02-04 Andreas Schwab <schwab@suse.de>
15056 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15057 * include/netdb.h: Likewise for h_errno.
15058 * elf/tst-stackguard1.c: Include <tls.h>.
15060 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15062 * elf/link.h (struct link_map): Extend the l_addr comment.
15063 * include/link.h (struct link_map): Likewise.
15065 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15068 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15069 (BOUNDED_1): Remove macro.
15070 * debug/backtrace.c: Don't include <bp-checks.h>.
15071 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15072 (__backtrace): Likewise.
15073 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15075 (__backtrace): Don't use BOUNDED_1.
15076 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15078 (__backtrace): Don't use BOUNDED_1.
15079 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15080 (__backtrace): Don't use BOUNDED_1.
15081 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15082 (shmat): Don't use BOUNDED_N.
15084 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15087 * sysdeps/generic/bp-start.h: Remove file.
15088 * csu/libc-start.c: Don't include <bp-start.h>.
15089 (LIBC_START_MAIN): Set up __environ directly instead of using
15090 INIT_ARGV_and_ENVIRON.
15091 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15095 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15097 (CHECK_FCNTL): Likewise.
15098 (CHECK_N_PAGES): Likewise.
15101 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15103 (CHECK_SIGSET_NULL_OK): Likewise.
15104 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15106 (sigpending): Don't use CHECK_SIGSET.
15107 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15109 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15110 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15112 (do_sigsuspend): Don't use CHECK_SIGSET.
15113 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15115 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15116 (do_sigwait): Don't use CHECK_SIGSET.
15117 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15120 include <bp-checks.h>.
15121 (sigpending): Don't use CHECK_SIGSET.
15122 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15123 include <bp-checks.h>.
15124 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15125 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15127 (sigpending): Don't use CHECK_SIGSET.
15128 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15130 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15133 * sysdeps/generic/bp-semctl.h: Remove file.
15134 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15135 <bp-checks.h> and <bp-semctl.h>.
15136 (__old_semctl): Don't use CHECK_SEMCTL.
15137 (__new_semctl): Likewise.
15138 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15140 (__old_semctl): Don't use CHECK_SEMCTL.
15141 (__new_semctl): Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15143 <bp-checks.h> and <bp-semctl.h>.
15144 (__old_semctl): Don't use CHECK_SEMCTL.
15145 (__new_semctl): Likewise.
15146 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15147 <bp-checks.h> and <bp-semctl.h>.
15148 (semctl): Don't use CHECK_SEMCTL.
15151 * Makerules (elide-bp-thunks): Remove variable.
15152 (elide-routines.oS): Don't use $(elide-bp-thunks).
15153 (elide-routines.os): Likewise.
15154 (elide-routines.o): Likewise.
15155 (elide-routines.op): Likewise.
15156 (elide-routines.og): Likewise.
15157 (objects): Don't use $(bp-thunks).
15158 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15160 (common-generated): Do not add s-proto-bp.d.
15161 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15164 Do not generate makefile rules for bounded-pointer thunks.
15165 * sysdeps/generic/bp-thunks.h: Remove file.
15166 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15167 * sysdeps/unix/s-proto-bp.S: Likewise.
15170 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15171 parts of result separately when argument is not close to line from
15172 -i to i and one part of argument is small.
15173 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15174 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15175 * math/libm-test.inc (cacos_test): Add more tests.
15176 (casin_test): Likewise.
15177 (casinh_test): Likewise.
15178 * sysdeps/i386/fpu/libm-test-ulps: Update.
15179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15181 2013-01-31 David S. Miller <davem@davemloft.net>
15183 * po/de.po: Update from translation team.
15185 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15187 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15189 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15191 * configure.in (_AC_PROG_CC_C89): New definition.
15192 * configure: Regenerate.
15194 * configure.in (AC_PROG_CPP): New definition.
15195 * configure: Regenerate.
15197 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15199 * debug/tst-backtrace.h: New file.
15200 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15201 (ret): Remove variable.
15203 (FAIL): Remove macro.
15204 (NO_INLINE): Likewise.
15205 (fn1): Use match function instead of strstr.
15206 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15207 (ret): Remove variable.
15209 (FAIL): Remove macro.
15210 (NO_INLINE): Likewise.
15211 (fn): Use match function instead of strstr.
15212 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15213 (ret): Remove variable.
15215 (FAIL): Remove macro.
15216 (NO_INLINE): Likewise.
15217 (handle_signal): Use match function instead of strstr.
15218 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15219 (ret): Remove variable.
15221 (FAIL): Remove macro.
15222 (NO_INLINE): Likewise.
15223 (handle_signal): Use match function instead of strstr.
15225 2013-01-23 Roland McGrath <roland@hack.frob.com>
15227 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15229 2013-01-23 David S. Miller <davem@davemloft.net>
15231 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15232 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15233 argument of CAS if possible.
15234 * sysdeps/sparc/sparc64/bits/atomic.h
15235 (__arch_compare_and_exchange_val_32_acq): Likewise.
15236 (__arch_compare_and_exchange_val_64_acq): Likewise.
15238 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15240 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15241 * sysdeps/posix/ulimit.c: ... this.
15242 Include <limits.h>.
15243 * sysdeps/unix/bsd/ulimit.c: Remove file.
15245 2013-01-23 Adam Conrad <adconrad@0c3.net>
15247 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15248 (LDFLAGS-tst-array5): Likewise.
15250 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15253 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15254 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15255 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15256 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15258 2013-01-21 David S. Miller <davem@davemloft.net>
15260 * sysdeps/sparc/backtrace.c: New file.
15261 * sysdeps/sparc/sparc32/backtrace.h: New file.
15262 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15263 * sysdeps/sparc/sparc64/backtrace.h: New file.
15264 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15265 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15268 2013-01-21 Andreas Schwab <schwab@suse.de>
15271 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15274 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15280 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15281 Mark Mitchell <mark@codesourcery.com>
15282 Tom de Vries <tom@codesourcery.com>
15283 Paul Pluzhnikov <ppluzhnikov@google.com>
15285 * debug/tst-backtrace2.c: New file.
15286 * debug/tst-backtrace3.c: Likewise.
15287 * debug/tst-backtrace4.c: Likewise.
15288 * debug/tst-backtrace5.c: Likewise.
15289 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15290 (CFLAGS-tst-backtrace3.c): Likewise.
15291 (CFLAGS-tst-backtrace4.c): Likewise.
15292 (CFLAGS-tst-backtrace5.c): Likewise.
15293 (LDFLAGS-tst-backtrace2): Likewise.
15294 (LDFLAGS-tst-backtrace3): Likewise.
15295 (LDFLAGS-tst-backtrace4): Likewise.
15296 (LDFLAGS-tst-backtrace5): Likewise.
15297 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15298 tst-backtrace4 and tst-backtrace5.
15300 2013-01-18 Anton Blanchard <anton@samba.org>
15301 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15303 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15304 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15305 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15306 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15308 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15309 "+r" and remove output regs list as redundant. Add explicit inline
15310 asm to specify register of return val to work around compiler codegen
15311 bug. Remove (int) cast on return value. Add return type parameter to
15312 use in macro so that this macro does not truncate return value for
15314 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15315 pass to INTERNAL_VSYSCALL_NCS.
15316 (INLINE_VSYSCALL): Add 'long int' as return type to
15317 INTERNAL_VSYSCALL_NCS macro invocation.
15318 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15319 INTERNAL_VSYSCALL_NCS macro invocation.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15322 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15325 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15326 Fix application of SIMD FP exception mask.
15328 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15329 mp_no from a power of two.
15330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15331 __mpexp_twomm1. Use __pow_mp.
15333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15336 2013-01-17 David S. Miller <davem@davemloft.net>
15338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15340 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15343 * include/complex.h: Condition contents on [!_COMPLEX_H].
15344 (__kernel_casinhf): New prototype.
15345 (__kernel_casinh): Likewise.
15346 (__kernel_casinhl): Likewise.
15347 * math/Makefile (libm_calls): Add k_casinh.
15348 * math/k_casinh.c: New file.
15349 * math/k_casinhf.c: Likewise.
15350 * math/k_casinhl.c: Likewise.
15351 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15352 finite nonzero arguments.
15353 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15354 finite nonzero arguments.
15355 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15356 finite nonzero arguments.
15357 * math/s_casinh.c: Do not include <float.h>.
15358 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15359 * math/s_casinhf.c: Do not include <float.h>.
15360 (__casinhf): Move code for finite nonzero arguments to
15362 * math/s_casinhl.c: Do not include <float.h>.
15363 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15365 (__casinhl): Move code for finite nonzero arguments to
15367 * math/libm-test.inc (cacos_test): Add more tests.
15368 * sysdeps/i386/fpu/libm-test-ulps: Update.
15369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15371 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15373 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15374 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15375 [!HAVE_MREMAP]: Remove [defined linux] case.
15376 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15378 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15380 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15382 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15384 * elf/elf.h (R_386_SIZE32): New relocation.
15385 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15387 (elf_machine_rela): Likewise.
15388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15389 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15391 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15393 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15394 (FP_FAST_FMA): Do not define.
15395 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15396 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15397 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15398 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15399 !_SOFT_FLOAT]: Likewise.
15400 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15401 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15403 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15404 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15406 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15407 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15408 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15411 2013-01-16 Andreas Schwab <schwab@suse.de>
15414 * include/stdlib.h (__mktemp): Add declaration.
15415 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15416 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15418 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15420 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15422 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15423 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15424 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15426 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15427 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15429 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15431 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15432 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15433 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15435 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15436 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15438 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15440 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15442 2013-01-15 David S. Miller <davem@davemloft.net>
15444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15445 trunc{,f} to libm-sysdep_routes.
15446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15456 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15457 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15458 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15459 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15460 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15461 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15464 nearbyint{,f} to libm-sysdep_routes.
15465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15476 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15479 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15481 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15482 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15483 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15485 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15486 libc_feholdexcept and libc_fesetenv.
15488 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15490 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15492 2013-01-14 David S. Miller <davem@davemloft.net>
15494 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15495 (SPARC_ASM_VIS2_IFUNC): Likewise.
15496 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15498 use of 'siam' instruction.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15532 routines to libm-sysdep_routines.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15536 fdim/fdimf to libm-sysdep_routines.
15537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15545 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15546 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15547 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15548 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15550 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15553 to optimize copies.
15555 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15560 local variable MPTWO.
15561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15564 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15566 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15569 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15571 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15573 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15575 * manual/pattern.texi (glob_t): Document gl_flags.
15576 (glob64_t): Likewise.
15578 2013-01-11 David S. Miller <davem@davemloft.net>
15580 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15581 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15582 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15583 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15584 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15585 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15586 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15587 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15588 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15589 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15590 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15591 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15592 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15594 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15595 sparc V9 rather than using V8 code.
15596 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15597 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15599 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15601 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15604 2013-01-11 Roland McGrath <roland@hack.frob.com>
15606 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15607 not in the main loop.
15608 * configure: Regenerated.
15610 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15612 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15613 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15615 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15616 [!__GLIBC_HAVE_LONG_LONG] case.
15617 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15618 condition to just #else.
15619 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15620 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15621 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15622 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15624 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15625 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15626 #elif condition to just #else.
15627 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15628 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15629 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15630 #elif condition to just #else.
15632 2013-01-11 Steve Ellcey <sellcey@mips.com>
15634 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15635 (EF_MIPS_ARCH_64): Fix value.
15636 (EF_MIPS_ARCH_32R2): New.
15637 (EF_MIPS_ARCH_64R2): New.
15639 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15641 * Makeconfig (+link-pie-before-libc): New.
15642 (+link-pie-after-libc): Likewise.
15643 (+link-pie-tests): Likewise.
15644 (+link-pie): Rewritten.
15645 (link-before-libc): Remove $(config-LDFLAGS).
15646 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15647 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15648 (config-LDFLAGS): Renamed to ...
15649 (rtld-LDFLAGS): This.
15650 (rtld-tests-LDFLAGS): New macro.
15651 (link-libc-rpath-link): Likewise.
15652 (link-libc-tests-rpath-link): Likewise.
15653 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15654 (link-libc): Prepand $(link-libc-rpath-link).
15655 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15656 (test-program-prefix): New macro.
15657 (test-via-rtld-prefix): Likewise.
15658 (test-program-cmd): Likewise.
15659 (host-test-program-cmd): Likewise.
15660 * Makefile ($(common-objpfx)testrun.sh): Replace
15661 $(run-program-prefix) with $(test-program-prefix).
15662 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15664 ($(common-objpfx)shlib.lds): Likewise.
15665 (build-module-helper): Likewise.
15666 ($(common-objpfx)format.lds): Likewise.
15667 * Rules (binaries-pie-tests): New.
15668 (binaries-pie-notests): Likewise.
15669 (binaries-pie): Rewritten.
15670 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15671 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15672 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15673 (make-test-out): Replace $(host-built-program-cmd) with
15674 $(host-test-program-cmd).
15675 * config.make.in (build-hardcoded-path-in-tests): New variable.
15676 * configure.in (--enable-hardcoded-path-in-tests): New configure
15678 (hardcoded_path_in_tests): New AC_SUBST.
15679 * configure: Regenerated.
15680 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15681 $(built-program-cmd) with $(test-program-cmd).
15682 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15683 (test_program_cmd): This.
15684 * elf/Makefile ($(objpfx)order.out): Run test with
15685 $(test-program-prefix).
15686 ($(objpfx)order2.out): Likewise.
15687 ($(objpfx)tst-initorder.out): Likewise.
15688 ($(objpfx)tst-initorder2.out): Likewise.
15689 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15690 $(test-program-cmd).
15691 ($(objpfx)tst-array1-static.out): Likewise.
15692 ($(objpfx)tst-array2.out): Likewise.
15693 ($(objpfx)tst-array3.out): Likewise.
15694 ($(objpfx)tst-array4.out): Likewise.
15695 ($(objpfx)tst-array5.out): Likewise.
15696 ($(objpfx)tst-array5-static.out): Likewise.
15697 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15698 $(test-program-cmd).
15699 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15700 $(run-program-prefix) with $(test-program-prefix).
15701 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15702 (test_program_prefix): This.
15703 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15704 $(run-program-prefix) with $(test-program-prefix).
15705 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15706 (test_program_prefix): This.
15707 * iconvdata/tst-tables.sh: Likewise.
15708 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15709 $(run-program-prefix) with $(test-program-prefix).
15710 ($(objpfx)tst-translit.out): Likewise.
15711 ($(objpfx)tst-gettext2.out): Likewise.
15712 ($(objpfx)tst-gettext4.out): Likewise.
15713 ($(objpfx)tst-gettext6.out): Likewise.
15714 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15715 (test_program_prefix): This.
15716 * intl/tst-gettext2.sh: Likewise.
15717 * intl/tst-gettext4.sh Likewise.
15718 * intl/tst-gettext6.sh: Likewise.
15719 * intl/tst-translit.sh: Likewise.
15720 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15721 with $(test-program-cmd).
15722 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15723 $(run-program-prefix) with $(test-program-prefix).
15724 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15725 (test_program_prefix): This.
15726 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15727 $(run-program-prefix) with $(test-program-prefix).
15728 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15729 (test_program_prefix): This.
15730 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15731 * posix/Makefile ($(objpfx)globtest.out): Replace
15732 $(run-via-rtld-prefix) and $(test-wrapper) with
15733 $(test-program-prefix) and $(test-via-rtld-prefix).
15734 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15735 $(test-program-prefix).
15736 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15737 $(host-test-program-cmd).
15738 (tst-spawn-ARGS): Likewise.
15739 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15740 $(test-program-prefix).
15741 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15742 (test_via_rtld_prefix): This.
15743 (test_wrapper): Renamed to ...
15744 (test_program_prefix): This.
15745 (run_program_prefix): Replaced by test_program_prefix.
15746 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15747 (test_program_prefix): This.
15748 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15749 with $(host-test-program-cmd).
15750 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15751 $(run-program-prefix) with $(test-program-prefix).
15752 ($(objpfx)tst-printf.out): Likewise.
15753 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15754 $(test-program-cmd).
15755 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15756 (test_program_prefix): This.
15757 * stdio-common/tst-unbputc.sh: Likewise.
15758 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15759 $(run-program-prefix) with $(test-program-prefix).
15760 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15761 (test_program_prefix): This.
15762 * string/Makefile ($(objpfx)tst-svc.out): Replace
15763 $(built-program-cmd) with $(test-program-cmd).
15765 2013-01-11 Andreas Jaeger <aj@suse.de>
15768 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15769 value. Sync with Linux 3.7.
15771 2013-01-10 David S. Miller <davem@davemloft.net>
15773 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15774 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15775 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15777 2013-01-10 Roland McGrath <roland@hack.frob.com>
15779 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15781 * configure: Regenerated.
15783 2013-01-10 David S. Miller <davem@davemloft.net>
15785 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15786 sparc V9 rather than using V8 code.
15787 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15788 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15790 2013-01-10 Roland McGrath <roland@hack.frob.com>
15792 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15793 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15794 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15795 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15796 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15797 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15798 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15799 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15800 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15801 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15802 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15803 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15804 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15805 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15806 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15807 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15808 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15809 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15810 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15811 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15812 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15813 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15814 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15815 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15816 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15817 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15818 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15820 2013-01-10 David S. Miller <davem@davemloft.net>
15822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15824 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15826 * posix/Makefile (tests-static): New variable.
15827 (tests): Add $(tests-static).
15828 (tst-exec-static-ARGS): New variable.
15829 (tst-spawn-static-ARGS): Likewise.
15830 * posix/tst-exec-static.c: New file.
15831 * posix/tst-spawn-static.c: Likewise.
15832 * posix/tst-exec.c: Support run directly.
15833 * posix/tst-spawn.c: Likewise.
15835 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15837 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15839 * math/bits/mathcalls.h (llrint): Likewise.
15840 (llround): Likewise.
15841 * stdlib/stdlib.h (struct drand48_data): Likewise.
15842 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15843 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15844 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15846 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15848 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15849 (elf_greg_t): Likewise.
15850 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15851 (__jmp_buf): Likewise.
15852 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15854 (llrint): Likewise, for all definitions.
15855 (llrintl): Likewise.
15857 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15858 Remove [__GNUC__] condition.
15859 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15860 condition to just [__USE_ISOC99].
15861 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15863 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15866 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15867 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15869 (_POSIX_V6_ILP32_OFF32): Likewise.
15870 (_XBS5_ILP32_OFF32): Likewise.
15871 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15872 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15874 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15876 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15879 doubles __mpexp_twomm1. Adjust usage.
15880 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15883 2013-01-10 Andreas Schwab <schwab@suse.de>
15886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15887 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15889 2013-01-09 David S. Miller <davem@davemloft.net>
15892 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15893 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15894 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15895 TCP_FASTOPEN): Define.
15896 (tcp_repair_opt): New structure.
15897 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15899 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15900 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15901 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15902 (tcp_cookie_transactions): New structure.
15904 2013-01-09 Anton Blanchard <anton@samba.org>
15906 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15907 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15909 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15911 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15913 * include/features.h (__USE_ANSI): Remove.
15915 2013-01-09 Roland McGrath <roland@hack.frob.com>
15917 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15919 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15921 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15923 * sysdeps/s390/fpu/libm-test-ulps: Update.
15925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15927 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15931 (denorm): Likewise.
15932 (__mp_dbl): Likewise.
15933 (__dbl_mp): Likewise.
15934 (add_magnitudes): Likewise.
15935 (sub_magnitudes): Likewise.
15941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15945 (denorm): Likewise.
15946 (__mp_dbl): Likewise.
15947 (__dbl_mp): Likewise.
15948 (add_magnitudes): Likewise.
15949 (sub_magnitudes): Likewise.
15955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15959 (denorm): Likewise.
15960 (__mp_dbl): Likewise.
15961 (__dbl_mp): Likewise.
15962 (add_magnitudes): Likewise.
15963 (sub_magnitudes): Likewise.
15970 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15972 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15973 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15974 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15975 2 && __USE_EXTERN_INLINES]: Likewise.
15977 2013-01-08 Andreas Jaeger <aj@suse.de>
15980 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15982 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15983 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15985 2013-01-07 Anton Blanchard <anton@samba.org>
15987 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15988 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15989 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15990 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15991 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15993 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15997 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15998 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15999 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16000 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16001 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16002 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16003 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16004 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16006 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16007 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16008 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16012 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16013 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16014 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16016 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16017 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16019 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16020 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16021 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16022 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16025 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16027 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16029 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16031 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16033 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16034 (__MALLOC_PMT): Likewise.
16035 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16036 [__GNUC__], only on [_LIBC].
16037 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16038 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16039 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16040 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16041 forward declaration.
16042 (realloc_hook_ini): Likewise.
16043 (memalign_hook_ini): Likewise.
16044 (__libc_memalign): Do not use __MALLOC_PMT in variable
16046 (__libc_valloc): Likewise.
16047 (__libc_pvalloc): Likewise.
16048 (__libc_calloc): Likewise.
16049 (__posix_memalign): Likewise.
16052 * math/s_casinh.c: Include <float.h>.
16053 (__casinh): Do not do computation with squaring and square root
16054 for large arguments.
16055 * math/s_casinhf.c: Include <float.h>.
16056 (__casinhf): Do not do computation with squaring and square root
16057 for large arguments.
16058 * math/s_casinhl.c: Include <float.h>.
16059 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16060 (__casinhl): Do not do computation with squaring and square root
16061 for large arguments.
16062 * math/libm-test.inc (casin_test): Add more tests.
16063 (casinh_test): Likewise.
16064 * sysdeps/i386/fpu/libm-test-ulps: Update.
16065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16067 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16069 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16070 (__x86_64_raw_data_cache_size): Likewise.
16071 (__x86_64_data_cache_size_half): Likewise.
16072 (__x86_64_raw_data_cache_size_half): Likewise.
16073 (__x86_64_shared_cache_size): Likewise.
16074 (__x86_64_raw_shared_cache_size): Likewise.
16075 (__x86_64_shared_cache_size_half): Likewise.
16076 (__x86_64_raw_shared_cache_size_half): Likewise.
16077 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16079 (__x86_data_cache_size): This.
16080 (__x86_64_raw_data_cache_size): Renamed to ...
16081 (__x86_raw_data_cache_size): This.
16082 (__x86_64_data_cache_size_half): Renamed to ...
16083 (__x86_data_cache_size_half): This.
16084 (__x86_64_raw_data_cache_size_half): Renamed to ...
16085 (__x86_raw_data_cache_size_half): This.
16086 (__x86_64_shared_cache_size): Renamed to ...
16087 (__x86_shared_cache_size): This.
16088 (__x86_64_raw_shared_cache_size): Renamed to ...
16089 (__x86_raw_shared_cache_size): This.
16090 (__x86_64_shared_cache_size_half): Renamed to ...
16091 (__x86_shared_cache_size_half): This.
16092 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16093 (__x86_raw_shared_cache_size_half): This.
16094 * sysdeps/x86_64/memcpy.S: Updated.
16095 * sysdeps/x86_64/memset.S: Likewise.
16096 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16097 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16100 2013-01-04 David S. Miller <davem@davemloft.net>
16102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16104 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16106 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16107 1 to avoid redefinition warning.
16108 (__USE_GNU): Don't define.
16109 (init_signaling_nan): Protoize.
16111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16113 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16115 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16117 (__cpymn): Likewise.
16118 (norm): Remove commented code.
16119 (denorm): Likewise.
16120 (__mp_dbl): Likewise.
16122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16123 (__cpymn): Likewise.
16124 (norm): Remove commented code.
16125 (denorm): Likewise.
16126 (__mp_dbl): Likewise.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16130 mp_no value for 1.0 and 2.0.
16131 (norm): Use RADIXI instead of radixi.d.
16132 (denorm): Likewise.
16133 (__mul): Use 0.0 instead of zero.d.
16134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16135 mp_no value for 1.0 and 2.0.
16136 (norm): Use RADIXI instead of radixi.d.
16137 (denorm): Likewise.
16138 (__mul): Use 0.0 instead of zero.d.
16140 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16143 * math/s_casinh.c (__casinh): Reduce finite argument to first
16144 quadrant then set signs of results at the end.
16145 * math/s_casinhf.c (__casinhf): Likewise.
16146 * math/s_casinhl.c (__casinhl): Likewise.
16147 * math/libm-test.inc (casin_test): Add more tests.
16148 (casinh_test): Likewise.
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16152 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16154 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16156 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16158 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16160 (denorm): Likewise.
16161 (__mp_dbl): Likewise.
16164 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16165 and adjust the header comment.
16167 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16168 variable name from declaration.
16170 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16173 Initialize COMMON_CPUID_INDEX_7 element.
16174 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16175 (CPUID_RTM): Likewise.
16176 (HAS_RTM): Likewise.
16177 (COMMON_CPUID_INDEX_7): New enum.
16179 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16182 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16183 size is zero, record memory as freed.
16185 2013-01-03 Andreas Jaeger <aj@suse.de>
16187 * po/ia.po: Add new Interlingua translation.
16189 2012-01-03 Allan McRae <allan@archlinux.org>
16191 * locale/programs/localedef.c: Fix description of '--posix' flag.
16193 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16195 * NEWS: Update dates in second copyright notice.
16196 * README: Update copyright dates in example.
16197 * manual/libc.texinfo: Update copyright dates.
16198 * scripts/test-installation.pl: Update copyright date in --version
16201 * hurd/ctty-input.c: Fix copyright notice formatting.
16202 * hurd/ctty-output.c: Likewise.
16203 * hurd/dtable.c: Likewise.
16204 * hurd/hurd-raise.c: Likewise.
16205 * hurd/hurdprio.c: Likewise.
16206 * hurd/msgportdemux.c: Likewise.
16207 * misc/sys/file.h: Likewise.
16208 * misc/sys/ioctl.h: Likewise.
16209 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16210 * sysdeps/mach/hurd/chdir.c: Likewise.
16211 * sysdeps/mach/hurd/fchdir.c: Likewise.
16212 * sysdeps/mach/hurd/rename.c: Likewise.
16213 * sysdeps/mach/hurd/rmdir.c: Likewise.
16214 * sysdeps/mach/hurd/seekdir.c: Likewise.
16215 * sysdeps/mach/hurd/setsid.c: Likewise.
16216 * sysdeps/posix/wait3.c: Likewise.
16218 * All files with FSF copyright notices: Update copyright dates
16219 using scripts/update-copyrights.
16220 * intl/plural.c: Regenerated.
16221 * locale/programs/charmap-kw.h: Likewise.
16222 * locale/programs/locfile-kw.h: Likewise.
16224 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16226 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16229 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16230 calculation loop and add branch prediction.
16232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16233 check access beyond bounds of m1np.
16235 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16237 (__inv): Remove local variable MPTWO to use the global
16239 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16240 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16242 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16243 MP3HALFS static const.
16245 2013-01-01 David S. Miller <davem@davemloft.net>
16247 * po/ca.po: Update from translation team.
16249 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16251 * scripts/update-copyrights: New file.
16252 * Makeconfig: Reformat copyright notice.
16253 * ctype/ctype.h: Likewise.
16254 * debug/swprintf_chk.c: Likewise.
16255 * elf/dl-cache.c: Likewise.
16256 * elf/dl-debug.c: Likewise.
16257 * elf/dl-object.c: Likewise.
16258 * grp/initgroups.c: Likewise.
16259 * hurd/Makefile: Likewise.
16260 * hurd/hurd/signal.h: Likewise.
16261 * hurd/hurdfault.c: Likewise.
16262 * hurd/hurdioctl.c: Likewise.
16263 * hurd/hurdlookup.c: Likewise.
16264 * hurd/intr-msg.c: Likewise.
16265 * iconv/gconv_open.c: Likewise.
16266 * libio/swprintf.c: Likewise.
16267 * locale/lc-ctype.c: Likewise.
16268 * locale/nl_langinfo.c: Likewise.
16269 * mach/Machrules: Likewise.
16270 * mach/Makefile: Likewise.
16271 * malloc/obstack.h: Likewise.
16272 * manual/Makefile: Likewise.
16273 * manual/tsort.awk: Likewise.
16274 * misc/bits/stab.def: Likewise.
16275 * nis/nis_print_group_entry.c: Likewise.
16276 * nis/nis_table.c: Likewise.
16277 * nis/nss_compat/compat-pwd.c: Likewise.
16278 * nis/nss_compat/compat-spwd.c: Likewise.
16279 * po/Makefile: Likewise.
16280 * posix/fnmatch.c: Likewise.
16281 * posix/regex.h: Likewise.
16282 * resolv/Makefile: Likewise.
16283 * resolv/nss_dns/dns-network.c: Likewise.
16284 * resolv/res_hconf.c: Likewise.
16285 * scripts/gen-sorted.awk: Likewise.
16286 * soft-fp/soft-fp.h: Likewise.
16287 * stdio-common/printf.h: Likewise.
16288 * stdlib/monetary.h: Likewise.
16289 * stdlib/random.c: Likewise.
16290 * stdlib/random_r.c: Likewise.
16291 * sysdeps/generic/Makefile: Likewise.
16292 * sysdeps/gnu/Makefile: Likewise.
16293 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16295 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16297 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16300 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16301 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16303 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16304 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16305 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16306 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16307 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16308 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16309 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16310 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16311 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16313 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16314 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16315 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16321 * sysdeps/mach/hurd/errnos.awk: Likewise.
16322 * sysdeps/mach/hurd/fork.c: Likewise.
16323 * sysdeps/mach/hurd/getcwd.c: Likewise.
16324 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16325 * sysdeps/mach/hurd/mmap.c: Likewise.
16326 * sysdeps/mach/hurd/utimes.c: Likewise.
16327 * sysdeps/mach/hurd/xmknod.c: Likewise.
16328 * sysdeps/posix/profil.c: Likewise.
16329 * sysdeps/posix/readdir_r.c: Likewise.
16330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16331 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16332 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16333 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16335 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16337 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16339 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16340 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16341 * sysdeps/pthread/lio_listio.c: Likewise.
16342 * sysdeps/sparc/dl-procinfo.h: Likewise.
16343 * sysdeps/unix/i386/sysdep.S: Likewise.
16344 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16345 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16346 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16347 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16349 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16350 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16351 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16352 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16353 * sysdeps/wordsize-32/divdi3.c: Likewise.
16354 * time/sys/time.h: Likewise.
16355 * wcsmbs/Makefile: Likewise.
16357 2013-01-01 David S. Miller <davem@davemloft.net>
16359 * po/fr.po: Update from translation team.
16361 * catgets/gencat.c: Update copyright year.
16362 * csu/version.c: Likewise.
16363 * debug/catchsegv.sh: Likewise.
16364 * debug/pcprofiledump.c: Likewise.
16365 * debug/xtrace.sh: Likewise.
16366 * elf/ldconfig.c: Likewise.
16367 * elf/ldd.bash.in: Likewise.
16368 * elf/pldd.c: Likewise.
16369 * elf/sotruss.ksh: Likewise.
16370 * elf/sprof.c: Likewise.
16371 * iconv/iconv_prog.c: Likewise.
16372 * iconv/iconvconfig.c: Likewise.
16373 * locale/programs/locale.c: Likewise.
16374 * locale/programs/localedef.c: Likewise.
16375 * login/programs/pt_chown.c: Likewise.
16376 * malloc/memusage.sh: Likewise.
16377 * malloc/memusagestat.c: Likewise.
16378 * malloc/mtrace.pl: Likewise.
16379 * nscd/nscd.c: Likewise.
16380 * nss/getent.c: Likewise.
16381 * nss/makedb.c: Likewise.
16382 * posix/getconf.c: Likewise.
16384 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16386 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16389 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16391 * math/bits/mathcalls.h (modf): Use __nonnull.
16393 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16395 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16396 (split): Use macro CN instead of the bare value.
16397 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16400 instead of the bare value.
16401 (power1): Likewise.
16403 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16405 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16409 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16411 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16412 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16413 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16414 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16416 2012-12-28 Andreas Jaeger <aj@suse.de>
16418 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16419 values are from Linux 3.7.
16421 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16422 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16424 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16426 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16429 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16431 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16432 variables with preprocessor constants.
16433 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16434 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16437 2012-12-27 Bruno Haible <bruno@clisp.org>
16440 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16443 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16446 and use variable directly.
16447 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16449 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16451 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16452 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16454 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16456 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16457 include directive. Remove local variable MPONE.
16458 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16459 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16460 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16462 2012-12-25 David S. Miller <davem@davemloft.net>
16464 * version.h (RELEASE): Set to "development".
16465 (VERSION): Set to "2.17.90".
16466 * NEWS: Add 2.18 section.
16468 2012-12-21 David S. Miller <davem@davemloft.net>
16470 * po/hr.po: Update from translation team.
16472 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16474 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16476 2012-12-19 Steve Ellcey <sellcey@mips.com>
16478 * NEWS: Mention new memcpy for MIPS.
16480 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16482 * manual/contrib.texi (Contributors): Spelling correction.
16484 2012-12-15 David S. Miller <davem@davemloft.net>
16486 * po/ru.po: Update from translation team.
16488 2012-12-13 David S. Miller <davem@davemloft.net>
16490 * NEWS: Mention IFUNC testsuite enhancements.
16492 * po/pl.po: Update from translation team.
16493 * po/bg.po: Likewise.
16495 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16496 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16498 2012-12-11 David S. Miller <davem@davemloft.net>
16500 * po/sv.po: Update from translation team.
16502 * po/vi.po: Update from translation team.
16504 * po/cs.po: Update from translation team.
16506 * po/de.po: Update from translation team.
16507 * po/eo.po: Likewise.
16508 * po/nl.po: Likewise.
16510 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16513 * manual/argp.texi (Argp Helper Functions): Move node to follow
16514 Argp Parsing State.
16517 * manual/conf.texi (Limits on File System Capacity): Mention if
16518 terminating null is included in the max size.
16520 2012-12-10 Andreas Jaeger <aj@suse.de>
16522 * po/cs.po: Update from translation team.
16524 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16526 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16527 void pointer and cast to uintptr_t.
16528 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16530 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16531 * sysdeps/s390/s390-64/memset.S: Likewise.
16533 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16536 * menual/message.texi (Message Translation): Fix typos.
16537 (Helper programs for gettext): Likewise.
16539 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16542 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16545 2012-12-07 David S. Miller <davem@davemloft.net>
16547 * po/libc.pot: Update.
16549 2012-12-07 Richard Henderson <rth@redhat.com>
16552 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16553 normal/normal case to before the switch.
16554 (_FP_DIV): Likewise.
16556 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16557 Mike Frysinger <vapier@gentoo.org>
16559 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16560 check for __NR_fadvise64_64.
16562 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16564 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16565 0, not just to plain "0" as a statement.
16566 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16569 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16571 * NEWS: Use sourceware.org in Bugzilla URL.
16573 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16576 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16578 * stdio-common/tst-put-error.c (do_test): Add newline to the
16579 padded test to ensure flush.
16581 2012-12-05 Jeff Law <law@redhat.com>
16583 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16585 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16587 * README: Don't refer to ports add-on as distributed separately.
16588 Mention AArch64 in list of systems supported in the ports add-on.
16590 * LICENSES: Add more non-FSF copyright and license notices.
16592 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16595 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16597 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16598 10000 as width of padded output.
16600 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16602 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16604 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16605 variable LX with __attribute__ ((unused)).
16606 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16608 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16611 with __attribute__ ((unused)).
16613 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16615 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16617 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16619 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16620 (CFLAGS-nldbl-acos.c): New variable.
16621 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16622 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16623 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16624 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16625 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16626 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16627 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16628 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16629 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16630 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16631 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16632 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16633 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16634 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16635 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16636 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16637 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16638 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16639 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16640 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16641 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16642 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16643 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16644 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16645 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16646 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16647 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16648 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16649 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16650 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16651 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16652 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16653 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16654 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16655 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16656 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16657 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16658 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16659 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16660 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16661 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16662 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16663 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16664 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16665 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16666 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16667 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16668 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16669 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16670 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16671 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16672 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16673 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16674 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16675 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16676 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16677 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16678 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16679 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16680 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16681 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16682 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16683 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16684 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16685 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16686 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16687 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16688 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16689 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16690 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16691 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16692 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16693 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16694 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16695 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16696 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16697 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16698 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16699 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16700 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16701 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16702 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16703 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16704 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16705 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16706 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16707 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16708 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16709 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16710 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16711 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16712 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16713 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16714 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16715 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16716 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16717 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16720 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16723 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16724 whole low double instead of just low 47 bits when splitting values
16727 2012-12-03 Allan McRae <allan@archlinux.org>
16729 * manual/stdio.texi (Predefined Printf Handlers): Remove
16730 @hsep and @vsep usage.
16732 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16734 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16735 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16737 2012-12-03 Jeff Law <law@redhat.com>
16739 * time/sys/time.h (settimeofday): Do not mark TV argument
16742 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16744 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16745 when currently writing and seek to current position when not.
16746 * libio/Makefile (tests): Remove bug-fclose1.
16747 * libio/bug-fclose1.c: Delete.
16749 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16751 * manual/arith.texi (feenableexcept): Fix typo.
16752 (fedisableexcept): Likewise.
16754 2012-11-30 Roland McGrath <roland@hack.frob.com>
16756 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16757 second, differently-typed declaration, rather than a cast.
16759 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16761 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16762 * include/rpc/svc.h: ... here.
16764 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16767 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16768 depending n and resplen2 to catch cases where answer
16771 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16773 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16774 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16776 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16780 2012-11-29 Roland McGrath <roland@hack.frob.com>
16782 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16784 2012-11-28 Jeff Law <law@redhat.com>
16787 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16788 dataset_temporary. Track alloca usage into alloca_used.
16789 If dataset is large allocate and release it via malloc/free.
16791 2012-06-04 Florian Weimer <fweimer@redhat.com>
16794 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16796 2012-11-28 David S. Miller <davem@davemloft.net>
16798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16800 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16803 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16804 of pi/2 rounded to nearest to 64 bits.
16805 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16806 nearest to 64 bits.
16807 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16810 2012-11-28 Jeff Law <law@redhat.com>
16811 Martin Osvald <mosvald@redhat.com>
16814 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16815 * sunrpc/svc.c: Include time.h.
16816 (__svc_accept_failed): New function.
16817 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16818 any reason other than EINTR, call __svc_accept_failed.
16819 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16820 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16822 2012-11-28 Andreas Schwab <schwab@suse.de>
16824 * scripts/abilist.awk: Also handle indirect functions in .opd
16827 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16830 * sysdeps/x86/fpu/powl_helper.c: New file.
16831 * sysdeps/x86/fpu/Makefile: Likewise.
16832 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16834 (__ieee754_powl): Use __powl_helper for finite arguments except
16835 integer exponents below 8.
16836 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16838 (__ieee754_powl): Use __powl_helper for finite arguments except
16839 integer exponents below 8.
16840 * math/libm-test.inc (pow_test): Add more tests and enable some
16841 previously disabled tests.
16842 * sysdeps/i386/fpu/libm-test-ulps: Update.
16843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16845 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16846 Carlos O'Donell <carlos_odonell@mentor.com>
16848 * nss/makedb.c (is_prime): Assert that input is odd and greater
16849 than 4. Note that fact in a comment too.
16850 (next_prime): Add 4 to input.
16852 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16855 * libio/Makefile (tests): Add test case tst-fwrite-error.
16856 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16857 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16858 * libio/tst-fwrite-error.c: New test case.
16860 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16862 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16863 before casting to void *.
16864 * include/libc-internal.h (__pointer_type): New macro.
16865 (__integer_if_pointer_type_sub): Likewise.
16866 (__integer_if_pointer_type): Likewise.
16867 (cast_to_integer): Likewise.
16868 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16869 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16870 before casting to atomic64_t.
16871 (atomic_exchange_acq): Likewise.
16872 (__arch_exchange_and_add_body): Likewise.
16873 (__arch_add_body): Likewise.
16874 (atomic_add_negative): Likewise.
16875 (atomic_add_zero): Likewise.
16877 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16880 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16881 (add_fdes): Likewise.
16882 (linear_search_fdes): Likewise.
16883 (binary_search_unencoded_fdes): Likewise.
16885 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16887 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16889 2012-11-24 Adam Conrad <adconrad@0c3.net>
16891 * configure.in: Autodetect C++ header directories.
16892 * configure: Regenerated.
16894 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16896 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16898 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16902 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16904 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16905 LDBL_MANT_DIG == 106]: Disable some tests.
16906 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16908 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16912 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16913 input for small inputs. Return +/- pi/2 for large inputs.
16914 * math/libm-test.inc (atan_test): Add more tests.
16916 * sysdeps/generic/unwind-dw2-fde-glibc.c
16917 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16918 __attribute__ ((unused)).
16921 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16922 x * y if x and y are nonzero and z is zero.
16925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16926 nonzero exponents with absolute value below 0x1p-117 to +/-
16930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16931 up arguments below 2**-450, not just those below 2**-500.
16932 * math/libm-test.inc (hypot_test): Add another test.
16935 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16936 Return a+b for ratio over 2**120, not 2**60.
16937 * math/libm-test.inc (hypot_test): Add another test.
16939 * math/libm-test.inc (clog_test): Use
16940 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16941 (clog10_test): Likewise.
16944 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16946 2012-11-22 Andreas Schwab <schwab@suse.de>
16948 * sysdeps/i386/fpu/libm-test-ulps: Update.
16950 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16952 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16953 printf output with newline.
16955 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16958 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16959 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16960 -z nodlopen, -z initfirst and -z execstack support.
16961 * configure: Regenerated.
16963 * elf/elf.h (DF_1_NODIRECT): New macro.
16964 (DF_1_IGNMULDEF): Likewise.
16965 (DF_1_NOKSYMS): Likewise.
16966 (DF_1_NOHDR): Likewise.
16967 (DF_1_EDITED): Likewise.
16968 (DF_1_NORELOC): Likewise.
16969 (DF_1_SYMINTPOSE): Likewise.
16970 (DF_1_GLOBAUDIT): Likewise.
16971 (DF_1_SINGLETON): Likewise.
16972 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16973 DT_1_SUPPORTED_MASK bits.
16974 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16976 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16978 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16980 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16982 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16985 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16986 (sendmmsg): Move declarations...
16987 * socket/sys/socket.h: ... here.
16988 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16989 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16991 * socket/recvmmsg.c: ... this new file.
16992 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16993 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16994 definition of __sendmmsg hidden.
16995 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16996 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16997 Move ENOSYS stub into and include it from...
16998 * socket/sendmmsg.c: ... this new file.
16999 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17000 (sysdep_routines): Move recvmmsg and sendmmsg...
17001 * socket/Makefile (routines): ... here.
17002 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17003 (GLIBC_PRIVATE): Add __sendmmsg.
17004 * include/sys/socket.h (__sendmmsg): Add declarations.
17005 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17008 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17011 variable I1 with __attribute__ ((unused)).
17012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17014 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17016 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17017 DUMMY variables with __attribute__ ((unused)).
17019 * bits/byteswap.h: Include <bits/types.h>.
17020 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17022 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17024 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17025 string_t. Do not manually set errno.
17026 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17027 length with __strnlen. Make sure to both set errno and return it on
17030 2012-11-19 David S. Miller <davem@davemloft.net>
17032 With help from Joseph Myers.
17033 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17034 very large arguments properly.
17035 * math/libm-test.inc (atan_test): New tests.
17036 (atan2_test): New tests.
17037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17040 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17043 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17046 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17047 [POSIX] (EADDRNOTAVAIL): Likewise.
17048 [POSIX] (EAFNOSUPPORT): Likewise.
17049 [POSIX] (EALREADY): Likewise.
17050 [POSIX] (ECONNABORTED): Likewise.
17051 [POSIX] (ECONNREFUSED): Likewise.
17052 [POSIX] (ECONNRESET): Likewise.
17053 [POSIX] (EDESTADDRREQ): Likewise.
17054 [POSIX] (EDQUOT): Likewise.
17055 [POSIX] (EHOSTUNREACH): Likewise.
17056 [POSIX] (EIDRM): Likewise.
17057 [POSIX] (EISCONN): Likewise.
17058 [POSIX] (ELOOP): Likewise.
17059 [POSIX] (EMULTIHOP): Likewise.
17060 [POSIX] (ENETDOWN): Likewise.
17061 [POSIX] (ENETUNREACH): Likewise.
17062 [POSIX] (ENOBUFS): Likewise.
17063 [POSIX] (ENODATA): Likewise.
17064 [POSIX] (ENOLINK): Likewise.
17065 [POSIX] (ENOMSG): Likewise.
17066 [POSIX] (ENOPROTOOPT): Likewise.
17067 [POSIX] (ENOSR): Likewise.
17068 [POSIX] (ENOSTR): Likewise.
17069 [POSIX] (ENOTCONN): Likewise.
17070 [POSIX] (ENOTSOCK): Likewise.
17071 [POSIX] (EOPNOTSUPP): Likewise.
17072 [POSIX] (EOVERFLOW): Likewise.
17073 [POSIX] (EPROTO): Likewise.
17074 [POSIX] (EPROTONOSUPPORT): Likewise.
17075 [POSIX] (EPROTOTYPE): Likewise.
17076 [POSIX] (ESTALE): Likewise.
17077 [POSIX] (ETIME): Likewise.
17078 [POSIX] (ETXTBSY): Likewise.
17079 [POSIX] (EWOULDBLOCK): Likewise.
17080 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17081 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17082 [POSIX] (SEEK_CUR): Likewise.
17083 [POSIX] (SEEK_END): Likewise.
17084 [POSIX || UNIX98] (mode_t): Do not require.
17085 [POSIX] (off_t): Likewise.
17086 [POSIX] (pid_t): Likewise.
17087 [POSIX] (sys/stat.h): Do not allow header.
17088 [POSIX] (unistd.h): Likewise.
17089 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17090 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17091 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17092 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17094 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17095 sigevent): Specify elements.
17096 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17098 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17099 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17101 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17102 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17103 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17104 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17105 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17106 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17107 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17108 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17109 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17110 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17111 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17112 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17113 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17114 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17116 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17120 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17122 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17123 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17124 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17125 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17126 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17127 Specify lower bound on value.
17128 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17129 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17134 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17135 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17137 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17139 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17142 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17143 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17144 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17145 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17146 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17147 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17148 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17149 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17150 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17151 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17152 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17153 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17154 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17156 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17158 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17159 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17160 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17161 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17162 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17163 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17165 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17166 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17167 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17168 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17169 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17170 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17171 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17173 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17174 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17176 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17177 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17178 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17179 specify as optional.
17180 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17181 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17182 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17183 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17184 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17185 [XPG3] (NL_LANGMAX): Likewise.
17186 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17187 [POSIX || XPG3] (NL_NMAX): Likewise.
17188 [POSIX || XPG3] (NL_SETMAX): Likewise.
17189 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17190 [XPG3] (NZERO): Likewise.
17191 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17192 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17193 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17194 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17195 (REG_ERANGE): Expect.
17196 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17198 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17199 Use (void) in prototype.
17200 [POSIX] (*_t): Allow.
17201 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17202 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17203 (WRDE_BADVAL): Expect.
17205 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17207 [XPG3 || XPG4] (O_RSYNC): Likewise.
17208 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17210 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17211 [XPG3 || XPG4] (sigqueue): Likewise.
17212 [XPG3 || XPG4] (sigtimedwait): Likewise.
17213 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17214 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17215 [XPG3 || XPG4] (vsnprintf): Likewise.
17216 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17218 [XPG3 || XPG4] (blksize_t): Likewise.
17219 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17221 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17222 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17223 [XPG3 || XPG4] (struct itimerspec): Likewise.
17224 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17225 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17226 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17227 [XPG3 || XPG4] (clockid_t): Likewise.
17228 [XPG3 || XPG4] (timer_t): Likewise.
17229 [XPG3 || XPG4] (clock_getres): Likewise.
17230 [XPG3 || XPG4] (clock_gettime): Likewise.
17231 [XPG3 || XPG4] (clock_settime): Likewise.
17232 [XPG3 || XPG4] (nanosleep): Likewise.
17233 [XPG3 || XPG4] (timer_create): Likewise.
17234 [XPG3 || XPG4] (timer_delete): Likewise.
17235 [XPG3 || XPG4] (timer_gettime): Likewise.
17236 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17237 [XPG3 || XPG4] (timer_settime): Likewise.
17238 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17239 [XPG3 || XPG4] (getlogin_r): Likewise.
17240 [XPG3 || XPG4] (pread): Likewise.
17241 [XPG3 || XPG4] (pthread_atfork): Likewise.
17242 [XPG3 || XPG4] (pwrite): Likewise.
17245 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17248 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17250 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17251 finalizing MALLSTREAM.
17253 * sysdeps/mach/hurd/syncfs.c: New file.
17255 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17258 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17259 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17260 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17261 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17262 (_nss_dns_gethostbyname4_r): Likewise.
17263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17264 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17266 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17269 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17271 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17273 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17274 * elf/cache.c (print_entry): Print ",AArch64" for
17277 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17278 * elf/cache.c (print_entry): Print ",hard-float" for
17281 2012-11-18 David S. Miller <davem@davemloft.net>
17283 With help from Joseph Myers.
17284 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17286 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17288 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17289 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17291 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17292 * math/libm-test.inc (y0_test): New tests.
17293 (y1_test): New tests.
17294 * sysdeps/i386/fpu/libm-test-ulps: Update.
17295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17298 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17300 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17302 * configure: Regenerated.
17304 2012-11-17 David S. Miller <davem@davemloft.net>
17307 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17308 nonzero exponents with absolute value below 0x1p-128 to +/-
17311 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17313 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17315 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17317 * posix/getconf-speclist.c: New file.
17318 * posix/posix-envs.def: Likewise.
17319 * posix/confstr.c (START_ENV_GROUP): New macro.
17320 (END_ENV_GROUP): Likewise.
17321 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17322 (KNOWN_PRESENT_ENV_STRING): Likewise.
17323 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17324 (UNKNOWN_ENVIRONMENT): Likewise.
17325 (confstr): Include posix-envs.def instead of handling
17326 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17327 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17328 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17329 (END_ENV_GROUP): Likewise.
17330 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17331 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17332 (UNKNOWN_ENVIRONMENT): Likewise.
17333 (__sysconf): Include posix-envs.def instead of handling associated
17334 cases directly here.
17335 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17336 preprocessing getconf-speclist.c rather than running getconf or
17337 generating empty file.
17339 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17341 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17343 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17346 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17348 2012-11-16 David S. Miller <davem@davemloft.net>
17350 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17351 smaller than LDBL_EPSILON/2.0L, just return xm1.
17353 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17355 * elf/tst-array1.c (init): Set constructor priority to 1000.
17356 (fini): Set destructor priority to 1000.
17357 * elf/tst-array2dep.c: Likewise.
17359 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17362 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17363 (_IO_new_file_xsputn): Also return EOF if none of the input
17364 data was written when overflow failed.
17365 * libio/iopadn.c (_IO_padn): Likewise.
17366 * libio/iowpadn.c (_IO_wpadn): Likewise.
17367 * stdio-common/tst-put-error.c: Add copyright notice.
17368 (do_test): Add case for printing padded string.
17369 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17370 _IO_padn returned error.
17371 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17372 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17375 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17377 * libio/libioP.h: Add comment note that the references to C++
17378 bits are now obsolete.
17380 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17382 * math/libm-test.inc (check_complex): Use asprintf.
17384 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17386 * debug/pcprofiledump.c (print_version): Update copyright year.
17387 * malloc/memusagestat.c (print_version): Likewise.
17389 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17392 * elf/Makefile (tests): Add tst-audit8.
17393 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17394 ($(objpfx)tst-audit8.out): New target.
17395 (tst-audit8-ENV): New variable.
17396 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17397 audit if l_reloc_result is NULL.
17398 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17399 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17400 * elf/tst-audit8.c: New file.
17402 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17404 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17405 * misc/Makefile (CFLAGS-select.c): Define.
17406 * posix/Makefile (CFLAGS-pause.c): Define.
17408 2012-11-13 David S. Miller <davem@davemloft.net>
17410 * crypt/Makefile: Move test targets after toplevel Rules
17411 inclusion. Grab any necessary sysdep routines when linking.
17412 * crypt/md5.c (md5_process_block): Remove define, we will always
17413 name it __md5_process_block.
17414 (md5_finish_ctx): Update md5_process_block call.
17415 (md5_stream): Likewise.
17416 (md5_process_bytes): Likewise.
17417 (md5_process_block): Rename to __md5_process_block and move to ...
17418 * crypt/md5-block.c: ... here.
17419 * crypt/sha256.c (sha256_process_block): Move to ...
17420 * crypt/sha256-block.c: ... here.
17421 * crypt/sha512.c (sha512_process_block): Move to ...
17422 * crypt/sha512-block.c: ... here.
17423 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17425 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17426 * sysdeps/sparc/sparc64/multiarch/Makefile
17427 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17429 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17430 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17432 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17433 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17434 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17435 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17436 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17437 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17438 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17439 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17440 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17442 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17443 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17445 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17447 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17449 * timezone/tzselect.ksh: Update from tzcode git revision
17450 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17451 * timezone/zdump.c: Likewise.
17452 * timezone/zic.c: Likewise.
17453 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17454 in TZVERSION setting, not $(PKGVERSION).
17455 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17456 REPORT_BUGS_TO settings.
17459 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17462 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17464 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17465 detection to immediately after _FP_ROUND().
17466 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17469 2012-11-11 David S. Miller <davem@davemloft.net>
17471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17473 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17474 __close rather than their public counterparts.
17476 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17478 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17480 [UNIX98] (sem_timedwait): Do not expect.
17481 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17482 [XPG4 || UNIX98] (sockatmark): Do not expect.
17483 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17484 (clock_getcpuclockid): Do not expect.
17485 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17486 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17488 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17489 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17490 [UNIX98] (vwscanf): Likewise.
17491 [UNIX98] (vswscanf): Likewise.
17493 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17495 * timezone/version.h: Remove file.
17496 * timezone/README: Do not refer to version.h.
17497 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17498 $(objpfx)version.h.
17499 ($(objpfx)zdump.o): Likewise.
17500 ($(objpfx)version.h): New target.
17502 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17504 * timezone/README: Don't mention modification to tzselect.ksh.
17505 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17506 work on unmodified tzselect.ksh. Substitute version numbers in
17509 * Makefile (format-me): Remove.
17510 (INSTALL): Adjust indentation. Use commands directly instead of
17511 using $(format-me).
17513 * aclocal.m4 (ACX_PKGVERSION): New macro.
17514 (ACX_BUGURL): Likewise.
17515 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17516 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17517 (REPORT_BUGS_TO): Likewise.
17518 * configure: Regenerated.
17519 * config.h.in (PKGVERSION): New macro.
17520 (REPORT_BUGS_TO): Likewise.
17521 * config.make.in (PKGVERSION): New variable.
17522 (PKGVERSION_TEXI): Likewise.
17523 (REPORT_BUGS_TO): Likewise.
17524 (REPORT_BUGS_TEXI): Likewise.
17525 * Makefile (format-me): Use -I$(common-objpfx)manual.
17526 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17527 ($(common-objpfx)manual/%): New target.
17528 (manual/%): Remove target.
17529 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17530 (print_version): Use PKGVERSION.
17531 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17532 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17533 and REPORT_BUGS_TO.
17534 ($(objpfx)xtrace): Likewise.
17535 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17536 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17537 (print_version): Use PKGVERSION.
17538 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17539 (do_version): Use PKGVERSION.
17540 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17542 (common-ldd-rewrite): Likewise.
17543 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17544 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17545 (print_version): Use PKGVERSION.
17546 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17547 * elf/pldd.c (argp_program_bug_address): Remove variable.
17548 (more_help): New function.
17549 (argp): Use more_help.
17550 (print_version): Use PKGVERSION.
17551 * elf/sln.c (main): Use PKGVERSION.
17552 (usage): Use REPORT_BUGS_TO.
17553 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17554 (top level): Use PKGVERSION.
17555 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17556 (print_version): Use PKGVERSION.
17557 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17558 (print_version): Use PKGVERSION.
17559 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17560 (print_version): Use PKGVERSION.
17561 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17562 (print_version): Use PKGVERSION.
17563 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17564 (print_version): Use PKGVERSION.
17565 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17566 (print_version): Use PKGVERSION.
17567 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17569 ($(objpfx)memusage): Likewise.
17570 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17571 (do_version): Use PKGVERSION.
17572 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17573 (print_version): Use PKGVERSION.
17574 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17575 ($PKGVERSION): New variable.
17576 ($REPORT_BUGS_TO): Likewise.
17577 (usage): Use $REPORT_BUGS_TO.
17578 (top level): Use $PKGVERSION.
17579 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17580 ($(objpfx)pkgvers.texi): New rule.
17581 ($(objpfx)stamp-pkgvers): Likewise.
17582 * manual/install.texi: Include pkgvers.texi.
17583 (--with-pkgversion): Document new configure option.
17584 (--with-bugurl): Likewise.
17585 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17586 than necessarily for this particular distribution. Use
17587 REPORT_BUGS_TO for where to report bugs.
17588 * INSTALL: Regenerated.
17589 * manual/libc.texinfo: Include pkgvers.texi.
17590 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17591 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17592 (print_version): Use PKGVERSION.
17593 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17594 (print_version): Use PKGVERSION.
17595 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17596 (print_version): Use PKGVERSION.
17597 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17598 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17600 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17601 (print_version): Use PKGVERSION.
17602 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17603 (print_version): Use PKGVERSION.
17604 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17607 * timezone/checktab.awk: Update from tzcode 2012i.
17608 * timezone/ialloc.c: Likewise.
17609 * timezone/private.h: Likewise.
17610 * timezone/scheck.c: Likewise.
17611 * timezone/tzfile.h: Likewise.
17612 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17613 (TZVERSION): Hardcode tzcode version number.
17614 * timezone/zdump.c: Update from tzcode 2012i.
17615 * timezone/zic.c: Likewise.
17616 * timezone/version.h: New file.
17617 * timezone/README: Describe version.h. Update upstream location.
17620 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17621 (mktemp): Enable declaration.
17622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17639 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17640 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17641 for copies of such integer values.
17642 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17643 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17645 2012-11-09 Andreas Jaeger <aj@suse.de>
17647 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17648 definitions and declarations that are provided by
17649 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17651 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17653 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17654 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17655 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17658 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17660 * elf/elf.h: Update comment before AArch64 relocations.
17662 2012-11-07 David S. Miller <davem@davemloft.net>
17664 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17665 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17666 (__start_context): Declare.
17667 (__makecontext_ret): Delete.
17668 (__makecontext): Hook up __start_context instead of
17670 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17671 (sysdep_routines): Add __start_context when in stdlib.
17673 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17675 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17676 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17677 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17679 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17680 (READELF): New variable. Use it instead of hardcoded "readelf".
17682 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17684 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17685 * sysdeps/x86/Makefile: Here.
17686 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17687 * sysdeps/x86/tst-xmmymm.sh: This.
17689 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17691 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17693 [UNIX98] (pthread_barrier_t): Do not expect.
17694 [UNIX98] (pthread_barrierattr_t): Likewise.
17695 [UNIX98] (pthread_spinlock_t): Likewise.
17696 [UNIX98] (pthread_barrier_destroy): Likewise.
17697 [UNIX98] (pthread_barrier_init): Likewise.
17698 [UNIX98] (pthread_barrier_wait): Likewise.
17699 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17700 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17701 [UNIX98] (pthread_barrierattr_init): Likewise.
17702 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17703 [UNIX98] (pthread_getcpuclockid): Likewise.
17704 [UNIX98] (pthread_mutex_timedlock): Likewise.
17705 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17706 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17707 [UNIX98] (pthread_sigmask): Likewise.
17708 [UNIX98] (pthread_spin_destroy): Likewise.
17709 [UNIX98] (pthread_spin_init): Likewise.
17710 [UNIX98] (pthread_spin_lock): Likewise.
17711 [UNIX98] (pthread_spin_trylock): Likewise.
17712 [UNIX98] (pthread_spin_unlock): Likewise.
17713 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17715 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17716 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17717 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17718 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17719 [XPG3 || XPG4] (pthread_key_t): Likewise.
17720 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17721 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17722 [XPG3 || XPG4] (pthread_once_t): Likewise.
17723 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17724 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17725 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17726 [XPG3 || XPG4] (pthread_t): Likewise.
17728 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17730 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17732 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17733 Change function return type to int.
17735 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17736 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17737 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17738 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17739 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17740 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17741 [!POSIX] (posix_madvise): Likewise.
17742 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17744 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17745 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17746 (mode_t): Likewise.
17747 (posix_mem_offset): Likewise.
17748 (posix_typed_mem_get_info): Likewise.
17749 (posix_typed_mem_open): Likewise.
17751 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17752 Change condition to [XOPEN2K8].
17754 * conform/conformtest.pl: Preprocess allow-header data with -x c
17755 instead of from stdin.
17756 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17757 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17758 [C99-based standards] (cerfc): Likewise.
17759 [C99-based standards] (cexp2): Likewise.
17760 [C99-based standards] (cexpm1): Likewise.
17761 [C99-based standards] (clog10): Likewise.
17762 [C99-based standards] (clog1p): Likewise.
17763 [C99-based standards] (clog2): Likewise.
17764 [C99-based standards] (clgamma): Likewise.
17765 [C99-based standards] (ctgamma): Likewise.
17766 [C99-based standards] (cerff): Likewise.
17767 [C99-based standards] (cerfcf): Likewise.
17768 [C99-based standards] (cexp2f): Likewise.
17769 [C99-based standards] (cexpm1f): Likewise.
17770 [C99-based standards] (clog10f): Likewise.
17771 [C99-based standards] (clog1pf): Likewise.
17772 [C99-based standards] (clog2f): Likewise.
17773 [C99-based standards] (clgammaf): Likewise.
17774 [C99-based standards] (ctgammaf): Likewise.
17775 [C99-based standards] (cerfl): Likewise.
17776 [C99-based standards] (cerfcl): Likewise.
17777 [C99-based standards] (cexp2l): Likewise.
17778 [C99-based standards] (cexpm1l): Likewise.
17779 [C99-based standards] (clog10l): Likewise.
17780 [C99-based standards] (clog1pl): Likewise.
17781 [C99-based standards] (clog2l): Likewise.
17782 [C99-based standards] (clgammal): Likewise.
17783 [C99-based standards] (ctgammal): Likewise.
17784 * conform/data/inttypes.h-data [C99-based standards]: Include
17785 stdint.h-data. Remove all expectations for stdint.h contents.
17786 [C99-based standards] (PRI*): Do not allow.
17787 [C99-based standards] (SCN*): Likewise.
17788 [C99-based standards] (*_t): Likewise.
17789 [C99-based-standards] (PRId8): Expect macro.
17790 [C99-based-standards] (PRIi8): Likewise.
17791 [C99-based-standards] (PRIo8): Likewise.
17792 [C99-based-standards] (PRIu8): Likewise.
17793 [C99-based-standards] (PRIx8): Likewise.
17794 [C99-based-standards] (PRIX8): Likewise.
17795 [C99-based-standards] (SCNd8): Likewise.
17796 [C99-based-standards] (SCNi8): Likewise.
17797 [C99-based-standards] (SCNo8): Likewise.
17798 [C99-based-standards] (SCNu8): Likewise.
17799 [C99-based-standards] (SCNx8): Likewise.
17800 [C99-based-standards] (PRIdLEAST8): Likewise.
17801 [C99-based-standards] (PRIiLEAST8): Likewise.
17802 [C99-based-standards] (PRIoLEAST8): Likewise.
17803 [C99-based-standards] (PRIuLEAST8): Likewise.
17804 [C99-based-standards] (PRIxLEAST8): Likewise.
17805 [C99-based-standards] (PRIXLEAST8): Likewise.
17806 [C99-based-standards] (SCNdLEAST8): Likewise.
17807 [C99-based-standards] (SCNiLEAST8): Likewise.
17808 [C99-based-standards] (SCNoLEAST8): Likewise.
17809 [C99-based-standards] (SCNuLEAST8): Likewise.
17810 [C99-based-standards] (SCNxLEAST8): Likewise.
17811 [C99-based-standards] (PRIdFAST8): Likewise.
17812 [C99-based-standards] (PRIiFAST8): Likewise.
17813 [C99-based-standards] (PRIoFAST8): Likewise.
17814 [C99-based-standards] (PRIuFAST8): Likewise.
17815 [C99-based-standards] (PRIxFAST8): Likewise.
17816 [C99-based-standards] (PRIXFAST8): Likewise.
17817 [C99-based-standards] (SCNdFAST8): Likewise.
17818 [C99-based-standards] (SCNiFAST8): Likewise.
17819 [C99-based-standards] (SCNoFAST8): Likewise.
17820 [C99-based-standards] (SCNuFAST8): Likewise.
17821 [C99-based-standards] (SCNxFAST8): Likewise.
17822 [C99-based-standards] (PRId16): Likewise.
17823 [C99-based-standards] (PRIi16): Likewise.
17824 [C99-based-standards] (PRIo16): Likewise.
17825 [C99-based-standards] (PRIu16): Likewise.
17826 [C99-based-standards] (PRIx16): Likewise.
17827 [C99-based-standards] (PRIX16): Likewise.
17828 [C99-based-standards] (SCNd16): Likewise.
17829 [C99-based-standards] (SCNi16): Likewise.
17830 [C99-based-standards] (SCNo16): Likewise.
17831 [C99-based-standards] (SCNu16): Likewise.
17832 [C99-based-standards] (SCNx16): Likewise.
17833 [C99-based-standards] (PRIdLEAST16): Likewise.
17834 [C99-based-standards] (PRIiLEAST16): Likewise.
17835 [C99-based-standards] (PRIoLEAST16): Likewise.
17836 [C99-based-standards] (PRIuLEAST16): Likewise.
17837 [C99-based-standards] (PRIxLEAST16): Likewise.
17838 [C99-based-standards] (PRIXLEAST16): Likewise.
17839 [C99-based-standards] (SCNdLEAST16): Likewise.
17840 [C99-based-standards] (SCNiLEAST16): Likewise.
17841 [C99-based-standards] (SCNoLEAST16): Likewise.
17842 [C99-based-standards] (SCNuLEAST16): Likewise.
17843 [C99-based-standards] (SCNxLEAST16): Likewise.
17844 [C99-based-standards] (PRIdFAST16): Likewise.
17845 [C99-based-standards] (PRIiFAST16): Likewise.
17846 [C99-based-standards] (PRIoFAST16): Likewise.
17847 [C99-based-standards] (PRIuFAST16): Likewise.
17848 [C99-based-standards] (PRIxFAST16): Likewise.
17849 [C99-based-standards] (PRIXFAST16): Likewise.
17850 [C99-based-standards] (SCNdFAST16): Likewise.
17851 [C99-based-standards] (SCNiFAST16): Likewise.
17852 [C99-based-standards] (SCNoFAST16): Likewise.
17853 [C99-based-standards] (SCNuFAST16): Likewise.
17854 [C99-based-standards] (SCNxFAST16): Likewise.
17855 [C99-based-standards] (PRId32): Likewise.
17856 [C99-based-standards] (PRIi32): Likewise.
17857 [C99-based-standards] (PRIo32): Likewise.
17858 [C99-based-standards] (PRIu32): Likewise.
17859 [C99-based-standards] (PRIx32): Likewise.
17860 [C99-based-standards] (PRIX32): Likewise.
17861 [C99-based-standards] (SCNd32): Likewise.
17862 [C99-based-standards] (SCNi32): Likewise.
17863 [C99-based-standards] (SCNo32): Likewise.
17864 [C99-based-standards] (SCNu32): Likewise.
17865 [C99-based-standards] (SCNx32): Likewise.
17866 [C99-based-standards] (PRIdLEAST32): Likewise.
17867 [C99-based-standards] (PRIiLEAST32): Likewise.
17868 [C99-based-standards] (PRIoLEAST32): Likewise.
17869 [C99-based-standards] (PRIuLEAST32): Likewise.
17870 [C99-based-standards] (PRIxLEAST32): Likewise.
17871 [C99-based-standards] (PRIXLEAST32): Likewise.
17872 [C99-based-standards] (SCNdLEAST32): Likewise.
17873 [C99-based-standards] (SCNiLEAST32): Likewise.
17874 [C99-based-standards] (SCNoLEAST32): Likewise.
17875 [C99-based-standards] (SCNuLEAST32): Likewise.
17876 [C99-based-standards] (SCNxLEAST32): Likewise.
17877 [C99-based-standards] (PRIdFAST32): Likewise.
17878 [C99-based-standards] (PRIiFAST32): Likewise.
17879 [C99-based-standards] (PRIoFAST32): Likewise.
17880 [C99-based-standards] (PRIuFAST32): Likewise.
17881 [C99-based-standards] (PRIxFAST32): Likewise.
17882 [C99-based-standards] (PRIXFAST32): Likewise.
17883 [C99-based-standards] (SCNdFAST32): Likewise.
17884 [C99-based-standards] (SCNiFAST32): Likewise.
17885 [C99-based-standards] (SCNoFAST32): Likewise.
17886 [C99-based-standards] (SCNuFAST32): Likewise.
17887 [C99-based-standards] (SCNxFAST32): Likewise.
17888 [C99-based-standards] (PRId64): Likewise.
17889 [C99-based-standards] (PRIi64): Likewise.
17890 [C99-based-standards] (PRIo64): Likewise.
17891 [C99-based-standards] (PRIu64): Likewise.
17892 [C99-based-standards] (PRIx64): Likewise.
17893 [C99-based-standards] (PRIX64): Likewise.
17894 [C99-based-standards] (SCNd64): Likewise.
17895 [C99-based-standards] (SCNi64): Likewise.
17896 [C99-based-standards] (SCNo64): Likewise.
17897 [C99-based-standards] (SCNu64): Likewise.
17898 [C99-based-standards] (SCNx64): Likewise.
17899 [C99-based-standards] (PRIdLEAST64): Likewise.
17900 [C99-based-standards] (PRIiLEAST64): Likewise.
17901 [C99-based-standards] (PRIoLEAST64): Likewise.
17902 [C99-based-standards] (PRIuLEAST64): Likewise.
17903 [C99-based-standards] (PRIxLEAST64): Likewise.
17904 [C99-based-standards] (PRIXLEAST64): Likewise.
17905 [C99-based-standards] (SCNdLEAST64): Likewise.
17906 [C99-based-standards] (SCNiLEAST64): Likewise.
17907 [C99-based-standards] (SCNoLEAST64): Likewise.
17908 [C99-based-standards] (SCNuLEAST64): Likewise.
17909 [C99-based-standards] (SCNxLEAST64): Likewise.
17910 [C99-based-standards] (PRIdFAST64): Likewise.
17911 [C99-based-standards] (PRIiFAST64): Likewise.
17912 [C99-based-standards] (PRIoFAST64): Likewise.
17913 [C99-based-standards] (PRIuFAST64): Likewise.
17914 [C99-based-standards] (PRIxFAST64): Likewise.
17915 [C99-based-standards] (PRIXFAST64): Likewise.
17916 [C99-based-standards] (SCNdFAST64): Likewise.
17917 [C99-based-standards] (SCNiFAST64): Likewise.
17918 [C99-based-standards] (SCNoFAST64): Likewise.
17919 [C99-based-standards] (SCNuFAST64): Likewise.
17920 [C99-based-standards] (SCNxFAST64): Likewise.
17921 [C99-based-standards] (PRIdMAX): Likewise.
17922 [C99-based-standards] (PRIiMAX): Likewise.
17923 [C99-based-standards] (PRIoMAX): Likewise.
17924 [C99-based-standards] (PRIuMAX): Likewise.
17925 [C99-based-standards] (PRIxMAX): Likewise.
17926 [C99-based-standards] (PRIXMAX): Likewise.
17927 [C99-based-standards] (SCNdMAX): Likewise.
17928 [C99-based-standards] (SCNiMAX): Likewise.
17929 [C99-based-standards] (SCNoMAX): Likewise.
17930 [C99-based-standards] (SCNuMAX): Likewise.
17931 [C99-based-standards] (SCNxMAX): Likewise.
17932 [C99-based-standards] (PRIdPTR): Likewise.
17933 [C99-based-standards] (PRIiPTR): Likewise.
17934 [C99-based-standards] (PRIoPTR): Likewise.
17935 [C99-based-standards] (PRIuPTR): Likewise.
17936 [C99-based-standards] (PRIxPTR): Likewise.
17937 [C99-based-standards] (PRIXPTR): Likewise.
17938 [C99-based-standards] (SCNdPTR): Likewise.
17939 [C99-based-standards] (SCNiPTR): Likewise.
17940 [C99-based-standards] (SCNoPTR): Likewise.
17941 [C99-based-standards] (SCNuPTR): Likewise.
17942 [C99-based-standards] (SCNxPTR): Likewise.
17943 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17945 * conform/data/stdint.h-data: Update comments to clarify
17947 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17949 [C99-based standards] (INT8_MAX): Likewise.
17950 [C99-based standards] (INT16_MIN): Likewise.
17951 [C99-based standards] (INT16_MAX): Likewise.
17952 [C99-based standards] (INT32_MIN): Likewise.
17953 [C99-based standards] (INT32_MAX): Likewise.
17954 [C99-based standards] (INT64_MIN): Likewise.
17955 [C99-based standards] (INT64_MAX): Likewise.
17956 [C99-based standards] (UINT8_MAX): Likewise.
17957 [C99-based standards] (UINT16_MAX): Likewise.
17958 [C99-based standards] (UINT32_MAX): Likewise.
17959 [C99-based standards] (UINT64_MAX): Likewise.
17960 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17961 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17962 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17963 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17964 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17965 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17966 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17967 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17968 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17969 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17970 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17971 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17972 [C99-based standards] (INT_FAST8_MIN): Likewise.
17973 [C99-based standards] (INT_FAST8_MAX): Likewise.
17974 [C99-based standards] (INT_FAST16_MIN): Likewise.
17975 [C99-based standards] (INT_FAST16_MAX): Likewise.
17976 [C99-based standards] (INT_FAST32_MIN): Likewise.
17977 [C99-based standards] (INT_FAST32_MAX): Likewise.
17978 [C99-based standards] (INT_FAST64_MIN): Likewise.
17979 [C99-based standards] (INT_FAST64_MAX): Likewise.
17980 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17981 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17982 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17983 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17984 [C99-based standards] (INTPTR_MIN): Likewise.
17985 [C99-based standards] (INTPTR_MAX): Likewise.
17986 [C99-based standards] (UINTPTR_MAX): Likewise.
17987 [C99-based standards] (INTMAX_MIN): Likewise.
17988 [C99-based standards] (INTMAX_MAX): Likewise.
17989 [C99-based standards] (UINTMAX_MAX): Likewise.
17990 [C99-based standards] (PTRDIFF_MIN): Likewise.
17991 [C99-based standards] (PTRDIFF_MAX): Likewise.
17992 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17993 [C99-based standards] (SIZE_MAX): Likewise.
17994 [C99-based standards] (WCHAR_MAX): Likewise.
17995 [C99-based standards] (WINT_MAX): Likewise.
17996 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17997 constraint on value.
17998 [C99-based standards] (WCHAR_MIN): Likewise.
17999 [C99-based standards] (WINT_MIN): Likewise.
18000 [C99-based standards] (*_t): Allow.
18001 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18002 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18003 Include math.h-data and complex.h-data. Remove all expectations
18004 of math.h and complex.h contents.
18005 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18007 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18008 (struct tm): Expect tag.
18009 [C99-based-standards] (wcstof): Expect function.
18010 [C99-based-standards] (wcstold): Likewise.
18011 [C99-based-standards] (wcstoll): Likewise.
18012 [C99-based-standards] (wcstoull): Likewise.
18013 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18014 macro-int-constant. Specify type.
18015 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18016 constraint on value.
18017 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18019 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18021 [ISO C standards]: Do not allow headers.
18022 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18023 wcs[abcdefghijklmnopqrstuvwxyz]*.
18024 [ISO C standards] (*_t): Do not allow.
18025 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18027 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18028 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18030 [ISO C standards]: Do not allow headers.
18031 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18032 is[abcdefghijklmnopqrstuvwxyz]*.
18033 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18034 to[abcdefghijklmnopqrstuvwxyz]*.
18035 [ISO C standards] (*_t): Do not allow.
18036 * conform/data/stdalign.h-data: New file.
18037 * conform/data/stdbool.h-data: Likewise.
18038 * conform/data/stdnoreturn.h-data: Likewise.
18040 2012-11-07 Roland McGrath <roland@hack.frob.com>
18043 * manual/filesys.texi (Directory Entries): Typo fix.
18044 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18046 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18048 * elf/elf.h (EM_AARCH64): New macro.
18049 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18050 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18051 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18052 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18053 (R_AARCH64_TLSDESC): Likewise.
18054 (NT_ARM_TLS): Likewise.
18055 (NT_ARM_HW_BREAK): Likewise.
18056 (NT_ARM_HW_WATCH): Likewise.
18058 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18062 (__ieee754_powl): Saturate nonzero exponents with absolute value
18063 below 0x1p-79 to +/- 0x1p-79.
18064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18065 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18066 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18067 nonzero exponents with absolute value below 0x1p-32 to +/-
18069 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18070 (__ieee754_powl): Saturate nonzero exponents with absolute value
18071 below 0x1p-79 to +/- 0x1p-79.
18072 * math/libm-test.inc (pow_test): Add more tests.
18074 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18076 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18077 _dl_s390_cap_flags with kernel. Increase string length.
18078 (_dl_s390_platforms): Add z196 and zEC12.
18080 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18082 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18083 Change XOPEN21K to XOPEN2K.
18085 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18087 * string/memmove.c: Use memcpy when possible.
18089 2012-11-06 Andreas Jaeger <aj@suse.de>
18091 * po/eo.po: Update from translation team.
18093 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18097 exponent and small x and y exponents, scale x or y up. Increase
18098 by 2 the exponent used in scaling up.
18099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18101 * math/libm-test.inc (fma_test): Add more tests.
18102 (fma_test_towardzero): Likewise.
18103 (fma_test_downward): Likewise.
18104 (fma_test_upward): Likewise.
18106 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18109 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18113 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18114 namespace for names of struct fields.
18115 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18117 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18118 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18120 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18123 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18125 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18127 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18131 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18134 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18138 definitely overflow as x * y not x * y + z.
18139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18141 * math/libm-test.inc (fma_test): Add more tests.
18142 (fma_test_towardzero): Likewise.
18143 (fma_test_downward): Likewise.
18144 (fma_test_upward): Likewise.
18146 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18150 * include/stub-tag.h: Remove file.
18151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18153 * manual/maint.texi (Porting): Don't reference it.
18154 * Makerules ($(objpfx)stubs): Likewise.
18155 * dirent/closedir.c: Don't include <stub-tag.h>.
18156 * dirent/dirfd.c: Likewise.
18157 * dirent/fdopendir.c: Likewise.
18158 * dirent/getdents.c: Likewise.
18159 * dirent/getdents64.c: Likewise.
18160 * dirent/opendir.c: Likewise.
18161 * dirent/readdir.c: Likewise.
18162 * dirent/readdir64.c: Likewise.
18163 * dirent/readdir64_r.c: Likewise.
18164 * dirent/readdir_r.c: Likewise.
18165 * dirent/rewinddir.c: Likewise.
18166 * dirent/seekdir.c: Likewise.
18167 * dirent/telldir.c: Likewise.
18168 * gmon/profil.c: Likewise.
18169 * grp/setgroups.c: Likewise.
18170 * inet/if_index.c: Likewise.
18171 * io/access.c: Likewise.
18172 * io/chdir.c: Likewise.
18173 * io/chmod.c: Likewise.
18174 * io/chown.c: Likewise.
18175 * io/close.c: Likewise.
18176 * io/dup.c: Likewise.
18177 * io/dup2.c: Likewise.
18178 * io/dup3.c: Likewise.
18179 * io/euidaccess.c: Likewise.
18180 * io/faccessat.c: Likewise.
18181 * io/fchdir.c: Likewise.
18182 * io/fchmod.c: Likewise.
18183 * io/fchmodat.c: Likewise.
18184 * io/fchown.c: Likewise.
18185 * io/fchownat.c: Likewise.
18186 * io/fcntl.c: Likewise.
18187 * io/flock.c: Likewise.
18188 * io/fstatfs.c: Likewise.
18189 * io/fstatfs64.c: Likewise.
18190 * io/fstatvfs.c: Likewise.
18191 * io/fstatvfs64.c: Likewise.
18192 * io/futimens.c: Likewise.
18193 * io/fxstat.c: Likewise.
18194 * io/fxstat64.c: Likewise.
18195 * io/fxstatat.c: Likewise.
18196 * io/fxstatat64.c: Likewise.
18197 * io/getcwd.c: Likewise.
18198 * io/isatty.c: Likewise.
18199 * io/lchmod.c: Likewise.
18200 * io/lchown.c: Likewise.
18201 * io/link.c: Likewise.
18202 * io/linkat.c: Likewise.
18203 * io/lseek.c: Likewise.
18204 * io/lseek64.c: Likewise.
18205 * io/lxstat64.c: Likewise.
18206 * io/mkdir.c: Likewise.
18207 * io/mkdirat.c: Likewise.
18208 * io/mkfifo.c: Likewise.
18209 * io/mkfifoat.c: Likewise.
18210 * io/open.c: Likewise.
18211 * io/open64.c: Likewise.
18212 * io/openat.c: Likewise.
18213 * io/openat64.c: Likewise.
18214 * io/pipe.c: Likewise.
18215 * io/pipe2.c: Likewise.
18216 * io/poll.c: Likewise.
18217 * io/posix_fadvise.c: Likewise.
18218 * io/posix_fadvise64.c: Likewise.
18219 * io/posix_fallocate.c: Likewise.
18220 * io/posix_fallocate64.c: Likewise.
18221 * io/read.c: Likewise.
18222 * io/readlink.c: Likewise.
18223 * io/readlinkat.c: Likewise.
18224 * io/rmdir.c: Likewise.
18225 * io/sendfile.c: Likewise.
18226 * io/sendfile64.c: Likewise.
18227 * io/statfs.c: Likewise.
18228 * io/statfs64.c: Likewise.
18229 * io/statvfs.c: Likewise.
18230 * io/statvfs64.c: Likewise.
18231 * io/symlink.c: Likewise.
18232 * io/symlinkat.c: Likewise.
18233 * io/ttyname.c: Likewise.
18234 * io/ttyname_r.c: Likewise.
18235 * io/umask.c: Likewise.
18236 * io/unlink.c: Likewise.
18237 * io/unlinkat.c: Likewise.
18238 * io/utime.c: Likewise.
18239 * io/utimensat.c: Likewise.
18240 * io/write.c: Likewise.
18241 * io/xmknod.c: Likewise.
18242 * io/xmknodat.c: Likewise.
18243 * io/xstat.c: Likewise.
18244 * io/xstat64.c: Likewise.
18245 * login/getpt.c: Likewise.
18246 * login/grantpt.c: Likewise.
18247 * login/unlockpt.c: Likewise.
18248 * math/e_acoshl.c: Likewise.
18249 * math/e_acosl.c: Likewise.
18250 * math/e_asinl.c: Likewise.
18251 * math/e_atan2l.c: Likewise.
18252 * math/e_atanhl.c: Likewise.
18253 * math/e_coshl.c: Likewise.
18254 * math/e_expl.c: Likewise.
18255 * math/e_fmodl.c: Likewise.
18256 * math/e_gammal_r.c: Likewise.
18257 * math/e_hypotl.c: Likewise.
18258 * math/e_j0l.c: Likewise.
18259 * math/e_j1l.c: Likewise.
18260 * math/e_jnl.c: Likewise.
18261 * math/e_lgammal_r.c: Likewise.
18262 * math/e_log10l.c: Likewise.
18263 * math/e_log2l.c: Likewise.
18264 * math/e_logl.c: Likewise.
18265 * math/e_powl.c: Likewise.
18266 * math/e_rem_pio2l.c: Likewise.
18267 * math/e_sinhl.c: Likewise.
18268 * math/e_sqrtl.c: Likewise.
18269 * math/fclrexcpt.c: Likewise.
18270 * math/fedisblxcpt.c: Likewise.
18271 * math/feenablxcpt.c: Likewise.
18272 * math/fegetenv.c: Likewise.
18273 * math/fegetexcept.c: Likewise.
18274 * math/fegetround.c: Likewise.
18275 * math/feholdexcpt.c: Likewise.
18276 * math/fesetenv.c: Likewise.
18277 * math/fesetround.c: Likewise.
18278 * math/feupdateenv.c: Likewise.
18279 * math/fgetexcptflg.c: Likewise.
18280 * math/fraiseexcpt.c: Likewise.
18281 * math/fsetexcptflg.c: Likewise.
18282 * math/ftestexcept.c: Likewise.
18283 * math/k_cosl.c: Likewise.
18284 * math/k_rem_pio2l.c: Likewise.
18285 * math/k_sinl.c: Likewise.
18286 * math/k_tanl.c: Likewise.
18287 * math/s_asinhl.c: Likewise.
18288 * math/s_atanl.c: Likewise.
18289 * math/s_cbrtl.c: Likewise.
18290 * math/s_erfl.c: Likewise.
18291 * math/s_expm1l.c: Likewise.
18292 * math/s_log1pl.c: Likewise.
18293 * math/s_tanhl.c: Likewise.
18294 * misc/acct.c: Likewise.
18295 * misc/brk.c: Likewise.
18296 * misc/chflags.c: Likewise.
18297 * misc/chroot.c: Likewise.
18298 * misc/fchflags.c: Likewise.
18299 * misc/fgetxattr.c: Likewise.
18300 * misc/flistxattr.c: Likewise.
18301 * misc/fremovexattr.c: Likewise.
18302 * misc/fsetxattr.c: Likewise.
18303 * misc/fsync.c: Likewise.
18304 * misc/ftruncate.c: Likewise.
18305 * misc/futimes.c: Likewise.
18306 * misc/futimesat.c: Likewise.
18307 * misc/getdomain.c: Likewise.
18308 * misc/getdtsz.c: Likewise.
18309 * misc/gethostid.c: Likewise.
18310 * misc/gethostname.c: Likewise.
18311 * misc/getloadavg.c: Likewise.
18312 * misc/getpagesize.c: Likewise.
18313 * misc/getsysstats.c: Likewise.
18314 * misc/getxattr.c: Likewise.
18315 * misc/gtty.c: Likewise.
18316 * misc/ioctl.c: Likewise.
18317 * misc/lgetxattr.c: Likewise.
18318 * misc/listxattr.c: Likewise.
18319 * misc/llistxattr.c: Likewise.
18320 * misc/lremovexattr.c: Likewise.
18321 * misc/lsetxattr.c: Likewise.
18322 * misc/lutimes.c: Likewise.
18323 * misc/madvise.c: Likewise.
18324 * misc/mincore.c: Likewise.
18325 * misc/mlock.c: Likewise.
18326 * misc/mlockall.c: Likewise.
18327 * misc/mmap.c: Likewise.
18328 * misc/mprotect.c: Likewise.
18329 * misc/msync.c: Likewise.
18330 * misc/munlock.c: Likewise.
18331 * misc/munlockall.c: Likewise.
18332 * misc/munmap.c: Likewise.
18333 * misc/preadv.c: Likewise.
18334 * misc/preadv64.c: Likewise.
18335 * misc/ptrace.c: Likewise.
18336 * misc/pwritev.c: Likewise.
18337 * misc/pwritev64.c: Likewise.
18338 * misc/readv.c: Likewise.
18339 * misc/reboot.c: Likewise.
18340 * misc/remap_file_pages.c: Likewise.
18341 * misc/removexattr.c: Likewise.
18342 * misc/revoke.c: Likewise.
18343 * misc/select.c: Likewise.
18344 * misc/setdomain.c: Likewise.
18345 * misc/setegid.c: Likewise.
18346 * misc/seteuid.c: Likewise.
18347 * misc/sethostid.c: Likewise.
18348 * misc/sethostname.c: Likewise.
18349 * misc/setregid.c: Likewise.
18350 * misc/setreuid.c: Likewise.
18351 * misc/setxattr.c: Likewise.
18352 * misc/sstk.c: Likewise.
18353 * misc/stty.c: Likewise.
18354 * misc/swapoff.c: Likewise.
18355 * misc/swapon.c: Likewise.
18356 * misc/sync.c: Likewise.
18357 * misc/syncfs.c: Likewise.
18358 * misc/syscall.c: Likewise.
18359 * misc/truncate.c: Likewise.
18360 * misc/ualarm.c: Likewise.
18361 * misc/usleep.c: Likewise.
18362 * misc/ustat.c: Likewise.
18363 * misc/utimes.c: Likewise.
18364 * misc/vhangup.c: Likewise.
18365 * misc/writev.c: Likewise.
18366 * posix/_exit.c: Likewise.
18367 * posix/alarm.c: Likewise.
18368 * posix/execve.c: Likewise.
18369 * posix/fexecve.c: Likewise.
18370 * posix/fork.c: Likewise.
18371 * posix/fpathconf.c: Likewise.
18372 * posix/getaddrinfo.c: Likewise.
18373 * posix/getegid.c: Likewise.
18374 * posix/geteuid.c: Likewise.
18375 * posix/getgid.c: Likewise.
18376 * posix/getgroups.c: Likewise.
18377 * posix/getlogin.c: Likewise.
18378 * posix/getlogin_r.c: Likewise.
18379 * posix/getpgid.c: Likewise.
18380 * posix/getpid.c: Likewise.
18381 * posix/getppid.c: Likewise.
18382 * posix/getresgid.c: Likewise.
18383 * posix/getresuid.c: Likewise.
18384 * posix/getsid.c: Likewise.
18385 * posix/getuid.c: Likewise.
18386 * posix/glob64.c: Likewise.
18387 * posix/nanosleep.c: Likewise.
18388 * posix/pathconf.c: Likewise.
18389 * posix/pause.c: Likewise.
18390 * posix/posix_madvise.c: Likewise.
18391 * posix/pread.c: Likewise.
18392 * posix/pread64.c: Likewise.
18393 * posix/pwrite.c: Likewise.
18394 * posix/pwrite64.c: Likewise.
18395 * posix/sched_getaffinity.c: Likewise.
18396 * posix/sched_getp.c: Likewise.
18397 * posix/sched_gets.c: Likewise.
18398 * posix/sched_primax.c: Likewise.
18399 * posix/sched_primin.c: Likewise.
18400 * posix/sched_rr_gi.c: Likewise.
18401 * posix/sched_setaffinity.c: Likewise.
18402 * posix/sched_setp.c: Likewise.
18403 * posix/sched_sets.c: Likewise.
18404 * posix/sched_yield.c: Likewise.
18405 * posix/setgid.c: Likewise.
18406 * posix/setlogin.c: Likewise.
18407 * posix/setpgid.c: Likewise.
18408 * posix/setresgid.c: Likewise.
18409 * posix/setresuid.c: Likewise.
18410 * posix/setsid.c: Likewise.
18411 * posix/setuid.c: Likewise.
18412 * posix/sleep.c: Likewise.
18413 * posix/spawni.c: Likewise.
18414 * posix/sysconf.c: Likewise.
18415 * posix/times.c: Likewise.
18416 * posix/wait.c: Likewise.
18417 * posix/wait3.c: Likewise.
18418 * posix/wait4.c: Likewise.
18419 * posix/waitpid.c: Likewise.
18420 * resolv/gai_sigqueue.c: Likewise.
18421 * resource/getpriority.c: Likewise.
18422 * resource/getrlimit.c: Likewise.
18423 * resource/getrusage.c: Likewise.
18424 * resource/nice.c: Likewise.
18425 * resource/setpriority.c: Likewise.
18426 * resource/setrlimit.c: Likewise.
18427 * resource/ulimit.c: Likewise.
18428 * rt/aio_cancel.c: Likewise.
18429 * rt/aio_fsync.c: Likewise.
18430 * rt/aio_read.c: Likewise.
18431 * rt/aio_sigqueue.c: Likewise.
18432 * rt/aio_suspend.c: Likewise.
18433 * rt/aio_write.c: Likewise.
18434 * rt/clock_getres.c: Likewise.
18435 * rt/clock_gettime.c: Likewise.
18436 * rt/clock_nanosleep.c: Likewise.
18437 * rt/clock_settime.c: Likewise.
18438 * rt/lio_listio.c: Likewise.
18439 * rt/mq_close.c: Likewise.
18440 * rt/mq_getattr.c: Likewise.
18441 * rt/mq_notify.c: Likewise.
18442 * rt/mq_open.c: Likewise.
18443 * rt/mq_receive.c: Likewise.
18444 * rt/mq_send.c: Likewise.
18445 * rt/mq_setattr.c: Likewise.
18446 * rt/mq_timedreceive.c: Likewise.
18447 * rt/mq_timedsend.c: Likewise.
18448 * rt/mq_unlink.c: Likewise.
18449 * rt/shm_open.c: Likewise.
18450 * rt/shm_unlink.c: Likewise.
18451 * rt/timer_create.c: Likewise.
18452 * rt/timer_delete.c: Likewise.
18453 * rt/timer_getoverr.c: Likewise.
18454 * rt/timer_gettime.c: Likewise.
18455 * rt/timer_settime.c: Likewise.
18456 * setjmp/__longjmp.c: Likewise.
18457 * setjmp/setjmp.c: Likewise.
18458 * signal/kill.c: Likewise.
18459 * signal/killpg.c: Likewise.
18460 * signal/raise.c: Likewise.
18461 * signal/sigaction.c: Likewise.
18462 * signal/sigaltstack.c: Likewise.
18463 * signal/sigblock.c: Likewise.
18464 * signal/sigignore.c: Likewise.
18465 * signal/sigintr.c: Likewise.
18466 * signal/signal.c: Likewise.
18467 * signal/sigpause.c: Likewise.
18468 * signal/sigpending.c: Likewise.
18469 * signal/sigqueue.c: Likewise.
18470 * signal/sigreturn.c: Likewise.
18471 * signal/sigset.c: Likewise.
18472 * signal/sigsetmask.c: Likewise.
18473 * signal/sigstack.c: Likewise.
18474 * signal/sigsuspend.c: Likewise.
18475 * signal/sigtimedwait.c: Likewise.
18476 * signal/sigvec.c: Likewise.
18477 * signal/sigwait.c: Likewise.
18478 * signal/sigwaitinfo.c: Likewise.
18479 * signal/sysv_signal.c: Likewise.
18480 * socket/accept.c: Likewise.
18481 * socket/accept4.c: Likewise.
18482 * socket/bind.c: Likewise.
18483 * socket/connect.c: Likewise.
18484 * socket/getpeername.c: Likewise.
18485 * socket/getsockname.c: Likewise.
18486 * socket/getsockopt.c: Likewise.
18487 * socket/isfdtype.c: Likewise.
18488 * socket/listen.c: Likewise.
18489 * socket/recv.c: Likewise.
18490 * socket/recvfrom.c: Likewise.
18491 * socket/recvmsg.c: Likewise.
18492 * socket/send.c: Likewise.
18493 * socket/sendmsg.c: Likewise.
18494 * socket/sendto.c: Likewise.
18495 * socket/setsockopt.c: Likewise.
18496 * socket/shutdown.c: Likewise.
18497 * socket/sockatmark.c: Likewise.
18498 * socket/socket.c: Likewise.
18499 * socket/socketpair.c: Likewise.
18500 * stdio-common/ctermid.c: Likewise.
18501 * stdio-common/cuserid.c: Likewise.
18502 * stdio-common/remove.c: Likewise.
18503 * stdio-common/rename.c: Likewise.
18504 * stdio-common/renameat.c: Likewise.
18505 * stdio-common/tempname.c: Likewise.
18506 * stdlib/getcontext.c: Likewise.
18507 * stdlib/makecontext.c: Likewise.
18508 * stdlib/setcontext.c: Likewise.
18509 * stdlib/swapcontext.c: Likewise.
18510 * stdlib/system.c: Likewise.
18511 * streams/fattach.c: Likewise.
18512 * streams/fdetach.c: Likewise.
18513 * streams/getmsg.c: Likewise.
18514 * streams/getpmsg.c: Likewise.
18515 * streams/putmsg.c: Likewise.
18516 * streams/putpmsg.c: Likewise.
18517 * sysdeps/unix/bsd/getpt.c: Likewise.
18518 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18519 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18520 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18523 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18524 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18525 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18526 * sysvipc/msgctl.c: Likewise.
18527 * sysvipc/msgget.c: Likewise.
18528 * sysvipc/msgrcv.c: Likewise.
18529 * sysvipc/msgsnd.c: Likewise.
18530 * sysvipc/semctl.c: Likewise.
18531 * sysvipc/semget.c: Likewise.
18532 * sysvipc/semop.c: Likewise.
18533 * sysvipc/semtimedop.c: Likewise.
18534 * sysvipc/shmat.c: Likewise.
18535 * sysvipc/shmctl.c: Likewise.
18536 * sysvipc/shmdt.c: Likewise.
18537 * sysvipc/shmget.c: Likewise.
18538 * termios/tcdrain.c: Likewise.
18539 * termios/tcflow.c: Likewise.
18540 * termios/tcflush.c: Likewise.
18541 * termios/tcgetattr.c: Likewise.
18542 * termios/tcgetpgrp.c: Likewise.
18543 * termios/tcsendbrk.c: Likewise.
18544 * termios/tcsetattr.c: Likewise.
18545 * termios/tcsetpgrp.c: Likewise.
18546 * time/adjtime.c: Likewise.
18547 * time/clock.c: Likewise.
18548 * time/getitimer.c: Likewise.
18549 * time/gettimeofday.c: Likewise.
18550 * time/setitimer.c: Likewise.
18551 * time/settimeofday.c: Likewise.
18552 * time/stime.c: Likewise.
18553 * time/time.c: Likewise.
18555 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18557 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18560 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18562 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18564 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18568 FE_TONEAREST before applying Dekker multiplication and Knuth
18569 addition. Clear inexact exceptions and check for exact zero
18570 results afterwards.
18571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18574 * math/libm-test.inc (fma_test): Add more tests.
18575 (fma_test_towardzero): Likewise.
18576 (fma_test_downward): Likewise.
18577 (fma_test_upward): Likewise.
18578 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18580 (libc_fesetround): New macro.
18581 (libc_fesetroundf): Likewise.
18582 (libc_fesetroundl): Likewise.
18583 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18585 (libc_fesetround_387): Likewise.
18586 (libc_fesetroundf): New macro.
18587 (libc_fesetround): Likewise.
18588 (libc_fesetroundl): Likewise.
18589 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18591 (libc_fesetroundf): New macro.
18592 (libc_fesetround): Likewise.
18593 (libc_fesetroundl): Likewise.
18594 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18595 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18596 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18598 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18599 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18601 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18602 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18604 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18608 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18609 integer constant usable in #if and use that to give value to enum
18611 (FE_DIVBYZERO): Likewise.
18612 (FE_UNDERFLOW): Likewise.
18613 (FE_OVERFLOW): Likewise.
18614 (FE_INVALID): Likewise.
18615 (FE_INVALID_SNAN): Likewise.
18616 (FE_INVALID_ISI): Likewise.
18617 (FE_INVALID_IDI): Likewise.
18618 (FE_INVALID_ZDZ): Likewise.
18619 (FE_INVALID_IMZ): Likewise.
18620 (FE_INVALID_COMPARE): Likewise.
18621 (FE_INVALID_SOFTWARE): Likewise.
18622 (FE_INVALID_SQRT): Likewise.
18623 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18624 (FE_TONEAREST): Likewise.
18625 (FE_TOWARDZERO): Likewise.
18626 (FE_UPWARD): Likewise.
18627 (FE_DOWNWARD): Likewise.
18628 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18629 (FE_DIVBYZERO): Likewise.
18630 (FE_OVERFLOW): Likewise.
18631 (FE_UNDERFLOW): Likewise.
18632 (FE_INEXACT): Likewise.
18633 (FE_TONEAREST): Likewise.
18634 (FE_DOWNWARD): Likewise.
18635 (FE_UPWARD): Likewise.
18636 (FE_TOWARDZERO): Likewise.
18637 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18638 (FE_UNDERFLOW): Likewise.
18639 (FE_OVERFLOW): Likewise.
18640 (FE_DIVBYZERO): Likewise.
18641 (FE_INVALID): Likewise.
18642 (FE_TONEAREST): Likewise.
18643 (FE_TOWARDZERO): Likewise.
18644 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18645 (FE_OVERFLOW): Likewise.
18646 (FE_UNDERFLOW): Likewise.
18647 (FE_DIVBYZERO): Likewise.
18648 (FE_INEXACT): Likewise.
18649 (FE_TONEAREST): Likewise.
18650 (FE_TOWARDZERO): Likewise.
18651 (FE_UPWARD): Likewise.
18652 (FE_DOWNWARD): Likewise.
18653 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18654 (FE_DIVBYZERO): Likewise.
18655 (FE_OVERFLOW): Likewise.
18656 (FE_UNDERFLOW): Likewise.
18657 (FE_INEXACT): Likewise.
18658 (FE_TONEAREST): Likewise.
18659 (FE_DOWNWARD): Likewise.
18660 (FE_UPWARD): Likewise.
18661 (FE_TOWARDZERO): Likewise.
18663 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18665 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18667 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18669 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18670 commands. Quote $PWD.
18671 (blacklist_exports): Don't use remove_newlines. Replace "declare
18673 (remove_newlines): Remove.
18675 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18677 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18678 * stdlib/stdlib.h (atof): Moved to ...
18679 * include/bits/stdlib-float.h: Here. New file.
18680 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18681 * stdlib/bits/stdlib-float.h: New file.
18682 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18687 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18689 * conform/conformtest.pl (@headers): Add fenv.h.
18690 * conform/data/fenv.h-data: New file.
18691 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18692 include of <math/fenv.h>.
18694 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18695 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18696 && !UNIX98]. Enables tests for XOPEN2K8.
18697 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18698 POSIX2008]: Likewise.
18700 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18701 (struct rusage): Do not expect type or its members.
18704 * math/math.h (FP_NAN): Define macro to integer constant usable in
18705 #if and use that to give value to enum constant.
18706 (FP_INFINITE): Likewise.
18707 (FP_ZERO): Likewise.
18708 (FP_SUBNORMAL): Likewise.
18709 (FP_NORMAL): Likewise.
18711 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18713 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18714 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18717 2012-11-02 Roland McGrath <roland@hack.frob.com>
18719 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18720 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18721 autoconf-time if not.
18722 * configure.in: Remove AC_PREREQ.
18724 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18726 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18727 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18728 of the internal implementation.
18730 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18732 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18733 except include of <misc/sys/syslog.h>.
18735 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18738 function returns with a NULL context exit with zero.
18740 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18742 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18744 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18746 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18747 (run_program_cmd): This.
18748 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18749 (tst_langinfo): New variable. Use it.
18751 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18753 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18754 floating point opcodes.
18756 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18758 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18761 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18763 * sysdeps/mach/hurd/powerpc: Remove directory.
18764 * sysdeps/mach/powerpc: Likewise.
18766 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18768 * scripts/check-local-headers.sh: Ignore c++ headers.
18770 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18772 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18773 __libc_cleanup_region_start argument.
18775 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18780 x * y using scaling, not as x * y + z.
18781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18783 * math/libm-test.inc (fma_test): Add more tests.
18784 (fma_test_towardzero): Likewise.
18785 (fma_test_downward): Likewise.
18786 (fma_test_upward): Likewise.
18788 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18790 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18792 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18794 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18797 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18799 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18801 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18808 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18811 Fix the order of the list for glibc 2.17.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18815 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18819 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18822 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18823 for low part of x being zero before using __atanl (y).
18824 * math/libm-test.inc (atan2_test): Add another test.
18826 * manual/install.texi (Configuring and compiling): Document
18827 general use of test-wrapper and test-wrapper-env.
18828 * INSTALL: Regenerated.
18830 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18831 (__fma): Do not extract and scale down low bits on after-rounding
18832 systems when result rounded to normal precision would have normal
18834 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18835 (__fmal): Do not extract and scale down low bits on after-rounding
18836 systems when result rounded to normal precision would have normal
18838 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18839 (__fmal): Do not extract and scale down low bits on after-rounding
18840 systems when result rounded to normal precision would have normal
18842 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18844 (fma_test): Add more tests.
18845 (fma_test_towardzero): Likewise.
18846 (fma_test_downward): Likewise.
18847 (fma_test_upward): Likewise.
18849 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18851 * sysdeps/i386/tininess.h: Renamed to ...
18852 * sysdeps/x86/tininess.h: This.
18853 * sysdeps/x86_64/tininess.h: Removed.
18855 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18857 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18858 input. Use $(build-program-cmd).
18859 ($(objpfx)tst-array1-static.out): Likewise.
18860 ($(objpfx)tst-array2.out): Likewise.
18861 ($(objpfx)tst-array3.out): Likewise.
18862 ($(objpfx)tst-array4.out): Likewise.
18863 ($(objpfx)tst-array5.out): Likewise.
18864 ($(objpfx)tst-array5-static.out): Likewise.
18866 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18868 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18871 * nss/nsswitch.h (nss_interface_function): Provide new
18872 macro for use with NSS functions.
18873 * grp/initgroups.c: Use new macro.
18874 * nss/getXXbyYY.c: Likewise.
18875 * nss/getXXbyYY_r.c: Likewise.
18876 * nss/getXXent.c: Likewise.
18877 * nss/getXXent_r.c: Likewise.
18878 * sysdeps/posix/getaddrinfo.c: Likewise.
18880 2012-10-30 Andreas Jaeger <aj@suse.de>
18882 * po/ru.po: Update Russion translation from translation project.
18884 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18889 result and shift together with sticky bit instead of replicating
18890 round-to-nearest rounding.
18891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18893 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18894 missing underflow exceptions.
18895 (fma_test_towardzero): Add more tests.
18896 (fma_test_downward): Likewise.
18897 (fma_test_upward): Likewise.
18900 * sysdeps/generic/tininess.h: New file.
18901 * sysdeps/i386/tininess.h: Likewise.
18902 * sysdeps/sh/tininess.h: Likewise.
18903 * sysdeps/x86_64/tininess.h: Likewise.
18904 * stdlib/tst-strtod-underflow.c: Likewise.
18905 * stdlib/tst-tininess.c: Likewise.
18906 * stdlib/strtod_l.c: Include <tininess.h>.
18907 (round_and_return): Do not set errno for exact underflow cases.
18908 Force an underflow exception when setting errno for underflow.
18909 Determine underflow based on rounding to normal precision if
18910 TININESS_AFTER_ROUNDING.
18911 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18912 ERANGE for exact underflow cases.
18913 * stdlib/Makefile (tests): Add tst-tininess and
18914 tst-strtod-underflow.
18915 ($(objpfx)tst-tininess): Use $(link-libm).
18916 ($(objpfx)tst-strtod-underflow): Likewise.
18918 2012-10-30 Andreas Jaeger <aj@suse.de>
18921 * elf/Makefile (tests): Remove conditional for have-initfini-array
18922 since this is now always required and the variable does not exist
18924 (tests-static): Likewise.
18925 (modules-names): Likewise.
18927 * po/eo.po: Add Esperanto translation from translation project.
18929 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18930 merged with constructor/destructor.
18931 (init_array): Likewise.
18932 * elf/tst-array2dep.c (fini_array): Likewise.
18933 (init_array): Likewise.
18935 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18937 * manual/message.texi: Delete @cartouche tags.
18939 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18941 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18943 * sysdeps/mach/hurd/fsync.c: Likewise.
18945 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18946 [_POSIX_REALTIME_SIGNALS]: Change condition to
18947 [_POSIX_REALTIME_SIGNALS > 0].
18949 2012-10-27 Andreas Jaeger <aj@suse.de>
18951 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18952 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18954 [__WORDSIZE != 64]: Likewise.
18956 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18958 * iconvdata/tst-table.sh: Remove ${SHELL}.
18959 * iconvdata/tst-tables.sh: Likewise.
18961 2012-10-25 David S. Miller <davem@davemloft.net>
18963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18964 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18967 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18969 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18970 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18971 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18974 2012-10-25 Roland McGrath <roland@hack.frob.com>
18976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18977 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18980 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18981 Jim Blandy <jimb@codesourcery.com>
18983 * scripts/cross-test-ssh.sh: New file.
18984 * manual/install.texi (Configuring and compiling): Document use of
18986 * INSTALL: Regenerated.
18988 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18990 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18993 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18995 * Makeconfig (run-program-prefix): Fix comment.
18997 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18998 Jim Blandy <jimb@codesourcery.com>
19000 * Makeconfig (test-wrapper): New variable,
19001 (test-wrapper-env): Likewise.
19002 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19003 (run-built-tests): Define to yes.
19004 (run-program-prefix): Use $(test-wrapper).
19005 (built-program-cmd): Likewise.
19006 * Rules (make-test-out): Use $(test-wrapper-env) and
19007 $(host-built-program-cmd).
19008 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19009 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19011 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19012 $(test-wrapper-env) to tst-rtld-load-self.sh.
19013 ($(objpfx)order2.out): Use $(test-wrapper).
19014 ($(objpfx)tst-initorder.out): Likewise.
19015 ($(objpfx)tst-initorder2.out): Likewise.
19016 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19017 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19018 (test_wrapper_env): New variable. Use it to run ld.so.
19019 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19020 Use it to run ld.so.
19021 (test_wrapper_env): Likewise.
19022 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19023 $(test-wrapper) to run-iconv-test.sh.
19024 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19025 (ICONV): Use $test_wrapper.
19026 * posix/Makefile ($(objpfx)globtest.out): Pass
19027 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19028 globtest.sh, not $(run-program-prefix).
19029 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19030 (test_wrapper): Likewise.
19031 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19032 set together with run_via_rtld_prefix.
19033 (run_program_prefix): Define in terms of test_wrapper and
19034 run_via_rtld_prefix.
19036 2012-10-24 Roland McGrath <roland@hack.frob.com>
19038 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19039 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19043 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19044 Declare __clock_getres, __clock_gettime, __clock_settime,
19045 __clock_nanosleep, and __clock_getcpuclockid.
19046 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19047 Remove librt_hidden_def (clock_gettime).
19048 * sysdeps/unix/clock_gettime.c: Likewise.
19049 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19051 * rt/clock_getres.c: Define __clock_getres as an alias.
19052 * sysdeps/posix/clock_getres.c: Likewise.
19053 * rt/clock_settime.c: Define __clock_settime as an alias.
19054 * sysdeps/unix/clock_settime.c: Likewise.
19055 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19056 * sysdeps/unix/clock_nanosleep.c: Likewise.
19057 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19058 * rt/clock-compat.c: New file.
19059 * rt/Makefile (librt-routines): Add clock-compat and move
19060 $(clock-routines) to ...
19061 (routines): ... here, new variable.
19062 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19063 Don't add get_clockfreq here.
19064 * rt/Versions (libc: GLIBC_2.17): New version set.
19065 Add clock_* symbols here.
19066 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19067 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19068 (GLIBC_2.17): Add clock_* symbols.
19069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19080 * NEWS: Mention the move.
19082 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19083 Use __open, __read, __close rather than their public counterparts.
19084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19085 (__get_clockfreq_via_cpuinfo): Likewise.
19086 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19087 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19089 * config.h.in (HAVE_IFUNC): New #undef.
19090 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19092 * configure: Regenerated.
19094 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19096 * configure.in: Move READELF check to start of file.
19097 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19098 libc_cv_asm_gnu_indirect_function in the process.
19099 * configure: Regenerated.
19101 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19103 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19104 send the output to /dev/null.
19105 (libc_cv_cc_with_libunwind): Likewise.
19106 (libc_cv_as_noexecstack): Likewise.
19107 * configure: Regenerate.
19109 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19111 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19113 * posix/globtest.sh (TMPDIR): Do not set.
19114 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19115 (testout): Likewise.
19117 2012-10-24 Andreas Jaeger <aj@suse.de>
19119 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19120 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19121 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19122 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19123 posix_fadvise64, posix_fallocate64.
19125 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19126 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19127 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19129 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19131 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19134 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19135 <bits/fcntl-linux.h>.
19136 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19138 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19139 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19140 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19141 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19142 [__WORDSIZE != 64]: Likewise.
19144 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19146 * Makeconfig (run-built-tests): New variable.
19147 * Rules [$(cross-compiling) = yes]: Change condition to
19148 [$(run-built-tests) = no].
19149 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19150 to [$(run-built-tests) = yes].
19151 * elf/Makefile [$(cross-compiling) = no]: Likewise
19152 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19153 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19154 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19155 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19156 * io/Makefile [$(cross-compiling) = no]: Likewise.
19157 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19158 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19159 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19160 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19161 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19162 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19163 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19164 * string/Makefile [$(cross-compiling) = no]: Likewise.
19166 * posix/Makefile ($(objpfx)globtest.out): Pass
19167 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19168 $(rtld-installed-name).
19169 * posix/globtest.sh (elf_objpfx): Remove variable.
19170 (rtld_installed_name): Likewise.
19171 (library_path): Likewise.
19172 (run_program_prefix): New variable. Use for running globtest
19175 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19176 Joseph Myers <joseph@codesourcery.com>
19178 * Makeconfig (host-built-program-cmd): New variable.
19179 * elf/Makefile (tst-stackguard1-ARGS): Use
19180 $(host-built-program-cmd).
19181 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19182 (tst-spawn-ARGS): Likewise.
19183 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19185 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19186 Jim Blandy <jimb@codesourcery.com>
19188 * Makeconfig (run-via-rtld-prefix): New variable.
19189 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19190 (built-program-cmd): Likewise.
19192 2012-10-22 Andreas Jaeger <aj@suse.de>
19194 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19195 __O_RSYNC if it exists, otherwise to O_SYNC.
19197 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19198 Joseph Myers <joseph@codesourcery.com>
19200 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19202 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19204 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19207 2012-10-22 Andreas Jaeger <aj@suse.de>
19209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19214 bits/fcntl-linux.h.
19216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19217 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19224 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19225 Joseph Myers <joseph@codesourcery.com>
19227 * config.make.in (NM): New variable.
19229 2012-10-21 Andreas Jaeger <aj@suse.de>
19231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19232 definitions and declarations that are provided by
19233 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19235 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19238 * elf/Makefile (tests-static): Add tst-leaks1-static.
19239 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19240 ($(objpfx)tst-leaks1-static): New rule.
19241 ($(objpfx)tst-leaks1-static-mem): Likewise.
19242 (tst-leaks1-static-ENV): New macro.
19243 * elf/dl-open.c (dl_open_worker): Check the main application
19244 only if SHARED is defined.
19245 * elf/tst-leaks1-static.c: New file.
19247 2012-10-20 Andreas Jaeger <aj@suse.de>
19249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19250 generic values for Linux.
19251 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19252 and declarations that are provided by <bits/fcntl-linux.h> and
19253 include <bits/fcntl-linux.h>.
19254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19257 2012-10-20 Roland McGrath <roland@hack.frob.com>
19259 * io/fcntl.h: Move include of <bits/types.h> to the top and
19260 include it unconditionally.
19262 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19264 * wcsmbs/Makefile (tests-ifunc): New variable.
19265 (tests): Add $(tests-ifunc).
19266 * wcsmbs/test-wcschr-ifunc.c: New file.
19267 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19268 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19269 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19270 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19271 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19273 * string/Makefile (tests-ifunc): New variable.
19274 (tests): Add $(tests-ifunc).
19275 * string/test-memccpy.c (TEST_NAME): New macro.
19276 * string/test-memchr.c (TEST_NAME): Likewise.
19277 * string/test-memcmp.c (TEST_NAME): Likewise.
19278 * string/test-memcpy.c (TEST_NAME): Likewise.
19279 * string/test-memmem.c (TEST_NAME): Likewise.
19280 * string/test-memmove.c (TEST_NAME): Likewise.
19281 * string/test-memset.c (TEST_NAME): Likewise.
19282 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19283 * string/test-stpcpy.c (TEST_NAME): Likewise.
19284 * string/test-stpncpy.c (TEST_NAME): Likewise.
19285 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19286 * string/test-strcasestr.c (TEST_NAME): Likewise.
19287 * string/test-strcat.c (TEST_NAME): Likewise.
19288 * string/test-strchr.c (TEST_NAME): Likewise.
19289 * string/test-strcmp.c(TEST_NAME): Likewise.
19290 * string/test-strcpy.c (TEST_NAME): Likewise.
19291 * string/test-strcspn.c (TEST_NAME): Likewise.
19292 * string/test-strlen.c (TEST_NAME): Likewise.
19293 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19294 * string/test-strncmp.c (TEST_NAME): Likewise.
19295 * string/test-strncpy.c (TEST_NAME): Likewise.
19296 * string/test-strnlen.c (TEST_NAME): Likewise.
19297 * string/test-strpbrk.c (TEST_NAME): Likewise.
19298 * string/test-strrchr.c (TEST_NAME): Likewise.
19299 * string/test-strspn.c (TEST_NAME): Likewise.
19300 * string/test-strstr.c (TEST_NAME): Likewise.
19301 * string/test-bcopy-ifunc.c: New file.
19302 * string/test-bzero-ifunc.c: Likewise.
19303 * string/test-memccpy-ifunc.c: Likewise.
19304 * string/test-memchr-ifunc.c: Likewise.
19305 * string/test-memcmp-ifunc.c: Likewise.
19306 * string/test-memcpy-ifunc.c: Likewise.
19307 * string/test-memmem-ifunc.c: Likewise.
19308 * string/test-memmove-ifunc.c: Likewise.
19309 * string/test-mempcpy-ifunc.c: Likewise.
19310 * string/test-memset-ifunc.c: Likewise.
19311 * string/test-rawmemchr-ifunc.c: Likewise.
19312 * string/test-stpcpy-ifunc.c: Likewise.
19313 * string/test-stpncpy-ifunc.c: Likewise.
19314 * string/test-strcasecmp-ifunc.c: Likewise.
19315 * string/test-strcasestr-ifunc.c: Likewise.
19316 * string/test-strcat-ifunc.c: Likewise.
19317 * string/test-strchr-ifunc.c: Likewise.
19318 * string/test-strchrnul-ifunc.c: Likewise.
19319 * string/test-strcmp-ifunc.c: Likewise.
19320 * string/test-strcpy-ifunc.c: Likewise.
19321 * string/test-strcspn-ifunc.c: Likewise.
19322 * string/test-strlen-ifunc.c: Likewise.
19323 * string/test-strncasecmp-ifunc.c: Likewise.
19324 * string/test-strncat-ifunc.c: Likewise.
19325 * string/test-strncmp-ifunc.c: Likewise.
19326 * string/test-strncpy-ifunc.c: Likewise.
19327 * string/test-strnlen-ifunc.c: Likewise.
19328 * string/test-strpbrk-ifunc.c: Likewise.
19329 * string/test-strrchr-ifunc.c: Likewise.
19330 * string/test-strspn-ifunc.c: Likewise.
19331 * string/test-strstr-ifunc.c: Likewise.
19333 * debug/Makefile (tests-ifunc): New variable.
19334 (tests): Add $(tests-ifunc).
19335 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19336 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19337 * debug/test-stpcpy_chk-ifunc.c: New file.
19338 * debug/test-strcpy_chk-ifunc.c: Likewise.
19340 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19343 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19344 header is not read in.
19346 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19348 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19349 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19350 directly. Pass built executable to script as
19351 $(built-program-cmd).
19352 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19353 $testprogram without using LD_LIBRARY_PATH and $ldso.
19355 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19356 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19357 $(rtld-installed-name).
19358 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19359 (rtld_installed_name): Likewise.
19360 (library_path): Likewise.
19361 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19362 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19363 $(run-program-prefix) to tst-tables.sh.
19364 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19365 it to run tst-table-from and tst-table-to.
19366 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19367 Pass it to tst-table.sh.
19368 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19369 $(run-program-prefix) to tst-gettext.sh.
19370 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19372 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19374 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19375 to run tst-gettext.
19376 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19377 to run tst-gettext2.
19378 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19379 to run tst-translit.
19380 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19381 $(run-program-prefix) to tst-mtrace.sh.
19382 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19384 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19385 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19386 $(rtld-installed-name).
19387 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19388 (rtld_installed_name): Likewise.
19389 (run_program_prefix): New variable. Use it to run wordexp-test.
19391 * Makeconfig (ARCH): Remove all definitions.
19392 (machine): Likewise.
19393 [ARCH]: Remove conditional code.
19394 [!objdir]: Give error.
19395 [!objdir] (objpfx): Remove.
19396 [!objdir] (common-objpfx): Likewise.
19397 [!objdir] (common-objdir): Likewise.
19398 * configure.in (config_makefile): Remove. Hardcode Makefile in
19399 AC_CONFIG_FILES call.
19400 * configure: Regenerated.
19403 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19405 (testout): Likewise.
19407 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19408 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19409 $(rtld-installed-name).
19410 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19411 (rtld_installed_name): Likwise.
19412 (runit): Remove function.
19413 (run_getconf): New variable, Use it for running getconf binary.
19415 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19418 * string/test-memmem.c (check_result): New function.
19419 (do_one_test): Use it.
19420 (check1): New function.
19421 (test_main): Use it.
19423 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19425 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19427 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19429 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19430 (_G_LSEEK64): Likewise.
19431 (_G_MMAP64): Likewise.
19432 (_G_FSTAT64): Likewise.
19433 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19434 (_G_LSEEK64): Likewise.
19435 (_G_MMAP64): Likewise.
19436 (_G_FSTAT64): Likewise.
19437 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19438 unconditional. Call __mmap64 directly.
19439 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19440 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19441 __lseek64 directly.
19442 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19443 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19445 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19446 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19447 __lseek64 directly.
19448 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19449 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19450 __lseek64 directly.
19451 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19452 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19453 __lseek64 directly.
19454 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19455 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19456 __fxstat64 directly.
19457 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19458 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19460 (freopen64) [!_G_OPEN64]: Remove conditional code.
19461 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19463 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19464 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19466 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19467 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19469 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19470 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19472 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19473 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19475 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19476 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19478 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19479 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19481 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19483 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19486 * manual/memory.texi (Malloc Tunable Parameters): Add note
19487 about free list pointers overwriting some perturb bytes.
19488 Wording suggested by Roland McGrath.
19490 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19492 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19493 (lgamma_test): Likewise.
19494 (tgamma_test): Likewise.
19496 2012-10-16 Florian Weimer <fweimer@redhat.com>
19499 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19500 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19502 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19504 * NEWS: Mention BZ #14716.
19505 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19506 when removing AVAILABLE1_USES_J macro.
19508 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19510 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19511 (__bswap_64): __uint64_t for unsigned 64-bit int.
19513 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19515 * include/string.h (memmem): Declare libc hidden alias.
19516 * string/memmem.c (memmem): Define libc hidden alias.
19517 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19518 __read, __close instead of open, read, close.
19520 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19523 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19525 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19526 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19527 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19529 (__rawmemchr_sse2): Likewise.
19530 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19531 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19532 (__strchr_sse2): Likewise.
19533 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19534 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19535 (__strcasecmp_sse2): Likewise.
19536 (__strncasecmp_sse2): Likewise.
19537 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19538 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19539 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19540 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19541 (__strrchr_sse2): Likewise.
19542 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19544 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19545 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19546 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19547 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19548 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19549 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19550 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19551 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19552 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19553 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19554 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19555 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19556 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19557 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19558 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19559 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19560 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19561 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19562 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19563 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19564 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19565 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19566 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19567 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19568 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19570 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19571 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19572 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19573 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19575 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19577 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19578 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19579 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19580 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19582 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19584 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19585 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19586 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19587 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19591 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19592 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19593 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19594 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19595 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19596 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19597 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19598 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19599 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19600 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19601 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19602 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19603 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19604 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19605 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19606 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19607 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19608 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19609 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19610 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19611 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19612 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19613 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19614 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19616 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19617 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19618 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19619 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19620 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19621 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19622 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19623 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19624 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19625 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19626 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19627 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19628 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19629 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19631 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19632 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19633 * include/ifunc-impl-list.h: New file.
19634 * misc/ifunc-impl-list.c: Likewise.
19635 * misc/Makefile (routines): Add ifunc-impl-list.
19636 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19637 * string/test-string.h: Include <ifunc-impl-list.h>.
19638 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19639 impl_array): New variables.
19640 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19642 (test_init): Call __libc_ifunc_impl_list to initialize
19643 func_list if TEST_IFUNC and TEST_NAME are defined.
19645 * string/Makefile (strop-tests): Add bcopy and bzero.
19646 * string/test-bcopy.c: New file.
19647 * string/test-bzero.c: Likewise.
19648 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19650 * string/test-memset.c: Support bzero test if TEST_BZERO is
19652 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19654 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19656 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19659 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19661 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19662 * configure: Regenerated.
19664 * Makeconfig (+link-static-before-libc): Don't include
19665 $(link-static-libc).
19667 * libio/libio.h (_IO_pos_t): Remove.
19669 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19671 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19674 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19676 * crypt/crypt-entry.c: Include fips-private.h.
19677 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19678 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19679 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19680 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19682 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19684 * crypt/crypt-private.h: Include stdbool.h.
19685 (_ufc_setup_salt_r): Return bool.
19686 * crypt/crypt-entry.c: Include errno.h.
19687 (__crypt_r): Return NULL with EINVAL for bad salt.
19688 * crypt/crypt_util.c (bad_for_salt): New.
19689 (_ufc_setup_salt_r): Check that salt is long enough and within
19690 the specified alphabet.
19691 * crypt/badsalttest.c: New file.
19692 * crypt/Makefile (tests): Add it.
19693 ($(objpfx)badsalttest): New.
19695 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19697 * NEWS: Add entry for BZ #14602.
19699 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19701 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19703 * math/libm-test.inc: Update comment listing what functions and
19705 (isgreater_test): New function.
19706 (isgreaterequal_test): Likewise.
19707 (isless_test): Likewise.
19708 (islessequal_test): Likewise.
19709 (islessgreater_test): Likewise.
19710 (isunordered_test): Likewise.
19711 (main): Call the new functions.
19713 2012-10-09 Roland McGrath <roland@hack.frob.com>
19715 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19716 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19717 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19718 * sysdeps/i386/configure: Regenerated.
19719 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19720 * sysdeps/mach/configure: Regenerated.
19721 * sysdeps/mach/hurd/configure: Regenerated.
19722 * sysdeps/powerpc/configure: Regenerated.
19723 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19724 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19725 * sysdeps/s390/s390-32/configure: Regenerated.
19726 * sysdeps/s390/s390-64/configure: Regenerated.
19727 * sysdeps/sh/configure: Regenerated.
19728 * sysdeps/sparc/configure: Regenerated.
19729 * sysdeps/unix/sysv/linux/configure: Regenerated.
19730 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19731 * sysdeps/x86_64/configure: Regenerated.
19733 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19734 defined. Don't check if MAP is NULL.
19736 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19738 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19739 (_G_stat64): Likewise.
19740 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19741 (_G_stat64): Likewise.
19742 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19743 instead of struct _G_stat64.
19744 * libio/fileops.c (mmap_remap_check): Likewise.
19745 (decide_maybe_mmap): Likewise.
19746 (_IO_new_file_seekoff): Likewise.
19747 (_IO_file_stat): Likewise.
19748 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19750 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19751 instead of struct _G_stat64.
19752 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19754 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19757 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19759 (CHECK_EOL): New macro.
19760 (two_way_short_needle): Check beginning of haystack for EOL. Use
19762 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19763 Replace with CHECK_EOL.
19764 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19765 Replace with CHECK_EOL.
19767 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19769 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19771 * math/libm-test.inc: Update comment listing what functions and
19773 (finite_test): New function.
19774 (isinf_test): Likewise.
19775 (isnan_test): Likewise.
19776 (fpclassify_test): Test subnormal input.
19777 (isfinite_test): Likewise.
19778 (isnormal_test): Likewise.
19779 (main): Call the new functions.
19781 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19784 * Makerules (%.dynsym): Force C locale when running
19785 $(OBJDUMP) --dynamic-syms.
19787 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19789 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19792 2012-10-06 David S. Miller <davem@davemloft.net>
19794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19795 upper 32-bits of the length value in %o2 since we use branch-on-register
19796 tests which consider the entire 64-bit register.
19798 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19800 * string/test-strstr.c (check2): Add a test for page boundary.
19802 2012-10-05 David S. Miller <davem@davemloft.net>
19804 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19805 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19807 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19809 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19810 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19811 and bzero when HWCAP_SPARC_CRYPTO is present.
19813 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19816 * string/test-strstr.c (check2): New function.
19817 (test_main): Call check2.
19819 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19821 * string/bug-strcasestr1.c (do_test): Moved to ...
19822 * string/test-strcasestr.c (check1): Here. New function.
19823 (do_one_test): Break out result checking code into ...
19824 (check_result): This. New function.
19825 (do_one_test): Call check_result.
19826 (test_main): Call check1.
19827 * string/bug-strchr1.c (do_test): Moved to ...
19828 * string/test-strchr.c (check1): Here. New function.
19829 (do_one_test): Break out result checking code into ...
19830 (check_result): This. New function.
19831 (do_one_test): Call check_result.
19832 (test_main): Call check1.
19833 * string/bug-strstr1.c (main): Moved to ...
19834 * string/test-strstr.c (check1): Here. New function.
19835 (do_one_test): Break out result checking code into ...
19836 (check_result): This. New function.
19837 (do_one_test): Call check_result.
19838 (test_main): Call check1.
19839 * string/bug-strcasestr1.c: Removed.
19840 * string/bug-strchr1.c: Likewise.
19841 * string/bug-strstr1.c: Likewise.
19843 * elf/Makefile (dl-routines): Add hwcaps.
19844 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19845 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19846 (_dl_important_hwcaps): Moved to ...
19847 * elf/dl-hwcaps.c: Here. New file.
19848 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19851 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19852 if IS_IN_rtld isn't defined.
19854 * elf/dl-support.c (_dl_sysinfo_map): New.
19855 Include "get-dynamic-info.h" and "setup-vdso.h".
19856 (_dl_non_dynamic_init): Call setup_vdso.
19857 * elf/dynamic-link.h: Don't include <assert.h>.
19858 (elf_get_dynamic_info): Moved to ...
19859 * elf/get-dynamic-info.h: Here. New file.
19860 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19861 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19862 * elf/setup-vdso.h: Here. New file.
19863 * elf/rtld.c: Include "setup-vdso.h".
19864 (dl_main): Call setup_vdso.
19866 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19868 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19869 creal in comment listing functions tested. List finite, isinf,
19870 isnan, isless, islessequal, isgreater, isgreaterequal,
19871 islessgreater, isunordered, lgamma_r and pow10 as functions and
19872 macros not tested. Mention which functions not tested are aliases
19873 for other functions. Fix typo. Note that signs of NaNs are not
19876 * scripts/config.guess: Update from config.git.
19877 * scripts/config.sub: Likewise.
19879 2012-10-04 Roland McGrath <roland@hack.frob.com>
19881 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19882 * misc/madvise.c (madvise): Renamed to __madvise.
19883 Make madvise a weak alias.
19884 * include/sys/mman.h: Declare __madvise.
19885 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19886 * sysdeps/unix/syscalls.list
19887 (madvise): Make __madvise the strong name, and madvise a weak alias.
19888 * sysdeps/unix/sysv/linux/syscalls.list
19889 (madvise, mmap): Remove redundant entries.
19890 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19891 * malloc/malloc.c (mtrim): Likewise.
19892 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19894 2012-10-03 Roland McGrath <roland@hack.frob.com>
19896 * sysdeps/mach/hurd/dl-cache.c: File removed.
19897 * config.h.in (USE_LDCONFIG): New #undef.
19898 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19899 * configure: Regenerated.
19900 * elf/Makefile (dl-routines): Add dl-cache only under
19901 [$(use-ldconfig) = yes].
19902 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19903 cache on [USE_LDCONFIG].
19904 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19906 * elf/rtld.c (dl_main): Likewise.
19908 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19910 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19911 _SC_LEVEL4_CACHE_LINESIZE.
19913 2012-10-03 Roland McGrath <roland@hack.frob.com>
19915 * sysdeps/unix/bsd/confstr.h: File removed.
19917 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19919 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19922 2012-10-02 Roland McGrath <roland@hack.frob.com>
19924 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19925 Make 'mapoff' field ElfW(Off) rather than off_t.
19927 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19929 * nscd/Makefile: Remove nscd-cflags and all its users.
19930 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19931 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19934 * malloc.c (malloc_printerr): Clarify error message.
19936 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19940 Set bit_FMA_Usable if FMA is supported.
19941 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19943 (bit_FMA4_Usable): Updated.
19944 (index_FMA_Usable): New macro.
19945 (CPUID_FMA): Likewise
19946 (HAS_FMA): Defined with bit_FMA_Usable.
19948 2012-10-01 Roland McGrath <roland@hack.frob.com>
19950 * bits/types.h (__swblk_t): Type removed.
19951 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19952 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19954 (__SWBLK_T_TYPE): Likewise.
19955 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19956 (__SWBLK_T_TYPE): Likewise.
19957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19958 (__SWBLK_T_TYPE): Likewise.
19959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19960 (__SWBLK_T_TYPE): Likewise.
19962 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19963 Honza Horak <hhorak@redhat.com>
19965 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19966 (xdr_mapname): Use YPMAXMAP as maxsize.
19967 (xdr_peername): Use YPMAXPEER as maxsize.
19968 (xdr_keydat): Use YPAXRECORD as maxsize.
19969 (xdr_valdat): Use YPMAXRECORD as maxsize.
19971 2012-10-01 Roland McGrath <roland@hack.frob.com>
19973 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19975 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19976 * csu/init-first.c: ... here.
19977 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19978 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19979 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19980 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19981 * sysdeps/i386/init-first.c: File removed.
19982 * sysdeps/sh/init-first.c: File removed.
19984 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19988 if x * y might underflow to zero and z is zero.
19989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19990 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19991 * math/libm-test.inc (min_subnorm_value): New variable.
19992 (fma_test): Add more tests.
19993 (fma_test_towardzero): Likewise.
19994 (fma_test_downward): Likewise
19995 (fma_test_upward): Likewise.
19996 (initialize): Set min_subnorm_value.
19998 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20004 mode for addition resulting in exact zero.
20005 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20008 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20010 * math/libm-test.inc (fma_test): Add more tests.
20011 (fma_test_towardzero): New function.
20012 (fma_test_downward): Likewise.
20013 (fma_test_upward): Likewise.
20014 (main): Call the new functions.
20016 2012-09-28 David S. Miller <davem@davemloft.net>
20018 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20020 2012-09-28 Roland McGrath <roland@hack.frob.com>
20022 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20023 instead of SIGALRM.
20025 * sysdeps/gnu/_G_config.h: Moved to ...
20026 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20027 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20028 * sysdeps/generic/_G_config.h: ... here.
20030 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20032 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20034 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20035 Conditionalize target on [libnss_test1.so-version].
20037 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20039 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20040 (elfobjdir): Move out of conditionals.
20042 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20043 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20044 (__nss_lookup_function): Conditionalize label remove_from_tree on
20045 [!DO_STATIC_NSS || SHARED], matching its only use.
20047 2012-09-28 David S. Miller <davem@davemloft.net>
20049 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20050 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20052 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20054 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20056 when HWCAP_SPARC_CRYPTO is present.
20058 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20060 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20062 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20065 * stdio-common/vfprintf.c (process_string_arg): Revert
20068 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20070 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20072 * stdio-common/tst-sprintf.c: Include <locale.h>
20073 (main): Test sprintf's handling of incomplete multibyte
20076 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20078 * elf/dl-runtime.c (VERSYMIDX): Removed.
20079 * elf/dl-version.c (VERSYMIDX): Likewise.
20080 * elf/do-rel.h (VERSYMIDX): Likewise.
20081 (VALIDX): Likewise.
20082 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20083 * elf/rtld.c (VALIDX): Likewise.
20084 (ADDRIDX): Likewise.
20085 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20086 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20087 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20088 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20089 (VALIDX): Likewise.
20090 (ADDRIDX): Likewise.
20092 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20094 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20096 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20099 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20101 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20102 addresses are in the same scope as 192.0.2/24.
20103 * posix/gai.conf: Document new scope table defaults.
20105 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20108 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20109 for ftell. Compute offsets from write pointers instead.
20110 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20112 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20115 * libio/Makefile (tests): New test case tst-fseek.
20116 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20117 combination works in wide mode.
20118 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20119 state when the external buffer state changes.
20121 2012-09-27 David S. Miller <davem@davemloft.net>
20124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20125 pass reloc->r_addend in as the 'high' argument to
20126 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20130 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20132 * rt/tst-aio2.c: Include <pthread.h>.
20133 * rt/tst-aio3.c: Likewise.
20135 2012-09-27 Steve Ellcey <sellcey@mips.com>
20137 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20139 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20141 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20142 contents on [SHARED].
20144 2012-09-26 Marek Polacek <polacek@redhat.com>
20148 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20149 for C++ and GCC <4.3 as well as for non GCC compilers.
20151 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20155 2012-09-25 Roland McGrath <roland@hack.frob.com>
20157 * Makefile.in (all, install): Declare with .PHONY.
20158 Reported by Michael Hope <michael.hope@linaro.org>.
20160 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20162 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20163 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20165 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20167 (sydep_routines): Add the new and the internal functions.
20168 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20169 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20171 (GLIBC_2.17): Add the new function.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20173 (GLIBC_2.17): Likewise.
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20175 (GLIBC_2.17): Likewise.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20177 (GLIBC_2.17): Likewise.
20178 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20180 2012-09-25 Alan Modra <amodra@gmail.com>
20182 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20183 Add release barrier before setting once_control to say
20184 initialisation is done. Add hints on lwarx. Use macro in
20186 (clear_once_control): Add release barrier.
20188 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20191 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20193 * math/s_clog10.c (__clog10): Likewise.
20194 * math/s_clog10f.c (__clog10f): Likewise.
20195 * math/s_clog10l.c (__clog10l): Likewise.
20196 * math/s_clogf.c (__clogf): Likewise.
20197 * math/s_clogl.c (__clogl): Likewise.
20198 * math/Makefile (libm-calls): Add x2y2m1.
20199 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20200 (__x2y2m1): Likewise.
20201 (__x2y2m1l): Likewise.
20202 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20203 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20206 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20207 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20208 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20209 * sysdeps/i386/fpu/libm-test-ulps: Update.
20210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20213 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20214 int as type of variable DEPTH.
20215 (glob): Use size_t instead of int as type of variables NEWCOUNT
20218 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20220 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20221 Add s_sincosf-sse2.
20222 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20223 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20224 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20225 macros for using routine as __sincosf_ia32.
20226 Use macro for function declaration and weak_alias.
20227 * sysdeps/i386/fpu/libm-test-ulps: Update.
20229 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20232 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20233 subnormal argument.
20234 * math/s_cexpf.c (__cexpf): Likewise.
20235 * math/s_csinf.c (__csinf): Likewise.
20236 * math/s_csinhf.c (__csinhf): Likewise.
20237 * math/s_ctanf.c (__ctanf): Likewise.
20238 * math/s_ctanhf.c (__ctanhf): Likewise.
20239 * math/s_ccosh.c (__ccoshf): Likewise.
20240 * math/s_cexp.c (__cexpl): Likewise.
20241 * math/s_csin.c (__csin): Likewise.
20242 * math/s_csinh.c (__csinh): Likewise.
20243 * math/s_ctan.c (__ctan): Likewise.
20244 * math/s_ctanh.c (ctanh): Likewise.
20245 * math/s_ccoshl.c (__ccoshl): Likewise.
20246 * math/s_cexpl.c (__cexpl): Likewise.
20247 * math/s_csinl.c (__csinl): Likewise.
20248 * math/s_csinhl.c (__csinhl): Likewise.
20249 * math/s_ctanl.c (__ctanl): Likewise.
20250 * math/s_ctanhl.c (__ctanhl): Likewise.
20252 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20254 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20255 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20256 (_IO_off_t): Define to __off_t, not _G_off_t.
20257 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20258 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20259 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20260 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20261 type of __dummy and __dummy2 fields.
20262 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20263 (_G_ssize_t): Likewise.
20264 (_G_off_t): Likewise.
20265 (_G_pid_t): Likewise.
20266 (_G_uid_t): Likewise.
20267 (_G_wchar_t): Likewise.
20268 (_G_wint_t): Likewise.
20269 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20270 (_G_ssize_t): Likewise.
20271 (_G_off_t): Likewise.
20272 (_G_pid_t): Likewise.
20273 (_G_uid_t): Likewise.
20274 (_G_wchar_t): Likewise.
20275 (_G_wint_t): Likewise.
20276 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20277 (_G_ssize_t): Likewise.
20278 (_G_off_t): Likewise.
20279 (_G_pid_t): Likewise.
20280 (_G_uid_t): Likewise.
20281 (_G_wchar_t): Likewise.
20282 (_G_wint_t): Likewise.
20284 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20286 * malloc/arena.c: Include malloc-sysdep.h.
20287 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20288 is sufficient to shrink the heap or an unmap is needed.
20289 * sysdeps/generic/malloc-sysdep.h: New file. Define
20290 new function check_may_shrink_heap.
20291 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20292 new function check_may_shrink_heap.
20294 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20296 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20299 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20301 * catgets/test-gencat.sh: Add "set -e".
20302 * elf/tst-pathopt.sh: Likewise.
20303 * grp/tst_fgetgrent.sh: Likewise.
20304 * iconvdata/run-iconv-test.sh: Likewise.
20305 * intl/tst-gettext.sh: Likewise.
20306 * intl/tst-gettext2.sh: Likewise.
20307 * intl/tst-gettext4.sh: Likewise.
20308 * intl/tst-gettext6.sh: Likewise.
20309 * intl/tst-translit.sh: Likewise.
20310 * io/ftwtest-sh: Likewise.
20311 * libio/test-freopen.sh: Likewise.
20312 * malloc/tst-mtrace.sh: Likewise.
20313 * posix/globtest.sh: Likewise.
20314 * posix/tst-getconf.sh: Likewise.
20315 * posix/wordexp-tst.sh: Likewise.
20316 * stdio-common/tst-printf.sh: Likewise.
20317 * stdio-common/tst-unbputc.sh: Likewise.
20318 * stdlib/tst-fmtmsg.sh: Likewise.
20319 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20320 * catgets/Makefile: Do not specify -e option when running
20321 testsuite shell scripts.
20322 * elf/Makefile: Likewise.
20323 * grp/Makefile: Likewise.
20324 * iconvdata/Makefile: Likewise.
20325 * intl/Makefile: Likewise.
20326 * io/Makefile: Likewise.
20327 * libio/Makefile: Likewise.
20328 * malloc/Makefile: Likewise.
20329 * posix/Makefile: Likewise.
20330 * stdio-common/Makefile: Likewise.
20331 * stdlib/Makefile: Likewise.
20332 * sysdeps/x86_64/Makefile: Likewise.
20334 * io/ftwtest-sh: Add copyright header.
20335 * posix/globtest.sh: Likewise.
20336 * posix/tst-getconf.sh: Likewise.
20337 * posix/wordexp-tst.sh: Likewise.
20338 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20340 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20343 * Makeconfig (+link): Defined as $(+link-static) if
20344 $(build-shared) isn't yes.
20345 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20347 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20349 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20352 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20353 new chunk size with MALLOC_ALIGN_MASK.
20355 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20358 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20360 (__printf_fphex): Determine rounding using get_rounding_mode and
20362 * stdio-common/tst-printf-round.c (struct hex_test): New
20364 (hex_tests): New variable.
20365 (test_hex_in_one_mode): New function.
20366 (do_test): Also run tests for hex float output.
20368 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20370 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20371 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20372 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20373 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20374 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20375 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20376 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20377 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20379 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20381 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20382 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20383 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20384 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20386 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20389 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20391 * elf/tst-rtld-load-self.sh: New test.
20392 * elf/Makefile: Run it.
20394 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20396 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20397 (tst-writev-ENV): Remove.
20398 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20400 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20402 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20404 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20406 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20408 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20410 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20411 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20412 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20415 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20418 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20419 * config.make.in (have-cpp-asm-debuginfo): Removed.
20420 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20421 * configure: Regenerated.
20423 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20426 * stdio-common/printf_fp.c: Include <stdbool.h> and
20428 (___printf_fp): Determine rounding using get_rounding_mode and
20430 * stdio-common/tst-printf-round.c: New file.
20431 * stdio-common/Makefile (tests): Add tst-printf-round.
20432 (link-libm): New variable.
20433 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20435 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20438 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20439 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20441 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20444 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20446 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20447 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20448 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20449 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20451 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20454 * include/rounding-mode.h: New file.
20455 * sysdeps/generic/get-rounding-mode.h: Likewise.
20456 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20457 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20458 (MAX_VALUE): New macro.
20459 (MIN_VALUE): Likewise.
20460 (overflow_value): New function.
20461 (underflow_value): Likewise.
20462 (round_and_return): Use overflow_value and underflow_value to
20463 determine return values in overflow and underflow cases. Use
20464 round_away to determine rounding depending on rounding mode.
20465 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20466 determine return values in overflow and underflow cases.
20467 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20468 (struct test_results): New structure.
20469 (struct test): Use struct test_results to store expected results
20470 for all rounding modes.
20471 (TEST): Include expected results for all rounding modes.
20472 (test_in_one_mode): New function.
20473 (do_test): Use test_in_one_mode to compute and check results.
20474 Check results for all rounding modes.
20475 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20478 2012-12-09 Allan McRae <allan@archlinux.org>
20480 * sysdeps/i386/fpu/libm-test-ulps: Update
20482 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20484 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20485 (_G_int32_t): Likewise.
20486 (_G_uint16_t): Likewise.
20487 (_G_uint32_t): Likewise.
20488 (_G_HAVE_BOOL): Likewise.
20489 (_G_HAVE_ATEXIT): Likewise.
20490 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20491 (_G_HAVE_IO_FILE_OPEN): Likewise.
20492 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20493 (_G_int32_t): Likewise.
20494 (_G_uint16_t): Likewise.
20495 (_G_uint32_t): Likewise.
20496 (_G_HAVE_BOOL): Likewise.
20497 (_G_HAVE_ATEXIT): Likewise.
20498 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20499 (_G_HAVE_IO_FILE_OPEN): Likewise.
20500 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20501 (_G_int32_t): Likewise.
20502 (_G_uint16_t): Likewise.
20503 (_G_uint32_t): Likewise.
20504 (_G_HAVE_BOOL): Likewise.
20505 (_G_HAVE_ATEXIT): Likewise.
20506 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20507 (_G_HAVE_IO_FILE_OPEN): Likewise.
20509 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20511 * csu/libc-tls.c: Update copyright years.
20513 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20515 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20516 [!_G_USING_THUNKS]: Remove conditional code.
20517 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20518 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20520 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20521 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20522 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20523 (_G_VTABLE_LABEL_PREFIX): Likewise.
20524 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20525 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20526 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20527 (_G_VTABLE_LABEL_PREFIX): Likewise.
20528 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20529 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20530 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20531 (_G_VTABLE_LABEL_PREFIX): Likewise.
20532 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20534 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20536 * libio/Makefile: Include ../Makeconfig before tests.
20537 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20538 only if $(build-shared) is yes.
20540 * iconv/gconv_db.c: Update copyright years.
20542 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20544 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20545 unwind info if defined PIC. Fix special cases description.
20546 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20548 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20550 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20552 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20554 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20556 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20559 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20560 (LDLIBS-tst-chk4): This.
20561 (LDFLAGS-tst-chk5): Renamed to ...
20562 (LDLIBS-tst-chk5): This.
20563 (LDFLAGS-tst-chk6): Renamed to ...
20564 (LDLIBS-tst-chk6): This.
20565 (LDFLAGS-tst-lfschk4): Renamed to ...
20566 (LDLIBS-tst-lfschk4): This.
20567 (LDFLAGS-tst-lfschk5): Renamed to ...
20568 (LDLIBS-tst-lfschk5): This.
20569 (LDFLAGS-tst-lfschk6): Renamed to ...
20570 (LDLIBS-tst-lfschk6): This.
20572 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20573 on $(common-objpfx)soversions.mk.
20575 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20578 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20581 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20583 * malloc/arena.c (arena_get_retry): New function that gets
20584 another arena for the caller to try its request on.
20585 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20586 current arena cannot fulfill the request.
20587 (__libc_memalign): Likewise.
20588 (__libc_memalign): Likewise.
20589 (__libc_pvalloc): Likewise.
20590 (__libc_calloc): Likewise.
20592 2012-09-05 John Tobey <john.tobey@gmail.com>
20595 * manual/arith.texi (Operations on Complex): Fix description
20596 of carg branch cut.
20598 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20601 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20605 * manual/memory.texi (Memory): Make order of menu items match
20608 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20610 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20611 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20612 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20614 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20616 * csu/libc-tls.c (static_dtv): Renamed to ...
20617 (_dl_static_dtv): This. Make it global.
20618 (_dl_initial_dtv): Removed.
20619 (__libc_setup_tls): Updated.
20620 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20621 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20624 2012-09-06 Petr Machata <pmachata@redhat.com>
20626 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20627 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20628 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20629 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20631 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20634 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20635 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20638 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20641 * Makeconfig (link-static-before-libc): Replace $(+prector)
20643 (link-static-after-libc): Replace $(+postctor) with
20645 (link-bounded): Replace $(+prector)/$(+postctor) with
20646 $(+prectorT)/$(+postctorT).
20647 (+prectorT): New macro.
20648 (+postctorT): Likewise.
20650 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20652 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20653 (round_str): Handle values above the maximum for IBM long double
20655 * stdlib/tst-strtod-round.c (tests): Regenerated.
20657 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20659 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20661 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20662 zarch_nohighgprs around the zarch optimized routines.
20663 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20664 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20665 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20668 2012-09-05 David S. Miller <davem@davemloft.net>
20670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20672 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20673 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20674 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20675 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20678 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20680 * malloc/arena.c: Fold copyright years.
20681 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20683 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20685 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20687 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20689 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20691 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20693 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20694 change internal state upon failure.
20696 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20698 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20699 * malloc/memusage.c (mmap): Likewise.
20700 (mmap64, mremap): Likewise. Adjust name in comment.
20702 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20704 * libio/fileops.c: Fix typos in comments.
20705 * libio/oldfileops.c: Likewise.
20706 * libio/wfileops.c: Likewise.
20708 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20711 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20712 (tst-malloc-usable-ENV): Set environment for test case.
20713 * malloc/hooks.c (malloc_check_get_size): New function to get
20715 * malloc/malloc.c (musable): Use malloc_check_get_size.
20716 * malloc/tst-malloc-usable.c: New test case.
20718 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20720 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20722 2012-09-05 Allan McRae <allan@archlinux.org>
20725 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20726 determine header location.
20727 * configure: Regenerated.
20729 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20731 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20733 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20734 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20736 (test): Regenerate.
20738 2012-09-04 David S. Miller <davem@davemloft.net>
20740 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20741 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20742 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20744 2012-09-04 Florian Weimer <fweimer@redhat.com>
20746 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20749 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20751 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20754 * libio/iogetdelim.c: Include <limits.h>.
20755 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20756 + len + 1 would overflow.
20758 2012-09-03 Andreas Jaeger <aj@suse.de>
20760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20761 * sysdeps/i386/fpu/libm-test-ulps: Update.
20763 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20765 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20766 Add s_sinf-sse2, s_conf-sse2.
20768 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20769 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20770 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20771 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20773 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20774 for using routine as __sinf_ia32.
20775 Use macro for function declaration and weak_alias.
20776 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20777 for using routine as __cosf_ia32.
20778 Use macro for function declaration and weak_alias.
20780 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20781 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20783 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20784 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20787 * math/libm-test.inc (cos_test): Add more test cases.
20788 (sin_test): Likewise.
20789 (sincos_test): Likewise.
20791 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20793 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20794 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20796 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20798 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20801 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20802 first element of the GOT.
20803 (elf_machine_load_address): Return the difference between
20804 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20806 2012-09-01 Allan McRae <allan@archlinux.org>
20809 * configure.in (AWK): Require gawk version 3.0 or later.
20810 * configure: Regenerated.
20812 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20814 * sysdeps/unix/sysv/linux/kernel-features.h
20815 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20816 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20817 [__NR_clock_getres]: Make code unconditional.
20818 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20819 (clock_getcpuclockid): Remove code left unreachable by removal of
20821 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20822 code unconditional.
20823 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20824 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20825 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20826 Make code unconditional.
20827 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20828 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20829 * sysdeps/unix/sysv/linux/clock_settime.c
20830 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20832 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20833 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20835 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20838 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20839 scripts/test-installation.pl.
20841 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20842 and $ld_so_version if it is set.
20844 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20847 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20848 failure if reading from procfs failed.
20849 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20851 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20853 * sysdeps/unix/sysv/linux/kernel-features.h
20854 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20855 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20856 Remove conditional code.
20857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20858 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20859 Remove conditional code.
20860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20861 * sysdeps/unix/sysv/linux/i386/fxstat.c
20862 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20863 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20864 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20865 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20866 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20867 * sysdeps/unix/sysv/linux/i386/lxstat.c
20868 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20870 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20871 Remove conditional code.
20872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20873 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20874 Remove conditional code.
20875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20876 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20877 <kernel-features.h>.
20878 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20880 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20881 Remove conditional code.
20882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20883 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20884 Remove conditional.
20886 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20889 * NEWS: Add fixed bug number.
20891 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20894 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20895 underflowing exponent in case of negative sign.
20896 * stdlib/tst-strtod-round-data: Add more tests.
20897 * stdlib/tst-strtod-round.c (tests): Regenerated.
20900 * stdlib/strtod_l.c (NDIG): Remove.
20901 (HEXNDIG): Likewise.
20902 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20903 smallest representable value.
20904 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20905 lie within an exact representation of 1/2 ulp of the result.
20906 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20908 (TENS_P9_IDX): Define unconditionally.
20909 (TENS_P9_SIZE): Likewise.
20910 (TENS_P10_IDX): Likewise.
20911 (TENS_P10_SIZE): Likewise.
20912 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20913 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20914 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20915 entries for 10^2^13 and 10^2^14.
20916 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20917 (TENS_P13_IDX): Define.
20918 (TENS_P13_SIZE): Likewise.
20919 (TENS_P14_IDX): Likewise.
20920 (TENS_P14_SIZE): Likewise.
20921 (_fpioconst_pow10): Change array size to
20922 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20924 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20925 1024]: Add entries for 10^2^13 and 10^2^14.
20926 [LAST_POW10 > _LAST_POW10]: Remove #error.
20927 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20928 (_fpioconst_pow10): Change array size to
20929 FPIOCONST_POW10_ARRAY_SIZE.
20930 * stdlib/gen-fpioconst.c: New file.
20931 * stdlib/gen-tst-strtod-round.c: Likewise.
20932 * stdlib/tst-strtod-round-data: Likewise.
20933 * stdlib/tst-strtod-round.c: Likewise.
20934 * stdlib/Makefile (tests): Add tst-strtod-round.
20937 * stdlib/strtod_l.c: Include <stdint.h>.
20938 (NDEBUG): Do not define.
20939 (round_and_return): Change EXPONENT parameter to type intmax_t.
20940 Rearrange calculations to avoid internal overflow possibilities.
20941 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20942 Rearrange calculations to avoid internal overflow possibilities.
20943 Assert that number fits inside MPNSIZE limbs.
20944 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20945 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20946 calculations and add assertions to avoid internal overflow
20947 possibilities. Add casts to avoid signed/unsigned operations.
20948 * stdlib/tst-strtod-overflow.c: New file.
20949 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20951 2012-08-25 Marek Polacek <polacek@redhat.com>
20953 * time/time.h: Fix some typos in comments.
20955 2012-08-23 Roland McGrath <roland@hack.frob.com>
20957 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20958 * posix/tst-rfc3484-2.c: Likewise.
20959 * posix/tst-rfc3484-3.c: Likewise.
20961 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20963 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20964 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20966 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20968 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20969 #include of fxstatat64.c.
20971 2012-08-22 Roland McGrath <roland@hack.frob.com>
20973 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20974 * shadow/getspent_r.c: Likewise.
20975 * shadow/getspnam.c: Likewise.
20976 * shadow/getspnam_r.c: Likewise.
20977 * gshadow/getsgent.c: Likewise.
20978 * gshadow/getsgent_r.c: Likewise.
20979 * gshadow/getsgnam.c: Likewise.
20980 * gshadow/getsgnam_r.c: Likewise.
20981 * inet/getnetbyad.c: Likewise.
20982 * inet/getnetbyad_r.c: Likewise.
20983 * inet/getnetbynm.c: Likewise.
20984 * inet/getnetbynm_r.c: Likewise.
20985 * inet/getnetent.c: Likewise.
20986 * inet/getnetent_r.c: Likewise.
20987 * inet/getproto.c: Likewise.
20988 * inet/getproto_r.c: Likewise.
20989 * inet/getprtent.c: Likewise.
20990 * inet/getprtent_r.c: Likewise.
20991 * inet/getprtname.c: Likewise.
20992 * inet/getprtname_r.c: Likewise.
20993 * inet/getrpcbyname.c: Likewise.
20994 * inet/getrpcbyname_r.c: Likewise.
20995 * inet/getrpcbynumber.c: Likewise.
20996 * inet/getrpcbynumber_r.c: Likewise.
20997 * inet/getrpcent.c: Likewise.
20998 * inet/getrpcent_r.c: Likewise.
20999 * inet/getaliasent.c: Likewise.
21000 * inet/getaliasent_r.c: Likewise.
21001 * inet/getaliasname.c: Likewise.
21002 * inet/getaliasname_r.c: Likewise.
21003 * nscd/getgrgid_r.c: Likewise.
21004 * nscd/getgrnam_r.c: Likewise.
21005 * nscd/gethstbyad_r.c: Likewise.
21006 * nscd/gethstbynm3_r.c: Likewise.
21007 * nscd/getpwnam_r.c: Likewise.
21008 * nscd/getpwuid_r.c: Likewise.
21009 * nscd/getsrvbynm_r.c: Likewise.
21010 * nscd/getsrvbypt_r.c: Likewise.
21011 * nscd/gai.c: Likewise.
21013 * configure.in (build_nscd): New substituted variable, set
21014 by --disable-build-nscd and defaults to $use_nscd.
21015 * configure: Regenerated.
21016 * config.make.in (build-nscd): New substituted variable.
21017 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21018 Change conditional to require [$(build-nscd) = yes] as well.
21019 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21022 * configure.in (use_nscd): New substituted variable, set by
21023 --disable-nscd. If enabled, define USE_NSCD.
21024 * configure: Regenerated.
21025 * config.h.in: Add USE_NSCD.
21026 * config.make.in (use-nscd): New substituted variable.
21027 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21028 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21029 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21030 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21031 (CFLAGS-getgrnam_r.c): Likewise.
21032 (CFLAGS-initgroups.c): Likewise.
21033 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21034 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21036 * inet/getnetgrent_r.c
21037 (nscd_setnetgrent): New function, broken out of ...
21038 (setnetgrent): ... here. Call it.
21039 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21040 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21041 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21042 * nscd/Makefile (routines, aux): Move definitions after include of
21043 Makeconfig. Conditionalize on [$(use-nscd) != no].
21044 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21045 Conditionalize on [USE_NSCD].
21046 (is_nscd, nscd_init_cb): Likewise.
21047 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21048 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21049 * nss/nss_db/db-init.c: Likewise.
21050 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21052 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21053 (make_request): Use it.
21054 (cache_valid_p): New function.
21055 (__check_pf): Use it.
21056 * NEWS: Add item for --disable-nscd.
21058 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21060 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21061 to support sed >= 4.2.1-20-ga9bf076.
21062 * configure: Regenerated.
21064 2012-08-22 Roland McGrath <roland@hack.frob.com>
21066 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21067 Conditionalize whole body on [IREL].
21069 2012-08-22 Jeff Law <law@redhat.com>
21072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21073 if the family is PF_UNSPEC.
21075 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21077 * Makerules (lib-version): Rename from V.
21078 (install-lib-nosubdir): Change V to lib-version.
21080 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21083 * powerpc32/power6/wcschr.c: New file.
21084 * powerpc32/power6/wcscpy.c: New file.
21085 * powerpc32/power6/wcsrchr.c: New file.
21086 * powerpc64/power6/wcschr.c: New file.
21087 * powerpc64/power6/wcscpy.c: New file.
21088 * powerpc64/power6/wcsrchr.c: New file.
21090 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21092 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21093 (two_way_short_needle): Use it.
21094 * string/strstr.c (AVAILABLE1_USES_J): Define.
21095 * string/strcasestr.c: Likewise.
21097 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21099 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21102 * NEWS: Add an entry.
21103 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21104 define their defaults.
21105 (two_way_short_needle): Detect end-of-string on-the-fly.
21106 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21107 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21108 * string/bug-strcasestr1.c: New test.
21109 * string/Makefile: Run it.
21111 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21114 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21115 the first character.
21117 2012-08-21 Roland McGrath <roland@hack.frob.com>
21119 * csu/elf-init.c (__libc_csu_irel): Function removed.
21120 * csu/libc-start.c (apply_irel): New function.
21121 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21123 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21125 * sysdeps/unix/sysv/linux/kernel-features.h
21126 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21127 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21128 <kernel-features.h>.
21129 [__NR_fadvise64_64]: Make code unconditional.
21130 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21131 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21132 !__NR_fadvise64_64)]: Likewise.
21133 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21134 !__NR_fadvise64_64))]: Likewise.
21135 [__NR_fadvise64]: Make code unconditional.
21136 [!__NR_fadvise64]: Remove conditional code.
21137 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21138 <kernel-features.h>.
21139 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21141 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21144 not include <kernel-features.h>.
21145 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21147 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21149 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21150 include <kernel-features.h>.
21151 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21153 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21156 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21158 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21159 slight instruction rearrangements per scrollpipe analysis.
21160 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21162 2012-08-20 Roland McGrath <roland@hack.frob.com>
21164 * manual/syslog.texi (syslog; vsyslog, closelog):
21165 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21166 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21168 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21169 DSOCAPS to match condition on defining it.
21171 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21173 * sysdeps/unix/sysv/linux/kernel-features.h
21174 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21176 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21177 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21179 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21180 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21182 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21183 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21185 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21186 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21188 * sysdeps/unix/sysv/linux/kernel-features.h
21189 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21190 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21192 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21193 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21194 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21195 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21196 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21197 Make code unconditional.
21198 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21199 (__mmap64) [!__NR_mmap2]: Likewise.
21200 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21201 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21202 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21203 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21204 [__NR_mmap2]: Make code unconditional.
21205 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21206 (__mmap64) [!__NR_mmap2]: Likewise.
21208 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21210 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21212 2012-08-18 Andreas Jaeger <aj@suse.de>
21214 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21216 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21218 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21219 * include/unistd.h (__have_sock_cloexec): Likewise.
21220 (__have_pipe2): Likewise.
21221 (__have_dup3): Likewise.
21223 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21226 * include/unistd.h (__have_pipe2): Change define into an extern int.
21227 (__have_dup3): Likewise.
21228 * socket/have_sock_cloexec.c: Include fcntl.h.
21229 (__have_pipe2): New variable.
21230 (__have_dup3): Likewise.
21232 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21234 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21236 2012-08-17 Marek Polacek <polacek@redhat.com>
21238 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21239 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21241 2012-08-17 Roland McGrath <roland@hack.frob.com>
21243 * configure.in: Add AC_SUBST for sysheaders.
21244 * configure: Regenerated.
21245 * config.make.in (sysheaders): New substituted variable.
21247 * sysdeps/unix/mkfifo.c: Moved ...
21248 * sysdeps/posix/mkfifo.c: ... here.
21249 * sysdeps/unix/mkfifoat.c: Moved ...
21250 * sysdeps/posix/mkfifoat.c: ... here.
21252 * sysdeps/unix/utime.c: Moved ...
21253 * sysdeps/posix/utime.c: ... here.
21255 * sysdeps/unix/time.c: Moved ...
21256 * sysdeps/posix/time.c: ... here.
21257 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21258 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21260 * sysdeps/unix/nice.c: Moved ...
21261 * sysdeps/posix/nice.c: ... here.
21263 * sysdeps/unix/alarm.c: Moved ...
21264 * sysdeps/posix/alarm.c: ... here.
21266 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21268 2012-08-17 Jeff Law <law@redhat.com>
21270 * intl/Makefile (codeset_mo): New variable.
21271 ($(codeset_mo)): New target.
21272 (tst-codeset.out): Depend on that. Remove explicit rule.
21273 (tst-gettext3.out, tst-gettext5.out): Likewise.
21274 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21275 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21276 * intl/tst-codeset.sh: Remove.
21277 * intl/tst-gettext3.sh: Likewise.
21278 * intl/tst-gettext5.sh: Likewise.
21280 2012-08-17 Roland McGrath <roland@hack.frob.com>
21282 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21283 * sysdeps/unix/syscalls.list: ... here.
21285 * sysdeps/posix/getaddrinfo.c
21286 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21287 (gaiconf_init, gaiconf_reload): Use them.
21288 [!_STATBUF_ST_NSEC]
21289 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21290 Define using time_t rather than struct timespec.
21292 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21293 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21295 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21297 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21298 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21301 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21302 __libc_cleanup_push argument.
21304 * bits/param.h: New file.
21305 * misc/sys/param.h: New file.
21306 * include/sys/param.h: New file.
21307 * misc/Makefile (headers): Add bits/param.h.
21308 * sysdeps/generic/sys/param.h: File removed.
21309 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21310 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21311 * sysdeps/mach/hurd/bits/param.h: New file.
21312 * sysdeps/mach/hurd/sys/param.h: File removed.
21314 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21317 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21319 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21320 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21323 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21324 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21325 rather than -D_IO_MTSAFE_IO conditionally.
21326 * stdio-common/Makefile (CPPFLAGS): Likewise.
21327 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21328 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21329 Use $(libio-mtsafe).
21330 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21331 of -D_IO_MTSAFE_IO.
21332 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21333 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21334 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21335 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21336 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21337 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21338 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21339 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21340 (CFLAGS-fread_u_chk.c): Likewise.
21341 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21342 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21343 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21344 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21345 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21346 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21347 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21348 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21349 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21351 * libio/Makefile: Test [$(libc-reentrant) = yes]
21352 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21355 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21356 * sysdeps/pthread/configure: File removed.
21357 * sysdeps/pthread/Makeconfig: New file.
21358 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21359 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21361 2012-08-16 Gary Benson <gbenson@redhat.com>
21363 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21364 unmapping the first object in a namespace.
21366 2012-08-16 Roland McGrath <roland@hack.frob.com>
21368 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21369 (__internal_setnetgrent): ... this. Add internal_function to
21370 definition. Add libc_hidden_def.
21371 (setnetgrent): Update caller.
21372 (internal_endnetgrent): Renamed to ...
21373 (__internal_endnetgrent): ... this. Add internal_function to
21374 definition. Add libc_hidden_def.
21375 (endnetgrent): Update caller.
21376 (internal_getnetgrent_r): Renamed to ...
21377 (__internal_getnetgrent_r): ... this. Add internal_function to
21378 definition. Add libc_hidden_def.
21379 (__getnetgrent_r): Update caller.
21380 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21382 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21384 * stdlib/longlong.h: Update from GCC.
21386 2012-08-16 Roland McGrath <roland@hack.frob.com>
21388 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21389 on _QL, which is set by umul_ppmm but never used.
21390 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21391 variables, which are set by GMP macros but never used.
21392 * stdio-common/_itowa.c (_itowa): Likewise.
21393 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21394 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21396 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21398 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21399 struct La_sh_regs is not constant.
21400 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21401 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21402 and struct La_sparc64_regs are not constant.
21404 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21406 * sysdeps/unix/sysv/linux/kernel-features.h
21407 (__ASSUME_POSIX_TIMERS): Remove.
21408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21409 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21410 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21411 Make code unconditional.
21412 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21413 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21414 Make code unconditional.
21415 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21416 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21417 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21418 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21419 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21420 Make code unconditional.
21421 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21422 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21423 (__libc_missing_posix_timers): Remove.
21425 2012-08-15 Roland McGrath <roland@hack.frob.com>
21427 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21428 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21430 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21432 * elf/dl-sym.c: Include <stdlib.h>.
21434 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21435 constants, which avoids warnings in 32-bit builds.
21437 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21438 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21440 * misc/lseek.c: File moved to ...
21441 * io/lseek.c: ... here.
21443 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21445 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21446 shifting LEN more than 31 bits at once.
21448 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21451 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21452 segmentation fault for a case of two empty input strings.
21453 * string/test-strncasecmp.c (check1): Renamed to...
21454 (bz12205): ...this.
21455 (bz14195): Add new testcase for two empty input strings and N > 0.
21456 (test_main): Call new testcase, adapt for renamed function.
21458 2012-08-15 Andreas Jaeger <aj@suse.de>
21461 * crypt/md5test2.c: New test, based on test supplied by Serge
21462 Belyshev <belyshev@depni.sinp.msu.ru>.
21463 * crypt/Makefile (xtests): Add md5test-giant..
21464 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21466 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21469 * crypt/md5.c (md5_process_block): Don't assume the buffer
21470 length is less than 2**32.
21471 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21472 length is less than 2**64.
21474 2012-08-15 Roland McGrath <roland@hack.frob.com>
21476 * string/str-two-way.h: Include <sys/param.h>.
21477 (MAX): Macro removed.
21479 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21480 Move #define and #undef of memmove to just before and after
21481 including <string.h>.
21483 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21484 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21485 and after including <string.h>. Move declarations of
21486 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21487 to before #include "string/memmove.c".
21489 * include/dirent.h: Declare __getdirentries.
21491 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21492 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21494 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21496 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21497 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21498 * sysdeps/i386/configure: Regenerated.
21499 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21500 STABS_CURRENT_FILE, and STABS_FUN.
21501 (END): Remove call to STABS_FUN_END.
21502 (STABS_CURRENT_FILE1): Delete.
21503 (STABS_CURRENT_FILE): Likewise.
21504 (STABS_FUN): Likewise.
21505 (STABS_FUN_END): Likewise.
21506 (STABS_FUN2): Likewise.
21507 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21508 * sysdeps/x86_64/configure: Regenerated.
21510 2012-08-14 Roland McGrath <roland@hack.frob.com>
21512 * elf/dl-open.c: Include <atomic.h>.
21513 * elf/dl-lookup.c: Likewise.
21515 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21517 * sysdeps/unix/sysv/linux/kernel-features.h
21518 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21519 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21521 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21523 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21524 condition on __ASSUME_CLONE_THREAD_FLAGS.
21526 2012-08-14 Andreas Jaeger <aj@suse.de>
21528 * sysdeps/i386/fpu/libm-test-ulps: Update.
21530 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21532 * include/atomic.h (atomic_exchange_and_add): Split into ...
21533 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21536 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21540 2012-08-13 Jeff Law <law@redhat.com>
21542 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21543 null byte in the output string.
21545 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21547 * sysdeps/unix/sysv/linux/kernel-features.h
21548 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21549 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21550 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21551 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21552 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21553 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21554 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21556 2012-08-09 Jeff Law <law@redhat.com>
21559 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21560 When avoid_arena is set, don't retry in the that arena. Pick the
21561 next one, whatever it might be.
21562 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21563 (arena_lock): Pass in new parameter to arena_get2.
21564 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21566 (__libc_malloc): Unify retrying after main arena failure with
21567 __libc_memalign version.
21568 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21570 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21573 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21574 to __redirect_strstr.
21575 (__strstr_sse42): Use typeof __redirect_strstr.
21576 (__strstr_ia32): Likewise.
21577 (__libc_strstr): New prototype.
21578 (strstr): Renamed to ...
21579 (__libc_strstr): This.
21580 (strstr): New strong alias of __libc_strstr.
21581 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21582 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21585 (__libc_time): New prototype.
21586 (time_ifunc): Replace time with __libc_time.
21587 (time): New strong alias and hidden definition of __libc_time.
21588 (__GI_time): Remove strong alias.
21589 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21590 Include <stddef.h>.
21591 (memmove): Redefined to __redirect_memmove.
21592 (__memmove_sse2): Use typeof __redirect_memmove.
21593 (__memmove_ssse3): Likewise.
21594 (__memmove_ssse3_back): Likewise.
21595 (__libc_memmove): New prototype.
21596 (memmove): Renamed to ...
21597 (__libc_memmove): This.
21598 (memmove): New strong alias of __libc_memmove.
21600 2012-08-08 Mark Salter <msalter@redhat.com>
21603 (R_MN10300_TLS_GD): Define.
21604 (R_MN10300_TLS_LD): Likewise.
21605 (R_MN10300_TLS_LDO): Likewise.
21606 (R_MN10300_TLS_GOTIE): Likewise.
21607 (R_MN10300_TLS_IE): Likewise.
21608 (R_MN10300_TLS_LE): Likewise.
21609 (R_MN10300_TLS_DTPMOD): Likewise.
21610 (R_MN10300_TLS_DTPOFF): Likewise.
21611 (R_MN10300_TLS_TPOFF): Likewise.
21612 (R_MN10300_SYM_DIFF): Likewise.
21613 (R_MN10300_ALIGN): Likewise.
21614 (R_MN10300_NUM): Update.
21616 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21618 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21621 2012-08-08 Roland McGrath <roland@hack.frob.com>
21623 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21625 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21626 sysdeps/unix -> sysdeps/posix move.
21627 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21629 2012-08-07 Allan McRae <allan@archlinux.org>
21632 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21633 (SUNOS_CPP): Likewise.
21634 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21636 (open_input): Call CPP using execvp.
21638 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21640 * sysdeps/unix/sysv/linux/kernel-features.h
21641 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21642 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21643 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21644 (__ASSUME_WAITID_SYSCALL): Likewise.
21645 * sysdeps/unix/sysv/linux/dl-execstack.c
21646 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21647 code unconditional.
21648 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21650 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21651 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21652 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21654 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21656 [__ASSUME_WAITID_SYSCALL]: Likewise.
21657 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21659 2012-08-07 Roland McGrath <roland@hack.frob.com>
21661 * sysdeps/unix/closedir.c: Renamed to ...
21662 * sysdeps/posix/closedir.c: ... here.
21663 * sysdeps/unix/dirfd.c: Renamed to ...
21664 * sysdeps/posix/dirfd.c: ... here.
21665 * sysdeps/unix/dirstream.h: Renamed to ...
21666 * sysdeps/posix/dirstream.h: ... here.
21667 * sysdeps/unix/fdopendir.c: Renamed to ...
21668 * sysdeps/posix/fdopendir.c: ... here.
21669 * sysdeps/unix/opendir.c: Renamed to ...
21670 * sysdeps/posix/opendir.c: ... here.
21671 * sysdeps/unix/readdir.c: Renamed to ...
21672 * sysdeps/posix/readdir.c: ... here.
21673 * sysdeps/unix/readdir_r.c: Renamed to ...
21674 * sysdeps/posix/readdir_r.c: ... here.
21675 * sysdeps/unix/rewinddir.c: Renamed to ...
21676 * sysdeps/posix/rewinddir.c: ... here.
21677 * sysdeps/unix/seekdir.c: Renamed to ...
21678 * sysdeps/posix/seekdir.c: ... here.
21679 * sysdeps/unix/telldir.c: Renamed to ...
21680 * sysdeps/posix/telldir.c: ... here.
21681 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21682 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21683 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21684 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21686 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21687 * bits/fcntl.h: ... here.
21689 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21691 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21692 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21693 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21694 (struct flock): Move l_start, l_len to the beginning.
21695 Use __pid_t for l_pid.
21696 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21697 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21698 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21699 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21700 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21701 [__USE_LARGEFILE64] (struct flock64): New type.
21702 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21704 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21705 * bits/dirent.h: ... here.
21707 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21708 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21710 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21713 Change from 2.6.0 to 2.6.16.
21714 * sysdeps/unix/sysv/linux/configure: Regenerated.
21715 * sysdeps/unix/sysv/linux/kernel-features.h
21716 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21717 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21719 (__ASSUME_UTIMES): Likewise.
21720 (__ASSUME_CLONE_STOPPED): Remove.
21721 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21722 architectures, not kernel version.
21723 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21724 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21725 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21726 (__ASSUME_WAITID_SYSCALL): Likewise.
21727 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21728 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21729 * README: State 2.6.16 as minimum Linux kernel version. Do not
21730 refer to older versions.
21732 2012-08-06 Roland McGrath <roland@hack.frob.com>
21734 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21735 Define alphasort64 as an alias.
21736 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21737 Define versionsort64 as an alias.
21738 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21739 Define scandir64 as an alias.
21740 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21741 Define scandirat64 as an alias.
21742 * dirent/alphasort64.c (alphasort64):
21743 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21744 * dirent/versionsort64.c: Likewise.
21745 * dirent/scandir64.c: Likewise.
21746 * dirent/scandirat64.c: Likewise.
21747 * sysdeps/wordsize-64/alphasort.c: File removed.
21748 * sysdeps/wordsize-64/alphasort64.c: File removed.
21749 * sysdeps/wordsize-64/scandir.c: File removed.
21750 * sysdeps/wordsize-64/scandir64.c: File removed.
21751 * sysdeps/wordsize-64/scandirat.c: File removed.
21752 * sysdeps/wordsize-64/scandirat64.c: File removed.
21753 * sysdeps/wordsize-64/versionsort.c: File removed.
21754 * sysdeps/wordsize-64/versionsort64.c: File removed.
21755 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21756 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21757 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21758 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21759 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21760 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21761 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21762 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21764 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21766 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21768 [defined __arch64__ || defined __sparcv9]
21769 (__INO_T_MATCHES_INO64_T): New macro.
21770 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21771 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21772 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21773 * sysdeps/unix/sysv/linux/bits/dirent.h
21774 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21775 (_DIRENT_MATCHES_DIRENT64): New macro.
21777 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21778 Define lockf64 as an alias.
21779 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21780 Define fseeko64 as an alias.
21781 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21782 Define ftello64 as an alias.
21783 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21784 Define _IO_fgetpos64 and fgetpos64 as aliases.
21785 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21786 Define _IO_fsetpos64 and fsetpos64 as aliases.
21787 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21788 Conditionalize body on this.
21789 * libio/fseeko64.c: Likewise.
21790 * libio/ftello64.c: Likewise.
21791 * libio/iofgetpos64.c: Likewise.
21792 * libio/iofsetpos64.c: Likewise.
21793 * sysdeps/wordsize-64/lockf.c: File removed.
21794 * sysdeps/wordsize-64/lockf64.c: File removed.
21795 * sysdeps/wordsize-64/fseeko.c: File removed.
21796 * sysdeps/wordsize-64/fseeko64.c: File removed.
21797 * sysdeps/wordsize-64/ftello.c: File removed.
21798 * sysdeps/wordsize-64/ftello64.c: File removed.
21799 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21800 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21801 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21802 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21803 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21805 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21806 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21807 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21808 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21810 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21814 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21816 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21818 [defined __arch64__ || defined __sparcv9]
21819 (__OFF_T_MATCHES_OFF64_T): New macro.
21820 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21821 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21823 (__OFF_T_MATCHES_OFF64_T): New macro.
21825 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21827 * stdlib/secure-getenv.c (__secure_getenv): Replace
21828 GLIBC_2_16 with GLIBC_2_17.
21830 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21833 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21835 2012-08-03 David S. Miller <davem@davemloft.net>
21837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21839 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21841 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21843 (__ASSUME_CORRECT_SI_PID): Likewise.
21844 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21845 (__ASSUME_TMPFS_NAME): Likewise.
21846 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21847 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21848 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21849 (HAVE_AUX_SECURE): Make definition unconditional.
21850 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21851 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21853 2012-08-03 Roland McGrath <roland@hack.frob.com>
21855 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21856 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21857 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21858 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21859 __eloop_threshold instead of SYMLOOP_MAX.
21861 * sysdeps/generic/eloop-threshold.h: New file.
21862 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21864 * elf/chroot_canon.c (chroot_canon): Likewise.
21866 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21869 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21870 Change to 2.6.0 everywhere.
21871 * sysdeps/unix/sysv/linux/configure: Regenerated.
21872 * sysdeps/unix/sysv/linux/kernel-features.h
21873 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21874 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21876 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21877 (__ASSUME_FUTEX_REQUEUE): Remove.
21878 (__ASSUME_STATFS64): Define unconditionally.
21879 (__ASSUME_AT_SECURE): Likewise.
21880 (__ASSUME_CORRECT_SI_PID): Likewise.
21881 (__ASSUME_TGKILL): Define without depending on kernel version for
21883 (__ASSUME_UTIMES): Likewise.
21884 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21886 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21887 (__ASSUME_TMPFS_NAME): Likewise.
21888 * README: Update reference to Linux kernel versions.
21890 2012-08-02 Marek Polacek <polacek@redhat.com>
21893 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21894 libc_cv_asm_type_prefix with %.
21895 * configure: Regenerated.
21896 * include/libc-symbols.h: Remove comment about
21897 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21898 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21899 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21900 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21901 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21902 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21903 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21904 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21905 * elf/tst-unique2mod1.c: Likewise.
21906 * elf/tst-unique1mod2.c: Likewise.
21907 * elf/tst-unique1mod1.c: Likewise.
21908 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21909 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21910 Replace ASM_TYPE_DIRECTIVE with .type.
21911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21912 * sysdeps/i386/sysdep.h: Likewise.
21913 * sysdeps/x86_64/sysdep.h: Likewise.
21914 * sysdeps/sh/sysdep.h: Likewise.
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21916 Do not define ASM_TYPE_DIRECTIVE.
21917 * sysdeps/powerpc/sysdep.h: Likewise.
21918 * sysdeps/powerpc/powerpc32/sysdep.h:
21919 Replace ASM_TYPE_DIRECTIVE with .type.
21920 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21921 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21922 * sysdeps/i386/fpu/e_powf.S: Likewise.
21923 * sysdeps/i386/fpu/e_expl.S: Likewise.
21924 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21925 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21926 * sysdeps/i386/fpu/e_pow.S: Likewise.
21927 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21928 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21929 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21930 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21931 * sysdeps/i386/fpu/e_log2.S: Likewise.
21932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21933 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21934 * sysdeps/i386/fpu/e_powl.S: Likewise.
21935 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21936 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21937 * sysdeps/i386/fpu/e_logl.S: Likewise.
21938 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21939 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21940 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21941 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21942 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21943 * sysdeps/i386/fpu/e_log.S: Likewise.
21944 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21945 * sysdeps/i386/fpu/e_logf.S: Likewise.
21946 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21947 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21948 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21949 * sysdeps/i386/fpu/e_log10.S: Likewise.
21950 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21951 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21952 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21953 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21954 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21955 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21956 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21957 * sysdeps/i386/i686/strtok.S: Likewise.
21958 * sysdeps/i386/i386-mcount.S: Likewise.
21959 * sysdeps/i386/strtok.S: Likewise.
21960 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21961 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21962 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21963 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21964 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21965 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21966 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21967 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21968 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21969 * sysdeps/x86_64/_mcount.S: Likewise.
21970 * sysdeps/x86_64/strtok.S: Likewise.
21971 * sysdeps/sh/_mcount.S: Likewise.
21973 2012-08-01 Roland McGrath <roland@hack.frob.com>
21975 * libio/iofopen.c: Include <fcntl.h>.
21976 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21977 (_IO_fopen64, fopen64): Define as aliases.
21978 * libio/iofopen64.c: Include <fcntl.h>.
21979 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21980 Conditionalize body on this.
21981 * sysdeps/wordsize-64/iofopen.c: File removed.
21982 * sysdeps/wordsize-64/iofopen64.c: File removed.
21984 2012-08-01 Marek Polacek <polacek@redhat.com>
21986 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21987 Use dlfcn directly instead of a variable.
21988 (binfmt-subdir): Do not define.
21991 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21993 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21994 Remove all definitions.
21995 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21996 <kernel-features.h>.
21997 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21998 (miss_F_GETOWN_EX): Remove all definitions.
21999 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22001 [!__ASSUME_FCNTL64]: Remove conditional code.
22002 [__ASSUME_FCNTL64]: Make code unconditional.
22003 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22004 <kernel-features.h>.
22005 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22006 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22007 (lockf64) [__NR_fcntl64]: Make code unconditional.
22008 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22010 * sysdeps/unix/sysv/linux/kernel-features.h
22011 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22012 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22013 Make code unconditional.
22014 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22015 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22017 [__NR_vfork]: Make code unconditional.
22018 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22019 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22021 [__NR_vfork]: Make code unconditional.
22022 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22023 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22025 2012-08-01 Roland McGrath <roland@hack.frob.com>
22027 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22028 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22030 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22031 Define mkstemp64 as an alias.
22032 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22033 Define mkstemps64 as an alias.
22034 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22035 Define mkostemp64 as an alias.
22036 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22037 Define mkostemps64 as an alias.
22038 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22039 Conditionalize body on this.
22040 * misc/mkostemp64.c: Likewise.
22041 * misc/mkostemps64.c: Likewise.
22042 * misc/mkstemps64.c: Likewise.
22043 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22044 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22045 * sysdeps/wordsize-64/mkostemp.c: File removed.
22046 * sysdeps/wordsize-64/mkstemp.c: File removed.
22047 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22048 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22049 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22053 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22054 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22055 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22056 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22058 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22059 compat_symbol macros from <shlib-compat.h> rather than the underlying
22060 default_symbol_version and symbol_version macros, so that DEFAULT
22061 lines in shlib-versions are respected.
22062 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22064 2012-08-01 Florian Weimer <fweimer@redhat.com>
22066 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22067 Declare with warn_unused_result.
22068 (setgid, setregid, setegid, setresgid): Likewise.
22069 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22071 * WUR-REPORT: Remove set*id functions.
22073 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22075 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22077 2012-07-31 Roland McGrath <roland@hack.frob.com>
22080 * include/sys/socket.h (__libc_accept, __libc_accept4):
22081 Add attribute_hidden.
22082 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22084 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22086 * inet/getnetgrent_r.c (setup): Likewise.
22088 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22090 2012-07-31 David S. Miller <davem@davemloft.net>
22092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22094 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22097 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22098 value between 1.0 and 2.0 and smaller part has absolute value less
22100 * math/s_clog10.c (__clog10): Likewise.
22101 * math/s_clog10f.c (__clog10f): Likewise.
22102 * math/s_clog10l.c (__clog10l): Likewise.
22103 * math/s_clogf.c (__clogf): Likewise.
22104 * math/s_clogl.c (__clogl): Likewise.
22105 * math/libm-test.inc (clog_test): Add more tests.
22106 (clog10_test): Likewise.
22107 * sysdeps/i386/fpu/libm-test-ulps: Update.
22108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22110 2012-07-31 Florian Weimer <fweimer@redhat.com>
22112 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22113 Exit with zero in case no suitable GID is found, and write a
22114 message to standard error.
22116 2012-07-30 Roland McGrath <roland@hack.frob.com>
22118 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22120 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22121 (MAXPATHLEN): Removed.
22122 (NOGROUP, NODEV): New macros.
22123 (setbit, clrbit, isset, isclr): New macros.
22124 (howmany, roundup, powerof2): New macros.
22125 (DEV_BSIZE): New macro.
22127 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22128 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22130 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22131 definition on [!__NO_LONG_DOUBLE_MATH].
22133 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22134 PTR_MANGLE and PTR_DEMANGLE.
22136 * socket/accept4.c (accept4): Rename to __libc_accept4.
22137 Define accept4 as a weak alias.
22139 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22140 on [_DIRENT_HAVE_D_TYPE].
22141 * io/ftw.c (ftw_dir): Likewise.
22143 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22145 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22147 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22148 Use the BSD numbers rather than the arbitrary ones we had.
22149 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22150 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22151 (SIGXCPU, SIGXFSZ): New macros.
22154 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22155 initializer on [_LIBC_REENTRANT].
22157 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22158 definitions inside [_POSIX_MAPPED_FILES].
22160 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22162 * dirent/opendir.c: Include <fcntl.h>.
22164 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22165 (__libc_getspecific): Likewise.
22166 (__libc_key_create): Likewise.
22168 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22169 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22170 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22171 (tmpfile64): Define as alias.
22172 * sysdeps/wordsize-64/tmpfile.c: File removed.
22173 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22174 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22175 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22177 * stdio-common/vfscanf.c: Include <stdbool.h>.
22178 * nss/makedb.c: Likewise.
22179 * stdio-common/_i18n_number.h: Likewise.
22180 * argp/argp-help.c: Likewise.
22181 * posix/wordexp.c: Likewise.
22182 * sysdeps/posix/spawni.c: Likewise.
22183 * nss/nss_files/files-initgroups.c: Likewise.
22184 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22185 * nss/nss_files/files-initgroups.c: Likewise.
22186 * nss/nss_db/db-netgrp.c: Likewise.
22187 * nss/nss_db/db-initgroups.c: Likewise.
22188 * io/fchmodat.c: Include <sys/stat.h>.
22190 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22191 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22193 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22196 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22197 Add multiple inclusion protection.
22199 2012-07-27 David S. Miller <davem@davemloft.net>
22201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22203 2012-07-27 Gary Benson <gbenson@redhat.com>
22206 * elf/rtld.c: Include <stap-probe.h>.
22207 (dl_main): Added static probes "init_start" and "init_complete".
22208 * elf/dl-load.c: Include <stap-probe.h>.
22209 (lose): Take new parameter "nsid".
22210 Added static probe "map_failed".
22211 (_dl_map_object_from_fd): Pass namespace id to lose.
22212 Added static probe "map_start".
22213 (open_verify): Pass namespace id to lose.
22214 * elf/dl-open.c: Include <stap-probe.h>.
22215 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22216 and "reloc_complete".
22217 * elf/dl-close.c: Include <stap-probe.h>.
22218 (_dl_close_worker): Added static probes "unmap_start" and
22220 * elf/rtld-debugger-interface.txt: New file documenting the above.
22222 2012-07-26 Roland McGrath <roland@hack.frob.com>
22224 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22225 rather than a string variable.
22226 * sunrpc/rpc_main.c (h_output): Likewise.
22227 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22229 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22231 * inet/check_native.c: New file.
22233 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22236 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22237 if larger part has absolute value 1.0.
22238 * math/s_clog10.c (__clog10): Likewise.
22239 * math/s_clog10f.c (__clog10f): Likewise.
22240 * math/s_clog10l.c (__clog10l): Likewise.
22241 * math/s_clogf.c (__clogf): Likewise.
22242 * math/s_clogl.c (__clogl): Likewise.
22243 * math/libm-test.inc (clog_test): Add more tests.
22244 (clog10_test): Likewise.
22245 * sysdeps/i386/fpu/libm-test-ulps: Update.
22246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22249 (pltexit): Likewise.
22250 (La_regs): Likewise.
22251 (La_retval): Likewise.
22252 (int_retval): Likewise.
22253 Update #error for removed macros to refer only to definitions in
22255 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22257 (pltexit): Likewise.
22258 (La_regs): Likewise.
22259 (La_retval): Likewise.
22260 (int_retval): Likewise.
22261 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22263 (pltexit): Likewise.
22264 (La_regs): Likewise.
22265 (La_retval): Likewise.
22266 (int_retval): Likewise.
22267 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22269 (pltexit): Likewise.
22270 (La_regs): Likewise.
22271 (La_retval): Likewise.
22272 (int_retval): Likewise.
22273 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22275 (pltexit): Likewise.
22276 (La_regs): Likewise.
22277 (La_retval): Likewise.
22278 (int_retval): Likewise.
22279 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22281 (pltexit): Likewise.
22282 (La_regs): Likewise.
22283 (La_retval): Likewise.
22284 (int_retval): Likewise.
22285 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22287 (pltexit): Likewise.
22288 (La_regs): Likewise.
22289 (La_retval): Likewise.
22290 (int_retval): Likewise.
22291 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22292 macro definitions in tst-audit.h.
22293 * sysdeps/i386/tst-audit.h: New file.
22294 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22295 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22296 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22297 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22298 * sysdeps/sh/tst-audit.h: Likewise.
22299 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22300 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22301 * sysdeps/x86_64/tst-audit.h: Likewise.
22303 2012-07-26 Andreas Jaeger <aj@suse.de>
22305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22308 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22309 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22310 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22312 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22313 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22314 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22316 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22319 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22321 (si_call_addr, si_syscall, si_arch): Define new macro.
22322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22324 (si_call_addr, si_syscall, si_arch): Define new marcro.
22325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22327 (si_call_addr, si_syscall, si_arch): Define new macro.
22328 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22330 (si_call_addr, si_syscall, si_arch): Define new macro.
22332 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22336 Change to 2.4.21 where previously 2.4.1.
22337 * sysdeps/unix/sysv/linux/configure: Regenerated.
22338 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22339 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22340 Linux kernel version.
22341 (__ASSUME_STD_AUXV): Remove.
22342 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22344 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22345 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22346 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22347 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22348 (__ASSUME_NETLINK_SUPPORT): Likewise.
22349 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22350 (__no_netlink_support): Remove conditional definition.
22351 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22353 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22354 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22355 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22356 (if_nameindex_ioctl): Remove.
22357 (if_nameindex_netlink): Do not handle __no_netlink_support.
22358 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22360 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22361 Remove conditional code.
22362 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22364 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22366 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22367 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22368 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22370 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22371 [!__ASSUME_STD_AUXV]: Remove conditional code.
22372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22373 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22374 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22376 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22377 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22379 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22381 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22382 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22384 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22386 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22389 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22392 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22393 code unconditional.
22394 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22396 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22398 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22401 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22403 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22406 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22407 code unconditional.
22408 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22410 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22412 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22415 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22416 code unconditional.
22417 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22419 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22421 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22424 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22426 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22427 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22428 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22429 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22430 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22431 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22432 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22433 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22434 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22435 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22436 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22437 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22438 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22439 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22440 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22441 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22442 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22443 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22444 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22446 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22447 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22448 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22450 2012-07-25 Florian Weimer <fweimer@redhat.com>
22452 * Versions.def: Add GLIBC_2.17.
22453 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22454 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22455 Introduce __libc_secure_getenv.
22456 * stdlib/Versions (2.17): Add secure_getenv
22457 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22458 * stdlib/secure-getenv.c: Rename __secure_getenv to
22459 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22460 symbol __secure_getenv for GLIBC_2.0.
22461 * stdlib/tst-secure-getenv.c: New.
22462 * stdlib/Makefile (tests): Add testcase.
22463 * manual/startup.texi (Environment Access): Document
22465 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22466 __libc_secure_getenv.
22467 * inet/ruserpass.c (ruserpass): Likewise.
22468 * malloc/mtrace.c (mtrace): Likewise.
22469 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22470 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22471 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22472 * sysdeps/posix/tempname.c: Likewise. Evaluate
22473 HAVE_SECURE_GETENV.
22474 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22475 __secure_getenv to __libc_secure_getenv.
22476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22489 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22491 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22492 (struct La_i86_retval): Likewise.
22493 (struct La_x86_64_regs): Likewise.
22494 (struct La_x86_64_retval): Likewise.
22495 (struct La_x32_regs): Likewise.
22496 (struct La_x32_retval): Likewise.
22497 (struct La_ppc32_regs): Likewise.
22498 (struct La_ppc32_retval): Likewise.
22499 (struct La_ppc64_regs): Likewise.
22500 (struct La_ppc64_retval): Likewise.
22501 (struct La_sh_regs): Likewise.
22502 (struct La_sh_retval): Likewise.
22503 (struct La_s390_32_regs): Likewise.
22504 (struct La_s390_32_retval): Likewise.
22505 (struct La_s390_64_regs): Likewise.
22506 (struct La_s390_64_retval): Likewise.
22507 (struct La_sparc32_regs): Likewise.
22508 (struct La_sparc32_retval): Likewise.
22509 (struct La_sparc64_regs): Likewise.
22510 (struct La_sparc64_retval): Likewise.
22511 (struct audit_ifaces): Remove architecture-specific pltenter and
22513 * sysdeps/i386/ldsodefs.h: New file.
22514 * sysdeps/powerpc/ldsodefs.h: Likewise.
22515 * sysdeps/s390/ldsodefs.h: Likewise.
22516 * sysdeps/sh/ldsodefs.h: Likewise.
22517 * sysdeps/sparc/ldsodefs.h: Likewise.
22518 * sysdeps/x86_64/ldsodefs.h: Likewise.
22520 2012-07-25 Marek Polacek <polacek@redhat.com>
22523 * math/libm-test.inc (yn_test): Add another test.
22524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22525 to ERANGE when the result is +-Inf.
22526 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22527 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22528 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22529 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22531 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22533 * conform/data/time.h-data (NULL): Use macro-constant. Require
22535 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22537 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22539 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22541 * configure.in <sysdeps resolving>: Correct printing
22543 * configure: Regenerate.
22545 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22547 * math/w_ilogb.c: Include <limits.h>.
22548 * math/w_ilogbl.c: Likewise.
22550 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22552 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22553 va_copy. Document allowing for unavailable va_copy only as
22554 pre-C99 compatibility.
22555 * manual/string.texi (Copying and Concatenation): Use va_copy
22556 instead of __va_copy in concat example.
22558 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22560 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22561 (__sendto): Use create_address_port. Initialize APORT and deallocate
22564 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22565 with O_NOLINK passed to __file_name_lookup.
22567 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22568 with O_NOLINK passed to __file_name_lookup.
22570 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22571 negative N or less than NGIDS.
22573 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22574 type to string_t. Set ERANGE as errno and return it if NAME is not big
22575 enough. Use memcpy instead of strncpy.
22577 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22579 * elf/Makefile (check-data): Remove.
22580 (localplt.data): New vpath directive.
22581 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22582 instead of $(check-data).
22583 * scripts/data/localplt-generic.data: Move to ...
22584 * sysdeps/generic/localplt.data: ... here.
22585 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22586 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22587 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22590 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22593 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22596 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22599 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22602 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22606 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22608 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22609 PPC32 and PPC64 files.
22610 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22611 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22613 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22615 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22616 __makecontext_ret to ...
22617 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22618 ... here and call exit if uc_link is NULL. New file.
22619 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22620 __makecontext_ret.S.
22621 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22622 __makecontext_ret to ...
22623 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22624 ... here and call exit if uc_link is NULL. New file.
22625 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22626 __makecontext_ret.S.
22628 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22630 * elf/elf.h (R_390_IRELATIVE): New definition.
22631 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22632 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22633 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22634 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22635 (elf_machine_lazy_rel): Likewise.
22636 * sysdeps/s390/dl-irel.h: New file.
22637 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22638 * sysdeps/s390/s390-64/memset.S: New asm code.
22639 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22640 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22641 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22642 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22643 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22644 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22646 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22647 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22648 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22649 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22650 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22651 * sysdeps/s390/s390-32/memset.S: New asm code.
22652 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22654 2012-07-17 Marek Polacek <polacek@redhat.com>
22657 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22658 * sysdeps/s390/s390-64/configure.in: Likewise.
22659 * sysdeps/sparc/configure.in: Likewise.
22660 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22661 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22662 * sysdeps/i386/configure.in: Likewise.
22663 * sysdeps/x86_64/configure.in: Likewise.
22664 * sysdeps/sh/configure.in: Likewise.
22665 * sysdeps/s390/s390-32/configure: Regenerated.
22666 * sysdeps/s390/s390-64/configure: Likewise.
22667 * sysdeps/x86_64/configure: Likewise.
22668 * sysdeps/sh/configure: Likewise.
22669 * sysdeps/powerpc/powerpc64/configure: Likewise.
22670 * sysdeps/powerpc/powerpc32/configure: Likewise.
22671 * sysdeps/sparc/configure: Likwise.
22672 * sysdeps/i386/configure: Likewise.
22674 * elf/dl-open.c: Comment fixes.
22676 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22678 * Makefile [CXX] (check-data): Remove.
22679 [CXX] (c++-types.data): New vpath directive.
22680 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22681 vpath. Do not allow for C++ type data being missing.
22682 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22683 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22684 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22685 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22686 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22687 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22688 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22691 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22694 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22697 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22700 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22703 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22706 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22709 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22712 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22713 definitions to architecture-specific files.
22714 (TLS_IE): Likewise.
22715 (TLS_LD): Likewise.
22716 (TLS_GD): Likewise.
22717 * sysdeps/i386/tls-macros.h: New file.
22718 * sysdeps/powerpc/tls-macros.h: Likewise.
22719 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22720 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22721 * sysdeps/sh/tls-macros.h: Likewise.
22722 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22723 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22724 * sysdeps/x86_64/tls-macros.h: Likewise.
22726 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22728 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22729 zero value for regular exit case.
22731 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22732 (__start_context): Preserve zero value for regular exit case.
22734 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22735 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22737 * manual/setjmp.texi (setcontext): Clarify normal process
22738 termination when uc_link is the null pointer.
22739 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22742 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22744 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22745 preprocessor. Test for each exception mask separately.
22747 2012-07-16 Andreas Jaeger <aj@suse.de>
22749 * po/ru.po: Update from translation team.
22751 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22753 * conform/data/string.h-data (NULL): Use macro-constant. Require
22755 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22756 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22757 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22758 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22761 2012-07-13 Andreas Jaeger <aj@suse.de>
22763 * po/fr.po: Update from translation team.
22765 2012-07-12 Marek Polacek <polacek@redhat.com>
22768 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22772 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22776 Change to 2.4.1 where previously 2.4.0.
22777 * sysdeps/unix/sysv/linux/configure: Regenerated.
22778 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22779 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22781 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22782 (__ASSUME_AT_CLKTCK): Remove.
22783 (__ASSUME_AT_PAGESIZE): Likewise.
22784 (__ASSUME_AT_XID): Likewise.
22785 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22786 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22787 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22789 (HAVE_AUX_PAGESIZE): Likewise.
22790 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22791 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22792 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22794 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22798 the temporary buffer used to invoke __gethostbyname2_r,
22799 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22800 host_data / struct gaih_addrtuple.
22801 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22802 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22803 header file nss/nsswitch.h.
22804 * nss/nsswitch.h (global scope): Add definition of implementation
22805 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22806 resolv/nss_dns/dns-host.c).
22808 2012-07-11 Andreas Jaeger <aj@suse.de>
22810 * po/fr.po: Update from translation team.
22812 * po/sv.po: Update from translation team
22813 * po/fr.po: Another update from translation team.
22815 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22818 for subnormals or multiply small sinh result by itself.
22819 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22822 2012-07-11 David S. Miller <davem@davemloft.net>
22824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22826 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22829 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22830 (INTERNAL_MARK): Shift it here.
22832 2012-07-10 Marek Polacek <polacek@redhat.com>
22835 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22836 libc_cv_asm_global_directive with .globl.
22837 * configure: Regenerated.
22838 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22840 * sysdeps/i386/configure: Regenerated.
22841 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22843 * sysdeps/x86_64/configure: Regenerated.
22844 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22845 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22846 * elf/tst-unique2mod2.c: Likewise.
22847 * elf/tst-unique2mod1.c: Likewise.
22848 * elf/tst-unique1mod2.c: Likewise.
22849 * elf/tst-unique1mod1.c: Likewise.
22850 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22851 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22853 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22854 * sysdeps/mach/sysdep.h: Likewise.
22855 * sysdeps/i386/sysdep.h: Likewise.
22856 * sysdeps/i386/i386-mcount.S: Likewise.
22857 * sysdeps/x86_64/_mcount.S: Likewise.
22858 * sysdeps/x86_64/sysdep.h: Likewise.
22859 * sysdeps/sh/_mcount.S: Likewise.
22860 * sysdeps/sh/sysdep.h: Likewise.
22861 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22862 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22863 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22865 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22866 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22867 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22868 * locale/localeinfo.h: Likewise.
22869 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22870 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22872 2012-07-09 Roland McGrath <roland@hack.frob.com>
22875 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22877 * manual/message.texi (The Uniforum approach): Likewise.
22878 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22879 (glibc iconv Implementation): Likewise.
22881 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22884 * math/s_clog.c (__clog): Avoid scaling a value down where that
22885 could result in underflow.
22886 * math/s_clog10.c (__clog10): Likewise.
22887 * math/s_clog10f.c (__clog10f): Likewise.
22888 * math/s_clog10l.c (__clog10l): Likewise.
22889 * math/s_clogf.c (__clogf): Likewise.
22890 * math/s_clogl.c (__clogl): Likewise.
22891 * math/libm-test.inc (clog_test): Add more tests.
22892 (clog10_test): Likewise.
22893 * sysdeps/i386/fpu/libm-test-ulps: Update.
22894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22896 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22899 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22900 by 7 not 8 to examine high bit of fractional part.
22903 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22904 for call to __mcount_internal.
22905 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22906 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22907 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22909 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22912 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22913 approximation for values within 0x1p-13f of an odd multiple of
22915 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22916 exception. Add more tests.
22917 * sysdeps/i386/fpu/libm-test-ulps: Update.
22920 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22921 inputs and return -1 for them. Do not check for +Inf in case not
22922 reachable for +Inf.
22923 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22924 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22925 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22926 and return -1 for them. Do not check for +Inf in case not
22927 reachable for +Inf.
22928 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22930 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22931 and return -1 for them. Do not check for +Inf in case not
22932 reachable for +Inf.
22933 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22934 spurious underflow.
22935 * sysdeps/i386/fpu/libm-test-ulps: Update.
22936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22938 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22940 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22942 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22946 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22947 could result in spurious underflow. Scale down values above
22948 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22949 * math/s_csqrtf.c (__csqrtf): Likewise.
22950 * math/s_csqrtl.c (__csqrtl): Likewise.
22951 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22952 spurious underflow.
22953 * sysdeps/i386/fpu/libm-test-ulps: Update.
22954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22956 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22958 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22960 * catgets/xopen-msg.awk: New file.
22961 * catgets/xopen-msg.sed: Removed.
22963 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22965 * intl/po2test.awk: New file.
22966 * intl/po2test.sed: Removed.
22968 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22971 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22972 or multiply small sinh result by itself.
22973 * math/s_ctanf.c (__ctanf): Likewise.
22974 * math/s_ctanh.c (__ctanh): Likewise.
22975 * math/s_ctanhf.c (__ctanhf): Likewise.
22976 * math/s_ctanhl.c (__ctanhl): Likewise.
22977 * math/s_ctanl.c (__ctanl): Likewise.
22978 * math/libm-test.inc (ctan_test_tonearest): New function.
22979 (ctan_test_towardzero): Likewise.
22980 (ctan_test_downward): Likewise.
22981 (ctan_test_upward): Likewise.
22982 (ctanh_test_tonearest): Likewise.
22983 (ctanh_test_towardzero): Likewise.
22984 (ctanh_test_downward): Likewise.
22985 (ctanh_test_upward): Likewise.
22986 (main): Call these new functions.
22987 * sysdeps/i386/fpu/libm-test-ulps: Update.
22988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22990 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22992 * .gitignore: Delete /ports entry.
22994 2012-07-03 Andreas Jaeger <aj@suse.de>
22996 * po/bg.po: Update from translation team.
22997 * po/cs.po: Likewise.
22998 * po/de.po: Likewise.
22999 * po/hr.po: Likewise.
23000 * po/nl.pl: Likewise.
23001 * po/pl.po: Likewise.
23002 * po/vi.po: Likewise.
23004 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23006 * Makeconfig [!+link] (+link-before-libc): New variable.
23007 [!+link] (+link-after-libc): Likewise.
23008 [!+link] (+link-tests): Likewise.
23009 [!+link] (+link): Define in terms of $(+link-before-libc) and
23010 $(+link-after-libc).
23011 [!+link-static] (+link-static-before-libc): New variable.
23012 [!+link-static] (+link-static-after-libc): Likewise.
23013 [!+link-static] (+link-static-tests): Likewise.
23014 [!+link-static] (+link-static): Define in terms of
23015 $(+link-static-before-libc) and $(+link-static-after-libc).
23016 [build-shared] (link-libc-before-gnulib): New variable.
23017 [build-shared] (link-libc-tests): Likewise.
23018 [build-shared] (link-libc): Define in terms of
23019 $(link-libc-before-gnulib).
23020 [!build-shared] (link-libc-tests): New variable.
23021 (link-libc-static-tests): New variable.
23022 [!gnulib] (gnulib-arch): New variable.
23023 [!gnulib] (gnulib-tests): Likewise.
23024 [!gnulib] (static-gnulib-arch): Likewise.
23025 [!gnulib] (static-gnulib-tests): Likewise.
23026 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23027 Define with "=" instead of ":=".
23028 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23029 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23030 * Rules (binaries-all-notests): New variable.
23031 (binaries-all-tests): Likewise.
23032 (binaries-static-notests): Likewise.
23033 (binaries-static-tests): Likewise.
23034 (binaries-all): Define using $(binaries-all-notests) and
23035 $(binaries-all-tests).
23036 (binaries-static): Define using $(binaries-static-notests) and
23037 $(binaries-static-tests).
23038 (binaries-shared-tests): New variable.
23039 (binaries-shared-notests): Likewise.
23040 (binaries-shared): Remove variable.
23041 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23042 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23043 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23044 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23045 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23046 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23047 * elf/Makefile (sln-modules): New variable.
23048 (extra-objs): Add $(sln-modules:=.o).
23049 (ldconfig-modules): Add static-stubs.
23050 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23051 * elf/static-stubs.c: New file.
23054 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23055 by 7 not 8 to examine high bit of fractional part. Use volatile
23056 variables when splitting into final array of floats if
23057 __FLT_EVAL_METHOD__ != 0.
23058 * math/libm-test.inc (cos_test): Add another test.
23059 (sin_test): Likewise.
23060 * sysdeps/i386/fpu/libm-test-ulps: Update.
23063 * math/libm-test.inc (cosh_test): Add more tests.
23065 * version.h (RELEASE): Set to "development".
23066 (VERSION): Set to "2.16.90".
23068 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23070 * NEWS: Update copyright. Remove last-updated date.
23071 Mention math library bug fixes and timezone data changes.
23072 * README: Mention GNU/Hurd, x32, and HPPA support status.
23074 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23076 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23078 2012-06-27 Andreas Jaeger <aj@suse.de>
23080 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23082 2012-06-25 Andreas Jaeger <aj@suse.de>
23084 * sysdeps/s390/fpu/libm-test-ulps: Update.
23086 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23087 Thomas Schwinge <thomas@codesourcery.com>
23089 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23090 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23094 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23096 * sysdeps/mach/start.c: Remove file.
23097 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23098 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23099 * sysdeps/sh/init-first.c: Likewise.
23101 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23102 registers for frame unwinding purposes, add CFI directives.
23103 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23104 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23105 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23108 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23109 __fortify_fail returning.
23110 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23113 sysdeps/sh/____longjmp_chk.S.
23114 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23115 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23116 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23117 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23119 * sysdeps/sh/abort-instr.h: New file.
23120 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23121 process in case exit returns.
23123 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23124 initialize the GOT register before use.
23126 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23127 calculation of ARGC > 4.
23129 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23130 meaningful names to some local labels.
23132 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23133 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23135 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23136 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23137 (__arch_compare_and_exchange_val_16_acq): Likewise.
23138 (__arch_compare_and_exchange_val_32_acq): Likewise.
23139 (atomic_exchange_and_add): Fix gUSA sequence.
23140 (atomic_add): Likewise.
23141 (atomic_add_negative): Likewise.
23142 (atomic_add_zero): Likewise.
23143 (atomic_bit_test_set): Likewise.
23145 2012-06-22 Andreas Schwab <schwab@redhat.com>
23148 * include/link.h (struct link_map): Add l_free_initfini.
23149 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23151 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23152 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23153 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23156 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23158 * configure.in: Use AC_LANG_SOURCE.
23159 * configure: Regenerate.
23161 2012-06-22 Roland McGrath <roland@hack.frob.com>
23163 * configure.in (libc_cv_localstatedir): New substituted variable.
23164 * configure: Regenerated.
23165 * config.make.in (localstatedir): New variable, substituted from
23166 libc_cv_localstatedir.
23167 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23168 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23169 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23170 * sysdeps/gnu/configure: Regenerated.
23172 2012-06-21 Jeff Law <law@redhat.com>
23175 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23176 free. Simplify list management for _LIBC case.
23178 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23181 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23182 Clear sign bit of 64-bit integer value before comparing against
23185 * sysdeps/mach/configure: Regenerated.
23187 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23190 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23192 2012-06-21 Jeff Law <law@redhat.com>
23195 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23196 uint16_t for elements in the "seen" array to avoid char overflows.
23197 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23198 * elf/dl-open.c (dl_open_worker): Likewise.
23200 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23202 * scripts/list-sources.sh: Scan PORTS for translations.
23203 * po/libc.pot: Regenerated.
23205 2012-06-21 Andreas Jaeger <aj@suse.de>
23208 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23210 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23211 * bits/byteswap-16.h (__bswap_16): Likewise.
23212 * bits/byteswap.h (__bswap_constant_16): Likewise.
23214 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23217 * sysdeps/i386/fpu_control.h: Removed.
23218 * sysdeps/x86_64/fpu_control.h: Moved to ...
23219 * sysdeps/x86/fpu_control.h: Here.
23221 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23222 (_FPU_SETCW): Likewise.
23224 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23227 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23228 * sysdeps/x86/fpu/bits/mathinline.h: This.
23229 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23233 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23234 functions if __x86_64__ is defined.
23236 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23238 * string/endian.h: Add !__ASSEMBLER__ condition for including
23239 conversion interfaces.
23241 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23245 of ABS(x) in calculating zero to negative powers other than odd
23247 * math/libm-test.inc (pow_test): Add more tests.
23249 2012-06-15 Andreas Jaeger <aj@suse.de>
23251 * manual/contrib.texi (Contributors): Update entry of Liubov
23252 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23255 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23257 * string/string.h: Add __wur to GNU version of strerror_r.
23259 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23262 * string/Makefile (tests): Add tst-strtok_r.
23263 * string/tst-strtok_r.c: New file.
23264 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23265 RAX_LP/RDX_LP on SAVE_PTR.
23267 2012-06-14 Roland McGrath <roland@hack.frob.com>
23269 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23271 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23273 * libm_test.inc (csqrt_test): Allow more spurious underflow
23275 (j0_test): Likewise.
23276 (j1_test): Likewise.
23277 (y0_test): Likewise.
23278 (y1_test): Likewise.
23280 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23282 * po/Makefile (libc.pot): Use UTF-8 charset.
23284 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23287 Suppress sign-conversion warning from FD_SET.
23288 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23289 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23290 not unsigned long int.
23291 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23293 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23297 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23298 __extern_always_inline instead of __extern_inline.
23299 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23300 (__signbit): Likewise.
23301 (__signbitl): Support C++ namespace.
23302 (lrintf): New inline function.
23304 (llrintf): Likewise.
23305 (llrint): Likewise.
23315 (floorf): Likewise.
23316 (nearbyint): Likewise.
23317 (nearbyintf): Likewise.
23319 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23321 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23322 non-default versions.
23324 2012-06-11 Roland McGrath <roland@hack.frob.com>
23327 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23329 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23331 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23332 (FE_UPWARD, FE_DOWNWARD): Don't define.
23333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23334 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23336 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23338 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23339 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23341 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23343 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23345 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23346 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23348 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23351 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23352 * sysdeps/i386/fpu/Implies: New file.
23353 * sysdeps/x86_64/fpu/Implies: Likewise.
23354 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23355 * sysdeps/x86/fpu/bits/fenv.h: This.
23357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23360 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23363 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23364 character 0xffff that matches the last element of the
23367 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23372 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23375 values higher than 25.6283.
23377 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23380 subnormal exponent extraction and add some __builtin_expect.
23381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23382 Fix for subnormal mantissa calculation.
23384 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23386 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23387 cpu2 is -1 and errno is not ENOSYS.
23389 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23392 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23393 * sysdeps/x86/bits/string.h: This.
23394 * sysdeps/x86_64/bits/string.h: Removed.
23396 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23397 if not compiling for x86-64, but compiling for >= i486.
23399 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23400 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23402 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23403 New macro from Linux kernel 3.4.0.
23404 (FP_XSTATE_MAGIC2): Likewise.
23405 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23406 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23407 (struct _fpx_sw_bytes): New struct.
23408 (struct _xsave_hdr): Likewise.
23409 (struct _ymmh_state): Likewise.
23410 (struct _xstate): Likewise.
23412 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23413 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23414 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23415 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23416 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23417 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23419 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23420 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23421 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23422 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23423 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23424 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23426 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23429 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23430 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23431 (sysdep_headers): Include sys/platform/ppc.h.
23432 * sysdeps/powerpc/test-gettimebase.c: Test for
23433 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23434 * manual/Makefile (appendices): Include platform.texi.
23435 * manual/contrib.texi (Contributors): Update @node pointers.
23436 * manual/maint.texi (Maintenance): Likewise.
23437 (Platform): New node.
23438 * manual/platform.texi: New file. Document the new features.
23440 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23441 Jakub Jelinek <jakub@redhat.com>
23444 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23445 where __builtin_expect is unavailable.
23447 2012-06-03 David S. Miller <davem@davemloft.net>
23449 * stdlib/longlong.h: Updated from GCC.
23451 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23454 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23455 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23458 (GLIBC_2.16): Likewise.
23460 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23462 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23464 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23467 (default-abi): New variable.
23468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23469 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23471 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23473 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23478 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23479 definition. Document in comment.
23481 2012-06-01 David S. Miller <davem@davemloft.net>
23483 * stdlib/longlong.h: Updated from GCC.
23485 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23488 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23489 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23490 sys/debugreg.h sys/io.h here.
23491 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23492 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23494 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23495 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23496 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23497 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23498 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23499 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23501 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23502 Define only if __x86_64__ is defined.
23504 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23507 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23508 Use int64_t for variable i.
23509 * math/libm-test.inc (fmod_test): Add more tests.
23511 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23512 z computation is not scheduled after fetestexcept.
23513 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23514 Use math_force_eval instead of asm to ensure calculation scheduled
23515 before exception test.
23516 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23517 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23519 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23522 computation is not scheduled after fetestexcept.
23524 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23527 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23528 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23530 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23532 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23533 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23535 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23538 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23540 (__WCHAR_MIN): Support __WORDSIZE == 64.
23541 (__WCHAR_MAX): Likewise.
23543 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23544 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23548 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23551 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23554 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23555 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23557 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23558 Defined to 1 if __x86_64__ isn't defined.
23559 (_STAT_VER_LINUX_OLD): New.
23560 (st_atime): Remove duplicate.
23561 (st_mtime): Likewise.
23562 (st_ctime): Likewise.
23564 2012-05-31 David S. Miller <davem@davemloft.net>
23566 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23569 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23571 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23575 * elf/dl-reloc.c: Include <_itoa.h>.
23576 (_dl_reloc_bad_type): Remove use of INTUSE.
23577 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23578 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23579 * stdio-common/psiginfo.c (psiginfo): Likewise.
23580 * stdio-common/psignal.c (psignal): Likewise.
23581 * string/strsignal.c (strsignal): Likewise.
23582 * include/signal.h (_sys_siglist): Declare hidden proto.
23583 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23584 INTVARDEF with libc_hidden_data_def.
23585 * stdio-common/itoa-udigits.c: Likewise.
23586 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23587 (_itoa_lower_digits_internal): Remove declaration.
23588 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23589 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23590 (_sys_sigabbrev_internal): Remove aliases.
23591 (_sys_siglist): Define hidden alias.
23593 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23598 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23601 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23602 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23604 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23605 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23606 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23607 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23608 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23609 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23611 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23612 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23613 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23615 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23623 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23624 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23625 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23627 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23628 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23630 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23631 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23632 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23634 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23635 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23637 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23638 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23640 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23642 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23644 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23645 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23647 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23649 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23650 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23651 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23653 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23655 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23657 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23659 * math/math.h (M_El): Use two more decimal places.
23660 (M_LOG2El): Likewise.
23661 (M_LOG10El): Likewise.
23662 (M_LN2l): Likewise.
23663 (M_LN10l): Likewise.
23665 (M_PI_2l): Likewise.
23666 (M_PI_4l): Likewise.
23667 (M_1_PIl): Likewise.
23668 (M_2_PIl): Likewise.
23669 (M_2_SQRTPIl): Likewise.
23670 (M_SQRT2l): Likewise.
23671 (M_SQRT1_2l): Likewise.
23673 2012-05-31 David S. Miller <davem@davemloft.net>
23675 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23676 values between float registers.
23677 * sysdeps/sparc/sparc64/memset.S: Likewise.
23678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23680 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23682 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23683 -D_FORTIFY_SOURCE=1.
23684 (CPPFLAGS-tst-longjmp_chk.c): Define.
23685 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23686 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23687 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23688 CFLAGS-tst-wchar-h.c.
23690 2012-05-31 Marek Polacek <polacek@redhat.com>
23693 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23694 __endmntent_internal): Remove declaration.
23695 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23696 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23697 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23699 2012-05-30 David S. Miller <davem@davemloft.net>
23701 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23702 (___Q_simulate_exceptions): Use real FP ops rather than writing
23704 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23707 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23710 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23711 * sysdeps/x86/bits/xtitypes.h: This.
23713 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23714 * sysdeps/x86/bits/wordsize.h: This.
23716 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23717 * sysdeps/x86/bits/huge_vall.h: This.
23719 * sysdeps/i386/bits/select.h: Removed.
23720 * sysdeps/x86_64/bits/select.h: Renamed to ...
23721 * sysdeps/x86/bits/select.h: This.
23723 * sysdeps/i386/bits/setjmp.h: Removed.
23724 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23725 * sysdeps/x86/bits/setjmp.h: This.
23727 * sysdeps/i386/bits/mathdef.h: Removed.
23728 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23729 * sysdeps/x86/bits/mathdef.h: This.
23731 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23734 * include/sys/socket.h (__connect_internal)
23735 (__libc_sa_len_internal): Remove declaration.
23736 (__connect, __libc_sa_len): Declare hidden_proto.
23737 (SA_LEN): Remove use of INTUSE.
23738 * socket/connect.c: Add libc_hidden_def.
23739 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23740 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23741 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23743 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23744 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23745 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23746 of adding _internal alias.
23748 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23751 * sysdeps/i386/bits/link.h: Removed.
23752 * sysdeps/i386/bits/linkmap.h: Likewise.
23753 * sysdeps/x86_64/bits/link.h: Renamed to ...
23754 * sysdeps/x86/bits/link.h: This.
23755 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23756 * sysdeps/x86/bits/linkmap.h: This.
23758 * sysdeps/i386/bits/endian.h: Removed.
23759 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23760 * sysdeps/x86/bits/endian.h: This.
23762 * sysdeps/i386/bits/byteswap.h: Removed.
23763 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23764 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23765 * sysdeps/x86/bits/byteswap.h: This.
23766 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23767 * sysdeps/x86/bits/byteswap-16.h: This.
23768 * sysdeps/i386/Implies: Add x86.
23769 * sysdeps/x86_64/Implies: Likewise.
23771 2012-05-30 David S. Miller <davem@davemloft.net>
23773 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23774 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23775 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23776 (FP_TRAPPING_EXCEPTIONS): Define.
23777 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23778 (FP_TRAPPING_EXCEPTIONS): Define.
23779 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23780 subnormals only when inexact has been signalled or underflow
23781 exceptions are enabled.
23782 (_FP_PACK_CANONICAL): Likewise.
23784 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23788 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23790 2012-05-30 Richard Henderson <rth@twiddle.net>
23792 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23793 with #ifndef NOT_IN_libc.
23795 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23796 marked to avoid plt entry.
23798 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23801 * Makeconfig (default-abi): New macro.
23802 (abi-includes): Likewise.
23803 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23804 $(abi-$(default-abi)-lib-soname) for soname if defined.
23805 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23807 * Makefile (installed-stubs): Likewise.
23808 * include/stubs-biarch.h: Removed.
23809 * scripts/lib-names.awk: Only handle one library at a time.
23810 * scripts/soversions.awk: Remove WORDSIZE support.
23811 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23813 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23815 (syscall-list-default-condition): Likewise.
23816 (syscall-list-default-condition): Likewise.
23817 (syscall-list-includes): Likewise.
23818 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23819 syscall-list-* with abi-*. Handle undefined abi-variants.
23820 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23821 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23822 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23823 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23825 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23827 (syscall-list-32-options): Likewise.
23828 (syscall-list-32-condition): Likewise.
23829 (syscall-list-64-options): Likewise.
23830 (syscall-list-64-condition): Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23833 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23836 (abi-64-ld-soname): New macro.
23837 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23841 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23842 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23844 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23846 * sysdeps/unix/sysv/linux/kernel-features.h
23847 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23848 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23849 include <kernel-features.h>.
23850 [!__NR_ftruncate64]: Remove conditional code.
23851 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23852 [__NR_ftruncate64]: Make code unconditional.
23853 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23854 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23855 include <kernel-features.h>.
23856 [!__NR_ftruncate64]: Remove conditional code.
23857 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23858 [__NR_ftruncate64]: Make code unconditional.
23859 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23861 include <kernel-features.h>.
23862 [!__NR_ftruncate64]: Remove conditional code.
23863 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23864 [__NR_ftruncate64]: Make code unconditional.
23865 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23867 include <kernel-features.h>.
23868 [!__NR_ftruncate64]: Remove conditional code.
23869 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23870 [__NR_ftruncate64]: Make code unconditional.
23871 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23873 * configure.in (libc_cv_fpie): Weaken to a compile test using
23874 LIBC_TRY_CC_OPTION.
23875 * configure: Regenerated.
23877 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23892 2012-05-27 David S. Miller <davem@davemloft.net>
23894 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23896 (__Q_simulate_exceptions): Return void. Change to simulate
23897 exceptions by writing into the %fsr.
23898 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23899 (__Qp_handle_exceptions): Likewise.
23901 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23902 __Qp_handle_exceptions.
23903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23904 __Qp_handle_exceptions.
23905 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23906 as unused and give dummy FP_RND_NEAREST initializer.
23907 (FP_INHIBIT_RESULTS): Define.
23908 (___Q_simulate_exceptions): Update declaration.
23909 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23912 as unused and give dummy FP_RND_NEAREST initializer.
23913 (__Qp_handle_exceptions): Update declaration.
23914 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23917 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23919 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23920 the temporary FPU control word.
23921 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23922 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23923 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23924 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23925 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23926 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23927 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23928 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23929 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23930 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23931 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23933 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23935 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23938 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23940 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23941 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23942 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23943 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23945 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23946 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23949 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23951 * po/h.po: Update from translation team.
23953 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23955 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23957 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23958 handling of denormals.
23959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23960 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23962 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23963 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23964 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23968 2012-05-26 Marek Polacek <polacek@redhat.com>
23971 * math/libm-test.inc (fma_test): Don't always expect underflow
23974 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23977 * elf/tst-execstack.c: Include stackinfo.h.
23978 (do_test): Adjust test case to ensure that pthread_getattr_np
23979 behaviour remains the same after marking stack executable.
23981 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23983 * sysdeps/unix/sysv/linux/kernel-features.h
23984 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23985 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23987 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23988 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23989 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23991 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23992 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23994 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23996 * configure.in: Define the default includes to being none.
23997 * configure: Regenerated.
23999 2012-05-25 Roland McGrath <roland@hack.frob.com>
24001 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24002 * sysdeps/x86_64/setjmp.S: Likewise.
24003 * sysdeps/i386/bsd-setjmp.S: Likewise.
24004 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24005 * sysdeps/i386/setjmp.S: Likewise.
24006 * sysdeps/i386/__longjmp.S: Likewise.
24007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24008 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24010 * include/stap-probe.h: New file.
24011 * configure.in: Handle --enable-systemtap.
24012 * configure: Regenerated.
24013 * config.h.in (USE_STAP_PROBE): New #undef.
24014 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24015 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24016 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24018 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24022 to 2.4.0 where earlier.
24023 * sysdeps/unix/sysv/linux/configure: Regenerated.
24024 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24025 <kernel-features.h>.
24026 [__ASSUME_32BITUIDS]: Make code unconditional.
24027 [!__ASSUME_32BITUIDS]: Remove conditional code.
24028 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24029 <kernel-features.h>.
24030 [__ASSUME_32BITUIDS]: Make code unconditional.
24031 [!__ASSUME_32BITUIDS]: Remove conditional code.
24032 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24033 [__ASSUME_32BITUIDS]: Make code unconditional.
24034 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24035 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24036 <kernel-features.h>.
24037 [__ASSUME_32BITUIDS]: Make code unconditional.
24038 [!__ASSUME_32BITUIDS]: Remove conditional code.
24039 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24040 <kernel-features.h>.
24041 [__ASSUME_32BITUIDS]: Make code unconditional.
24042 [!__ASSUME_32BITUIDS]: Remove conditional code.
24043 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24044 <kernel-features.h>.
24045 [__ASSUME_32BITUIDS]: Make code unconditional.
24046 [!__ASSUME_32BITUIDS]: Remove conditional code.
24047 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24048 <kernel-features.h>.
24049 [__ASSUME_32BITUIDS]: Make code unconditional.
24050 [!__ASSUME_32BITUIDS]: Remove conditional code.
24051 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24052 <kernel-features.h>.
24053 [__ASSUME_32BITUIDS]: Make code unconditional.
24054 [!__ASSUME_32BITUIDS]: Remove conditional code.
24055 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24056 <kernel-features.h>.
24057 [__ASSUME_32BITUIDS]: Make code unconditional.
24058 [!__ASSUME_32BITUIDS]: Remove conditional code.
24059 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24060 <kernel-features.h>.
24061 [__ASSUME_32BITUIDS]: Make code unconditional.
24062 [!__ASSUME_32BITUIDS]: Remove conditional code.
24063 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24064 <kernel-features.h>.
24065 [__ASSUME_32BITUIDS]: Make code unconditional.
24066 [!__ASSUME_32BITUIDS]: Remove conditional code.
24067 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24068 <kernel-features.h>.
24069 [__ASSUME_32BITUIDS]: Make code unconditional.
24070 [!__ASSUME_32BITUIDS]: Remove conditional code.
24071 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24072 <kernel-features.h>.
24073 [__ASSUME_32BITUIDS]: Make code unconditional.
24074 [!__ASSUME_32BITUIDS]: Remove conditional code.
24075 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24076 <kernel-features.h>.
24077 [__NR_setresgid] (__setresgid): Do not declare.
24078 [__ASSUME_32BITUIDS]: Make code unconditional.
24079 [!__ASSUME_32BITUIDS]: Remove conditional code.
24080 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24081 <kernel-features.h>.
24082 [__NR_setresuid] (__setresuid): Do not declare.
24083 [__ASSUME_32BITUIDS]: Make code unconditional.
24084 [!__ASSUME_32BITUIDS]: Remove conditional code.
24085 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24086 <kernel-features.h>.
24087 [__ASSUME_32BITUIDS]: Make code unconditional.
24088 [!__ASSUME_32BITUIDS]: Remove conditional code.
24089 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24090 <kernel-features.h>.
24091 [__ASSUME_32BITUIDS]: Make code unconditional.
24092 [!__ASSUME_32BITUIDS]: Remove conditional code.
24093 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24094 <kernel-features.h>.
24095 [__ASSUME_32BITUIDS]: Make code unconditional.
24096 [!__ASSUME_32BITUIDS]: Remove conditional code.
24097 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24098 <kernel-features.h>.
24099 [__ASSUME_32BITUIDS]: Make code unconditional.
24100 [!__ASSUME_32BITUIDS]: Remove conditional code.
24101 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24102 <kernel-features.h>.
24103 [__ASSUME_32BITUIDS]: Make code unconditional.
24104 [!__ASSUME_32BITUIDS]: Remove conditional code.
24105 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24106 <kernel-features.h>.
24107 [__ASSUME_32BITUIDS]: Make code unconditional.
24108 [!__ASSUME_32BITUIDS]: Remove conditional code.
24109 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24110 <kernel-features.h>.
24111 [__ASSUME_32BITUIDS]: Make code unconditional.
24112 [!__ASSUME_32BITUIDS]: Remove conditional code.
24113 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24114 <kernel-features.h>.
24115 [__ASSUME_32BITUIDS]: Make code unconditional.
24116 [!__ASSUME_32BITUIDS]: Remove conditional code.
24117 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24118 <kernel-features.h>.
24119 [__ASSUME_32BITUIDS]: Make code unconditional.
24120 [!__ASSUME_32BITUIDS]: Remove conditional code.
24121 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24122 <kernel-features.h>.
24123 [__ASSUME_32BITUIDS]: Make code unconditional.
24124 [!__ASSUME_32BITUIDS]: Remove conditional code.
24125 * sysdeps/unix/sysv/linux/kernel-features.h
24126 (__ASSUME_SETRESUID_SYSCALL): Remove.
24127 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24128 (__ASSUME_32BITUIDS): Likewise.
24129 (__ASSUME_LDT_WORKS): Likewise.
24130 (__ASSUME_O_DIRECTORY): Likewise.
24131 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24132 architecture but not kernel version.
24133 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24134 (__ASSUME_MMAP2_SYSCALL): Likewise.
24135 (__ASSUME_STAT64_SYSCALL): Likewise.
24136 (__ASSUME_IPC64): Likewise.
24137 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24138 <kernel-features.h>.
24139 [__ASSUME_32BITUIDS]: Make code unconditional.
24140 [!__ASSUME_32BITUIDS]: Remove conditional code.
24141 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24142 <kernel-features.h>.
24143 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24144 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24145 132096]: Remove conditional code.
24146 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24147 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24148 <kernel-features.h>.
24149 [__ASSUME_32BITUIDS]: Make code unconditional.
24150 [!__ASSUME_32BITUIDS]: Remove conditional code.
24151 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24152 <kernel-features.h>.
24153 [__ASSUME_32BITUIDS]: Make code unconditional.
24154 [!__ASSUME_32BITUIDS]: Remove conditional code.
24155 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24156 <kernel-features.h>.
24157 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24159 (__setresgid): Do not declare.
24160 [__ASSUME_32BITUIDS]: Make code unconditional.
24161 [!__ASSUME_32BITUIDS]: Remove conditional code.
24162 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24163 <kernel-features.h>.
24164 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24166 (__setresuid): Do not declare.
24167 [__ASSUME_32BITUIDS]: Make code unconditional.
24168 [!__ASSUME_32BITUIDS]: Remove conditional code.
24169 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24170 <kernel-features.h>.
24171 [__ASSUME_32BITUIDS]: Make code unconditional.
24172 [!__ASSUME_32BITUIDS]: Remove conditional code.
24173 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24174 <kernel-features.h>.
24175 [__ASSUME_32BITUIDS]: Make code unconditional.
24176 [!__ASSUME_32BITUIDS]: Remove conditional code.
24178 2012-05-25 Richard Henderson <rth@twiddle.net>
24180 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24181 dl_hwcap to ifunc resolver.
24182 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24184 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24185 dl_hwcap to ifunc resolver.
24186 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24188 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24191 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24192 for |x| <= 2**-26, not 2**-57.
24193 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24196 2012-05-24 Jeff Law <law@redhat.com>
24198 * stdio-common/Makefile (tests): Add bug25.
24199 * stdio-common/bug25.c: New test.
24201 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24204 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24205 multiple of MALLOC_ALIGNMENT in size.
24206 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24208 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24210 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24212 (FILENAME_MAX): Use macro-int-constant.
24213 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24214 (_IOFBF): Use macro-int-constant.
24215 (_IOLBF): Likewise.
24216 (_IONBF): Likewise.
24217 (SEEK_CUR): Likewise.
24218 (SEEK_END): Likewise.
24219 (SEEK_SET): Likewise.
24220 (TMP_MAX): Likewise.
24221 (EOF): Use macro-int-constant. Require < 0.
24222 (NULL): Use macro-constant. Require == 0.
24223 (stdin): Require type to be FILE *.
24224 (stdout): Likewise.
24225 (stderr): Likewise.
24226 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24227 macro-int-constant.
24228 (EXIT_SUCCESS): Likewise.
24229 (NULL): Use macro-constant. Require == 0.
24230 (RAND_MAX): Use macro-int-constant.
24231 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24232 [C99-based standards] (strtof): Require function.
24233 [C99-based standards] (strtold): Likewise.
24234 [C99-based standards] (strtoll): Likewise.
24235 [C99-based standards] (strtoull): Likewise.
24236 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24237 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24238 [ISO || ISO99 || ISO11] (math.h): Likewise.
24239 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24240 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24243 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24246 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24247 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24248 * intl/dgettext.c (DCGETTEXT): Likewise.
24249 * intl/gettext.c (DCGETTEXT): Likewise.
24250 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24251 * posix/regex_internal.h (gettext): Likewise.
24252 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24253 Remove declaration.
24254 * include/argz.h (__argz_count_internal)
24255 (__argz_stringify_internal): Remove declaration.
24256 (__argz_count, __argz_stringify): Declare hidden proto.
24257 * intl/dcgettext.c: Remove use of INTDEF.
24258 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24259 * string/argz-stringify.c: Likewise.
24260 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24261 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24262 Declare hidden proto.
24263 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24264 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24265 Declare hidden proto.
24266 * include/stdio.h (__asprintf_internal): Don't declare.
24267 (__asprintf): Don't define as macro. Declare hidden proto.
24268 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24269 (__fsetlocking): Declare hidden proto.
24270 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24271 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24273 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24274 (_IO_setlinebuf): Remove use of INTUSE.
24275 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24276 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24277 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24278 Remove declaration.
24279 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24280 (_IO_do_flush): Remove use of INTUSE.
24281 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24282 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24283 (_IO_adjust_column, _IO_least_wmarker)
24284 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24285 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24286 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24287 (_IO_default_doallocate, _IO_wdefault_doallocate)
24288 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24289 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24290 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24291 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24292 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24293 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24294 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24295 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24296 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24297 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24298 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24299 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24300 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24302 (_IO_flush_all_internal, _IO_adjust_column_internal)
24303 (_IO_default_uflow_internal, _IO_default_finish_internal)
24304 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24305 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24306 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24307 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24308 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24309 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24310 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24311 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24312 (_IO_file_close_internal, _IO_file_close_it_internal)
24313 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24314 (_IO_file_init_internal, _IO_file_attach_internal)
24315 (_IO_file_fopen_internal, _IO_file_read_internal)
24316 (_IO_file_sync_internal, _IO_file_seek_internal)
24317 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24318 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24319 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24320 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24321 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24322 (_IO_list_all_internal, _IO_link_in_internal)
24323 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24324 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24325 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24326 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24327 (_IO_do_write_internal, _IO_padn_internal)
24328 (_IO_getline_info_internal, _IO_getline_internal)
24329 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24330 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24331 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24332 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24333 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24334 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24335 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24336 with libc_hidden_ver, remove use of INTUSE.
24337 * libio/genops.c: Likewise.
24338 * libio/freopen.c: Likewise.
24339 * libio/freopen64.c: Likewise.
24340 * libio/iofclose.c: Likewise.
24341 * libio/iofdopen.c: Likewise.
24342 * libio/iofflush.c: Likewise.
24343 * libio/iofflush_u.c: Likewise.
24344 * libio/iofgets.c: Likewise.
24345 * libio/iofgets_u.c: Likewise.
24346 * libio/iofopen.c: Likewise.
24347 * libio/iofopncook.c: Likewise.
24348 * libio/iofread.c: Likewise.
24349 * libio/iofread_u.c: Likewise.
24350 * libio/ioftell.c: Likewise.
24351 * libio/iofwrite.c: Likewise.
24352 * libio/iogetline.c: Likewise.
24353 * libio/iogets.c: Likewise.
24354 * libio/iogetwline.c: Likewise.
24355 * libio/iopadn.c: Likewise.
24356 * libio/iopopen.c: Likewise.
24357 * libio/ioseekoff.c: Likewise.
24358 * libio/ioseekpos.c: Likewise.
24359 * libio/iosetbuffer.c: Likewise.
24360 * libio/iosetvbuf.c: Likewise.
24361 * libio/ioungetc.c: Likewise.
24362 * libio/ioungetwc.c: Likewise.
24363 * libio/iovdprintf.c: Likewise.
24364 * libio/iovsprintf.c: Likewise.
24365 * libio/iovsscanf.c: Likewise.
24366 * libio/memstream.c: Likewise.
24367 * libio/obprintf.c: Likewise.
24368 * libio/oldfileops.c: Likewise.
24369 * libio/oldiofclose.c: Likewise.
24370 * libio/oldiofdopen.c: Likewise.
24371 * libio/oldiofopen.c: Likewise.
24372 * libio/oldiopopen.c: Likewise.
24373 * libio/oldstdfiles.c: Likewise.
24374 * libio/putc.c: Likewise.
24375 * libio/setbuf.c: Likewise.
24376 * libio/setlinebuf.c: Likewise.
24377 * libio/stdfiles.c: Likewise.
24378 * libio/strops.c: Likewise.
24379 * libio/vasprintf.c: Likewise.
24380 * libio/vscanf.c: Likewise.
24381 * libio/vsnprintf.c: Likewise.
24382 * libio/vswprintf.c: Likewise.
24383 * libio/wfiledoalloc.c: Likewise.
24384 * libio/wfileops.c: Likewise.
24385 * libio/wgenops.c: Likewise.
24386 * libio/wmemstream.c: Likewise.
24387 * libio/wstrops.c: Likewise.
24388 * libio/__fpurge.c: Likewise.
24389 * libio/__fsetlocking.c: Likewise.
24390 * assert/assert.c: Likewise.
24391 * debug/fgets_chk.c: Likewise.
24392 * debug/fgets_u_chk.c: Likewise.
24393 * debug/fread_chk.c: Likewise.
24394 * debug/fread_u_chk.c: Likewise.
24395 * debug/gets_chk.c: Likewise.
24396 * debug/obprintf_chk.c: Likewise.
24397 * debug/vasprintf_chk.c: Likewise.
24398 * debug/vdprintf_chk.c: Likewise.
24399 * debug/vsnprintf_chk.c: Likewise.
24400 * debug/vsprintf_chk.c: Likewise.
24401 * malloc/mtrace.c: Likewise.
24402 * misc/error.c: Likewise.
24403 * misc/syslog.c: Likewise.
24404 * stdio-common/asprintf.c: Likewise.
24405 * stdio-common/fxprintf.c: Likewise.
24406 * stdio-common/getw.c: Likewise.
24407 * stdio-common/isoc99_fscanf.c: Likewise.
24408 * stdio-common/isoc99_scanf.c: Likewise.
24409 * stdio-common/isoc99_vfscanf.c: Likewise.
24410 * stdio-common/isoc99_vscanf.c: Likewise.
24411 * stdio-common/isoc99_vsscanf.c: Likewise.
24412 * stdio-common/printf-prs.c: Likewise.
24413 * stdio-common/printf_fp.c: Likewise.
24414 * stdio-common/printf_fphex.c: Likewise.
24415 * stdio-common/printf_size.c: Likewise.
24416 * stdio-common/putw.c: Likewise.
24417 * stdio-common/scanf.c: Likewise.
24418 * stdio-common/sprintf.c: Likewise.
24419 * stdio-common/tmpfile.c: Likewise.
24420 * stdio-common/vfprintf.c: Likewise.
24421 * stdio-common/vfscanf.c: Likewise.
24422 * stdlib/strfmon_l.c: Likewise.
24423 * sunrpc/openchild.c: Likewise.
24424 * sunrpc/xdr_stdio.c: Likewise.
24425 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24426 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24428 2012-05-24 Roland McGrath <roland@hack.frob.com>
24430 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24432 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24433 in the third column, to generate for the shared library an IFUNC
24434 that uses _dl_vdso_vsym.
24435 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24436 * Makeconfig (object-suffixes-noshared): New variable.
24438 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24439 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24440 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24441 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24444 * include/sys/time.h (__gettimeofday): Remove macro.
24445 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24446 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24448 (__gettimeofday): Add libc_hidden_def.
24449 (gettimeofday): Add libc_hidden_weak.
24450 * sysdeps/mach/gettimeofday.c: Likewise.
24451 * sysdeps/posix/gettimeofday.c: Likewise.
24452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24453 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24455 (__gettimeofday_internal): Remove strong_alias.
24456 (__gettimeofday): Add libc_hidden_def.
24457 (gettimeofday): Add libc_hidden_weak.
24458 * sysdeps/unix/syscalls.list (gettimeofday):
24459 Remove __gettimeofday_internal alias.
24461 2012-05-24 Daniel Jacobowitz <drow@false.org>
24462 H.J. Lu <hongjiu.lu@intel.com>
24465 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24466 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24467 (largebin_index_32_big): New.
24468 (largebin_index): Use it for 16-byte alignment.
24469 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24470 correction with front_misalign.
24472 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24500 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24501 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24503 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24507 * math/libm-test.inc (exp_test): Add test from bug 14036.
24508 (pow_test): Add test from bug 10846.
24510 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24512 (special_function): Do not include flags in test name.
24513 (parse_args): Likewise.
24514 * sysdeps/i386/fpu/libm-test-ulps: Update.
24515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24516 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24517 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24520 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24522 * math/libm-test.inc ("Philosophy"): Update comment about
24524 (UNDERFLOW_EXCEPTION): New macro.
24525 (UNDERFLOW_EXCEPTION_OK): Likewise.
24526 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24527 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24528 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24529 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24530 (INVALID_EXCEPTION_OK): Update value.
24531 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24532 (OVERFLOW_EXCEPTION_OK): Likewise.
24533 (IGNORE_ZERO_INF_SIGN): Likewise.
24534 (test_exceptions): Handle underflow exceptions.
24535 (acos_test): Update for underflow exception expectations.
24536 (cexp_test): Likewise.
24537 (clog_test): Likewise.
24538 (clog10_test): Likewise.
24539 (csqrt_test): Likewise.
24540 (ctan_test): Likewise.
24541 (ctanh_test): Likewise.
24542 (exp_test): Likewise.
24543 (exp10_test): Likewise.
24544 (exp2_test): Likewise.
24545 (expm1_test): Likewise.
24546 (fma_test): Likewise.
24547 (j0_test): Likewise.
24548 (jn_test): Likewise.
24549 (nexttoward_test): Likewise.
24550 (pow_test): Likewise.
24551 (scalbn_test): Likewise.
24552 (scalbln_test): Likewise.
24553 (tan_test): Likewise.
24554 (y1_test): Likewise.
24555 * sysdeps/i386/fpu/libm-test-ulps: Update.
24556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24558 2012-05-23 David S. Miller <davem@davemloft.net>
24560 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24561 (__libc_sigaction): Remove unused local variables.
24563 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24565 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24567 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24569 mktime: avoid signed integer overflow
24570 * time/mktime.c (__mktime_internal): Do not mishandle the case
24571 where diff == INT_MIN.
24573 mktime: simplify computation of average
24574 * time/mktime.c (ranged_convert): Use new time_t_avg function
24575 instead of rolling our own (probably-slower) code.
24577 mktime: do not assume signed right shift propagates sign bit
24578 * time/mktime.c (isdst_differ): New static function.
24579 (__mktime_internal): No need to normalize tm_isdst now.
24580 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24583 mktime: merge another wrapv change from gnulib
24584 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24585 from some compilers.
24587 mktime: remove incorrect attempt at unusual arithmetics
24588 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24589 The code didn't really work on such machines anyway.
24590 (TYPE_MINIMUM): Assume two's complement.
24591 (twos_complement_arithmetic): Verify that long_int and time_t
24592 are two's complement (or unsigned, in the latter case).
24594 mktime: check signed shifts on long_int and time_t, too
24595 * time/mktime.c (SHR): Check that shifts work as desired
24596 on the types long_int and time_t too, as SHR is used on
24599 mktime: do not assume 'long' is wide enough
24600 * time/mktime.c (verify): Move decl up.
24601 (long_int): New type.
24602 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24603 to remove assumption in the code that 'long' is wide enough to
24604 store year values. This assumption is not true on x32 and on
24605 some non-glibc platforms.
24607 mktime: merge wrapv change from gnulib
24608 * time/mktime.c (WRAPV): New macro.
24609 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24610 (guess_time_tm, __mktime_internal): Do not assume that signed
24611 integer overflow wraps around; modern compilers generate code
24612 where this assumption is no longer valid.
24614 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24616 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24617 Replace "jmp L(pseudo_end)" with "ret".
24618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24621 2012-05-23 Andreas Jaeger <aj@suse.de>
24623 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24624 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24626 2012-05-23 Andreas Jaeger <aj@suse.de>
24627 Maximilian Attems <max@stro.at>
24629 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24632 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24634 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24635 code so that pseudo_end is just ret and the stack pointer is
24636 correct also for static library in error case.
24638 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24640 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24641 move to syscalls.list.
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24647 * manual/install.texi (Running make install): Do not mention Linux
24648 kernel version for which pt_chown is not needed.
24649 (Linux): Do not mention problems with nscd with 2.0 kernels.
24650 * INSTALL: Regenerated.
24652 2012-05-23 Andreas Jaeger <aj@suse.de>
24654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24655 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24657 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24658 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24659 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24661 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24663 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24667 * sysdeps/unix/sysv/linux/bits/in.h
24668 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24670 2012-05-22 Roland McGrath <roland@hack.frob.com>
24672 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24673 (PREPARE_VERSION): Just use assert instead, it will be elided
24674 under [NDEBUG] anyway.
24676 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24678 * sysdeps/unix/sysv/linux/Makefile: Include
24679 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24680 (sysdep_routines): Remove sysctl.
24681 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24682 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24683 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24684 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24685 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24687 2012-05-22 Andreas Jaeger <aj@suse.de>
24689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24690 that pseudo_end is just ret and the stack pointer is correct also
24691 for static library in error case.
24693 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24696 * nss/nsswitch.c (defconfig_entries): New variable.
24697 (__nss_database_lookup): Don't leak defconfig entries.
24698 (nss_parse_service_list): Don't leak on error paths.
24699 (free_database_entries): New function.
24700 (free_defconfig): New function.
24701 (free_mem): Move common code to free_database_entries.
24703 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24705 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24707 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24709 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24710 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24713 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24714 (INTERNAL_SYSCALL_TYPES): Likewise.
24715 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24716 (LOAD_REGS_TYPES_[1-6]): Likewise.
24717 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24718 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24720 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24722 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24723 copysignl for GLIBC_2_0.
24724 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24725 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24727 logbl for GLIBC_2_0.
24728 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24731 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24733 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24734 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24736 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24739 * time/mktime.c: Update copyright years.
24741 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24743 mktime: merge comment-quoting-style change from gnulib
24744 * time/mktime.c: Quote 'like this' in comments.
24745 The GNU coding standards suggest that we no longer quote `like this',
24746 as "`" and "'" are typically rendered asymmetrically nowadays.
24747 The typical gnulib style is to quote 'like this' when quoting
24748 code, and "like this" when quoting English.
24750 * time/mktime.c (compile-command): Add "-I.".
24752 mktime: merge mktime-internal.h change from gnulib
24753 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24755 mktime: merge time_r change from gnulib
24756 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24758 mktime: merge DEBUG change from gnulib
24759 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24760 case system <time.h> has a #define.
24762 mktime: merge <sys/types.h> change from gnulib
24763 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24764 since <time.t> is now guaranteed to define time_t.
24766 mktime: merge HAVE_CONFIG_H change from gnulib
24767 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24769 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24774 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24776 (struct rusage): Use anonymous union to pad each field to
24779 2012-05-21 David S. Miller <davem@davemloft.net>
24781 * Makefules (o-iterator): Remove .s cases.
24782 (compile-command.s): Delete.
24783 (COMPILE.s): Delete.
24784 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24786 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24788 * configure.in (libc_cv_predef_stack_protector): Only consider
24789 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24790 * configure: Regenerated.
24792 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24795 New macro. Use R*LP on int and pointer.
24796 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24797 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24798 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24799 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24801 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24802 [__WORDSIZE_TIME64_COMPAT32] instead of
24803 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24804 (struct utmp): Likewise.
24805 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24806 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24808 (__WORDSIZE_TIME64_COMPAT32): This.
24809 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24810 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24811 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24812 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24813 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24814 (__WORDSIZE_TIME64_COMPAT32): New macro.
24816 2012-05-21 Andreas Jaeger <aj@suse.de>
24818 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24819 only if [SHARED]. Add prototype for __wcschr_ia32.
24821 2012-05-21 Roland McGrath <roland@hack.frob.com>
24823 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24824 of %rbp unmolested in the jmp_buf while mangling the low bits.
24825 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24826 unmolested high bits of %rbp while demangling the low bits.
24827 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24829 2012-05-21 Andreas Jaeger <aj@suse.de>
24831 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24832 * sunrpc/svc_simple.c: Use it for registerrpc.
24833 * sunrpc/xcrypt.c: Use it for passwd2des.
24835 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24837 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24839 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24840 Don't define if [__SYSCALL_WORDSIZE != 32].
24841 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24844 2012-05-21 Bruno Haible <bruno@clisp.org>
24845 Andreas Jaeger <aj@suse.de>
24847 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24848 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24849 inptr and inend for must_buffer_ch.
24850 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24851 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24852 * stdio-common/Makefile (tests): Remove bug15.
24853 (bug15-ENV): Remove macro.
24854 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24857 2012-05-19 Andreas Jaeger <aj@suse.de>
24858 Roland McGrath <roland@hack.frob.com>
24860 * manual/contrib.texi: Completely rewritten. It contains now an
24861 alphabetical list of contributors and their contributions.
24863 2012-05-21 Richard Henderson <rth@twiddle.net>
24865 * misc/getauxval.c (__getauxval): Use unsigned long int.
24866 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24867 (getauxval): Use unsigned long int.
24869 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24871 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24873 2012-05-21 Roland McGrath <roland@hack.frob.com>
24875 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24876 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24877 __alignof__ (long double).
24879 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24883 2012-05-20 Richard Henderson <rth@twiddle.net>
24885 * misc/getauxval.c: New file.
24886 * misc/sys/auxv.h: New file.
24887 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24888 (routines): Add getauxval.
24889 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24890 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24891 * elf/dl-sysdep.c (_dl_auxv): Remove.
24892 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24893 * elf/dl-support.c (_dl_auxv): New variable.
24894 (_dl_aux_init): Initialize it.
24895 * manual/startup.texi (Auxiliary Vector): New node.
24896 * sysdeps/generic/bits/hwcap.h: New file.
24897 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24898 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24899 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24900 * sysdeps/sparc/sysdep.h: ... here. Include it.
24901 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24914 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24918 2012-05-19 David S. Miller <davem@davemloft.net>
24920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24922 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24925 * math/s_ccosh.c: Include <float.h>
24926 (__ccosh): Avoid internal overflow calculating sinh and cosh
24927 values before multiplying by sin and cos values.
24928 * math/s_ccoshf.c: Likewise.
24929 * math/s_ccoshl.c: Likewise.
24930 * math/s_csin.c: Likewise.
24931 * math/s_csinf.c: Likewise.
24932 * math/s_csinl.c: Likewise.
24933 * math/s_csinh.c: Likewise.
24934 * math/s_csinhf.c: Likewise.
24935 * math/s_csinhl.c: Likewise.
24936 * math/libm-test.inc (ccos_test): Add more tests.
24937 (ccosh_test): Likewise.
24938 (csin_test): Likewise.
24939 (csinh_test): Likewise.
24940 * sysdeps/i386/fpu/libm-test-ulps: Update.
24941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24943 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24945 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24946 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24948 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24950 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24952 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24953 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24954 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24955 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24956 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24957 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24958 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24959 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24960 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24961 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24962 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24963 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24964 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24965 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24966 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24967 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24968 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24969 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24970 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24971 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24972 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24973 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24974 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24975 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24976 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24977 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24978 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24979 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24980 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24981 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24982 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24984 2012-05-18 Andreas Jaeger <aj@suse.de>
24986 * csu/.gitignore: Delete.
24988 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24990 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24991 (timex): Use __syscall_slong_t.
24993 2012-05-18 Andreas Jaeger <aj@suse.de>
24994 Carlos O'Donell <carlos_odonell@mentor.com>
24996 * manual/install.texi (Configuring and compiling): Update
24997 description about files modified in the source directory.
24998 * INSTALL: Regenerated.
25000 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25002 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25003 value. Use "or" to set return value to -1.
25004 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25005 negate return value.
25007 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25009 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25010 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25011 failure if the compiler has Graphite support disabled.
25012 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25014 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25015 CFLAGS-memmove.c): Likewise.
25016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25019 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25021 * sysdeps/x86_64/x32/_itoa.h: New file.
25023 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25024 getdents system call only if kernel and user dirents have the
25025 same d_ino and d_off.
25027 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25028 LLONG_MAX != LONG_MAX.
25029 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25030 (_fitoa_word): Likewise.
25032 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25035 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25036 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25038 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25039 include <bits/wordsize.h>. Check __x86_64__ instead of
25041 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25042 if __x86_64__ is defined. Use anonymous union on fpstate.
25044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25047 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25049 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25050 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25051 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25052 Refer to _rtld_local_ro instead of _rtld_global_ro.
25053 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25055 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25057 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25059 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25060 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25061 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25063 * sysdeps/powerpc/powerpc32/dl-machine.c
25064 (__elf_machine_runtime_setup) [PROF]: Don't reference
25067 2012-05-18 Andreas Jaeger <aj@suse.de>
25069 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25070 function only available for GCCs before 3.4 since GCC 3.4
25071 introduced a builtin.
25073 (llrintf): Likewise.
25074 (llrint): Likewise.
25081 (nearbyint): Likewise.
25082 (nearbyintf): Likewise.
25086 (floorf): Likewise.
25088 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25090 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25091 on both fields and cast pointer to __syscall_ulong_t.
25093 * bits/types.h (__fsword_t): New type.
25094 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25095 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25097 (__FSWORD_T_TYPE): Likewise.
25098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25099 (__FSWORD_T_TYPE): Likewise.
25100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25101 (__FSWORD_T_TYPE): Likewise.
25102 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25103 (__FSWORD_T_TYPE): Likewise.
25104 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25105 __SWORD_TYPE with __fsword_t.
25106 (statfs64): Likewise.
25108 2012-05-17 David S. Miller <davem@davemloft.net>
25110 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25112 2012-05-17 Andreas Jaeger <aj@suse.de>
25114 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25117 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25119 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25121 2012-05-17 Andreas Jaeger <aj@suse.de>
25123 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25126 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25128 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25130 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25132 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25133 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25135 2012-05-17 Andreas Jaeger <aj@suse.de>
25136 Carlos O'Donell <carlos_odonell@mentor.com>
25139 * sysdeps/x86_64/multiarch/init-arch.h
25140 (bit_YMM_Usable): Rename to...
25141 (bit_AVX_Usable): ... this.
25142 (bit_FMA4_Usable): New macro.
25143 (bit_XMM_state): New macro.
25144 (bit_YMM_state): New macro.
25145 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25146 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25147 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25148 (CPUID_OSXSAVE): New macro.
25149 (CPUID_AVX): New macro.
25150 (CPUID_FMA4): New macro.
25151 (index_YMM_Usable): Rename to...
25152 (index_AVX_Usable): ... this.
25153 (HAS_AVX): Use HAS_ARCH_FEATURE.
25154 (HAS_FMA4): Likewise.
25155 (HAS_YMM_USABLE): Remove.
25156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25157 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25159 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25160 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25161 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25162 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25163 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25165 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25167 * math/libm-test.c: Support platforms without multiple rounding modes.
25168 * math/bug-nextafter.c: Support platforms without FP exceptions.
25169 * math/bug-nexttoward.c: Likewise.
25170 * math/test-fenv.c: Likewise.
25171 * math/test-misc.c: Likewise.
25172 * stdlib/bug-getcontext.c: Likewise.
25174 2012-05-17 Andreas Jaeger <aj@suse.de>
25176 * manual/examples/search.c (critter_cmp): Change signature to
25178 * manual/string.texi (Collation Functions): Likewise.
25180 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25182 * bits/types.h: Fold copyright years.
25183 * bits/typesizes.h: Likewise.
25184 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25188 * time/time.h: Likewise.
25190 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25193 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25194 in instead of returning them. Return void.
25195 (__libc_mallinfo): Accumulate over all arenas.
25196 (__malloc_stats): Adjust for change in int_mallinfo interface.
25198 2012-05-16 Roland McGrath <roland@hack.frob.com>
25201 * configure.in (NM): Add AC_CHECK_TOOL for it.
25202 (libc_extra_cflags): New substituted variable.
25203 Check for -fstack-protector being used implicitly.
25204 * configure: Regenerated.
25205 * config.make.in (config-extra-cflags): New variable,
25206 gets @libc_extra_cflags@.
25207 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25210 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25211 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25212 * configure: Regenerated.
25213 * config.make.in (CPPUNDEFS): New substituted variable.
25214 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25215 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25216 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25220 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25221 (mq_attr): Use __syscall_slong_t.
25223 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25225 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25226 Check __x86_64__ instead of __WORDSIZE.
25227 (_STAT_VER_LINUX): Likewise.
25228 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25229 __syscall_ulong_t and __syscall_slong_t.
25230 (stat64): Likewise.
25232 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25234 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25236 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25238 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25240 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25242 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25245 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25246 include <bits/wordsize.h>. Check __x86_64__ instead of
25248 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25250 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25252 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25253 include <bits/wordsize.h>. Check __x86_64__ instead of
25255 (user_regs_struct): Use "__extension__ unsigned long long"
25256 instead of "unsigned long" if __x86_64__ is defined.
25257 (user): Likewise. Pad after pointer field if __ILP32__ is
25260 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25262 * configure.in (makeinfo): Require version 4.5 or later. Allow
25264 * configure: Regenerated.
25265 * manual/install.texi (texinfo): Increase version requirement to
25267 * INSTALL: Regenerated.
25269 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25271 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25273 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25275 * sysdeps/x86_64/x32/ffs.c: New file.
25277 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25279 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25280 defined. Use __syscall_ulong_t.
25281 (shminfo): Use __syscall_ulong_t.
25282 (shm_info): Likewise.
25284 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25287 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25289 (msgqnum_t): Use __syscall_ulong_t.
25290 (msglen_t): Likewise.
25291 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25294 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25295 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25297 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25299 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25300 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25302 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25306 include <bits/wordsize.h>. Check __x86_64__ instead of
25309 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25310 "unsigned long long int" if __x86_64__ is defined.
25311 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25314 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25315 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25317 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25319 (GET_PC): Cast to uintptr_t first.
25320 (GET_FRAME): Likewise.
25321 (GET_STACK): Likewise.
25323 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25324 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25325 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25326 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25327 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25328 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25329 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25330 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25331 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25332 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25335 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25337 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25338 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25339 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25340 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25341 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25342 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25343 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25344 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25345 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25346 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25347 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25351 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25353 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25355 * Makerules (+depfiles): Also collect depfiles from .oS in
25357 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25358 .oS, $(libnldbl-routines)).
25360 * Makerules (native-compile-mkdep-flags): Define.
25361 * sunrpc/Makefile (extra-objs): Add $(addprefix
25362 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25363 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25364 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25365 calling $(make-target-directory).
25367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25369 * bits/types.h (__snseconds_t): Removed.
25370 * time/time.h (struct timespec): Replace __snseconds_t with
25372 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25373 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25376 (__SNSECONDS_T_TYPE): Likewise.
25377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25378 (__SNSECONDS_T_TYPE): Likewise.
25379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25380 (__SNSECONDS_T_TYPE): Likewise.
25382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25384 * sysdeps/mach/hurd/bits/typesizes.h
25385 (__SYSCALL_SLONG_TYPE): New macro.
25386 (__SYSCALL_ULONG_TYPE): Likewise.
25388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25390 * bits/types.h (__syscall_slong_t): New type.
25391 (__syscall_ulong_t): Likewise.
25393 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25394 (__SYSCALL_ULONG_TYPE): Likewise.
25395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25396 (__SYSCALL_SLONG_TYPE): Likewise.
25397 (__SYSCALL_ULONG_TYPE): Likewise.
25398 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25399 (__SYSCALL_SLONG_TYPE): Likewise.
25400 (__SYSCALL_ULONG_TYPE): Likewise.
25401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25402 (__SYSCALL_SLONG_TYPE): Likewise.
25403 (__SYSCALL_ULONG_TYPE): Likewise.
25405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25407 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25408 Add sigaltstack-offsets.sym.
25409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25410 <sigaltstack-offsets.h>.
25411 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25412 longjmp_msg pointer.
25413 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25414 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25416 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25418 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25420 * elf/stackguard-macros.h: Remove file.
25421 * sysdeps/generic/stackguard-macros.h: New file.
25422 * sysdeps/i386/stackguard-macros.h: Likewise.
25423 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25424 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25425 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25426 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25427 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25428 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25429 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25430 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25431 <elf/stackguard-macros.h>.
25434 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25435 __aligned__ in attribute.
25436 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25437 (gregset_t): Likewise.
25439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25441 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25442 * sysdeps/x86_64/64/Implies-after: Here. New file.
25443 * sysdeps/x86_64/x32/Implies-after: New file.
25445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25447 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25448 and access return value for _dl_profile_fixup. Use R10_LP to
25451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25453 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25457 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25458 * sysdeps/x86_64/x32/sysdep.h: New file.
25460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25462 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25463 * sysdeps/x86_64/setjmp.S: Likewise.
25465 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25467 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25468 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25469 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25470 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25471 remove unused global constant.
25473 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25475 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25476 include of <not-cancel.h>.
25478 2012-05-15 Roland McGrath <roland@hack.frob.com>
25480 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25482 2012-05-15 Jeff Law <law@redhat.com>
25483 Andreas Jaeger <aj@suse.de>
25486 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25488 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25489 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25490 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25491 code changing __hst_map_handle.map.
25493 2012-05-15 Roland McGrath <roland@hack.frob.com>
25495 * configure.in (sysnames): Look for Implies-before and Implies-after
25497 * configure: Regenerated.
25499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25501 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25502 8-byte data alignment with LP_SIZE alignment.
25504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25506 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25511 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25515 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25516 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25517 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25523 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25524 (stackinfo_sub_sp): Likewise.
25526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25528 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25543 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25547 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25548 into R11_LP and load __x86_64_shared_cache_size_half into
25551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25553 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25556 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25564 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25565 powerpc32/power7/fpu/s_logb.c via #include.
25566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25567 powerpc32/power7/fpu/s_logbf.c via #include.
25568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25569 powerpc32/power7/fpu/s_logbl.c via #include.
25571 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25573 * README.libm: Remove file.
25575 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25577 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25578 count for x32. Use R*_LP and omit operand-size suffix.
25580 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25582 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25583 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25584 * sysdeps/x86_64/x32/shlib-versions: New file.
25586 2012-05-14 Roland McGrath <roland@hack.frob.com>
25588 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25589 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25590 Use _dl_fatal_printf instead.
25592 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25594 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25595 set if not set by the user. Do not allow for being unset.
25596 * sysdeps/unix/sysv/linux/configure: Regenerated.
25598 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25600 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25601 the `q' suffix from lea and replace .quad with ASM_ADDR.
25603 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25606 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25608 (PTR_DEMANGLE): Likewise.
25610 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25612 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25614 (ASM_ADDR): Likewise.
25615 (RAX_LP): Likewise.
25616 (RBP_LP): Likewise.
25617 (RBX_LP): Likewise.
25618 (RCX_LP): Likewise.
25619 (RDI_LP): Likewise.
25620 (RSI_LP): Likewise.
25621 (RSP_LP): Likewise.
25624 (R10_LP): Likewise.
25625 (R10_LP): Likewise.
25626 (R11_LP): Likewise.
25627 (R12_LP): Likewise.
25628 (R13_LP): Likewise.
25629 (R14_LP): Likewise.
25630 (R15_LP): Likewise.
25632 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/x86_64/x32/dl-machine.h: New file.
25636 2012-05-14 Andreas Jaeger <aj@suse.de>
25638 * manual/Makefile (subdir): Remove export of subdir.
25639 (all): Remove target.
25640 (.PHONY): Remove all from list.
25641 (mkinstalldirs): Remove.
25642 (.PHONY): Remove installdirs from list.
25643 ($(inst_infodir)/libc.info): Use make-target-directory.
25644 (installdirs): Remove.
25645 (subdir_%): Remove.
25646 (glibc-targets): Remove.
25649 ($(objpfx)stubs ../po/manual.pot): Remove.
25650 ($(objpfx)stamp%): Remove.
25651 (make-target-directory): Remove.
25652 (subdir_install): Remove.
25653 (routines): Remove.
25660 * manual/.gitignore: Remove, it's not needed anymore.
25661 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25663 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25665 (texis): Renamed to $(objpfx)texis.
25666 (texis-path): New, contains path to generated files.
25667 (chapters.%): Use texis-path for complete path, add extra argument
25669 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25670 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25671 (summary,texi, stamp-summary): Use complete path of
25672 files. Generate files in build dir.
25673 (dir-add.texi): Build in build dir.
25674 (libm-err.texi,stamp-libm-err): Likewise.
25675 (version.texi, stamp-version): Likewise.
25676 (.%c.texi): Likewise.
25677 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25678 (mostlyclean): Remove target.
25679 (realclean): Remove target.
25680 (generated): Add new variable with contents from mostlyclean and
25681 realclean, remove entries duplicated in common-mostlyclean, add
25682 stamp-libm-err and stamp-version.
25683 (generated-dirs): Add libc directory.
25684 ($(inst_infodir)/libc.info): Install files from build dir.
25686 * manual/install.texi (Configuring and compiling): Adjust since
25687 the info files are not part of the tar ball anymore.
25689 2012-05-14 Andreas Jaeger <aj@suse.de>
25691 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25694 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25698 to 2.2.0 where earlier.
25699 * sysdeps/unix/sysv/linux/configure: Regenerated.
25700 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25701 Remove conditional code.
25702 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25703 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25704 Remove conditional code.
25705 [!__NR_lchown]: Likewise.
25706 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25707 [__NR_lchown]: Likewise.
25708 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25709 comment referencing __ASSUME_LCHOWN_SYSCALL.
25710 * sysdeps/unix/sysv/linux/i386/sigaction.c
25711 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25712 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25713 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25714 Remove conditional code.
25715 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25716 (__protocol_available): Remove #if 0 code.
25717 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25719 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25720 * sysdeps/unix/sysv/linux/kernel-features.h
25721 (__ASSUME_GETCWD_SYSCALL): Don't define.
25722 (__ASSUME_REALTIME_SIGNALS): Likewise.
25723 (__ASSUME_PREAD_SYSCALL): Likewise.
25724 (__ASSUME_PWRITE_SYSCALL): Likewise.
25725 (__ASSUME_POLL_SYSCALL): Likewise.
25726 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25727 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25729 (__ASSUME_SIOCGIFNAME): Don't define.
25730 (__ASSUME_MSG_NOSIGNAL): Likewise.
25731 (__ASSUME_SENDFILE): Define unconditionally.
25732 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25733 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25735 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25736 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25737 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25738 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25739 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25740 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25741 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25743 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25746 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25749 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25752 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25753 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25755 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25758 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25761 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25766 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25767 Remove conditional code.
25768 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25769 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25770 Remove conditional code.
25771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25772 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25773 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25774 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25775 Remove conditional code.
25776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25777 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25778 Remove conditional code.
25779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25780 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25781 Remove conditional code.
25782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25783 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25784 Remove conditional code.
25785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25786 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25787 Remove conditional code.
25788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25789 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25792 * sysdeps/unix/sysv/linux/sigaction.c
25793 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25794 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25795 * sysdeps/unix/sysv/linux/sigpending.c
25796 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25797 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25798 * sysdeps/unix/sysv/linux/sigprocmask.c
25799 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25800 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25801 * sysdeps/unix/sysv/linux/sigsuspend.c
25802 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25803 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25805 (__libc_missing_rt_sigs): Remove.
25806 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25807 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25808 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25809 Remove conditional code.
25810 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25811 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25813 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25814 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25815 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25816 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25818 2012-05-14 Andreas Jaeger <aj@suse.de>
25820 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25821 it's not used in glibc.
25822 (__coshm1): Likewise.
25823 (__acosh1p): Likewise.
25826 * manual/string.texi (Copying and Concatenation): Add missing
25827 variable in concat example.
25828 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25834 __builtin_clzl with __builtin_clzll.
25836 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25839 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25842 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25844 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25845 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25846 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25847 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25849 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25851 * NEWS: Update ia64 info.
25853 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25855 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25858 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25860 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25861 * sysdeps/unix/syscalls.list (dup3): Likewise.
25862 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25863 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25865 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25867 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25868 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25870 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25872 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25874 (TLS_IE): Use mov/add instead of movq/addq to load thread
25876 (TLS_GD_PREFIX): New.
25879 2012-05-11 David S. Miller <davem@davemloft.net>
25881 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25882 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25883 (_FPU_SETCW): Likewise.
25885 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25887 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25888 is 32-byte aligned.
25890 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25893 * iconvdata/gb18030.c: Update tables.
25894 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25895 characters specially.
25896 (BODY for TO_LOOP): Add encoding of missing ranges.
25898 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25901 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25902 * sysdeps/mach/hurd/dup3.c: Likewise.
25903 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25904 * sysdeps/powerpc/memmove.c:: Likewise.
25906 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25909 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25911 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25913 * elf/elf.h (R_X86_64_RELATIVE64): New.
25914 (R_X86_64_NUM): Updated.
25915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25916 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25917 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25918 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25919 tst-quad1pie tst-quad2pie
25920 (modules-names): Add tst-quadmod1 tst-quadmod2.
25921 ($(objpfx)tst-quad1): New dependency.
25922 ($(objpfx)tst-quad2): Likewise.
25923 ($(objpfx)tst-quad1pie): Likewise.
25924 ($(objpfx)tst-quad2pie): Likewise.
25925 * sysdeps/x86_64/tst-quad1.c: New file.
25926 * sysdeps/x86_64/tst-quad1pie.c: New file.
25927 * sysdeps/x86_64/tst-quad2.c: Likewise.
25928 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25929 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25930 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25931 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25932 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25936 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25937 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25938 * streams/stropts.h (t_scalar_t): Define type.
25940 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25941 (_PATH_PRESERVE): Set to "/var/lib".
25942 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25944 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25947 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25948 if __dir_mkfile succeeded.
25950 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25951 checking for _hurd_dtablesize. Unlock it right after having
25952 finished _hurd_dtable allocation.
25954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25956 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25957 * sysdeps/mach/hurd/configure: Regenerated.
25958 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25959 special-casing to...
25960 * sysdeps/gnu/configure.in: ... this new file.
25961 * sysdeps/unix/sysv/linux/configure: Regenerated.
25962 * sysdeps/gnu/configure: New generated file.
25964 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25965 for Linux: use nsec instead of usec, as well as:
25966 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25967 members of type struct timespec.
25968 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25970 (struct stat64): Likewise.
25971 (_STATBUF_ST_NSEC): New macro.
25972 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25974 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25975 __strtoul_internal rather than strtoul.
25977 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25979 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25982 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25984 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25985 which preserves existing values.
25986 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25988 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25990 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25991 TIMEOUT values. Return EINVAL for NFDS values either negative or
25992 greater than FD_SETSIZE.
25994 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25996 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25997 allocated, call __vm_protect to finish enabling the existing space, and
25998 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25999 allocate the remainder.
26001 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26003 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26004 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26006 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26008 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26009 sysdeps/mach/hurd/readlink.c.
26011 * posix/tst-sysconf.c (posix_options): Only use
26012 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26013 _POSIX_SYNCHRONIZED_IO when they are defined
26014 * sysdeps/mach/hurd/bits/posix_opt.h:
26015 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26016 (_XOPEN_REALTIME): Undefine macro.
26017 (_XOPEN_REALTIME_THREADS): Undefine macro.
26018 (_XOPEN_SHM): Undefine macro.
26019 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26021 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26023 (_POSIX_ASYNC_IO): Undefine macro.
26024 (_POSIX_PRIORITIZED_IO): Undefine macro.
26025 (_POSIX_SPIN_LOCKS): Define macro to -1.
26027 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26028 SA_NODEFER, SA_RESETHAND.
26029 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26030 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26033 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26035 * elf/Makefile (pldd-modules): Define unconditionally.
26037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26039 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26041 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26043 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26044 Return ENOENT when name is empty.
26045 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26049 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26051 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26053 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26055 Fix mlock in all cases except non-readable pages.
26056 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26057 instead of VM_PROT_ALL as parameter to __vm_wire function.
26059 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26060 (__mkdir): When path is `/', just fail with EEXIST.
26061 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26065 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26066 <sys/uio.h> (for writev).
26067 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26068 and <sys/param.h> (for MIN).
26070 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26072 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26073 REQUESTED_TIME. Properly set the remaining time and return EINTR
26076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26078 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26079 Depend on against $(link-rpcuserlibs).
26081 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26083 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26084 (__libc_stack_end): Do not use attribute_relro.
26085 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26086 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26087 to libthread-provided value.
26088 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26091 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26094 * bits/libc-lock.h (__libc_once_get): New macro.
26095 * sysdeps/mach/bits/libc-lock.h: Likewise.
26096 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26097 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26098 instead of using implementation details.
26100 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26101 * libio/freopen.c: Likewise.
26102 * libio/freopen64.c: Likewise.
26103 * misc/syslog.c: Likewise.
26104 * nscd/connections.c: Likewise.
26105 * nscd/netgroupcache.c: Likewise.
26106 * sysdeps/posix/getcwd.c: Likewise.
26108 2012-05-10 Roland McGrath <roland@hack.frob.com>
26110 * math/w_ilogbf.c: Add #include <limits.h>.
26112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26114 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26115 path instead of returning without unlocking.
26117 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26118 immediate-write ioctls.
26119 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26123 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26124 __builtin_frame_address instead of making assumptions about the
26125 location of the return address relative to DATA. Force early load of
26126 the return address.
26127 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26128 __builtin_frame_address.
26131 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26132 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26133 implement dup3 and do some further code clean-ups.
26134 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26135 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26139 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26141 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26142 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26143 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26144 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26145 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26148 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26149 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26150 when handler == SIG_ERR, not when handler != SIG_ERR.
26152 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26154 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26155 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26158 accept4 for GNU Hurd.
26159 * include/sys/socket.h (__libc_accept4): New prototype.
26160 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26161 to implement __libc_accept4.
26162 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26164 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26166 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26167 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26168 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26169 signal-defines.sym.
26171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26173 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26177 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26178 assertion on O_CLOEXEC flag.
26179 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26180 * hurd/intern-fd.c: Likewise.
26181 * hurd/port2fd.c: Likewise.
26183 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26186 * bits/in.h (IPV6_PKTINFO): Define new macro.
26187 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26189 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26194 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26196 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26197 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26199 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26200 * math/libm-test.inc (logb_test) : Additional logb tests.
26202 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26203 Andreas Jaeger <aj@suse.de>
26205 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26206 * configure: Regenerated.
26207 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26208 * config.make.in (link-obsolete-rpc): New substituted variable.
26209 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26210 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26211 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26212 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26213 so that libc.a contains the symbols.
26214 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26215 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26216 * sunrpc/auth_none.c: Likewise.
26217 * sunrpc/auth_unix.c: Likewise.
26218 * sunrpc/authdes_prot.c: Likewise.
26219 * sunrpc/authuxprot.c: Likewise.
26220 * sunrpc/clnt_gen.c: Likewise.
26221 * sunrpc/clnt_perr.c: Likewise.
26222 * sunrpc/clnt_raw.c: Likewise.
26223 * sunrpc/clnt_simp.c: Likewise.
26224 * sunrpc/clnt_tcp.c: Likewise.
26225 * sunrpc/clnt_udp.c: Likewise.
26226 * sunrpc/clnt_unix.c: Likewise.
26227 * sunrpc/des_crypt.c: Likewise.
26228 * sunrpc/des_soft.c: Likewise.
26229 * sunrpc/get_myaddr.c: Likewise.
26230 * sunrpc/key_call.c: Likewise.
26231 * sunrpc/key_prot.c: Likewise.
26232 * sunrpc/netname.c: Likewise.
26233 * sunrpc/pm_getmaps.c: Likewise.
26234 * sunrpc/pm_getport.c: Likewise.
26235 * sunrpc/pmap_clnt.c: Likewise.
26236 * sunrpc/pmap_prot.c: Likewise.
26237 * sunrpc/pmap_prot2.c: Likewise.
26238 * sunrpc/pmap_rmt.c: Likewise.
26239 * sunrpc/publickey.c: Likewise.
26240 * sunrpc/rpc_cmsg.c: Likewise.
26241 * sunrpc/rpc_common.c: Likewise.
26242 * sunrpc/rpc_dtable.c: Likewise.
26243 * sunrpc/rpc_prot.c: Likewise.
26244 * sunrpc/rpc_thread.c: Likewise.
26245 * sunrpc/rtime.c: Likewise.
26246 * sunrpc/svc.c: Likewise.
26247 * sunrpc/svc_auth.c: Likewise.
26248 * sunrpc/svc_raw.c: Likewise.
26249 * sunrpc/svc_run.c: Likewise.
26250 * sunrpc/svc_tcp.c: Likewise.
26251 * sunrpc/svc_udp.c: Likewise.
26252 * sunrpc/svc_unix.c: Likewise.
26253 * sunrpc/svcauth_des.c: Likewise.
26254 * sunrpc/xcrypt.c: Likewise.
26255 * sunrpc/xdr.c: Likewise.
26256 * sunrpc/xdr_array.c: Likewise.
26257 * sunrpc/xdr_float.c: Likewise.
26258 * sunrpc/xdr_intXX_t.c: Likewise.
26259 * sunrpc/xdr_mem.c: Likewise.
26260 * sunrpc/xdr_rec.c: Likewise.
26261 * sunrpc/xdr_ref.c: Likewise.
26262 * sunrpc/xdr_sizeof.c: Likewise.
26263 * sunrpc/xdr_stdio.c: Likewise.
26265 2012-05-10 Roland McGrath <roland@hack.frob.com>
26267 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26268 change. Update copyright years.
26270 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26272 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26274 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26275 Joseph Myers <joseph@codesourcery.com>
26276 Paul Pluzhnikov <ppluzhnikov@google.com>
26279 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26281 [cross-compiling] (extra-libs): Likewise.
26282 [cross-compiling] (extra-libs-others): Likewise.
26283 [cross-compiling] (librpcsvc-routines): Likewise.
26284 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26285 [cross-compiling] (omit-deps): Likewise.
26286 (sunrpc-CPPFLAGS): New variable.
26287 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26288 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26289 (cross-rpcgen-objs): New variable.
26290 (extra-objs): Append $(cross-rpcgen-objs).
26291 ($(cross-rpcgen-objs)): New rule.
26292 ($(objpfx)cross-rpcgen): Likewise.
26293 (rpcgen-cmd): Define to use $(built-program-file). Expand
26295 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26296 ($(objpfx)x%.stmp): Likewise.
26297 * sunrpc/proto.h [IS_IN_build] (_): Define.
26298 [IS_IN_build] (_libc_intl_domainname): Likewise.
26300 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26303 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26304 and R_X86_64_TPOFF64.
26306 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26308 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26309 sysdeps/unix/sysv/syscalls.list.
26312 * sysdeps/unix/sysv/syscalls.list: Remove file.
26314 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26317 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26318 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26319 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26320 (__LC_IDENTIFICATION): Make these macros useful in #if
26321 expressions, as required by C99.
26323 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26325 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26326 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26329 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26331 * stdlib/longlong.h: Updated from GCC.
26333 2012-05-09 Andreas Jaeger <aj@suse.de>
26335 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26336 default is first entry.
26337 (run_mode): Set type.
26338 (main): Remove informal message about syslog.
26339 (options): Fix typo.
26342 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26345 (llrintf): Likewise.
26346 (llrint): Likewise.
26349 (nearbyint): Likewise.
26350 (nearbyintf): Likewise.
26352 2012-05-09 Andreas Jaeger <aj@suse.de>
26353 Pedro Alves <palves@redhat.com>
26355 * nscd/nscd.c (run_mode): Use enum.
26356 (main): Cleanup coding style issue.
26358 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26359 Andreas Jaeger <aj@suse.de>
26361 * nscd/nscd.c (go_background): Replaced with...
26362 (run_mode): ... this.
26363 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26364 (options): Add -F --foreground.
26365 (main): Implement it.
26366 (parse_opt): Parse it.
26368 2012-05-09 Andreas Jaeger <aj@suse.de>
26371 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26372 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26373 -Wconversion warning.
26374 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26377 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26379 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26381 (LC_ALL): Use macro-int-constant.
26382 (LC_COLLATE): Likewise.
26383 (LC_CTYPE): Likewise.
26384 (LC_MESSAGES): Likewise.
26385 (LC_MONETARY): Likewise.
26386 (LC_NUMERIC): Likewise.
26387 (LC_TIME): Likewise.
26388 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26389 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26391 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26393 [C99-based standards] (float_t): Expect type.
26394 [C99-based standards] (double_t): Expect type.
26395 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26397 [C99-based standards] (HUGE_VALL): Likewise.
26398 [C99-based standards] (INFINITY): Likewise.
26399 [C99-based standards] (NAN): Likewise.
26400 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26401 [C99-based standards] (FP_NAN): Likewise.
26402 [C99-based standards] (FP_NORMAL): Likewise.
26403 [C99-based standards] (FP_SUBNORMAL): Likewise.
26404 [C99-based standards] (FP_ZERO): Likewise.
26405 [C99-based standards] (FP_FAST_FMA): Use
26406 optional-macro-int-constant. Specify type. Require == 1.
26407 [C99-based standards] (FP_FAST_FMAF): Likewise.
26408 [C99-based standards] (FP_FAST_FMAL): Likewise.
26409 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26410 [C99-based standards] (FP_ILOGBNAN): Likewise.
26411 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26413 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26414 [C99-based standards] (math_errhandling): Specify type.
26415 [ISO99 || ISO11] (signgam): Do not allow.
26416 [non-C99-based standards] (copysignf): Do not allow.
26417 [non-C99-based standards] (exp2f): Likewise.
26418 [non-C99-based standards] (log2f): Likewise.
26419 [non-C99-based standards] (modff): Allow.
26420 [non-C99-based standards] (erff): Do not allow.
26421 [non-C99-based standards] (erfcf): Likewise.
26422 [non-C99-based standards] (gammaf): Likewise.
26423 [non-C99-based standards] (hypotf): Likewise.
26424 [non-C99-based standards] (j0f): Likewise.
26425 [non-C99-based standards] (j1f): Likewise.
26426 [non-C99-based standards] (jnf): Likewise.
26427 [non-C99-based standards] (lgammaf): Likewise.
26428 [non-C99-based standards] (tgammaf): Likewise.
26429 [non-C99-based standards] (y0f): Likewise.
26430 [non-C99-based standards] (y1f): Likewise.
26431 [non-C99-based standards] (ynf): Likewise.
26432 [non-C99-based standards] (isnanf): Likewise.
26433 [non-C99-based standards] (acoshf): Likewise.
26434 [non-C99-based standards] (asinhf): Likewise.
26435 [non-C99-based standards] (atanhf): Likewise.
26436 [non-C99-based standards] (cbrtf): Likewise.
26437 [non-C99-based standards] (expm1f): Likewise.
26438 [non-C99-based standards] (ilogbf): Likewise.
26439 [non-C99-based standards] (log1pf): Likewise.
26440 [non-C99-based standards] (logbf): Likewise.
26441 [non-C99-based standards] (nextafterf): Likewise.
26442 [non-C99-based standards] (remainderf): Likewise.
26443 [non-C99-based standards] (rintf): Likewise.
26444 [non-C99-based standards] (scalbf): Likewise.
26445 [non-C99-based standards] (copysignl): Likewise.
26446 [non-C99-based standards] (exp2l): Likewise.
26447 [non-C99-based standards] (log2l): Likewise.
26448 [non-C99-based standards] (modfl): Allow.
26449 [non-C99-based standards] (erfl): Do not allow.
26450 [non-C99-based standards] (erfcl): Likewise.
26451 [non-C99-based standards] (gammal): Likewise.
26452 [non-C99-based standards] (hypotl): Likewise.
26453 [non-C99-based standards] (j0l): Likewise.
26454 [non-C99-based standards] (j1l): Likewise.
26455 [non-C99-based standards] (jnl): Likewise.
26456 [non-C99-based standards] (lgammal): Likewise.
26457 [non-C99-based standards] (tgammal): Likewise.
26458 [non-C99-based standards] (y0l): Likewise.
26459 [non-C99-based standards] (y1l): Likewise.
26460 [non-C99-based standards] (ynl): Likewise.
26461 [non-C99-based standards] (isnanl): Likewise.
26462 [non-C99-based standards] (acoshl): Likewise.
26463 [non-C99-based standards] (asinhl): Likewise.
26464 [non-C99-based standards] (atanhl): Likewise.
26465 [non-C99-based standards] (cbrtl): Likewise.
26466 [non-C99-based standards] (expm1l): Likewise.
26467 [non-C99-based standards] (ilogbl): Likewise.
26468 [non-C99-based standards] (log1pl): Likewise.
26469 [non-C99-based standards] (logbl): Likewise.
26470 [non-C99-based standards] (nextafterl): Likewise.
26471 [non-C99-based standards] (remainderl): Likewise.
26472 [non-C99-based standards] (rintl): Likewise.
26473 [non-C99-based standards] (scalbl): Likewise.
26474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26475 [non-C99-based standards] (FP_*): Do not allow.
26476 [C99-based standards] (FP_*): Change to
26477 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26478 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26480 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26481 (SIG_ERR): Likewise.
26482 [X/Open-based standards] (SIG_HOLD): Likewise.
26483 (SIG_IGN): Likewise.
26484 (SIGABRT): Use macro-int-constant. Specify type. Require
26486 (SIGFPE): Likewise.
26487 (SIGILL): Likewise.
26488 (SIGINT): Likewise.
26489 (SIGSEGV): Likewise.
26490 (SIGTER): Likewise.
26491 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26492 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26493 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26494 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26495 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26496 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26499 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26500 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26501 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26502 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26503 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26504 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26505 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26506 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26507 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26508 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26509 [X/Open-based standards] (SIGTRAP): Likewise.
26510 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26511 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26512 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26513 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26514 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26517 2012-05-08 Ian Wienand <ianw@vmware.com>
26520 * time/tzset.c (__tzset_parse_tz): Update default rules for
26521 daylight time changes in the Energy Policy Act of 2005.
26523 2012-05-09 Andreas Jaeger <aj@suse.de>
26526 * elf/ldconfig.c (parse_conf): Change string to make clear that
26527 ldconfig only issued a warning if ld.so.conf does not exist.
26529 2012-05-08 David S. Miller <davem@davemloft.net>
26531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26532 movxtod instead of popping the value on the stack.
26534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26536 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26538 * config.h.in: Add HAVE_ARM_PCS_VFP.
26540 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26543 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26544 checking but the checks are disabled for any reason.
26546 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26548 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26549 and ELF64_R_TYPE with ELFW(R_TYPE).
26551 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26553 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26554 (ulimit): Likewise.
26556 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26557 (settimeofday): Likewise.
26559 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26561 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26562 a struct th_u2 inside the union, and move tu_block/tu_code into
26563 a new th_u3 union of tu_block/tu_code inside of that. Move
26564 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26565 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26566 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26567 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26568 (th_stuff): Change to th_u1.tu_stuff.
26570 (th_msg): Change to th_u1.th_u2.tu_data.
26572 2012-05-07 David S. Miller <davem@davemloft.net>
26574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26577 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26578 (SETUP_PIC_REG): Use it.
26579 (SETUP_PIC_REG_LEAF): Use it.
26581 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26585 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26587 (EXPL_FINITE): Likewise.
26588 (FLDLOG): Likewise.
26589 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26590 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26592 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26594 (EXPL_FINITE): Likewise.
26595 (FLDLOG): Likewise.
26596 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26597 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26599 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26600 test of -max_value argument for long double.
26601 * sysdeps/i386/fpu/libm-test-ulps: Update.
26602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26604 2012-05-06 David S. Miller <davem@davemloft.net>
26606 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26607 quad soft-float symbols whose references which are compiler
26609 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26611 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26615 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26617 (EXPL_FINITE): Likewise.
26618 (FLDLOG): Likewise.
26621 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26622 Adjust comments for base varying.
26623 (__expl_finite): Change alias to EXPL_FINITE.
26624 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26626 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26627 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26629 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26630 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26632 (EXPL_FINITE): Likewise.
26633 (FLDLOG): Likewise.
26636 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26637 Adjust comments for base varying.
26638 (__expl_finite): Change alias to EXPL_FINITE.
26639 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26644 * math/libm-test.inc (check_float_internal): Correct ulp
26645 calculation for subnormal expected results.
26647 2012-05-06 Andreas Jaeger <aj@suse.de>
26649 * Makeconfig (+math-flags): New, set to -frounding-math.
26650 (+cflags): Add +math-flags so that all of glibc gets compiled with
26653 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26655 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26657 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26663 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26664 (__ieee754_expl): Allow for and saturate large arguments.
26665 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26666 (u_threshold): Likewise.
26667 (__exp): Call __ieee754_exp before checking for overflow and
26669 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26670 (u_threshold): Likewise.
26671 (__expf): Call __ieee754_expf before checking for overflow and
26673 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26674 (u_threshold): Likewise.
26675 (__expl): Call __ieee754_expl before checking for overflow and
26677 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26678 (__ieee754_expl): Allow for and saturate large arguments.
26679 * math/libm-test.inc (exp_test): Add another test. Do not allow
26680 missing overflow exception on overflow.
26681 (expm1_test): Do not allow missing overflow exception on overflow.
26683 * sysdeps/i386/fpu/e_expl.c: Move to ...
26684 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26685 rather than using inline asm.
26686 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26687 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26688 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26690 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26693 (signal): Likewise.
26697 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26699 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26700 sysdeps/unix/common/syscalls.list.
26701 (fchmod): Likewise.
26702 (fchown): Likewise.
26703 (ftruncate): Likewise.
26704 (getrusage): Likewise.
26705 (gettimeofday): Likewise.
26706 (setpgid): Likewise.
26707 (setregid): Likewise.
26708 (setreuid): Likewise.
26709 (sigaction): Likewise.
26710 (truncate): Likewise.
26711 (vhangup): Likewise.
26712 * sysdeps/unix/common/syscalls.list: Remove file.
26713 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26714 * sysdeps/unix/sysv/linux/Implies: Likewise.
26716 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26718 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26720 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26724 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26727 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26730 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26733 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26736 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26739 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26742 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26746 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26750 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26753 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26757 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26761 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26763 * sysdeps/unix/common/bits/dirent.h: Remove file.
26764 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26766 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26767 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26768 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26769 * sysdeps/unix/bsd/isatty.c: Likewise.
26770 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26771 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26772 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26774 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26778 long double comparison inaccuracies.
26779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26782 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26784 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26785 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26787 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26790 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26791 nonzero digits before rounding a hex value.
26792 * stdlib/tst-strtod.c (tests): Add another test.
26794 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26796 * sysdeps/s390/fpu/libm-test-ulps: Update.
26798 2012-05-03 Andreas Jaeger <aj@suse.de>
26800 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26801 does not get optimized out.
26802 (malloc_opt_barrier): New.
26804 2012-05-03 Andreas Jaeger <aj@suse.de>
26805 Roland McGrath <roland@hack.frob.com>
26807 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26808 intermediate file deletion.
26809 (generated): Add .symlist files.
26811 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26814 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26815 Redirect under this condition.
26816 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26817 [__USE_GNU] (__dprintf_chk): Not under this condition.
26818 [__USE_GNU] (__vdprintf_chk): Likewise.
26819 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26820 under this condition.
26821 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26822 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26823 [__USE_XOPEN2K8] (vdprintf): Likewise.
26824 [__USE_GNU] (__dprintf_chk): Not under this condition.
26825 [__USE_GNU] (__vdprintf_chk): Likewise.
26826 [__USE_GNU] (dprintf): Likewise.
26827 [__USE_GNU] (vdprintf): Likewise.
26829 2012-05-03 Roland McGrath <roland@hack.frob.com>
26831 * elf/Makefile (common-generated): Set this instead of generated for
26832 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26833 $(all-built-dso)-derived lists.
26835 2012-05-03 Andreas Jaeger <aj@suse.de>
26837 * sysdeps/i386/fpu/libm-test-ulps: Update.
26840 * FAQ.in: Likewise.
26841 * scripts/gen-FAQ.pl: Likewise.
26842 * manual/install.texi (Installation): Point to online location of
26844 * Makefile (files-for-dist): Remove FAQ.
26847 2012-05-02 Allan McRae <allan@archlinux.org>
26849 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26850 (LDFLAGS-reldepmod5.so): Likewise.
26851 (LDFLAGS-reldep6mod1.so): Likewise.
26852 (LDFLAGS-reldep6mod4.so): Likewise.
26853 (LDFLAGS-reldep8mod3.so): Likewise.
26854 (LDFLAGS-unload4mod1.so): Likewise.
26855 (LDFLAGS-unload4mod2.so): Likewise.
26856 (LDFLAGS-tst-initorder): Likewise.
26857 (LDFLAGS-tst-initordera2.so): Likewise.
26858 (LDFLAGS-tst-initordera3.so): Likewise.
26859 (LDFLAGS-tst-initordera4.so): Likewise.
26860 (LDFLAGS-tst-initorderb2.so): Likewise.
26861 (LDFLAGS-noload): Likewise.
26862 (LDFLAGS-next): Likewise.
26863 (LDFLAGS-order2mod1.so): Likewise.
26864 (LDFLAGS-order2mod2.so): Likewise.
26865 (LDFLAGS-tst-initorder2): Likewise.
26866 (LDFLAGS-tst-initorder2a.so): Likewise.
26867 (LDFLAGS-tst-initorder2b.so): Likewise.
26868 (LDFLAGS-tst-initorder2c.so): Likewise.
26869 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26871 2012-05-02 David S. Miller <davem@davemloft.net>
26873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26875 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26878 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26880 2012-05-02 Andreas Jaeger <aj@suse.de>
26882 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26883 since we manipulate rounding mode.
26884 (CPPFLAGS-test-idouble.c): Likewise.
26885 (CPPFLAGS-test-ifloat.c): Likewise.
26886 (CFLAGS-test-ldouble.c): Likewise.
26887 (CFLAGS-test-double.c): Likewise.
26888 (CFLAGS-test-float.c): Likewise.
26889 (CFLAGS-test-misc.c): Likewise.
26890 (CFLAGS-test-test-fenv.c): Likewise.
26892 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26897 comparisons to determine direction to adjust input.
26899 2012-05-01 Roland McGrath <roland@hack.frob.com>
26901 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26902 output to the target.
26904 * scripts/localplt.awk: New file.
26905 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26906 (check-localplt-CFLAGS): Variable removed.
26907 ($(all-built-dso:=.jmprel)): New static pattern rule.
26908 (generated): Add those targets.
26909 (localplt-built-dso): New variable.
26910 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26912 * elf/check-localplt.c: File removed.
26914 * scripts/check-execstack.awk: New file.
26915 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26916 (check-execstack-CFLAGS): Variable removed.
26917 ($(objpfx)check-execstack.h): Target removed.
26918 ($(objpfx)execstack-default): New target.
26919 (generated): Add that instead of check-execstack.h.
26920 ($(all-built-dso:=.phdr)): New static pattern rule.
26921 (generated): Add those targets.
26922 * elf/check-execstack.c: File removed.
26924 * scripts/check-textrel.awk: New file.
26925 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26926 (check-textrel-CFLAGS): Variable removed.
26927 (all-built-dso): Use := to define.o
26928 ($(all-built-dso:=.dyn)): New static pattern rule.
26929 (generated): Add those targets.
26930 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26931 * config.make.in (READELF): New substituted variable.
26932 * elf/check-textrel.c: File removed.
26934 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26936 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26938 * conform/data/ctype.h-data [C99-based standards] (isblank):
26940 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26941 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26943 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26944 Specify type. Require positive value.
26945 (EILSEQ): Likewise.
26946 (ERANGE): Likewise.
26947 [ISO || POSIX] (EILSEQ): Do not expect.
26948 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26949 Specify type. Require positive value.
26950 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26951 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26952 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26953 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26954 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26955 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26956 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26957 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26958 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26959 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26960 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26961 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26962 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26963 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26964 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26965 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26966 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26967 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26968 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26969 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26970 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26971 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26972 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26973 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26974 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26975 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26976 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26977 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26978 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26979 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26980 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26982 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26983 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26984 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26985 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26986 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26987 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26988 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26989 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26991 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26992 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26993 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26994 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26995 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26996 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26997 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26998 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26999 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27000 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27001 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27002 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27003 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27004 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27005 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27006 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27007 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27008 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27009 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27010 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27011 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27012 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27013 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27014 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27015 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27016 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27017 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27018 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27019 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27020 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27021 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27022 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27023 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27024 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27025 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27026 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27028 (FLT_ROUNDS): Expect as macro, not constant.
27029 (FLT_MANT_DIG): Use macro-int-constant.
27030 (DBL_MANT_DIG): Likewise.
27031 (LDBL_MANT_DIG): Likewise.
27032 (FLT_DIG): Likewise.
27033 (DBL_DIG): Likewise.
27034 (LDBL_DIG): Likewise.
27035 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27036 (DBL_MIN_EXP): Likewise.
27037 (LDBL_MIN_EXP): Likewise.
27038 (FLT_MAX_EXP): Use macro-int-constant.
27039 (DBL_MAX_EXP): Likewise.
27040 (LDBL_MAX_EXP): Likewise.
27041 (FLT_MAX_10_EXP): Likewise.
27042 (DBL_MAX_10_EXP): Likewise.
27043 (LDBL_MAX_10_EXP): Likewise.
27044 (FLT_MAX): Use macro-constant.
27045 (DBL_MAX): Likewise.
27046 (LDBL_MAX): Likewise.
27047 (FLT_EPSILON): Use macro-constant. Give upper bound.
27048 (DBL_EPSILON): Likewise.
27049 (LDBL_EPSILON): Likewise.
27050 (FLT_MIN): Likewise.
27051 (DBL_MIN): Likewise.
27052 (LDBL_MIN): Likewise.
27053 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27054 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27055 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27056 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27057 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27058 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27059 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27060 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27061 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27062 [ISO11] (FLT_TRUE_MIN): Likewise.
27063 [ISO11] (LDBL_TRUE_MIN): Likewise.
27064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27065 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27066 (SCHAR_MIN): Use macro-int-constant. Specify type.
27067 (SCHAR_MAX): Likewise.
27068 (UCHAR_MAX): Likewise.
27069 (CHAR_MIN): Likewise.
27070 (CHAR_MAX): Likewise.
27071 (MB_LEN_MAX): Use macro-int-constant.
27072 (SHRT_MIN): Use macro-int-constant. Specify type.
27073 (SHRT_MAX): Likewise.
27074 (USHRT_MAX): Likewise.
27075 (INT_MAX): Likewise.
27076 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27078 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27080 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27082 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27083 bound negative. Suffix upper bound with "L".
27084 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27086 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27088 [C99-based standards] (LLONG_MAX): Likewise.
27089 [C99-based standards] (ULLONG_MAX): Likewise.
27090 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27092 [ISO11] (max_align_t): Require type.
27093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27095 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27096 from $CFLAGS, without defining away __attribute__ calls.
27097 (checknamespace): Use $CFLAGS_namespace.
27099 * conform/conformtest.pl (@keywords): Only include C99 keywords
27100 for standards based on C99 or C11.
27102 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27104 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27107 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27108 usability of symbols in #if.
27110 * conform/conformtest.pl: If macro or constant types start
27111 "promoted:", expect the symbol to be of the following type
27112 promoted by the integer promotions.
27114 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27115 in one place. Also handle "macro-constant".
27117 * conform/conformtest.pl: Only accept expected macro values with
27118 "==". Parse all "macro" lines in one place.
27119 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27121 * conform/conformtest.pl: Handle braced types on "constant" lines
27122 instead of handling "typed-constant".
27123 * conform/data/signal.h-data: Use "constant" instead of
27126 * conform/conformtest.pl: Handle "optional-" at start of lines in
27127 one place rather than duplicating several cases. Handle each
27128 format of "macro" line with initial "optional-".
27130 * conform/conformtest.pl: Only accept expected constant or
27131 optional-constant values with "==". Parse all "constant" lines in
27132 one place. Parse all "optional-constant" lines in one place.
27133 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27134 * conform/data/fmtmsg.h-data: Likewise.
27135 * conform/data/netinet/in.h-data: Likewise.
27136 * conform/data/tar.h-data: Likewise.
27137 * conform/data/limits.h-data: Use "==" form on "constant" and
27138 "optional-constant" lines.
27140 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27141 Use -std=c99 for XOPEN2K.
27142 (@knownproblems): Remove.
27143 (newtoken): Don't check %isknown.
27145 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27146 Do not expect macro.
27147 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27148 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27149 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27150 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27151 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27152 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27153 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27154 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27155 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27156 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27157 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27158 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27159 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27160 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27161 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27162 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27163 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27164 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27165 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27166 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27167 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27168 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27169 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27171 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27172 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27173 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27174 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27175 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27176 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27177 [XPG3] (acosh): Likewise.
27178 [XPG3] (asinh): Likewise.
27179 [XPG3] (atanh): Likewise.
27180 [XPG3] (cbrt): Likewise.
27181 [XPG3] (expm1): Likewise.
27182 [XPG3] (ilogb): Likewise.
27183 [XPG3] (log1p): Likewise.
27184 [XPG3] (logb): Likewise.
27185 [XPG3] (nextafter): Likewise.
27186 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27187 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27188 [XPG3] (remainder): Likewise.
27189 [XPG3] (rint): Likewise.
27190 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27191 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27192 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27193 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27194 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27195 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27196 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27197 [UNIX98 || XOPEN2K] (scalb): Expect.
27198 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27199 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27200 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27201 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27202 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27203 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27204 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27205 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27206 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27207 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27208 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27209 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27210 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27211 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27212 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27213 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27214 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27215 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27216 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27217 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27218 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27219 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27220 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27221 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27222 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27223 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27224 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27225 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27226 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27227 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27228 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27229 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27230 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27231 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27232 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27233 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27234 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27235 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27236 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27237 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27238 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27239 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27240 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27241 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27242 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27243 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27244 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27245 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27246 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27247 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27248 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27249 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27250 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27251 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27252 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27253 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27254 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27255 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27256 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27257 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27258 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27259 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27260 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27261 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27262 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27263 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27264 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27265 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27266 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27267 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27268 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27269 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27270 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27271 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27272 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27273 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27274 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27275 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27276 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27277 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27278 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27279 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27280 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27281 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27282 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27283 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27284 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27285 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27286 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27287 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27288 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27289 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27290 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27291 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27292 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27293 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27294 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27295 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27296 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27297 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27298 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27299 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27300 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27301 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27302 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27303 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27304 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27305 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27306 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27307 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27308 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27309 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27310 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27311 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27312 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27313 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27314 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27315 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27316 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27317 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27319 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27320 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27321 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27322 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27323 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27324 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27325 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27326 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27327 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27328 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27329 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27330 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27331 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27332 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27333 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27334 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27336 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27337 _XOPEN_SOURCE_EXTENDED for XPG4.
27339 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27341 * Makeconfig (localtime): Remove variable.
27342 (inst_localtime-file): Likewise.
27344 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27365 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27369 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27370 comparisons to determine direction to adjust input.
27371 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27372 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27373 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27377 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27382 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27384 * math/libm-test.inc (nexttoward_test): Add more tests.
27386 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27389 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27390 in version GLIBC_2.1, not GLIBC_2.0.
27391 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27394 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27397 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27399 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27400 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27401 * math/libm-test.inc (acos_test): Add more tests.
27402 (asin_test): Likewise.
27403 * sysdeps/i386/fpu/libm-test-ulps: Update.
27404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27407 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27409 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27410 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27411 * math/libm-test.inc (acos_test_tonearest): New function.
27412 (acos_test_towardzero): Likewise.
27413 (acos_test_downward): Likewise.
27414 (acos_test_upward): Likewise.
27415 (asin_test_tonearest): Likewise.
27416 (asin_test_towardzero): Likewise.
27417 (asin_test_downward): Likewise.
27418 (asin_test_upward): Likewise.
27419 (main): Call the new functions.
27420 * sysdeps/i386/fpu/libm-test-ulps: Update.
27421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27425 * math/e_exp10.c: Include <float.h>.
27426 (__ieee754_exp10): Handle underflow here rather than multiplying
27427 large negative argument by M_LN10.
27428 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27430 * math/e_exp10l.c: Include <float.h>.
27431 (__ieee754_exp10l): Handle underflow here rather than multiplying
27432 large negative argument by M_LN10l.
27433 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27434 spurious overflow exception on underflow.
27436 2012-04-29 Marek Polacek <polacek@redhat.com>
27438 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27439 (__fortify_function): New macro.
27440 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27441 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27442 __extern_always_inline.
27443 * libio/bits/stdio2.h: Likewise.
27444 * libio/bits/stdio.h: Likewise.
27445 * string/string.h: Likewise.
27446 * string/bits/string3.h: Likewise.
27447 * include/stdio.h: Likewise.
27448 * stdlib/bits/stdlib.h: Likewise.
27449 * stdlib/stdlib.h: Likewise.
27450 * rt/bits/mqueue2.h: Likewise.
27451 * rt/mqueue.h: Likewise.
27452 * posix/bits/unistd.h: Likewise.
27453 * posix/unistd.h: Likewise.
27454 * io/bits/poll2.h: Likewise.
27455 * io/bits/fcntl2.h: Likewise.
27456 * io/fcntl.h: Likewise.
27457 * io/sys/poll.h: Likewise.
27458 * misc/bits/syslog.h: Likewise.
27459 * misc/bits/syslog-ldbl.h: Likewise.
27460 * misc/sys/syslog.h: Likewise.
27461 * socket/bits/socket2.h: Likewise.
27462 * socket/sys/socket.h: Likewise.
27463 * debug/tst-chk1.c: Likewise.
27464 * wcsmbs/bits/wchar2.h: Likewise.
27465 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27466 * wcsmbs/wchar.h: Likewise.
27468 2012-04-29 Andreas Jaeger <aj@suse.de>
27470 * Makerules (tests): Remove enable-check-abi protection.
27471 (check-abi-warn): Remove.
27472 (check-abi-%): Remove check-abi-warn usage.
27474 * configure.in: Remove check-abi configure option.
27475 * configure: Regenerated.
27476 * config.make.in (enable-check-abi): Remove.
27478 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27481 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27482 double functions to double *_finite functions.
27485 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27486 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27488 * stdio-common/Makefile (tests): Add tst-sprintf3.
27489 * stdio-common/tst-sprintf3.c: New file.
27491 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27492 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27494 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27496 * conform/conformtest.pl: Remove duplicate typed-constant
27499 2012-04-28 David S. Miller <davem@davemloft.net>
27501 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27502 (check-abi-%): Remove AWK script prerequisite and explicit
27504 (check-abi): Rewrite to just diff the symlist with the abilist.
27505 (config-tls, config-abi-config): Delete, no longer used.
27506 (update-abi-%): Remove AWK script and explicit abilist directory.
27507 (update-abi): Rewrite to simply compare and conditionally copy the
27508 symlist and the sysdep abilist file. Remove update-abi-config
27510 * abilist/ld.abilist: Remove.
27511 * abilist/libBrokenLocale.abilist: Remove.
27512 * abilist/libanl.abilist: Remove.
27513 * abilist/libcrypt.abilist: Remove.
27514 * abilist/libdl.abilist: Remove.
27515 * abilist/librt.abilist: Remove.
27516 * abilist/libthread_db.abilist: Remove.
27517 * abilist/libutil.abilist: Remove.
27518 * scripts/extract-abilist.awk: Remove.
27519 * scripts/merge-abilist.awk: Remove.
27520 * sysdeps/generic/libcidn.abilist: New file.
27521 * sysdeps/generic/libnss_compat.abilist: New file.
27522 * sysdeps/generic/libnss_db.abilist: New file.
27523 * sysdeps/generic/libnss_dns.abilist: New file.
27524 * sysdeps/generic/libnss_files.abilist: New file.
27525 * sysdeps/generic/libnss_hesiod.abilist: New file.
27526 * sysdeps/generic/libnss_nis.abilist: New file.
27527 * sysdeps/generic/libnss_nisplus.abilist: New file.
27528 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27529 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27530 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27532 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27533 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27534 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27535 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27536 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27537 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27538 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27539 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27540 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27542 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27543 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27544 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27545 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27547 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27548 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27549 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27550 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27551 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27552 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27554 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27555 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27556 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27558 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27661 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27662 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27663 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27666 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27667 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27668 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27669 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27670 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27671 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27672 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27673 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27674 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27726 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27728 * conform/conformtest.pl: Fix typo in handling typed-constant from
27731 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27733 * README: Cut down references to pre-2.6 Linux kernels and
27734 Linuxthreads. Update lists of configurations in libc and ports
27735 and sort alphabetically. Say "or newer" with Linux kernel version
27738 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27740 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27743 * math/libm-test.inc (logb_test_downward): New test to expose
27744 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27747 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27750 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27752 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27753 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27755 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27757 * sysdeps/unix/i386/brk.S: Remove file.
27758 * sysdeps/unix/i386/dl-brk.S: Likewise.
27759 * sysdeps/unix/i386/pipe.S: Likewise.
27760 * sysdeps/unix/i386/sigreturn.S: Likewise.
27761 * sysdeps/unix/i386/syscall.S: Likewise.
27762 * sysdeps/unix/i386/vfork.S: Likewise.
27763 * sysdeps/unix/i386/wait.S: Likewise.
27765 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27766 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27768 * configure.in (arm*-none*): Do not allow without
27769 --enable-hacker-mode.
27770 (netbsd*): Remove case setting base_os.
27771 (386bsd*): Likewise.
27772 (freebsd*): Likewise.
27775 (sunos*): Likewise.
27776 (ultrix*): Likewise.
27777 (newsos*): Likewise.
27778 (dynix*): Likewise.
27784 (minix*): Likewise.
27785 (irix4*): Likewise.
27786 (irix6*): Likewise.
27787 (solaris[2-9]*): Likewise.
27789 * configure: Regenerated.
27791 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27794 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27795 overflow or cancellation in calculating denominator.
27796 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27798 down expression to avoid unexpected rounding in newer GCCs.
27799 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27801 2012-04-26 David S. Miller <davem@davemloft.net>
27803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27804 long-double compat symbols.
27805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27819 2012-04-25 David S. Miller <davem@davemloft.net>
27821 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27822 HWCAP_* values only after the memory barriers have been defined.
27823 (atomic_full_barrier): Define.
27824 (atomic_read_barrier): Define.
27825 (atomic_write_barrier): Define.
27827 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27829 * shlib-versions: Add libgcc_s version information.
27830 * sysdeps/generic/libgcc_s.h: Remove.
27831 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27833 * sysdeps/gnu/unwind-resume.c: Likewise.
27834 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27836 2012-04-25 David S. Miller <davem@davemloft.net>
27838 * sysdeps/unix/sparc/brk.S: Delete.
27839 * sysdeps/unix/sparc/dl-brk.S: Delete.
27840 * sysdeps/unix/sparc/pipe.S: Delete.
27841 * sysdeps/unix/sparc/sysdep.S: Delete.
27842 * sysdeps/unix/sparc/sysdep.h: Delete.
27843 * sysdeps/unix/sparc/vfork.S: Delete.
27844 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27845 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27847 ret_ERRVAL, r0, r1, MOVE): Define.
27848 (JUMPTARGET): Remove.
27849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27850 sysdeps/unix/sparc/sysdep.h
27851 (ENTRY, END): Remove.
27852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27854 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27856 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27857 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27860 * timezone/README: Update upstream location and email address for
27862 * timezone/zdump.c: Update from tzcode 2012b.
27863 * timezone/zic.c: Likewise.
27865 * configure.in (libc_cv_as_needed): Remove test.
27866 * configure: Regenerated.
27867 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27868 conditional definition.
27869 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27870 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27871 * config.make.in (have-as-needed): Remove variable.
27873 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27874 Paul Pluzhnikov <ppluzhnikov@google.com>
27876 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27879 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27881 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27882 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27883 * sysdeps/sh/strlen.S: Likewise.
27885 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27887 * sysdeps/unix/fork.S: Remove file.
27888 * sysdeps/unix/i386/fork.S: Likewise.
27889 * sysdeps/unix/sparc/fork.S: Likewise.
27891 * sysdeps/unix/system.c: Remove file.
27892 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27894 * sysdeps/unix/getegid.S: Remove file.
27895 * sysdeps/unix/geteuid.S: Likewise.
27897 2012-04-24 Roland McGrath <roland@hack.frob.com>
27899 * scripts/check-localplt.awk: New file.
27900 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27902 * scripts/data/localplt-generic.data: Add a comment.
27904 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27905 NODE when __dir_mkfile failed.
27906 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27907 Reported by Ludovic Courtès <ludo@gnu.org>.
27909 2012-04-24 Andreas Jaeger <aj@suse.de>
27911 * Makerules (common-clean): Also remove gen-as-const-headers
27914 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27916 * Makerules (native-compile): Do not change working directory for
27917 build. Use $(OUTPUT_OPTION) in command.
27918 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27920 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27923 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27924 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27925 * math/libm-test.inc (floor_test): Add more tests.
27926 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27928 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27930 * sysdeps/unix/getdents.c: Remove file.
27931 * sysdeps/unix/sysv/getdents.c: Likewise.
27932 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27934 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27935 sysdeps/unix/mman/syscalls.list.
27937 (mprotect): Likewise.
27939 (munmap): Likewise.
27940 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27941 * sysdeps/unix/mman/syscalls.list: Remove.
27942 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27944 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27945 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27946 * configure: Regenerated.
27947 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27948 $(libgcc_s_suffix).
27949 * config.make.in (libgcc_s_suffix): Remove variable.
27951 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27953 * sysdeps/unix/sysv/gethostname.c: Move to ...
27954 * sysdeps/posix/gethostname.c: ... here.
27956 * sysdeps/unix/execve.S: Remove file.
27958 * sysdeps/unix/_exit.S: Remove file.
27960 2012-04-23 Andreas Jaeger <aj@suse.de>
27963 * manual/Makefile: Remove make dist support, there's no
27964 need for a stand-alone documentation tar ball.
27965 (TEXI2DVI): Define always, it's not in Makeconfig.
27968 (edition): Removed.
27969 (glibc-doc-$(edition).tar): Removed
27973 (ETAGS): Remove, it's in Makeconfig.
27974 (move-if-change): Remove, it's in Makeconfig.
27976 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27979 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27980 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27981 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27982 (strtod_l, strtof_l, strtold_l): Remove __wur.
27983 It is not necessarily an error to ignore strtol's return value.
27984 One can reliably look at the stored endptr to decide whether
27985 the number had valid syntax.
27987 2012-04-21 Andreas Jaeger <aj@suse.de>
27990 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27992 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27994 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27995 * sysdeps/unix/sysv/Versions: Remove file.
27997 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28002 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28005 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28006 version from __vm86.
28008 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28010 * sysdeps/unix/common/lxstat.c: Remove file.
28011 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28013 * sysdeps/unix/sysv/Makefile: Remove file.
28015 * sysdeps/unix/sysv/direct.h: Remove file.
28017 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28018 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28019 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28020 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28021 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28022 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28023 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28025 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28027 * sysdeps/unix/xmknod.c: Remove file.
28028 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28030 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28032 * sysdeps/unix/sysv/i386/time.S: Remove file.
28034 * sysdeps/unix/fxstat.c: Remove file.
28035 * sysdeps/unix/xstat.c: Likewise.
28036 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28038 * sysdeps/unix/sysv/sigaction.c: Remove file.
28040 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28041 (sysdep_headers): Remove variable.
28042 [termio.h not in sysdep_headers] (generated): Likewise.
28043 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28044 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28045 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28046 * sysdeps/unix/sysv/tcflow.c: Likewise.
28047 * sysdeps/unix/sysv/tcflush.c: Likewise.
28048 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28049 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28050 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28051 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28052 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28054 * sysdeps/unix/siglist.c: Remove file.
28056 * sysdeps/unix/getppid.S: Remove file.
28058 * sysdeps/unix/mkdir.c: Remove file.
28059 * sysdeps/unix/rmdir.c: Likewise.
28061 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28063 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28065 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28066 errlist-compat value.
28068 2012-04-18 David S. Miller <davem@davemloft.net>
28070 * sysdeps/generic/memcopy.h (reg_char): Delete.
28071 * debug/strcat_chk.c: Use char, not reg_char.
28072 * debug/strcpy_chk.c: Likewise.
28073 * debug/strncat_chk.c: Likewise.
28074 * debug/strncpy_chk.c: Likewise.
28075 * string/memchr.c: Likewise.
28076 * string/memrchr.c: Likewise.
28077 * string/rawmemchr.c: Likewise.
28078 * string/strcat.c: Likewise.
28079 * string/strchr.c: Likewise.
28080 * string/strchrnul.c: Likewise.
28081 * string/strcmp.c: Likewise.
28082 * string/strcpy.c: Likewise.
28083 * string/strncat.c: Likewise.
28084 * string/strncmp.c: Likewise.
28085 * string/strncpy.c: Likewise.
28087 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28089 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28090 __builtin_memcopy is called when src and dest ranges are known to not
28093 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28095 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28096 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28097 fwd_align_merge macro call.
28098 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28099 bwd_align_merge macro call.
28100 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28102 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28105 bwd_align_merge macros.
28106 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28107 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28108 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28110 2012-04-18 David S. Miller <davem@davemloft.net>
28112 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28114 2012-04-18 Andreas Jaeger <aj@suse.de>
28117 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28118 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28119 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28121 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28122 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28123 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28125 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28126 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28127 Adjust for changed ldbl-128 files.
28129 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28130 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28131 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28133 2012-04-17 David S. Miller <davem@davemloft.net>
28135 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28137 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28139 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28140 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28141 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28142 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28143 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28144 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28146 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28149 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28150 * math/libm-test.inc: Add ilogb errno and exception tests.
28151 * math/w_ilogb.c: New file: ilogb wrapper.
28152 * math/w_ilogbf.c: New file: ilogbf wrapper.
28153 * math/w_ilogbl.c: New file: ilogbl wrapper.
28154 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28155 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28156 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28157 exception being thrown with 0.0 as argument.
28158 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28159 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28160 exception being thrown with 0.0 as argument.
28161 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28162 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28163 exception being thrown with 0.0 as argument.
28164 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28165 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28166 exception being thrown with 0.0 as argument.
28167 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28168 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28169 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28170 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28172 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28173 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28174 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28175 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28177 2012-04-17 Petr Baudis <pasky@ucw.cz>
28179 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28182 2012-04-16 Marek Polacek <polacek@redhat.com>
28184 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28186 2012-04-16 Marek Polacek <polacek@redhat.com>
28188 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28189 operands of fdivp instruction.
28191 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28193 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28194 * elf/tst-auditmod3b.c: Likewise.
28195 * elf/tst-auditmod4b.c: Likewise.
28196 * elf/tst-auditmod5b.c: Likewise.
28197 * elf/tst-auditmod6b.c: Likewise.
28198 * elf/tst-auditmod6c.c: Likewise.
28199 * elf/tst-auditmod7b.c: Likewise.
28200 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28201 * sysdeps/x86_64/preconfigure.in: Likewise.
28202 * sysdeps/x86_64/preconfigure: Regenerated.
28204 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28206 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28209 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28212 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28214 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28217 * locale/iso-639.def: Fix gl language name. Spotted by
28220 2012-04-12 Roland McGrath <roland@hack.frob.com>
28223 * libio/libio.h (__io_write_fn): Update comment.
28225 2012-04-12 Petr Baudis <pasky@ucw.cz>
28228 * stdio.texi (Hook Functions): The user provided writer function
28229 is not allowed to return -1.
28231 2012-04-11 David S. Miller <davem@davemloft.net>
28233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28235 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28237 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28238 Add a leading slash to rtkaio.
28240 2012-04-11 Jim Meyering <meyering@redhat.com>
28243 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28244 It is not necessarily an error to ignore fwrite's return
28245 value. One can reliably use ferror to test for errors after
28248 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28250 * bits/types.h (__snseconds_t): New type.
28251 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28253 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28254 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28255 (__SNSECONDS_T_TYPE): Likewise.
28256 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28257 (__SNSECONDS_T_TYPE): Likewise.
28258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28259 (__SNSECONDS_T_TYPE): Likewise.
28261 2012-04-10 Andreas Jaeger <aj@suse.de>
28264 * manual/time.texi (Processor Time): Return type of times is
28265 elapsed real time since an arbitrary point in the past.
28266 (CPU Time): Move CLK_TCK from here...
28267 (Processor Time): ...to here. Correct description.
28268 * manual/conf.texi (Constants for Sysconf): Correct description of
28271 2012-04-10 David S. Miller <davem@davemloft.net>
28274 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28275 where the is a gap between DT_REL(A) and DT_JMPREL.
28277 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28279 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28280 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28281 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28283 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28285 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28286 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28287 (dl_main): Handle --inhibit-cache.
28288 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28290 * elf/dl-load.c (_dl_map_object): Use it.
28291 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28293 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28296 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28297 (__ieee754_powl): Saturate large exponents rather than testing for
28298 overflow of y*log2(x).
28299 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28300 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28304 * math/s_ctan.c: Include <float.h>.
28305 (__ctan): Avoid internal overflow or cancellation in calculating
28307 * math/s_ctanf.c: Likewise.
28308 * math/s_ctanl.c: Likewise.
28309 * math/s_ctanh.c: Likewise.
28310 * math/s_ctanhf.c: Likewise.
28311 * math/s_ctanhl.c: Likewise.
28312 * math/libm-test.inc (ctan_test): Add more tests.
28313 (ctanh_test): Likewise.
28314 * sysdeps/i386/fpu/libm-test-ulps: Update.
28315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28317 2012-04-09 Andreas Jaeger <aj@suse.de>
28320 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28321 is an optional BSD extension.
28324 * manual/stdio.texi (Opening Streams): Document additional fopen
28327 2012-04-09 Roland McGrath <roland@hack.frob.com>
28329 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28330 %eax without telling the compiler.
28332 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28335 * manual/install.texi: Use sourceware.org.
28337 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28340 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28341 (__ieee754_pow): Generate overflow and underflow using huge*huge
28342 and tiny*tiny rather than just returning constant infinity or zero
28343 for large exponents.
28344 * math/libm-test.inc (pow_test): Require overflow exceptions for
28345 applicable cases of large exponents.
28348 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28349 (__ieee754_pow): Use iterative multiplication algorithm only for
28350 integer exponents with absolute value below 1024. Check for odd
28351 integer exponents when using algorithm for real exponents.
28352 * math/libm-test.inc (pow_test): Add more tests.
28353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28355 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28358 * math/libm-test.inc (exp_test): Do not allow overflow exception
28361 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28364 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28365 instead of __kernel_standard_f.
28367 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28369 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28370 * sysdeps/x86_64/memset_chk.S: Likewise.
28372 2012-04-08 Andreas Jaeger <aj@suse.de>
28375 * manual/startup.texi (Environment Access): Describe return value
28376 for putenv and setenv.
28379 * manual/filesys.texi (Directory Entries): Add description for
28383 * manual/filesys.texi (Directory Entries): Clarify that it's file
28384 system not operating system in the description of DT_UNKNOWN.
28387 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28389 2012-04-08 Stephen Compall <s11@member.fsf.org>
28392 * manual/llio.texi (Opening and Closing Files): Add cross
28393 reference to explain mode argument.
28395 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28397 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28398 * sysdeps/x86_64/memset_chk.S: Likewise.
28400 2012-04-07 David S. Miller <davem@davemloft.net>
28402 * elf/elf.h (R_SPARC_WDISP10): Define.
28403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28406 R_SPARC_SIZE64 and R_SPARC_H34.
28408 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28410 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28411 conditions and remove no longer applicable assertion.
28413 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28415 * bits/byteswap.h: Include <features.h>.
28416 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28417 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28419 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28421 * bits/byteswap.h (__bswap_16): Removed.
28422 Include <bits/byteswap-16.h> to get __bswap_16.
28423 * sysdeps/i386/bits/byteswap.h: Likewise.
28424 * sysdeps/s390/bits/byteswap.h: Likewise.
28425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28426 * bits/byteswap-16.h: New file.
28427 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28428 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28429 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28430 * string/Makefile (headers): Add bits/byteswap-16.h.
28432 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28435 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28437 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28438 * nss/tst-nss-static.c: New.
28440 2012-04-06 Robert Millan <rmh@gnu.org>
28443 * manual/llio.texi (File Position Primitive): lseek
28444 refers to WHENCE when it really means OFFSET.
28446 2012-04-06 Andreas Jaeger <aj@suse.de>
28448 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28449 strncmp declarations.
28451 * abilist/libc.abilist: Add __poll and __ppoll.
28453 2012-04-05 David S. Miller <davem@davemloft.net>
28455 * scripts/check-local-headers.sh: Accept a host triplet in the
28456 path matched by the exclude regexp.
28458 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28460 * sysdeps/powerpc/powerpc32/dl-machine.h
28461 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28462 * sysdeps/s390/s390-32/dl-machine.h
28463 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28464 * sysdeps/sparc/sparc32/dl-machine.h
28465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28466 * sysdeps/sparc/sparc64/dl-machine.h
28467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28469 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28471 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28472 undefined symbol errors.
28474 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28477 2012-04-05 Michael Matz <matz@suse.de>
28480 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28482 2012-04-05 Andreas Jaeger <aj@suse.de>
28485 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28488 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28490 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28491 which ROUND is no valid rounding mode.
28493 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28495 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28497 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28499 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28501 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28502 an exception using FPU order intentionally.
28504 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28506 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28507 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28508 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28509 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28511 2012-04-05 Simon Josefsson <simon@josefsson.org>
28514 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28515 EINVAL when BUFLEN is too smal.
28517 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28520 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28521 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28523 2012-04-03 Andreas Jaeger <aj@suse.de>
28526 * manual/setjmp.texi (System V contexts): Fix sentence.
28529 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28530 New macro for this case.
28531 [!__GNUC__] (__bswap_64): New inline function for this case.
28532 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28533 * bits/byteswap.h: Likewise.
28534 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28535 ull, guard with __GLIBC_HAVE_LONG_LONG.
28537 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28538 __GLIBC_HAVE_LONG_LONG.
28540 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28541 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28543 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28546 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28547 inptr and inend, rather than using last_ch.
28549 2012-04-02 David S. Miller <davem@davemloft.net>
28551 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28552 * stdio-common/printf-parse.h (read_int): Change return type to
28553 'int', return -1 on INT_MAX overflow.
28554 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28555 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28556 overflows INT_MAX. Check for overflow of in-format-string precision
28557 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28558 SIZE_MAX not INT_MAX for integer overflow test.
28559 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28560 skip the construct in the format string but do not record anything.
28561 * stdio-common/bug22.c: Adjust to test both width/prevision
28562 INT_MAX overflow as well as total length INT_MAX overflow. Check
28563 explicitly for proper errno values.
28565 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28567 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28569 * string/test-strcmp.c [! WIDE]: Likewise.
28570 * time/tst-mktime2.c: Likewise for INT_MAX.
28571 * string/test-string.h: #include <sys/param.h> for MIN.
28573 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28574 * sysdeps/i386/init-first.c (init): Likewise.
28575 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28576 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28577 * sysdeps/sh/init-first.c (init): Likewise.
28579 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28581 * po/ru.po: Update from translation team.
28582 * po/vi.po: Likewise.
28584 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28586 * resolv/nss_dns/dns-host.c: Merge copyright years.
28588 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28591 Optimize memcpy with prefetch if
28592 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28593 src, dst pointers have unequal 16 byte alignments.
28595 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28598 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28599 from a CNAME entry and return the minimum ttl for the query.
28600 (gaih_getanswer_slice): Likewise.
28602 2012-03-30 Jeff Law <law@redhat.com>
28604 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28606 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28607 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28609 * resolv/nss_dns/dns-host.c: Update copyright year.
28611 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28613 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28614 requests to save a system call. Fix check that all bytes are sent.
28616 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28617 comments for sendmmsg.
28619 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28622 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28623 with only 1 character between 0x0041 and 0x01b0.
28624 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28625 * wcsmbs/tst-mbsnrtowcs.c: New file.
28627 2012-03-29 David S. Miller <davem@davemloft.net>
28629 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28630 small copies by hand.
28632 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28635 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28636 _nss_compat_initgroups_dyn): Fall back to malloc/free
28637 for large group memberships.
28639 2012-03-28 David S. Miller <davem@davemloft.net>
28641 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28642 that branches into memcpy.
28643 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28646 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28649 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28650 implementation too.
28651 * sysdeps/sparc/mempcpy.S: New file.
28653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28654 the IFUNC routine in the libc case.
28655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28657 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28658 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28659 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28660 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28661 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28662 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28663 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28664 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28666 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28667 loop to 256 bytes instead of 64 bytes and fix test signedness.
28669 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28670 * sysdeps/sparc/sparc32/Makefile: rather than here...
28671 * sysdeps/sparc/sparc64/Makefile: and here.
28673 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28675 * malloc/mallocbug.c: Avoid warnings about unused variables.
28677 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28680 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28681 in the right place. Discard and retry query if response is
28682 larger than input buffer size.
28684 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28689 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28690 x for large integer exponent.
28691 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28692 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28693 sign of result as needed afterwards.
28694 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28695 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28696 result for underflowing pow the same as for overflow.
28697 (__kernel_standard_l): Handle powl overflow and underflow here
28698 rather than calling __kernel_standard.
28699 * math/libm-test.inc (pow_test): Add more tests.
28714 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28715 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28716 (__kernel_standard_l): New function.
28717 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28719 * math/w_acosl.c (__acosl): Likewise.
28720 * math/w_asinl.c (__asinl): Likewise.
28721 * math/w_atan2l.c (__atan2l): Likewise.
28722 * math/w_atanhl.c (__atanhl): Likewise.
28723 * math/w_coshl.c (__coshl): Likewise.
28724 * math/w_exp10l.c (__exp10l): Likewise.
28725 * math/w_exp2l.c (__exp2l): Likewise.
28726 * math/w_fmodl.c (__fmodl): Likewise.
28727 * math/w_hypotl.c (__hypotl): Likewise.
28728 * math/w_j0l.c (__j0l, __y0l): Likewise.
28729 * math/w_j1l.c (__j1l, __y1l): Likewise.
28730 * math/w_jnl.c (__jnl, __ynl): Likewise.
28731 * math/w_lgammal.c (__lgammal): Likewise.
28732 * math/w_log10l.c (__log10l): Likewise.
28733 * math/w_log2l.c (__log2l): Likewise.
28734 * math/w_logl.c (__logl): Likewise.
28735 * math/w_powl.c (__powl): Likewise.
28736 * math/w_remainderl.c (__remainderl): Likewise.
28737 * math/w_scalbl.c (sysv_scalbl): Likewise.
28738 * math/w_sinhl.c (__sinhl): Likewise.
28739 * math/w_sqrtl.c (__sqrtl): Likewise.
28740 * math/w_tgammal.c (__tgammal): Likewise.
28741 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28742 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28743 * math/libm-test.inc (acos_test): Add more tests.
28744 (acosh_test): Likewise.
28745 (asin_test): Likewise.
28746 (atanh_test): Likewise.
28747 (exp_test): Likewise.
28748 (exp10_test): Likewise.
28749 (exp2_test): Likewise.
28750 (expm1_test): Likewise.
28751 (lgamma_test): Likewise.
28752 (log_test): Likewise.
28753 (log10_test): Likewise.
28754 (log1p_test): Likewise.
28755 (log2_test): Likewise.
28756 (pow_test): Do not allow some spurious overflow exceptions.
28757 (sqrt_test): Add more tests.
28758 (tgamma_test): Likewise.
28759 (y0_test): Likewise.
28760 (y1_test): Likewise.
28761 (yn_test): Likewise.
28763 2012-03-27 Anton Blanchard <anton@samba.org>
28765 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28767 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28771 2012-03-27 David S. Miller <davem@davemloft.net>
28773 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28775 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28776 have-as-vis3 check.
28778 2012-03-27 Andreas Jaeger <aj@suse.de>
28780 * sysdeps/x86_64/elf/configure.in: Moved to ...
28781 * sysdeps/x86_64/configure.in: ... here.
28782 * sysdeps/x86_64/elf/start.S: Moved to ...
28783 * sysdeps/x86_64/start.S: ... here.
28784 * sysdeps/x86_64/elf/configure: Delete.
28786 * sysdeps/x86_64/configure.in: Merge contents from
28787 sysdeps/i386/configure.in (without i686 check).
28789 * sysdeps/i386/elf/Versions: Merge into ...
28790 * sysdeps/i386/Versions: ... this.
28791 * sysdeps/i386/elf/Versions: Delete file.
28792 * sysdeps/i386/elf/start.S: Moved to ...
28793 * sysdeps/i386/start.S: ...here.
28794 * sysdeps/i386/elf/configure.in: Merge into...
28795 * sysdeps/i386/configure.in: ...here.
28796 * sysdeps/i386/elf/configure.in: Delete file.
28797 * sysdeps/i386/elf/configure: Delete file.
28799 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28800 * debug/backtracesyms.c: ... here.
28801 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28802 * debug/backtracesymsfd.c: ... here.
28803 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28804 * sysdeps/generic/ifunc-sel.h: ... here.
28806 * sysdeps/unix/i386/start.c: Delete file.
28807 * sysdeps/unix/sparc/start.c: Delete file.
28808 * sysdeps/unix/start.c: Delete file.
28810 * sysdeps/sh/elf/configure.in: Moved to ...
28811 * sysdeps/sh/configure.in: ... here.
28812 * sysdeps/sh/elf/start.S: Moved to ...
28813 * sysdeps/sh/start.S: ... here.
28814 * sysdeps/sh/elf/configure: Delete file.
28816 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28817 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28818 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28819 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28820 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28821 * sysdeps/powerpc/powerpc64/start.S: here.
28822 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28823 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28824 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28825 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28826 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28828 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28829 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28830 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28831 * sysdeps/powerpc/powerpc32/start.S: ... here.
28832 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28833 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28834 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28836 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28837 * sysdeps/powerpc/ifunc-sel.h: ... here.
28838 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28839 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28841 * sysdeps/sparc/elf/configure.in: Moved to ...
28842 * sysdeps/sparc/configure.in: ... here.
28843 * sysdeps/sparc/elf/configure: Delete file.
28844 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28845 * sysdeps/sparc/sparc32/start.S: ... here.
28846 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28847 * sysdeps/sparc/sparc64/start.S: ... here.
28848 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28849 * sysdeps/sparc/sparc32/Makefile: ... this.
28850 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28851 * sysdeps/sparc/sparc64/Makefile: ... this.
28853 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28854 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28855 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28856 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28857 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28858 * sysdeps/s390/s390-32/setjmp.S: ... here.
28859 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28860 * sysdeps/s390/s390-32/configure.in: ... here.
28861 * sysdeps/s390/s390-32/elf/configure: Delete file.
28862 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28863 * sysdeps/s390/s390-32/start.S: ... here.
28865 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28866 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28867 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28868 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28869 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28870 * sysdeps/s390/s390-64/setjmp.S: ... here.
28871 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28872 * sysdeps/s390/s390-64/configure.in: ... here
28873 * sysdeps/s390/s390-64/elf/configure: Delete file.
28874 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28875 * sysdeps/s390/s390-64/start.S: ... here.
28876 * sysdeps/s390/s390-64/elf/configure: Delete.
28878 * configure.in: Remove support for elf directories in sysdeps.
28880 * configure: Regenerated.
28881 * sysdeps/i386/configure: Regenerated.
28882 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28883 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28884 * sysdeps/s390/s390-32/configure: Regenerated.
28885 * sysdeps/s390/s390-64/configure: Regenerated.
28886 * sysdeps/sh/configure: Regenerated.
28887 * sysdeps/sparc/configure: Regenerated.
28888 * sysdeps/x86_64/configure: Regenerated.
28890 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28895 denormal result into account.
28897 2012-03-25 Roland McGrath <roland@hack.frob.com>
28899 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28900 Reported by Allan McRae <allan@archlinux.org>.
28902 2012-03-23 Jeff Law <law@redhat.com>
28904 * nss/getnssent.c (__nss_getent): Fix typo.
28906 2012-03-23 David S. Miller <davem@davemloft.net>
28908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28910 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28912 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28913 to pad to uint64_t for each field.
28914 (dl_tls_index): Replace unsigned long with uint64_t.
28916 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28917 Paul Pluzhnikov <ppluzhnikov@google.com>
28920 * grp/Makefile (otherlibs): Don't set it.
28921 * inet/Makefile (otherlibs): Likewise.
28922 * login/Makefile (otherlibs): Likewise.
28923 * nscd/Makefile (otherlibs): Likewise.
28924 * posix/Makefile (otherlibs): Likewise.
28925 * pwd/Makefile (otherlibs): Likewise.
28926 * rt/Makefile (otherlibs): Likewise.
28927 * sunrpc/Makefile (otherlibs): Likewise.
28928 * nss/Makefile (otherlibs): Likewise.
28929 Add libnss_files to routines and static-only-routines.
28930 ($(objpfx)getent): Remove rule.
28931 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28932 static-only-routines.
28934 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28937 * math/s_cexp.c: Include <float.h>.
28938 (__cexp): Handle exp result overflowing not necessarily
28939 overflowing both real and imaginary parts of result.
28940 * math/s_cexpf.c: Likewise.
28941 * math/s_cexpl.c: Likewise.
28942 * math/libm-test.inc (cexp_test): Add more tests.
28943 * sysdeps/i386/fpu/libm-test-ulps: Update.
28944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28946 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28948 * include/link.h (ELFW): New macro.
28949 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28950 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28952 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28957 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28959 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28961 (struct La_x32_retval): Likewise.
28963 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28965 * sysdeps/x86_64/preconfigure.in: New file.
28966 * sysdeps/x86_64/preconfigure: New generated file.
28968 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28971 * math/e_exp2l.c: Include <float.h>.
28972 (__ieee754_exp2l): Handle overflow and underflow cases
28973 separately. Only pass fractional part of argument to
28975 * math/libm-test.inc (exp2_test): Add more tests.
28977 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28978 negating x to take absolute value.
28979 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28981 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28984 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28985 computing low part if x was negated.
28986 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28988 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28990 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28991 la_x32_gnu_pltexit.
28992 (pltexit): Cast int_retval to ptrdiff_t.
28993 * elf/tst-auditmod3b.c: Likewise.
28994 * elf/tst-auditmod4b.c: Likewise.
28995 * elf/tst-auditmod5b.c: Likewise.
28996 * elf/tst-auditmod6b.c: Likewise.
28997 * elf/tst-auditmod6c.c: Likewise.
28998 * elf/tst-auditmod7b.c: Likewise.
29000 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29001 and x32_gnu_pltexit.
29003 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29004 __ELF_NATIVE_CLASS.
29005 (La_x32_regs): New macro.
29006 (La_x32_retval): Likewise.
29007 (la_x32_gnu_pltenter): New function prototype.
29008 (la_x32_gnu_pltexit): Likewise.
29010 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29017 * configure.in (libc_cv_cc_nofma): Check for option to disable
29018 generation of FMA instructions.
29019 * configure: Regenerate.
29020 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29021 * sysdeps/ieee754/dbl-64/Makefile: New file.
29022 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29023 Remove brandred-fma4.
29024 (CFLAGS-brandred-fma4.c): Remove.
29025 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29026 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29028 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29031 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29033 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29034 LLONG_MAX != LONG_MAX.
29035 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29036 (_fitoa_word): Likewise.
29037 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29038 LLONG_MAX != LONG_MAX.
29039 * stdio-common/_itowa.h: Include <_itoa.h>.
29040 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29041 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29042 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29043 only if not defined.
29044 (_ITOA_WORD_TYPE): Likewise.
29045 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29046 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29048 2012-03-21 David S. Miller <davem@davemloft.net>
29050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29052 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29054 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29055 of x86_64 when setting libc_cv_slibdir, libdir and
29057 * sysdeps/unix/sysv/linux/configure: Regenerated.
29059 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29061 * manual/lang.texi (Old Varargs): Remove section.
29062 (How Variadic): Update menu.
29063 (va_start): Do not mention varargs.h.
29065 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29066 Joseph Myers <joseph@codesourcery.com>
29068 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29070 * configure: Regenerated.
29072 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29074 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29075 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29078 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29081 * Makefile (files-for-dist): Remove NOTES.
29082 (NOTES): Remove rule.
29083 * README: Don't refer to NOTES.
29084 * manual/creature.texi: Don't include macros.texi.
29085 * manual/intro.texi (creature.texi): Remove comment referring to
29088 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29089 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29090 * configure: Regenerated.
29091 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29092 LIBC_TRY_CC_OPTION.
29093 (libc_cv_as_i686): Likewise.
29094 (libc_cv_cc_avx): Likewise.
29095 (libc_cv_cc_sse2avx): Likewise.
29096 (libc_cv_cc_fma4): Likewise.
29097 (libc_cv_cc_novzeroupper): Likewise.
29098 * sysdeps/i386/configure: Regenerated.
29101 * sysdeps/i386/fpu/s_cexp.S: Remove.
29102 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29103 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29104 * math/libm-test.inc (cexp_test): Add more tests.
29105 * sysdeps/i386/fpu/libm-test-ulps: Update.
29106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29108 2012-03-21 Allan McRae <allan@archlinux.org>
29110 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29112 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29115 * math/w_exp2.c: Do not include <float.h>.
29116 (o_threshold, u_threshold): Remove.
29117 (__exp2): Calculate result before checking finiteness and calling
29119 * math/w_exp2f.c: Likewise.
29120 * math/w_exp2l.c: Likewise.
29121 * math/libm-test.inc (exp2_test): Require overflow exception for
29125 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29126 range of signed 64-bit integers before using fistpll. Remove
29127 checks for whether integers fit in mantissa bits.
29128 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29129 the range of signed 32-bit integers before using fistpl. Remove
29130 checks for whether integers fit in mantissa bits.
29131 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29132 (__ieee754_powl): Test for y outside the range of signed 64-bit
29133 integers before using fistpll. Reduce 64-bit values to 63-bit
29135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29136 divide-by-zero is raised for zero to large negative powers.
29137 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29138 (__ieee754_powl): Test for y outside the range of signed 64-bit
29139 integers before using fistpll. Reduce 64-bit values to 63-bit
29141 * math/libm-test.inc (pow_test): Add more tests.
29143 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29145 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29146 <stdio-common/_itoa.h>.
29147 * debug/segfault.c: Likewise.
29148 * elf/dl-cache.c: Likewise.
29149 * elf/dl-minimal.c: Likewise.
29150 * elf/dl-misc.c: Likewise.
29151 * elf/dl-sysdep.c: Likewise.
29152 * elf/dl-version.c: Likewise.
29153 * elf/rtld.c: Likewise.
29154 * hurd/hurdsock.c: Likewise.
29155 * hurd/lookup-retry.c: Likewise.
29156 * malloc/malloc.c: Likewise.
29157 * malloc/mtrace.c: Likewise.
29158 * nscd/nscd_getgr_r.c: Likewise.
29159 * nscd/nscd_getpw_r.c: Likewise.
29160 * nscd/nscd_getserv_r.c: Likewise.
29161 * posix/getopt_init.c: Likewise.
29162 * posix/wordexp.c: Likewise.
29163 * stdio-common/_itoa.c: Likewise.
29164 * stdio-common/printf_fphex.c: Likewise.
29165 * stdio-common/vfprintf.c: Likewise.
29166 * string/_strerror.c: Likewise.
29167 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29168 * sysdeps/i386/i686/hp-timing.h: Likewise.
29169 * sysdeps/mach/_strerror.c: Likewise.
29170 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29171 * sysdeps/mach/hurd/sethostid.c: Likewise.
29172 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29173 * sysdeps/mach/xpg-strerror.c: Likewise.
29174 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29175 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29176 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29177 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29178 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29179 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29180 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29181 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29182 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29183 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29184 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29185 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29186 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29187 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29188 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29189 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29190 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29191 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29192 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29193 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29194 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29196 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29198 * stdio-common/_itoa.h: Moved to ...
29199 * sysdeps/generic/_itoa.h: Here.
29201 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29203 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29204 instead of "_itoa.h" and "_itowa.h".
29205 * stdio-common/vfprintf.: Likewise.
29207 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29209 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29211 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29212 (__signbit): Likwise.
29213 (llrintf): Likwise.
29216 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29218 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29221 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29223 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29224 OVERFLOW_EXCEPTION_OK.
29225 * math/libm-test.inc ("Philosophy"): Update comment about
29227 (OVERFLOW_EXCEPTION): Define.
29228 (OVERFLOW_EXCEPTION_OK): Likewise.
29229 (INVALID_EXCEPTION_OK): Renumber.
29230 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29231 (IGNORE_ZERO_INF_SIGN): Likewise.
29232 (test_exceptions): Handle FE_OVERFLOW.
29233 (exp10_test): Expect overflow exceptions.
29234 (exp2_test): Likewise.
29235 (expm1_test): Likewise.
29236 (nextafter_test): Likewise.
29237 (pow_test): Likewise.
29238 (scalbn_test): Likewise.
29239 (scalbln_test): Likewise.
29241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29243 * sysdeps/x86_64/bits/atomic.h
29244 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29246 (atomic_exchange_acq): Likewise.
29247 (__arch_exchange_and_add_body): Likewise.
29248 (__arch_add_body): Likewise.
29249 (atomic_add_negative): Likewise.
29250 (atomic_add_zero): Likewise.
29252 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29254 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29255 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29257 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29259 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29260 Check __x86_64__ instead of __WORDSIZE.
29262 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29264 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29266 2012-03-19 David S. Miller <davem@davemloft.net>
29268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29270 * sysdeps/sparc/fpu/fenv_private.h: New file.
29271 * sysdeps/sparc/fpu/math_private.h: Use it.
29272 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29274 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29275 (libc_feholdexcept_setroundl): Remove.
29276 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29278 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29279 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29281 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29283 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29284 int64_t instead of long int.
29285 (INSERT_WORDS64): Likwise.
29287 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29289 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29290 _Unwind_GetCFA return to _Unwind_Ptr first.
29292 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29295 * math/s_clog.c: Include <float.h>.
29296 (__clog): Scale large or subnormal inputs.
29297 * math/s_clogf.c: Likewise.
29298 * math/s_clogl.c: Likewise.
29299 * math/s_clog10.c: Include <float.h>.
29300 (M_LOG10_2): Define.
29301 (__clog10): Scale large or subnormal inputs.
29302 * math/s_clog10f.c: Likewise.
29303 * math/s_clog10l.c: Likewise.
29304 * math/libm-test.inc (clog_test): Add more tests.
29305 (clog10_test): Likewise.
29306 * sysdeps/i386/fpu/libm-test-ulps: Update.
29307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29310 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29312 * math/libm-test.inc (atan2_test): Add another test.
29314 * Makerules (common-objdir-compile): Remove.
29315 * sysdeps/unix/Makefile (config-generated): Do not add
29316 $(unix-generated) to variable.
29317 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29318 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29320 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29322 [generic bits/local_lim.h] (before-compile): Do not append to
29324 [generic bits/local_lim.h] (common-generated): Likewise.
29325 [generic sys/param.h] (before-compile): Do not append to variable.
29326 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29327 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29328 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29329 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29331 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29332 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29333 [generic sys/param.h] ($(addprefix
29334 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29335 [generic sys/param.h] (common-generated): Do not append to
29337 [generic sys/param.h] (sysdep_headers): Likewise.
29338 [generic bits/errno.h] (before-compile): Do not append to
29340 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29342 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29343 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29344 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29345 [generic bits/errno.h] (common-generated): Do not append to
29347 [generic bits/ioctls.h] (before-compile): Do not append to
29349 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29351 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29352 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29353 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29355 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29356 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29357 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29358 [generic bits/ioctls.h] (common-generated): Do not append to
29360 [generic sys/syscall.h] (syscall.h): Remove variable.
29361 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29363 [generic sys/syscall.h] (before-compile): Do not append to
29365 [generic sys/syscall.h] (common-generated): Likewise.
29366 * sysdeps/unix/errnos-tmpl.c: Remove file.
29367 * sysdeps/unix/errnos.awk: Likewise.
29368 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29369 * sysdeps/unix/ioctls.awk: Likewise.
29370 * sysdeps/unix/mk-local_lim.c: Likewise.
29371 * sysdeps/unix/snarf-ioctls: Likewise.
29373 2012-03-19 Richard Henderson <rth@twiddle.net>
29375 * sysdeps/i386/fpu/fenv_private.h: New file.
29376 * sysdeps/i386/fpu/math_private.h: Use it.
29377 (math_opt_barrier, math_force_eval): Remove.
29378 (libc_feholdexcept_setround_53bit): Remove.
29379 (libc_feupdateenv_53bit): Remove.
29380 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29381 (math_opt_barrier, math_force_eval): Remove.
29382 (libc_feholdexcept): Remove.
29383 (libc_feholdexcept_setround): Remove.
29384 (libc_fetestexcept, libc_fesetenv): Remove.
29385 (libc_feupdateenv_test): Remove.
29386 (libc_feupdateenv, libc_feholdsetround): Remove.
29387 (libc_feresetround): Remove.
29389 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29390 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29392 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29393 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29394 (libc_feupdateenv_testl): New.
29395 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29396 (libc_feupdateenv_testf): New.
29397 (libc_feupdateenv): Use libc_feupdateenv_test.
29398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29401 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29402 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29403 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29404 (libc_feresetround_noex): New.
29405 (libc_feresetround_noexf): New.
29406 (libc_feresetround_noexl): New.
29407 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29408 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29409 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29410 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29412 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29415 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29416 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29417 SET_RESTORE_ROUND_NOEX.
29418 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29419 SET_RESTORE_ROUND_NOEXF.
29420 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29421 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29422 (libc_feholdsetroundf): New.
29423 (libc_feresetround, libc_feresetroundf): New.
29425 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29426 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29427 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29429 * sysdeps/generic/math_private.h: Include <fenv.h>.
29430 (default_libc_feholdexcept): New.
29431 (default_libc_feholdexcept_setround): New.
29432 (default_libc_fesetenv, default_libc_feupdateenv): New.
29433 (libc_feholdexcept): Only define if undefined.
29434 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29435 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29436 (libc_feholdexcept_setroundl): Likewise.
29437 (libc_feholdexcept_setround_53bit): Likewise.
29438 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29439 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29440 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29441 (libc_feupdateenv_53bit): Likewise.
29442 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29443 (libc_feholdexcept): Convert from macro to inline function.
29444 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29445 (libc_fesetenv, libc_feupdateenv): Likewise.
29447 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29448 not previously defined.
29449 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29450 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29451 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29452 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29453 * sysdeps/ieee754/flt-32/math_private.h: New file.
29454 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29455 math_private.h below SET_FLOAT_WORD.
29456 (__isnan, __isinf_ns, __finite): Remove.
29457 (__isnanf, __isinf_nsf, __finitef): Remove.
29459 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29463 2012-03-17 David S. Miller <davem@davemloft.net>
29466 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29469 2012-03-16 David S. Miller <davem@davemloft.net>
29471 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29475 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29477 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29478 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29479 sysdep_routines when subdir is sysvipc.
29480 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29481 __getshmlba helper.
29483 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29485 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29487 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29490 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29492 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29493 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29494 (__lround): Renamed to ...
29495 (__llround): This. Replace long int with long long int.
29496 Define lround functions as aliases of llround functions.
29497 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29499 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29501 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29502 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29503 adresses to uintptr_t. Replace "long int" and "unsigned long
29504 int" with "greg_t" on va_arg.
29506 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29508 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29509 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29511 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29512 Move e_machine check before EI_CLASS check. Handle x32
29513 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29514 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29515 SKIP_EM_IA_64 and include
29516 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29518 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29519 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29520 (add_system_dir): New macro.
29522 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29523 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29525 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29536 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29538 * math/w_j0f.c (j0f): Likewise.
29540 * math/w_j0l.c (__j0l): Likewise.
29542 * math/w_j1.c (j1): Likewise.
29544 * math/w_j1f.c (j1f): Likewise.
29546 * math/w_j1l.c (__j1l): Likewise.
29548 * math/w_jn.c (jn): Likewise.
29550 * math/w_jnf.c (jnf): Likewise.
29552 * math/w_jnl.c (__jnl): Likewise.
29554 * math/libm-test.inc (j0_test): Add more tests.
29555 (j1_test): Likewise.
29556 (jn_test): Likewise. Add trailing semicolon to existing test.
29557 (y0_test): Likewise.
29558 (y1_test): Likewise.
29559 * sysdeps/i386/fpu/libm-test-ulps: Update.
29560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29564 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29565 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29566 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29567 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29568 (__tanl): Set errno for infinite argument.
29569 * sysdeps/i386/fpu/mptan.c: Remove.
29570 * sysdeps/i386/fpu/s_tan.S: Likewise.
29571 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29572 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29573 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29574 * math/libm-test.inc (tan_test): Add more tests and enable more
29575 tests for double and long double.
29576 * sysdeps/i386/fpu/libm-test-ulps: Update.
29577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29579 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29581 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29582 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29584 2012-03-16 Roland McGrath <roland@hack.frob.com>
29586 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29587 * configure.in: Use it for both main tree and add-ons.
29588 * configure: Regenerated.
29590 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29592 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29594 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29596 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29600 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29601 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29602 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29603 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29606 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29608 != 0 for prec == 2.
29609 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29610 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29611 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29612 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29613 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29614 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29615 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29616 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29617 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29618 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29619 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29620 * math/libm-test.inc (cos_test): Add more tests and enable more
29621 tests for long double.
29622 (sin_test): Likewise.
29623 (sincos_test): Likewise.
29624 * sysdeps/i386/fpu/libm-test-ulps: Update.
29625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29627 2012-03-16 David S. Miller <davem@davemloft.net>
29629 * sysdeps/sparc/fpu/math_private.h: New file.
29631 2012-03-15 David S. Miller <davem@davemloft.net>
29633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29647 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29648 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29650 * sysdeps/sparc/sparc-ifunc.h: New file.
29651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29691 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29692 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29696 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29698 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29702 2012-03-15 Andreas Jaeger <aj@suse.de>
29705 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29706 ieee754/flt-32 implementation for sin, cos and sincos.
29707 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29708 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29709 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29710 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29711 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29712 ieee754/flt-32 implementation for tan.
29714 * math/libm-test.inc (cos_test): Enable some large input tests for
29716 (sin_test): Likewise.
29717 (sincos_test): Likewise.
29718 (tan_test): Add tests for large input.
29720 * sysdeps/i386/fpu/libm-test-ulps: Update.
29722 2012-03-15 Andreas Jaeger <aj@suse.de>
29725 * math/libm-test.inc (cos_test): Add more test cases.
29726 (sin_test): Likewise.
29727 (sincos_test): Likewise.
29729 2012-03-15 Andreas Jaeger <aj@suse.de>
29732 * math/libm-test.inc (cos_test): Add a test case for large input
29734 (sin_test): Likewise.
29735 (sincos_test): Likewise.
29737 2012-03-15 Andreas Jaeger <aj@suse.de>,
29738 Joseph Myers <joseph@codesourcery.com>
29741 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29742 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29743 * sysdeps/i386/fpu/branred.c: Likewise.
29744 * sysdeps/i386/fpu/dosincos.c: Likewise.
29745 * sysdeps/i386/fpu/mpa.c: Likewise.
29746 * sysdeps/i386/fpu/s_cos.S: Likewise.
29747 * sysdeps/i386/fpu/s_sin.S: Likewise.
29748 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29749 * sysdeps/i386/fpu/sincos32.c: Likewise.
29751 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29753 (libc_feupdateenv_53bit): Define.
29754 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29756 (libc_feupdateenv_53bit): Define.
29758 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29759 53 bit (without extend i386 double precision).
29761 * math/libm-test.inc (sincos_test): Add tests for large input.
29765 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29767 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29771 2012-03-15 David S. Miller <davem@davemloft.net>
29773 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29774 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29775 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29776 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29801 fmin/fmax sysdep routines.
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29804 2012-03-14 David S. Miller <davem@davemloft.net>
29806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29810 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29826 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29831 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29878 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29883 * sysdeps/sparc/configure.in: New file.
29884 * sysdeps/sparc/configure: Generate.
29885 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29886 * configure: Regenerate.
29887 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29888 * config.make.in (have-as-vis3): New.
29889 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29890 available use -Av9d instead of -Av9a.
29891 * sysdeps/sparc/sparc64/Makefile: Likewise.
29892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29907 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29908 fzeros/fnegs to load 0x80000000 into a float register instead of
29910 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29912 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29916 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29917 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29918 ($(inst_includedir)/bits/syscall.h): Remove rule.
29919 ($(objpfx)bits/syscall.d): Include instead of
29920 $(objpfx)syscall-list.d.
29921 (generated): Change syscall-list.h and syscall-list.d to
29922 bits/syscall.h and bits/syscall.d.
29924 2012-03-14 Roland McGrath <roland@hack.frob.com>
29927 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29929 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29932 * math/s_csqrt.c: Include <float.h>.
29933 (__csqrt): Scale large or subnormal inputs.
29934 * math/s_csqrtf.c: Likewise.
29935 * math/s_csqrtl.c: Likewise.
29936 * math/libm-test.inc (csqrt_test): Add more tests.
29937 * sysdeps/i386/fpu/libm-test-ulps: Update.
29938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29941 * math/libm-test.inc (hypot_test): Add more tests.
29943 2012-03-13 David S. Miller <davem@davemloft.net>
29946 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29947 double-precision for the calculation instead of scaling.
29949 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29952 manipulate bits before adding and subtracting TWO52[sx].
29953 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29956 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29958 2012-03-13 David S. Miller <davem@davemloft.net>
29960 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29961 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29963 rtld-global-offsets.h
29964 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29969 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29971 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29972 'err' in the ifdef scope in which it is actually used.
29974 * nss/nss_db/db-init.c: Include string.h
29976 2012-03-12 David S. Miller <davem@davemloft.net>
29978 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29979 masking out of the most significant byte of random value used.
29980 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29981 Fix coding style in previous change.
29983 * sysdeps/unix/sysv/linux/kernel-features.h
29984 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29985 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29987 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29990 2012-03-11 David S. Miller <davem@davemloft.net>
29992 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29993 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29995 for 'resultvar' otherwise things get truncated on 64-bit.
29997 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29998 Fix masking out of the most significant byte of random value used.
30000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30002 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30006 2012-03-09 David S. Miller <davem@davemloft.net>
30008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30009 variables with appropriate CPP guards.
30010 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30011 frame pointer, not the stack pointer. Correct layout comments. Fix test
30012 on resulting framesize and the management of the outregs buffer for pltexit.
30013 Preserve floating point return values across _dl_call_pltexit call.
30014 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30015 framesize and the management of the outregs buffer for pltexit.
30016 Preserve floating point return values across _dl_call_pltexit
30018 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30019 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30020 (print_exit): Fix format string for return register value.
30022 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30024 * sunrpc/Makefile (others): Add rpcgen.
30025 ($(objpfx)rpcgen): Remove special build rule and dependency on
30027 * sunrpc/rpcgen.c: New file.
30029 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30032 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30033 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30034 * sysdeps/i386/crti.S: Likewise.
30035 * sysdeps/i386/crtn.S: Likewise.
30036 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30037 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30038 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30039 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30040 * sysdeps/sh/crti.S: Likewise.
30041 * sysdeps/sh/crtn.S: Likewise.
30042 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30045 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30047 * locale/programs/locfile-kw.gperf: Likewise.
30048 * locale/programs/charmap-kw.h: Regenerated.
30049 * locale/programs/locfile-kw.h: Likewise.
30052 * intl/plural.y: Replace FSF snail mail address with URL.
30053 * intl/plural.c: Regenerated.
30055 2012-03-09 Richard Henderson <rth@twiddle.net>
30057 * include/math_private.h: Remove file.
30058 * math/math_private.h: Move file ...
30059 * sysdeps/generic/math_private.h: ... here.
30061 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30062 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30063 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30065 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30066 and <math_private.h>.
30067 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30068 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30069 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30070 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30071 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30073 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30075 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30076 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30089 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30092 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30093 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30097 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30102 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30110 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30111 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30112 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30113 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30114 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30115 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30116 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30117 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30118 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30119 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30120 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30121 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30122 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30123 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30124 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30125 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30126 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30128 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30131 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30132 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30133 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30134 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30135 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30136 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30137 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30138 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30139 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30141 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30146 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30147 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30148 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30149 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30150 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30151 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30153 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30154 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30155 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30156 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30157 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30158 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30159 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30161 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30171 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30172 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30173 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30174 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30175 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30176 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30177 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30178 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30179 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30180 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30181 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30182 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30183 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30184 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30185 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30186 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30187 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30188 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30189 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30190 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30191 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30192 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30193 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30194 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30195 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30196 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30197 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30198 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30199 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30200 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30201 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30203 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30204 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30205 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30206 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30207 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30208 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30209 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30210 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30211 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30212 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30213 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30214 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30215 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30216 * sysdeps/ieee754/k_standard.c: Likewise.
30217 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30218 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30219 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30220 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30221 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30224 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30225 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30227 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30229 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30233 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30238 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30242 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30243 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30244 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30245 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30246 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30248 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30249 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30250 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30251 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30252 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30253 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30254 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30255 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30256 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30257 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30258 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30259 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30261 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30262 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30263 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30265 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30266 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30267 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30268 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30269 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30270 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30271 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30272 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30273 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30274 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30275 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30276 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30277 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30278 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30279 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30280 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30281 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30282 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30283 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30284 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30285 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30287 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30289 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30290 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30291 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30293 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30294 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30297 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30298 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30299 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30300 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30301 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30302 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30303 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30304 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30306 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30310 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30311 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30312 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30313 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30314 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30321 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30322 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30332 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30335 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30336 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30337 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30339 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30344 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30349 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30355 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30356 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30366 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30367 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30373 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30377 * sysdeps/ieee754/s_lib_version.c: Likewise.
30378 * sysdeps/ieee754/s_matherr.c: Likewise.
30379 * sysdeps/ieee754/s_signgam.c: Likewise.
30380 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30381 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30382 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30383 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30384 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30385 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30386 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30387 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30388 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30389 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30390 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30391 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30392 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30393 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30394 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30395 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30396 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30397 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30398 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30402 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30404 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30405 * sunrpc/rpc_main.c: Likewise.
30406 * sunrpc/rpc_svcout.c: Likewise.
30408 2012-03-09 David S. Miller <davem@davemloft.net>
30410 * include/math_private.h: New file.
30412 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30414 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30415 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30416 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30417 from <bits/socket_type.h>.
30418 (enum __socket_type): Don't define here.
30419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30421 bits/socket_type.h.
30424 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30425 checking __USE_GNU.
30427 * Makerules ($(inst_includedir)/%.h): New rule.
30428 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30429 (install-others): Remove variable setting.
30430 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30432 2012-03-08 Richard Henderson <rth@twiddle.net>
30434 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30435 from macro to inline function; merge with the
30436 !__LIBC_INTERNAL_MATH_INLINES version.
30437 (__ieee754_sqrtf): Likewise.
30439 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30440 to inline function.
30441 (__rintf, __floor, __floorf): Likewise.
30443 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30444 macro to inline function.
30445 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30447 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30448 not <math/math_private.h>.
30450 2012-03-08 David S. Miller <davem@davemloft.net>
30452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30454 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30456 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30458 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30460 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30461 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30463 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30465 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30466 be defined individually, they must be defined as a block. Define
30467 S for printing a string instead of hidint the different by using a
30468 macro for adding the 'l'.
30469 * stdio-common/tst-fphex-wide.c: Adjust.
30471 2012-03-07 Marek Polacek <polacek@redhat.com>
30473 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30475 2012-03-08 Marek Polacek <polacek@redhat.com>
30478 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30479 * stdio-common/tst-fphex.c: Define a few macros to make the
30480 test reusable. Use them.
30481 * stdio-common/tst-fphex-wide.c: New file.
30483 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30486 * manual/macros.texi (gnusystems): New macro.
30487 (nongnusystems): Likewise.
30488 (gnulinuxhurdsystems): Likewise.
30489 (gnuhurdsystems): Likewise..
30490 (gnulinuxsystems): Likewise.
30491 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30492 variants of the GNU system, not "GNU system".
30493 * manual/conf.texi: Likewise.
30494 * manual/errno.texi: Likewise. Update example of errno macro
30496 * manual/filesys.texi: Likewise.
30497 (getumask): Document as specific to GNU/Hurd.
30498 * manual/install.texi: Likewise. Reword some references to
30500 * manual/intro.texi: Likewise.
30501 * manual/io.texi: Likewise.
30502 (File Name Portability): Detail which constraints are inapplicable
30503 to all GNU systems and which are only inapplicable to GNU/Hurd.
30504 * manual/job.texi: Likewise.
30505 * manual/llio.texi: Likewise.
30506 (O_NOCTTY): Document as present on GNU/Linux.
30507 * manual/maint.texi: Likewise.
30508 * manual/memory.texi: Likewise.
30509 * manual/pattern.texi: Likewise.
30510 * manual/pipe.texi: Likewise.
30511 * manual/process.texi: Likewise.
30512 * manual/resource.texi: Likewise.
30513 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30515 * manual/setjmp.texi: Likewise.
30516 * manual/signal.texi: Likewise.
30517 * manual/startup.texi: Likewise.
30518 * manual/stdio.texi: Likewise.
30519 * manual/terminal.texi: Likewise.
30520 (ONLCR): Document as POSIX.
30521 (OXTABS): Document availability on GNU/Linux as XTABS.
30522 (ONOEOT): Document availability separately from other bits.
30523 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30524 * manual/time.texi: Likewise.
30525 * manual/users.texi: Likewise.
30526 * INSTALL: Regenerated.
30527 * sysdeps/gnu/errlist.c: Regenerated.
30529 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30530 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30531 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30533 * configure: Regenerated.
30535 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30538 default includes instead of AC_HEADER_CHECK.
30539 * sysdeps/i386/configure: Regenerated.
30542 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30543 * math/s_cacoshf.c (__cacoshf): Likewise.
30544 * math/s_cacoshl.c (__cacoshl): Likewise.
30545 * math/s_casinh.c (__casinh): Set signs of result from argument.
30546 * math/s_casinhf.c (__casinhf): Likewise.
30547 * math/s_casinhl.c (__casinhl): Likewise.
30548 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30549 (casinh_test): Add more tests.
30550 * sysdeps/i386/fpu/libm-test-ulps: Update.
30551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30553 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30555 * po/zh_TW.po: Update from translation team.
30557 * login/Makefile (distribute): Remove variable.
30558 * catgets/Makefile: Likewise.
30559 * mach/Makefile: Likewise.
30560 * malloc/Makefile: Likewise.
30561 * misc/Makefile: Likewise.
30562 * iconv/Makefile: Likewise.
30563 * nscd/Makefile: Likewise.
30564 * hurd/Makefile: Likewise.
30565 * manual/Makefile: Likewise.
30566 * locale/Makefile: Likewise.
30567 * intl/Makefile: Likewise.
30568 * conform/Makefile: Likewise.
30569 * nss/Makefile: Likewise.
30570 * time/Makefile: Likewise.
30571 * soft-fp/Makefile: Likewise.
30572 * dirent/Makefile: Likewise.
30573 * gmon/Makefile: Likewise.
30574 * po/Makefile: Likewise.
30575 * rt/Makefile: Likewise.
30576 * socket/Makefile: Likewise.
30577 * math/Makefile: Likewise.
30578 * signal/Makefile: Likewise.
30579 * debug/Makefile: Likewise.
30580 * elf/Makefile: Likewise.
30581 * timezone/Makefile: Likewise.
30582 * stdlib/Makefile: Likewise.
30583 * iconvdata/Makefile: Likewise.
30584 * sunrpc/Makefile: Likewise.
30585 * io/Makefile: Likewise.
30586 * argp/Makefile: Likewise.
30587 * inet/Makefile: Likewise.
30588 * hesiod/Makefile: Likewise.
30589 * grp/Makefile: Likewise.
30590 * csu/Makefile: Likewise.
30591 * wctype/Makefile: Likewise.
30592 * crypt/Makefile: Likewise.
30593 * libio/Makefile: Likewise.
30594 * string/Makefile: Likewise.
30595 * nis/Makefile: Likewise.
30596 * resolv/Makefile: Likewise.
30597 * stdio-common/Makefile: Likewise.
30598 * wcsmbs/Makefile: Likewise.
30599 * dlfcn/Makefile: Likewise.
30600 * posix/Makefile: Likewise.
30603 * timezone/Makefile: Don't install timezone files, just the programs
30606 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30608 * nss/databases.def: Add missing gshadow entry.
30610 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30612 2012-03-06 Marek Polacek <polacek@redhat.com>
30615 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30616 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30617 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30618 * stdio-common/tst-long-dbl-fphex.c: New file.
30620 2012-03-06 David S. Miller <davem@davemloft.net>
30622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30623 (set_obp_int): New function.
30624 (get_obp_int): New function.
30625 (__get_clockfreq_via_dev_openprom): Likewise.
30626 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30627 Avoid unused variable warnings on 'val' and use builtin_expect.
30628 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30630 (INLINE_CLONE_SYSCALL): Likewise.
30632 2012-03-05 David S. Miller <davem@davemloft.net>
30634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30640 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30641 only for |x| >= 40.
30642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30644 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30647 Replace gettimeofday with __vdso_gettimeofday.
30649 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30650 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30651 __vdso_clock_gettime and __vdso_getcpu.
30653 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30654 time with __vdso_time.
30656 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30658 * manual/lang.texi (size_t): Note types to which size_t may be
30659 equivalent with the GNU C Library, but do not describe when
30660 differences between them are significant.
30662 2012-03-05 Andreas Jaeger <aj@suse.de>
30664 * sysdeps/i386/fpu/libm-test-ulps: Update.
30666 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30669 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30670 (__ieee754_pow): Save and restore rounding mode and use
30671 round-to-nearest for main computations.
30672 * math/libm-test.inc (pow_test_tonearest): New function.
30673 (pow_test_towardzero): Likewise.
30674 (pow_test_downward): Likewise.
30675 (pow_test_upward): Likewise.
30676 (main): Call the new functions.
30677 * sysdeps/i386/fpu/libm-test-ulps: Update.
30678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30681 * math/libm-test.inc (cosh_test_tonearest): New function.
30682 (cosh_test_towardzero): Likewise.
30683 (cosh_test_downward): Likewise.
30684 (cosh_test_upward): Likewise.
30685 (sinh_test_tonearest): Likewise.
30686 (sinh_test_towardzero): Likewise.
30687 (sinh_test_downward): Likewise.
30688 (sinh_test_upward): Likewise.
30689 (main): Call the new functions.
30690 * sysdeps/i386/fpu/libm-test-ulps: Update.
30691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30693 2012-03-05 Tom de Vries <tom@codesourcery.com>
30695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30696 default stack guard is set in last bytes.
30697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30699 2012-03-05 Kees Cook <keescook@chromium.org>
30701 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30704 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30705 possibly allocate from heap instead of stack.
30706 * stdio-common/bug-vfprintf-nargs.c: New file.
30707 * stdio-common/Makefile (tests): Add nargs overflow test.
30709 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30713 2012-03-03 Marek Polacek <polacek@redhat.com>
30715 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30716 * math/math_private.h: Likewise.
30717 * stdlib/tst-strtod.c: Likewise.
30718 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30719 * sysdeps/x86_64/bits/atomic.h: Likewise.
30721 2012-03-02 David S. Miller <davem@davemloft.net>
30723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30727 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30728 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30729 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30730 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30732 2012-03-02 Roland McGrath <roland@hack.frob.com>
30735 * manual/examples/README: New file, says the example source files
30736 can be used under GPL>=2.
30737 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30738 line containing just "*/".
30739 * manual/examples/add.c: Add copyright header (GPL>=2).
30740 * manual/examples/argp-ex1.c: Likewise.
30741 * manual/examples/argp-ex2.c: Likewise.
30742 * manual/examples/argp-ex3.c: Likewise.
30743 * manual/examples/argp-ex4.c: Likewise.
30744 * manual/examples/atexit.c: Likewise.
30745 * manual/examples/db.c: Likewise.
30746 * manual/examples/dir.c: Likewise.
30747 * manual/examples/dir2.c: Likewise.
30748 * manual/examples/execinfo.c: Likewise.
30749 * manual/examples/filecli.c: Likewise.
30750 * manual/examples/filesrv.c: Likewise.
30751 * manual/examples/fmtmsgexpl.c: Likewise.
30752 * manual/examples/genpass.c: Likewise.
30753 * manual/examples/inetcli.c: Likewise.
30754 * manual/examples/inetsrv.c: Likewise.
30755 * manual/examples/isockad.c: Likewise.
30756 * manual/examples/longopt.c: Likewise.
30757 * manual/examples/memopen.c: Likewise.
30758 * manual/examples/memstrm.c: Likewise.
30759 * manual/examples/mkfsock.c: Likewise.
30760 * manual/examples/mkisock.c: Likewise.
30761 * manual/examples/mygetpass.c: Likewise.
30762 * manual/examples/pipe.c: Likewise.
30763 * manual/examples/popen.c: Likewise.
30764 * manual/examples/rprintf.c: Likewise.
30765 * manual/examples/search.c: Likewise.
30766 * manual/examples/select.c: Likewise.
30767 * manual/examples/setjmp.c: Likewise.
30768 * manual/examples/sigh1.c: Likewise.
30769 * manual/examples/sigusr.c: Likewise.
30770 * manual/examples/stpcpy.c: Likewise.
30771 * manual/examples/strdupa.c: Likewise.
30772 * manual/examples/strftim.c: Likewise.
30773 * manual/examples/strncat.c: Likewise.
30774 * manual/examples/subopt.c: Likewise.
30775 * manual/examples/swapcontext.c: Likewise.
30776 * manual/examples/termios.c: Likewise.
30777 * manual/examples/testopt.c: Likewise.
30778 * manual/examples/testpass.c: Likewise.
30779 * manual/examples/timeval_subtract.c: Likewise.
30782 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30784 * manual/timeval_subtract.c.texi: ... here, new file.
30786 2012-03-02 David S. Miller <davem@davemloft.net>
30788 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30790 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30793 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30794 (__sin): Save and restore rounding mode and use round-to-nearest
30795 for all computations.
30796 (__cos): Save and restore rounding mode and use round-to-nearest
30797 for all computations.
30798 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30800 (tan): Save and restore rounding mode and use round-to-nearest for
30802 * math/libm-test.inc (cos_test_tonearest): New function.
30803 (cos_test_towardzero): Likewise.
30804 (cos_test_downward): Likewise.
30805 (cos_test_upward): Likewise.
30806 (sin_test_tonearest): Likewise.
30807 (sin_test_towardzero): Likewise.
30808 (sin_test_downward): Likewise.
30809 (sin_test_upward): Likewise.
30810 (tan_test_tonearest): Likewise.
30811 (tan_test_towardzero): Likewise.
30812 (tan_test_downward): Likewise.
30813 (tan_test_upward): Likewise.
30814 (main): Call the new functions.
30815 * sysdeps/i386/fpu/libm-test-ulps: Update.
30816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30819 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30820 small n, then large n, before computing and testing k+n.
30821 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30826 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30827 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30834 * math/libm-test.inc (scalbn_test): Add more tests.
30835 (scalbln_test): Likewise.
30837 * manual/filesys.texi (mode_t): Describe constraints on size and
30838 signedness, not exact equivalence to a particular type.
30840 (ino64_t): Likewise.
30842 (nlink_t): Likewise.
30843 (blkcnt_t): Likewise.
30844 (blkcnt64_t): Likewise.
30845 * manual/llio.texi (off_t): Likewise.
30848 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30849 (__ieee754_exp): Save and restore rounding mode and use
30850 round-to-nearest for all computations.
30851 * math/libm-test.inc (exp_test_tonearest): New function.
30852 (exp_test_towardzero): Likewise.
30853 (exp_test_downward): Likewise.
30854 (exp_test_upward): Likewise.
30855 (main): Call the new functions.
30856 * sysdeps/i386/fpu/libm-test-ulps: Update.
30857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30859 2012-03-01 Chris Demetriou <cgd@google.com>
30861 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30862 have predictable order.
30864 2012-03-01 David S. Miller <davem@davemloft.net>
30866 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30868 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30869 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30870 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30871 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30873 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30874 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30875 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30877 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30878 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30879 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30880 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30881 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30886 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30887 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30889 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30890 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30891 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30892 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30893 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30894 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30895 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30896 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30897 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30898 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30899 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30900 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30902 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30903 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30905 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30906 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30907 * sysdeps/sparc/elf/configure: Regenerated.
30909 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30911 * configure.in (AS, LD): Require binutils 2.20 or later.
30912 * configure: Regenerated.
30913 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30914 as required minimum version.
30915 * INSTALL: Regenerated.
30919 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30920 before squaring exponent.
30921 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30922 bottom long double and 27 bits of top long double before squaring
30924 * math/libm-test.inc (erfc_test): Add more tests.
30925 * sysdeps/i386/fpu/libm-test-ulps: Update.
30926 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30929 2012-03-01 Kai Tietz <ktietz@redhat.com>
30931 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30932 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30933 containing bit-fields.
30934 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30935 * soft-fp/single.h (_FP_UNION_S): Likewise.
30936 * soft-fp/double.h (_FP_UNION_D): Likewise.
30938 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30941 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30942 not include ../strcmp.S.
30943 [USE_AS_STRNCASECMP_L]: Likewise.
30944 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30945 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30946 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30947 (__strncasecmp_l_ia32): Define as alias to
30948 __strncasecmp_l_nonascii.
30951 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30952 * sysdeps/i386/fpu/libm-test-ulps: Update.
30953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30955 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30958 2012-02-29 Jeff Law <law@redhat.com>
30960 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30961 out of bounds read.
30963 2012-02-29 Marek Polacek <polacek@redhat.com>
30966 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30967 * elf/Makefile: Add rules to run tst-unused-dep.out.
30969 2012-02-28 David S. Miller <davem@davemloft.net>
30971 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30972 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30973 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30974 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30975 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30976 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30978 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30980 * math/libm-test.inc (llround_test): Move one test from
30981 lround_test. Use TEST_f_L in moved test.
30982 (lround_test): Move misplaced test to llround_test. Add testcase
30985 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30987 * sysdeps/x86_64/fpu/e_expf.S: New file.
30988 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30990 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30993 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30994 of remain_len that may cause incomplete multi-byte character and
30996 * posix/bug-regex33.c: New file.
30997 * posix/Makefile (tests): Add bug-regex33.
30999 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31001 * manual/macros.texi: New file.
31002 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31003 * manual/libc.texinfo: Include macros.texi.
31004 * manual/creatute.texi: Likewise.
31005 * manual/install.texi: Likewise.
31006 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31007 @glibcadj{} in references to the GNU C Library.
31008 * manual/charset.texi: Likewise.
31009 * manual/conf.texi: Likewise.
31010 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31011 when not using those macros.
31012 * manual/creature.texi: Likewise.
31013 * manual/crypt.texi: Likewise.
31014 * manual/errno.texi: Likewise.
31015 * manual/filesys.texi: Likewise.
31016 * manual/header.texi: Likewise.
31017 * manual/install.texi: Likewise.
31018 * manual/intro.texi: Likewise.
31019 * manual/io.texi: Likewise.
31020 * manual/job.texi: Likewise.
31021 * manual/lang.texi: Likewise.
31022 * manual/libc.texiinfo: Likewise.
31023 * manual/llio.texi: Likewise.
31024 * manual/locale.texi: Likewise.
31025 * manual/maint.texi: Likewise.
31026 * manual/math.texi: Likewise.
31027 * manual/memory.texi: Likewise.
31028 * manual/message.texi: Likewise.
31029 * manual/nss.texi: Likewise.
31030 * manual/pattern.texi: Likewise.
31031 * manual/process.texi: Likewise.
31032 * manual/resource.texi: Likewise.
31033 * manual/search.texi: Likewise.
31034 * manual/setjmp.texi: Likewise.
31035 * manual/signal.texi: Likewise.
31036 * manual/socket.texi: Likewise.
31037 * manual/startup.texi: Likewise.
31038 * manual/stdio.texi: Likewise.
31039 * manual/string.texi: Likewise.
31040 * manual/sysinfo.texi: Likewise.
31041 * manual/syslog.texi: Likewise.
31042 * manual/terminal.texi: Likewise.
31043 * manual/time.texi: Likewise.
31044 * manual/users.texi: Likewise.
31045 * INSTALL: Regenerated.
31046 * NOTES: Regenerated.
31047 * sysdeps/gnu/errlist.c: Regenerated.
31049 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31051 * include/dirent.h: Include <dirstream.h> before
31054 2012-02-28 David S. Miller <davem@davemloft.net>
31056 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31057 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31058 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31059 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31061 2012-02-27 David S. Miller <davem@davemloft.net>
31063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31065 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31066 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31069 frame pointer instead of stack pointer relative arg slot.
31070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31071 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31072 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31074 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31077 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31079 2012-02-27 David S. Miller <davem@davemloft.net>
31081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31085 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31086 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31087 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31088 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31090 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31092 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31093 later. Allow versions 5-9.
31094 * configure: Regenerated.
31095 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31096 required minimum version and 4.6 as recommended version. Do not
31097 mention bugs in GCC 2.7 and 2.8.
31098 * INSTALL: Regenerated.
31100 2012-02-27 David S. Miller <davem@davemloft.net>
31102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31106 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31107 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31108 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31109 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31111 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31112 manipulate bits before adding and subtracting TWO112[sx].
31113 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31115 2012-02-27 Roland McGrath <roland@hack.frob.com>
31118 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31119 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31120 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31121 being in POSIX, because they are in 1003.1-2008.
31123 * rt/tst-aio.c: Include <fcntl.h>.
31124 * rt/tst-aio7.c: Likewise.
31125 * rt/tst-aio64.c: Likewise.
31127 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31129 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31131 * manual/install.texi (--with-headers): Describe headers as
31132 interface headers, not private headers.
31133 (Specific advice for GNU/Linux systems): Describe use of headers
31134 from "make headers_install", not private headers from older
31136 * INSTALL: Regenerated.
31137 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31139 * sysdeps/unix/sysv/linux/configure: Regenerated.
31141 * manual/llio.texi (fclean): Remove documentation.
31143 * manual/Makefile (libc-texi-generated): New variable. Include
31145 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31146 $(libc-texi-generated), not duplicated list of files.
31147 (version.texi, stamp-version): New rules.
31148 (realclean): Remove $(libc-texi-generated), not individual files
31149 from that list. Do not remove dir-add.texinfo.
31150 * manual/libc.texinfo: Comment out uses of edition numbers and
31151 references to printed manual. Remove last-updated dates.
31152 (EDITION): Comment out.
31154 (VERSION, UPDATED): Remove.
31155 (version.texi): Include.
31157 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31159 * sysdeps/posix/spawni.c: Include <signal.h>.
31160 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31161 * sysdeps/pthread/aio_fsync.c: Likewise.
31163 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31165 * conform/Makefile (tests): Run only when not cross-compiling and
31166 when fast-check is not defined.
31168 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31169 * conform/data/limits.h-data: Fixes for POSIX2008.
31170 * conform/run-conformtest.sh: Run all tests.
31171 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31173 * include/bits/dlfcn.h: Likewise.
31174 * include/langinfo.h: Likewise.
31175 * include/monetary.h: Likewise.
31176 * include/sys/poll.h: Likewise.
31178 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31180 * posix/spawn.h: Define __need_sigset_t.
31181 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31182 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31183 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31184 to get sigevent_t only.
31185 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31186 only for __USE_GNU.
31187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31188 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31189 process_vm_writev only for __USE_GNU.
31190 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31192 * conform/Makefile: For now ignore errors from run-conformtest.
31193 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31194 POSIX to avoid namespace pollution. Don't prepend headers.
31195 * conform/data/aio.h-data: Fixes for POSIX testing.
31196 * conform/data/fcntl.h-data: Likewise.
31197 * conform/data/glob.h-data: Likewise.
31198 * conform/data/grp.h-data: Likewise.
31199 * conform/data/pthread.h-data: Likewise.
31200 * conform/data/pwd.h-data: Likewise.
31201 * conform/data/signal.h-data: Likewise.
31202 * conform/data/spawn.h-data: Likewise.
31203 * conform/data/stdio.h-data: Likewise.
31204 * conform/data/stdlib.h-data: Likewise.
31205 * conform/data/stropts.h-data: Likewise.
31206 * conform/data/sys/mman.h-data: Likewise.
31207 * conform/data/sys/stat.h-data: Likewise.
31208 * conform/data/sys/types.h-data: Likewise.
31209 * conform/data/sys/wait.h-data: Likewise.
31210 * conform/data/time.h-data: Likewise.
31211 * conform/data/unistd.h-data: Likewise.
31212 * conform/data/utime.h-data: Likewise.
31214 * io/sys/stat.h: fchmod was always in POSIX.
31215 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31216 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31217 * rt/aio.h: Define __need_timespec before including <time.h>.
31218 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31219 struct. Add forward declaration of pthread_attr_t and use it in
31221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31223 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31224 always remove CLK_TCK definition.
31226 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31228 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31230 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31232 * conform/run-conformtest.sh: New file.
31233 * conform/Makefile: Run run-conformtest for tests.
31234 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31237 * conform/data/uchar.h-data: New file.
31238 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31239 * conform/data/arpa/inet.h-data: Likewise.
31240 * conform/data/assert.h-data: Likewise.
31241 * conform/data/complex.h-data: Likewise.
31242 * conform/data/cpio.h-data: Likewise.
31243 * conform/data/ctype.h-data: Likewise.
31244 * conform/data/dirent.h-data: Likewise.
31245 * conform/data/dlfcn.h-data: Likewise.
31246 * conform/data/errno.h-data: Likewise.
31247 * conform/data/fcntl.h-data: Likewise.
31248 * conform/data/float.h-data: Likewise.
31249 * conform/data/fmtmsg.h-data: Likewise.
31250 * conform/data/fnmatch.h-data: Likewise.
31251 * conform/data/ftw.h-data: Likewise.
31252 * conform/data/glob.h-data: Likewise.
31253 * conform/data/grp.h-data: Likewise.
31254 * conform/data/iconv.h-data: Likewise.
31255 * conform/data/inttypes.h-data: Likewise.
31256 * conform/data/langinfo.h-data: Likewise.
31257 * conform/data/libgen.h-data: Likewise.
31258 * conform/data/limits.h-data: Likewise.
31259 * conform/data/locale.h-data: Likewise.
31260 * conform/data/math.h-data: Likewise.
31261 * conform/data/monetary.h-data: Likewise.
31262 * conform/data/mqueue.h-data: Likewise.
31263 * conform/data/ndbm.h-data: Likewise.
31264 * conform/data/net/if.h-data: Likewise.
31265 * conform/data/netdb.h-data: Likewise.
31266 * conform/data/netinet/in.h-data: Likewise.
31267 * conform/data/nl_types.h-data: Likewise.
31268 * conform/data/poll.h-data: Likewise.
31269 * conform/data/pthread.h-data: Likewise.
31270 * conform/data/pwd.h-data: Likewise.
31271 * conform/data/regex.h-data: Likewise.
31272 * conform/data/sched.h-data: Likewise.
31273 * conform/data/search.h-data: Likewise.
31274 * conform/data/semaphore.h-data: Likewise.
31275 * conform/data/setjmp.h-data: Likewise.
31276 * conform/data/signal.h-data: Likewise.
31277 * conform/data/spawn.h-data: Likewise.
31278 * conform/data/stdarg.h-data: Likewise.
31279 * conform/data/stdio.h-data: Likewise.
31280 * conform/data/stdlib.h-data: Likewise.
31281 * conform/data/string.h-data: Likewise.
31282 * conform/data/strings.h-data: Likewise.
31283 * conform/data/stropts.h-data: Likewise.
31284 * conform/data/sys/ipc.h-data: Likewise.
31285 * conform/data/sys/mman.h-data: Likewise.
31286 * conform/data/sys/msg.h-data: Likewise.
31287 * conform/data/sys/resource.h-data: Likewise.
31288 * conform/data/sys/select.h-data: Likewise.
31289 * conform/data/sys/sem.h-data: Likewise.
31290 * conform/data/sys/shm.h-data: Likewise.
31291 * conform/data/sys/socket.h-data: Likewise.
31292 * conform/data/sys/stat.h-data: Likewise.
31293 * conform/data/sys/statvfs.h-data: Likewise.
31294 * conform/data/sys/time.h-data: Likewise.
31295 * conform/data/sys/timeb.h-data: Likewise.
31296 * conform/data/sys/times.h-data: Likewise.
31297 * conform/data/sys/types.h-data: Likewise.
31298 * conform/data/sys/uio.h-data: Likewise.
31299 * conform/data/sys/un.h-data: Likewise.
31300 * conform/data/sys/utsname.h-data: Likewise.
31301 * conform/data/sys/wait.h-data: Likewise.
31302 * conform/data/syslog.h-data: Likewise.
31303 * conform/data/tar.h-data: Likewise.
31304 * conform/data/termios.h-data: Likewise.
31305 * conform/data/utime.h-data: Likewise.
31306 * conform/data/utmpx.h-data: Likewise.
31307 * conform/data/varargs.h-data: Likewise.
31308 * conform/data/wchar.h-data: Likewise.
31309 * conform/data/wctype.h-data: Likewise.
31310 * conform/data/wordexp.h-data: Likewise.
31312 * include/stropts.h: New file.
31313 * include/uchar.h: New file.
31314 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31315 * include/assert.h: Likewise.
31316 * include/ctype.h: Likewise.
31317 * include/dirent.h: Likewise.
31318 * include/dlfcn.h: Likewise.
31319 * include/fcntl.h: Likewise.
31320 * include/fnmatch.h: Likewise.
31321 * include/glob.h: Likewise.
31322 * include/grp.h: Likewise.
31323 * include/libio.h: Likewise.
31324 * include/locale.h: Likewise.
31325 * include/math.h: Likewise.
31326 * include/net/if.h: Likewise.
31327 * include/netdb.h: Likewise.
31328 * include/netinet/in.h: Likewise.
31329 * include/pthread.h: Likewise.
31330 * include/pwd.h: Likewise.
31331 * include/regex.h: Likewise.
31332 * include/sched.h: Likewise.
31333 * include/search.h: Likewise.
31334 * include/setjmp.h: Likewise.
31335 * include/signal.h: Likewise.
31336 * include/stdio.h: Likewise.
31337 * include/stdlib.h: Likewise.
31338 * include/string.h: Likewise.
31339 * include/sys/cdefs.h: Likewise.
31340 * include/sys/mman.h: Likewise.
31341 * include/sys/msg.h: Likewise.
31342 * include/sys/resource.h: Likewise.
31343 * include/sys/select.h: Likewise.
31344 * include/sys/socket.h: Likewise.
31345 * include/sys/stat.h: Likewise.
31346 * include/sys/statvfs.h: Likewise.
31347 * include/sys/time.h: Likewise.
31348 * include/sys/times.h: Likewise.
31349 * include/sys/uio.h: Likewise.
31350 * include/sys/utsname.h: Likewise.
31351 * include/sys/wait.h: Likewise.
31352 * include/termios.h: Likewise.
31353 * include/time.h: Likewise.
31354 * include/ulimit.h: Likewise.
31355 * include/unistd.h: Likewise.
31356 * include/utime.h: Likewise.
31357 * include/wchar.h: Likewise.
31358 * include/wctype.h: Likewise.
31359 * include/wordexp.h: Likewise.
31361 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31363 * time/time.h: TIME_UTC must be a macro.
31364 Make timespec_get available for ISO C11 only as well.
31366 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31368 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31369 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31371 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31373 * configure.in: Use -o not -a in test for unsupported multi-arch.
31375 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31377 * manual/texinfo.tex: Update to version 2012-01-19.16.
31379 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31381 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31383 2012-02-24 Roland McGrath <roland@hack.frob.com>
31386 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31387 * manual/fdl-1.3.texi: New file.
31388 * manual/fdl-1.1.texi: File removed.
31391 * manual/libc.texinfo (FDL_VERSION): New @set.
31392 Use it for mention of FDL in cover text.
31393 (Documentation License): Use it in @include file name.
31395 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31396 Roland McGrath <roland@hack.frob.com>
31399 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31400 not LONG_LONG_MAX and LONG_LONG_MIN.
31401 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31402 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31404 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31406 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31410 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31411 manipulate bits before adding and subtracting TWO23[sx].
31412 * math/libm-test.inc (nearbyint_test): Add more tests.
31414 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31417 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31418 bits before adding and subtracting TWO23[sx].
31419 * math/libm-test.inc (rint_test): Add more tests.
31420 (rint_test_tonearest): Likewise.
31421 (rint_test_towardzero): Likewise.
31422 (rint_test_downward): Likewise.
31423 (rint_test_upward: Likewise.
31425 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31428 * include/stdc-predef.h: New file. Extracted from features.h.
31429 * include/features.h: Include stdc-predef.h.
31430 * Makefile (headers): Add stdc-predef.h.
31431 * CONFORMANCE (Compiler limitations): Update.
31433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31435 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31437 2012-02-21 David S. Miller <davem@davemloft.net>
31439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31442 2012-02-20 David S. Miller <davem@davemloft.net>
31444 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31445 using a normal save/restore sequence, rather than allocating a
31446 dummy stack frame just to store a frame pointer and restore.
31447 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31449 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31451 * manual/install.texi: Fix stray word in line-wrapped comment.
31453 2012-02-20 David S. Miller <davem@davemloft.net>
31455 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31456 both binutils and gcc support GOTDATA.
31458 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31459 "rd %pc" in the PIC register setup sequences.
31461 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31462 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31463 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31464 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31465 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31468 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31470 (SYSCALL_ERROR_HANDLER): Likewise.
31471 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31472 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31474 (SYSCALL_ERROR_HANDLER): Likewise.
31476 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31477 (HAVE_GCC_GOTDATA): New.
31478 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31479 relocation support in both binutils and gcc.
31480 * sysdeps/sparc/elf/configure: Regenerate.
31482 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31483 * sysdeps/sparc/sparc32/elf/configure: Delete.
31484 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31485 * sysdeps/sparc/sparc64/elf/configure: Delete.
31486 * sysdeps/sparc/elf/configure.in: New file.
31487 * sysdeps/sparc/elf/configure: Generate.
31489 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31490 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31491 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31492 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31493 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31495 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31497 * manual/install.texi: Do not mention specific glibc version
31499 * manual/libc.texinfo (VERSION, UPDATED): Update.
31500 (@copying): Use @copyright{} and range of years.
31502 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31505 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31506 [crti.S not in sysdirs] (generated): Do not append.
31507 [crti.S not in sysdirs] (omit-deps): Likewise.
31508 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31509 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31510 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31511 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31512 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31514 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31515 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31516 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31517 * csu/defs.awk: Remove file.
31518 * sysdeps/generic/initfini.c: Likewise.
31519 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31521 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31524 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31526 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31527 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31528 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31529 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31530 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31531 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31533 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31534 (__EPOLL_PACKED): Define to empty if not defined by
31536 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31540 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31542 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31543 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31544 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31545 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31547 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31551 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31553 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31556 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31557 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31560 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31562 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31563 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31565 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31567 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31568 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31570 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31572 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31575 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31577 * math/w_acos.c: Use non-signaling floating-point comparisons.
31578 * math/w_acosf.c: Likewise.
31579 * math/w_acosh.c: Likewise.
31580 * math/w_acoshf.c: Likewise.
31581 * math/w_acoshl.c: Likewise.
31582 * math/w_acosl.c: Likewise.
31583 * math/w_asin.c: Likewise.
31584 * math/w_asinf.c: Likewise.
31585 * math/w_asinl.c: Likewise.
31586 * math/w_atanh.c: Likewise.
31587 * math/w_atanhf.c: Likewise.
31588 * math/w_atanhl.c: Likewise.
31589 * math/w_exp2.c: Likewise.
31590 * math/w_exp2f.c: Likewise.
31591 * math/w_exp2l.c: Likewise.
31592 * math/w_j0.c: Likewise.
31593 * math/w_j0f.c: Likewise.
31594 * math/w_j0l.c: Likewise.
31595 * math/w_j1.c: Likewise.
31596 * math/w_j1f.c: Likewise.
31597 * math/w_j1l.c: Likewise.
31598 * math/w_jn.c: Likewise.
31599 * math/w_jnf.c: Likewise.
31600 * math/w_log.c: Likewise.
31601 * math/w_log10.c: Likewise.
31602 * math/w_log10f.c: Likewise.
31603 * math/w_log10l.c: Likewise.
31604 * math/w_log2.c: Likewise.
31605 * math/w_log2f.c: Likewise.
31606 * math/w_log2l.c: Likewise.
31607 * math/w_logf.c: Likewise.
31608 * math/w_logl.c: Likewise.
31609 * math/w_sqrt.c: Likewise.
31610 * math/w_sqrtf.c: Likewise.
31611 * math/w_sqrtl.c: Likewise.
31612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31613 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31615 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31616 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31618 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31621 * manual/string.texi (strnlen): Use correct parameter name in
31622 equivalent expression.
31624 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31627 * manual/users.texi (seteuid): Consistently use neweuid for
31630 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31633 * manual/nss.texi (Services in the NSS configuration): Correct
31634 list of services in example configuration file.
31636 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31639 * manual/arith.texi: Remove statements about negative zero
31640 behaving identically to zero.
31642 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31645 * manual/install.texi: Do not document upgrading from libc5.
31647 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31650 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31652 2012-02-18 David S. Miller <davem@davemloft.net>
31654 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31655 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31656 %o7 across the call.
31657 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31660 SETUP_PIC_REG_LEAF.
31661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31662 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31663 * sysdeps/sparc/crtn.S: Likewise.
31665 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31667 * aout/Makefile: Remove.
31669 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31672 * manual/examples/argp-ex1.c (main): Format definition in GNU
31674 * manual/examples/argp-ex2.c (main): Likewise.
31675 * manual/examples/argp-ex3.c (main): Likewise.
31676 * manual/examples/argp-ex4.c (main): Likewise.
31677 * manual/examples/longopt.c (main): Use new-style prototype
31679 * manual/examples/strncat.c (main): Specify return type and use
31680 (void) for arguments.
31681 * manual/examples/subopt.c (main): Use char **argv argument.
31683 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31686 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31689 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31692 * manual/string.texi (strchr): Change when strchrnul is
31695 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31698 * manual/locale.texi (setlocale): Document LOCPATH.
31700 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31703 * manual/process.texi (execle): Move @dots{} before last argument.
31705 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31708 * manual/charset.texi (Generic Charset Conversion): Fix typo
31709 (LC_TYPE -> LC_CTYPE).
31711 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31714 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31715 (scalbnf): Likewise.
31716 (scalbnl): Likewise.
31717 (scalbln): Likewise.
31718 (scalblnf): Likewise.
31719 (scalblnl): Likewise.
31720 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31721 (vwarnx): Likewise.
31724 * manual/filesys.texi (telldir): Use braces around return type.
31725 * manual/llio.texi (mmap): Add space after comma.
31726 (mmap64): Likewise.
31727 * manual/math.texi (jn): Use @var{} on parameter names.
31733 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31735 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31737 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31738 (sched_get_priority_max): Likewise.
31739 * manual/signal.texi (sigvec): Add space after comma.
31740 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31742 (if_indextoname): Likewise.
31743 (if_freenameindex): Likewise.
31744 (sendto): Use ',' instead of '.' in prototype.
31745 * manual/startup.texi (syscall): Use @dots{} instead of literal
31747 * manual/stdio.texi (__fpending): Separate initial words of
31748 paragraph from @deftypefun line.
31749 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31751 (vsyslog): Use @var{} on parameter names.
31752 * manual/terminal.texi (stty): Use @var{} on parameter names.
31753 * manual/users.texi (getutmp): Use @var{} on parameter names.
31754 (getutmpx): Likewise.
31756 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31759 * manual/stdio.texi (fopen): Fix typos in description of
31762 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31765 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31766 get clock_id definition.
31768 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31771 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31772 (madvise): Cast every argument to void on its own.
31774 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31777 * manual/startup.texi (Exit Status): Fix typo.
31779 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31782 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31783 * manual/examples/argp-ex2.c: Likewise.
31784 * manual/examples/argp-ex3.c: Likewise.
31786 2012-02-16 Richard Henderson <rth@redhat.com>
31788 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31789 * sysdeps/s390/s390-32/initfini.c: Remove.
31790 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31791 * sysdeps/s390/s390-64/initfini.c: Remove.
31793 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31795 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31796 compiler output for sysdeps/generic/initfini.c.
31797 * sysdeps/sh/elf/initfini.c: Remove file.
31799 2012-02-16 David S. Miller <davem@davemloft.net>
31802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31804 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31805 * sysdeps/sparc/crti.S: New file.
31806 * sysdeps/sparc/crtn.S: New file.
31807 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31808 * sysdeps/sparc/sparc64/Makefile: Likewise.
31810 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31813 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31815 2012-02-15 Roland McGrath <roland@hack.frob.com>
31818 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31820 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31821 (write, read, close): Likewise.
31822 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31824 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31826 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31827 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31828 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31829 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31831 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31835 2012-02-14 Marek Polacek <polacek@redhat.com>
31837 * sysdeps/x86_64/crti.S: New file.
31838 * sysdeps/x86_64/crtn.S: New file.
31839 * sysdeps/x86_64/elf/initfini.c: Remove file.
31841 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31843 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31844 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31845 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31846 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31848 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31852 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31854 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31855 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31856 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31857 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31859 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31863 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31865 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31866 __feraiseexcept instead of feraiseexcept.
31868 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31869 nanosleep invocations.
31870 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31871 strings, and add error checking for a nanosleep invocations.
31873 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31875 Replace FSF snail mail address with URLs, as per GNU coding standards.
31876 Most of the snail mail addresses were wrong anyway, and omitting
31877 them makes the source code easier to maintain. Almost all of the
31878 changes are to license notices and to locale LC_IDENTIFICATION
31879 addresses, except for this one:
31880 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31881 not its snail mail address.
31883 2012-02-09 Richard Henderson <rth@twiddle.net>
31885 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31886 of kernel-features.h.
31888 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31890 2012-02-08 Marek Polacek <polacek@redhat.com>
31892 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31893 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31894 * sysdeps/gnu/_G_config.h: Likewise.
31895 * sysdeps/generic/_G_config.h: Likewise.
31897 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31899 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31903 * sysdeps/powerpc/powerpc32/crti.S: New file.
31904 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31905 * sysdeps/powerpc/powerpc64/crti.S: New file.
31906 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31908 * Makeconfig (have-initfini): Don't set.
31909 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31910 * configure.in (nopic_initfini): Don't substitute.
31911 * config.h.in (HAVE_INITFINI): Don't #undef.
31912 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31913 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31915 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31917 Support crti.S and crtn.S provided directly by architectures.
31918 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31919 [crti.S in sysdirs] (omit-deps): Likewise.
31920 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31921 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31922 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31923 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31924 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31925 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31926 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31927 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31928 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31929 compiler output for sysdeps/generic/initfini.c.
31930 * sysdeps/i386/elf/Makefile: Remove file.
31931 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31933 2012-02-07 Marek Polacek <polacek@redhat.com>
31935 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31936 * sysdeps/gnu/_G_config.h: Likewise.
31937 * sysdeps/mach/hurd/_G_config.h: Likewise.
31939 2012-02-07 Marek Polacek <polacek@redhat.com>
31941 * math/Makefile (tests): Add tst-CMPLX2.
31942 * math/tst-CMPLX2.c: New file.
31944 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31946 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31948 * math/libm-test.inc (jn_test): Add missing L suffix.
31950 2012-02-06 Marek Polacek <polacek@redhat.com>
31952 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31953 * sysdeps/i386/fpu/e_powf.S: Likewise.
31954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31955 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31956 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31957 * sysdeps/i386/fpu/e_pow.S: Likewise.
31958 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31959 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31960 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31961 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31962 * sysdeps/i386/fpu/e_log2.S: Likewise.
31963 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31964 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31965 * sysdeps/i386/fpu/e_powl.S: Likewise.
31966 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31968 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31969 * sysdeps/i386/fpu/e_logl.S: Likewise.
31970 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31971 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31972 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31973 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31976 * sysdeps/i386/fpu/e_log.S: Likewise.
31977 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31978 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31979 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31980 * sysdeps/i386/fpu/e_logf.S: Likewise.
31981 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31982 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31983 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31984 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31985 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31986 * sysdeps/i386/fpu/e_log10.S: Likewise.
31987 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31988 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31989 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31990 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31991 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31992 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31993 * sysdeps/i386/asm-syntax.h: Likewise.
31994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31996 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31997 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31998 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31999 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32000 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32001 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32002 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32003 * sysdeps/powerpc/sysdep.h: Likewise.
32004 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32005 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32007 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32010 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32012 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32014 * sysdeps/i386/sysdep.h: Include <features.h>.
32015 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32018 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32020 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32022 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32025 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32027 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32028 (SETUP_PIC_REG): Use GET_PC_THUNK.
32029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32032 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32034 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32035 for non-PIC compilation.
32036 (SETUP_PIC_REG): Add .p2align directive.
32037 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32038 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32039 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32040 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32042 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32043 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32044 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32045 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32046 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32047 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32049 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32055 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32056 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32057 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32058 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32059 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32060 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32061 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32063 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32065 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32075 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32076 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32077 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32079 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32081 * math/tst-CMPLX.c: Include <stdio.h>.
32083 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32085 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32087 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32088 * sysdeps/sparc/bits/mathdef.h: Likewise.
32090 2012-01-31 Marek Polacek <polacek@redhat.com>
32092 * libio/libio.h: Don't define _PARAMS.
32093 * locale/programs/config.h: Don't define PARAMS.
32094 * stdlib/strtol_l.c: Likewise.
32095 (__strtol_l): Remove PARAMS from the prototype.
32097 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32099 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32100 names. Just use the correct names. Remove unnecessary wrapper
32102 * malloc/arena.c: Likewise.
32103 * malloc/hooks.c: Likewise.
32105 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32106 ARENA_TEST says not to. Simplify test for creation of a new arena.
32107 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32109 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32111 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32113 (update_get_addr): New function.
32114 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32115 GET_ADDR_MODULE parameter.
32117 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32119 * crypt/cert.c: Remove __STDC__ conditionals.
32120 * crypt/crypt-entry.c: Likewise.
32121 * crypt/crypt_util.c: Likewise.
32122 * libio/filedoalloc.c: Likewise.
32123 * libio/fileops.c: Likewise.
32124 * libio/genops.c: Likewise.
32125 * libio/iofclose.c: Likewise.
32126 * libio/iofdopen.c: Likewise.
32127 * libio/iofopen.c: Likewise.
32128 * libio/iofopen64.c: Likewise.
32129 * libio/iogetdelim.c: Likewise.
32130 * libio/iopopen.c: Likewise.
32131 * libio/obprintf.c: Likewise.
32132 * libio/oldfileops.c: Likewise.
32133 * libio/oldiofclose.c: Likewise.
32134 * libio/oldiofdopen.c: Likewise.
32135 * libio/oldiofopen.c: Likewise.
32136 * libio/oldiopopen.c: Likewise.
32137 * libio/wfiledoalloc.c: Likewise.
32138 * libio/wgenops.c: Likewise.
32139 * locale/programs/xmalloc.c: Likewise.
32140 * misc/syslog.c: Likewise.
32141 * stdio-common/xbug.c: Likewise.
32142 * string/memchr.c: Likewise.
32143 * string/memcmp.c: Likewise.
32144 * string/memrchr.c: Likewise.
32145 * string/rawmemchr.c: Likewise.
32146 * sysdeps/posix/getcwd.c: Likewise.
32147 * time/strftime_l.c: Likewise.
32149 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32151 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32152 * config.make.in (config-cflags-sse2avx): Define.
32153 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32156 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32158 * scripts/config.guess: Update from upstream config git repository.
32159 * scripts/config.sub: Likewise.
32161 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32163 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32165 (R_TILEPRO_*, R_TILEGX_*): New macros.
32167 * scripts/firstversions.awk: Fix bug in version range handling.
32169 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32171 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32173 * include/sys/epoll.h: New file.
32174 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32177 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32179 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32180 Avoid unnecessary __WORDSIZE == 64 test.
32181 (fmaxf): Use VEX format if possible.
32186 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32187 * math/math_private.h: Remove libc_fegetround* and
32189 * sysdeps/i386/configure.in: Check for -msse2avx.
32190 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32191 also if SSE2AVX is defined.
32192 Remove libc_fegetround* and libc_fesetround*.
32193 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32194 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32198 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32199 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32200 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32201 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32203 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32205 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32207 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32209 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32211 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32214 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32216 * Makeconfig (libm): Define.
32217 * elf/Makefile: Add rules to build and run tst-relsort1.
32218 * elf/tst-relsort1.c: New file.
32219 * elf/tst-relsort1mod1.c: New file.
32220 * elf/tst-relsort1mod2.c: New file.
32222 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32224 * math/s_ldexp.c: Remove __STDC__ conditionals.
32225 * math/s_ldexpf.c: Likewise.
32226 * math/s_ldexpl.c: Likewise.
32227 * math/s_nextafter.c: Likewise.
32228 * math/s_nexttowardf.c: Likewise.
32229 * math/s_significand.c: Likewise.
32230 * math/s_significandf.c: Likewise.
32231 * math/s_significandl.c: Likewise.
32232 * math/w_jnl.c: Likewise.
32233 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32234 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32235 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32236 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32237 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32246 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32252 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32253 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32254 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32255 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32257 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32258 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32259 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32260 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32261 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32262 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32263 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32264 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32265 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32266 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32267 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32268 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32269 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32270 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32271 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32272 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32273 * sysdeps/ieee754/k_standard.c: Likewise.
32274 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32275 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32276 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32277 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32278 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32280 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32281 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32282 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32283 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32284 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32286 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32287 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32288 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32290 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32291 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32292 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32293 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32294 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32295 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32296 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32297 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32298 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32299 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32300 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32303 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32304 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32305 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32306 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32307 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32309 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32310 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32311 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32312 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32313 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32314 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32315 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32316 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32317 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32318 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32319 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32320 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32323 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32324 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32327 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32328 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32329 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32330 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32331 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32332 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32334 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32335 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32336 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32337 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32338 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32339 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32340 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32341 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32342 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32343 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32344 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32345 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32346 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32347 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32348 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32349 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32350 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32351 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32352 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32353 * sysdeps/ieee754/s_matherr.c: Likewise.
32354 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32355 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32359 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32361 * crypt/md5.h: Remove __STDC__ conditionals.
32362 * libio/libioP.h: Likewise.
32363 * locale/programs/config.h: Likewise.
32364 * sysdeps/generic/sysdep.h: Likewise.
32365 * sysdeps/i386/asm-syntax.h: Likewise.
32366 * sysdeps/s390/asm-syntax.h: Likewise.
32367 * sysdeps/unix/sysdep.h: Likewise.
32368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32371 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32373 * libio/libio.h: Remove __STDC__ conditionals.
32374 * malloc/obstack.h: Likewise.
32375 * math/complex.h: Likewise.
32376 * math/math.h: Likewise.
32377 * sysdeps/generic/_G_config.h: Likewise.
32378 * sysdeps/gnu/_G_config.h: Likewise.
32379 * sysdeps/mach/hurd/_G_config.h: Likewise.
32380 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32381 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32382 * sysdeps/sparc/bits/mathdef.h: Likewise.
32384 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32387 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32388 Clean up HAS_* macros.
32389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32390 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32392 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32394 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32395 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32396 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32397 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32398 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32400 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32402 * elf/tst-unique3.cc (gets): Remove declaration.
32403 * elf/tst-unique3lib.cc (gets): Likewise.
32404 * elf/tst-unique3lib2.cc (gets): Likewise.
32405 * elf/tst-unique4.cc (gets): Likewise.
32407 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32409 * include/stdio.h: Add C++ protection. Add gets declarations and
32411 * debug/tst-chk1.c: Don't declare gets here.
32412 * stdio-common/tst-gets.c: Likewise.
32414 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32416 * posix/glob: Remove directory.
32418 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32420 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32422 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32424 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32425 of the non-standard EPFNOSUPPORT.
32427 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32429 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32430 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32431 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32433 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32435 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32437 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32439 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32441 * nscd/grpcache.c (cache_addgr): Likewise.
32442 * nscd/hstcache.c (cache_addhst): Likewise.
32443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32444 * nscd/pwdcache.c (cache_addpw): Likewise.
32445 * nscd/servicescache.c (cache_addserv): Likewise.
32447 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32449 * malloc/malloc.c: Various cleanups.
32450 * malloc/hooks.c: Likewise.
32452 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32453 * stdlib/bug-fmtmsg1.c: New file.
32455 * stdlib/fmtmsg.c (init): Add missing unlock.
32456 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32458 2012-01-12 Marek Polacek <polacek@redhat.com>
32460 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32463 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32465 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32466 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32467 macro to ensure uniqueness of label name.
32468 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32469 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32471 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32473 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32475 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32476 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32477 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32480 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32482 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32484 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32485 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32486 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32488 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32490 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32491 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32492 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32495 * math/bits/math-finite.h: Add ldexp support.
32497 2012-01-10 Marek Polacek <polacek@redhat.com>
32499 * locale/programs/localedef.h (show_archive_content): Add noreturn
32502 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32504 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32506 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32508 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32510 * io/Makefile (headers): Add bits/poll2.h.
32512 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32515 typo #include statement.
32517 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32519 * include/sys/cdefs.h: Define __attribute_alloc_size.
32520 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32521 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32522 * elf/pldd.c: Likewise.
32523 * iconv/iconv_charmap.c: Likewise.
32524 * iconv/iconvconfig.c: Likewise.
32525 * iconv/strtab.c: Likewise.
32526 * locale/programs/locale.c: Likewise.
32527 * locale/programs/localedef.h: Likewise.
32528 * locale/programs/simple-hash.c: Likewise.
32529 * nscd/nscd.h: Likewise.
32530 * nss/makedb.c: Likewise.
32531 * sysdeps/generic/ldconfig.h: Likewise.
32532 * locale/programs/localedef.c: Remove xmalloc prototype.
32533 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32535 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32537 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32540 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32542 * math/Makefile (tests): Add tst-CMPLX.
32543 * math/tst-CMPLX.c: New file.
32545 * math/complex.h (CMPLXL): Fix typo.
32547 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32548 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32550 * debug/tst-chk1.c: Add poll and ppoll tests.
32551 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32552 * include/sys/poll.h: Add hidden proto for ppoll.
32553 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32554 * sysdeps/mach/hurd/ppoll.c: Likewise.
32555 * io/ppoll.c: Likewise.
32556 * debug/poll_chk.c: New file.
32557 * debug/ppoll_chk.c: New file.
32558 * include/bits/poll2.h: New file.
32559 * io/bits/poll2.h: New file.
32562 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32564 * configure.in: static is always set to yes. Remove.
32565 * config.make.in: Don't set build-static.
32566 * Makeconfig: Remove use of build-static.
32567 * dlfcn/Makefile: Likewise.
32568 * elf/Makefile: Likewise.
32569 * math/Makefile: Likewise.
32570 * misc/Makefile: Likewise.
32571 * nptl/Makefile: Likewise.
32572 * sysdeps/mach/hurd/Makefile: Likewise.
32574 * configure.in: PWD_P is not used anymore.
32575 * config.make.in: Remove PWD_P entry.
32577 * configure.in: Remove last remnants of RANLIB.
32578 No need to check for signed size_t anymore.
32579 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32581 Remove __builtin_expect test because we require at least gcc 3.4.
32582 * aclocal.m4: Likewise.
32584 * wcsmbs/mbrtoc16.c: Implement using towc function.
32585 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32586 * wcsmbs/wcsmbsload.c: Likewise.
32587 * iconv/gconv_simple.c: Likewise.
32588 * iconv/gconv_int.h: Likewise.
32589 * iconv/gconv_builtin.h: Likewise.
32590 * iconv/iconv_prog.c: Remove CHAR16 handling.
32592 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32594 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32596 * configure.in: Remove --with-elf and --enable-bounded options.
32597 Dont set base_machine for ia64. More non-ELF conditions removed.
32598 Remove testing and setting of leading underscore information.
32599 * config.make.in (build-bounded): Set to no.
32600 * config.h.in: Remove NO_UNDERSCORES entry.
32601 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32603 * csu/start.c: Remove !NO_UNDERSCORE code.
32604 * locale/localeinfo.h: Likewise.
32605 * sysdeps/generic/machine-gmon.h: Likewise.
32606 * sysdeps/generic/sysdep.h: Likewise.
32607 * sysdeps/i386/sysdep.h: Likewise.
32608 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32609 * sysdeps/mach/sysdep.h: Likewise.
32610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32612 * sysdeps/sh/sysdep.h: Likewise.
32613 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32614 * sysdeps/unix/i386/sysdep.S: Likewise.
32615 * sysdeps/unix/sparc/start.c: Likewise.
32616 * sysdeps/unix/sparc/sysdep.S: Likewise.
32617 * sysdeps/unix/sparc/sysdep.h: Likewise.
32618 * sysdeps/unix/start.c: Likewise.
32619 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32620 * sysdeps/x86_64/sysdep.h: Likewise.
32622 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32625 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32627 * argp/argp-fmtstream.h: Use const instead __const.
32628 * argp/argp.h: Likewise.
32629 * assert/assert.h: Likewise.
32630 * bits/fenv.h: Likewise.
32631 * bits/sched.h: Likewise.
32632 * bits/sigset.h: Likewise.
32633 * bits/sigthread.h: Likewise.
32634 * catgets/nl_types.h: Likewise.
32635 * conform/data/pthread.h-data: Likewise.
32636 * crypt/crypt-private.h: Likewise.
32637 * crypt/crypt.h: Likewise.
32638 * crypt/crypt_util.c: Likewise.
32639 * ctype/ctype.h: Likewise.
32640 * debug/execinfo.h: Likewise.
32641 * debug/mbsnrtowcs_chk.c: Likewise.
32642 * debug/mbsrtowcs_chk.c: Likewise.
32643 * debug/wcsnrtombs_chk.c: Likewise.
32644 * debug/wcsrtombs_chk.c: Likewise.
32645 * debug/wcstombs_chk.c: Likewise.
32646 * dirent/dirent.h: Likewise.
32647 * dlfcn/dlfcn.h: Likewise.
32648 * elf/neededtest4.c: Likewise.
32649 * grp/grp.h: Likewise.
32650 * gshadow/gshadow.h: Likewise.
32651 * iconv/gconv.h: Likewise.
32652 * iconv/gconv_int.h: Likewise.
32653 * iconv/gconv_simple.c: Likewise.
32654 * iconv/iconv.h: Likewise.
32655 * iconv/loop.c: Likewise.
32656 * iconv/skeleton.c: Likewise.
32657 * include/aio.h: Likewise.
32658 * include/aliases.h: Likewise.
32659 * include/argz.h: Likewise.
32660 * include/arpa/inet.h: Likewise.
32661 * include/assert.h: Likewise.
32662 * include/dirent.h: Likewise.
32663 * include/dlfcn.h: Likewise.
32664 * include/execinfo.h: Likewise.
32665 * include/fcntl.h: Likewise.
32666 * include/fenv.h: Likewise.
32667 * include/glob.h: Likewise.
32668 * include/grp.h: Likewise.
32669 * include/libintl.h: Likewise.
32670 * include/mntent.h: Likewise.
32671 * include/netdb.h: Likewise.
32672 * include/pwd.h: Likewise.
32673 * include/rpc/netdb.h: Likewise.
32674 * include/sched.h: Likewise.
32675 * include/search.h: Likewise.
32676 * include/shadow.h: Likewise.
32677 * include/signal.h: Likewise.
32678 * include/stdio.h: Likewise.
32679 * include/stdlib.h: Likewise.
32680 * include/string.h: Likewise.
32681 * include/sys/socket.h: Likewise.
32682 * include/sys/stat.h: Likewise.
32683 * include/sys/statfs.h: Likewise.
32684 * include/sys/statvfs.h: Likewise.
32685 * include/sys/syslog.h: Likewise.
32686 * include/sys/time.h: Likewise.
32687 * include/sys/uio.h: Likewise.
32688 * include/time.h: Likewise.
32689 * include/unistd.h: Likewise.
32690 * include/utmp.h: Likewise.
32691 * include/wchar.h: Likewise.
32692 * include/wctype.h: Likewise.
32693 * inet/aliases.h: Likewise.
32694 * inet/arpa/inet.h: Likewise.
32695 * inet/netinet/ether.h: Likewise.
32696 * inet/netinet/in.h: Likewise.
32697 * intl/libintl.h: Likewise.
32698 * io/bits/fcntl2.h: Likewise.
32699 * io/fcntl.h: Likewise.
32700 * io/ftw.h: Likewise.
32701 * io/sys/poll.h: Likewise.
32702 * io/sys/stat.h: Likewise.
32703 * io/sys/statfs.h: Likewise.
32704 * io/sys/statvfs.h: Likewise.
32705 * io/utime.h: Likewise.
32706 * libio/bits/stdio.h: Likewise.
32707 * libio/bits/stdio2.h: Likewise.
32708 * libio/libio.h: Likewise.
32709 * libio/libioP.h: Likewise.
32710 * libio/stdio.h: Likewise.
32711 * locale/lc-ctype.c: Likewise.
32712 * locale/locale.h: Likewise.
32713 * login/utmp.h: Likewise.
32714 * malloc/arena.c: Likewise.
32715 * malloc/malloc.c: Likewise.
32716 * malloc/malloc.h: Likewise.
32717 * malloc/mcheck.c: Likewise.
32718 * malloc/mtrace.c: Likewise.
32719 * math/bits/mathcalls.h: Likewise.
32720 * math/fenv.h: Likewise.
32721 * math/math_private.h: Likewise.
32722 * misc/bits/error.h: Likewise.
32723 * misc/bits/syslog.h: Likewise.
32724 * misc/err.h: Likewise.
32725 * misc/error.h: Likewise.
32726 * misc/fstab.h: Likewise.
32727 * misc/mntent.h: Likewise.
32728 * misc/regexp.h: Likewise.
32729 * misc/search.h: Likewise.
32730 * misc/sgtty.h: Likewise.
32731 * misc/sys/mman.h: Likewise.
32732 * misc/sys/syslog.h: Likewise.
32733 * misc/sys/uio.h: Likewise.
32734 * misc/sys/xattr.h: Likewise.
32735 * misc/ttyent.h: Likewise.
32736 * nis/rpcsvc/ypclnt.h: Likewise.
32737 * nss/nss.h: Likewise.
32738 * posix/bits/unistd.h: Likewise.
32739 * posix/fnmatch.h: Likewise.
32740 * posix/glob.h: Likewise.
32741 * posix/sched.h: Likewise.
32742 * posix/spawn.h: Likewise.
32743 * posix/sys/wait.h: Likewise.
32744 * posix/unistd.h: Likewise.
32745 * posix/wordexp.h: Likewise.
32746 * pwd/pwd.h: Likewise.
32747 * resolv/netdb.h: Likewise.
32748 * resource/sys/resource.h: Likewise.
32749 * rt/aio.h: Likewise.
32750 * rt/bits/mqueue2.h: Likewise.
32751 * rt/mqueue.h: Likewise.
32752 * shadow/shadow.h: Likewise.
32753 * signal/signal.h: Likewise.
32754 * socket/send.c: Likewise.
32755 * socket/sendto.c: Likewise.
32756 * socket/sys/socket.h: Likewise.
32757 * stdio-common/printf.h: Likewise.
32758 * stdlib/bits/stdlib.h: Likewise.
32759 * stdlib/fmtmsg.h: Likewise.
32760 * stdlib/monetary.h: Likewise.
32761 * stdlib/stdlib.h: Likewise.
32762 * stdlib/ucontext.h: Likewise.
32763 * streams/stropts.h: Likewise.
32764 * string/argz.h: Likewise.
32765 * string/bits/string2.h: Likewise.
32766 * string/string.h: Likewise.
32767 * string/strings.h: Likewise.
32768 * sunrpc/rpc/auth.h: Likewise.
32769 * sunrpc/rpc/auth_des.h: Likewise.
32770 * sunrpc/rpc/clnt.h: Likewise.
32771 * sunrpc/rpc/netdb.h: Likewise.
32772 * sunrpc/rpc/pmap_clnt.h: Likewise.
32773 * sunrpc/rpc/xdr.h: Likewise.
32774 * sysdeps/generic/inttypes.h: Likewise.
32775 * sysdeps/generic/net/if.h: Likewise.
32776 * sysdeps/generic/sys/swap.h: Likewise.
32777 * sysdeps/gnu/net/if.h: Likewise.
32778 * sysdeps/gnu/utmpx.h: Likewise.
32779 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32780 * sysdeps/i386/i486/bits/string.h: Likewise.
32781 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32782 * sysdeps/s390/bits/string.h: Likewise.
32783 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32784 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32785 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32786 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32787 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32788 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32789 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32790 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32791 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32792 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32793 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32794 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32795 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32796 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32797 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32798 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32799 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32801 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32803 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32804 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32805 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32806 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32807 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32808 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32809 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32810 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32811 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32812 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32813 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32814 * sysvipc/sys/ipc.h: Likewise.
32815 * sysvipc/sys/msg.h: Likewise.
32816 * sysvipc/sys/sem.h: Likewise.
32817 * sysvipc/sys/shm.h: Likewise.
32818 * termios/termios.h: Likewise.
32819 * time/sys/time.h: Likewise.
32820 * time/time.h: Likewise.
32821 * wcsmbs/bits/wchar2.h: Likewise.
32822 * wcsmbs/uchar.h: Likewise.
32823 * wcsmbs/wchar.h: Likewise.
32824 * wctype/wctype.h: Likewise.
32827 * Makeconfig: Remove all but ELF support including AIX support.
32828 * Makerules: Likewise.
32829 * config.h.in: Likewise.
32830 * config.make.in: Likewise.
32831 * configure: Likewise.
32832 * configure.in: Likewise.
32833 * csu/Makefile: Likewise.
32834 * csu/version.c: Likewise.
32835 * debug/Makefile: Likewise.
32836 * dlfcn/Makefile: Likewise.
32837 * elf/Makefile: Likewise.
32838 * extra-lib.mk: Likewise.
32839 * iconv/Makefile: Likewise.
32840 * include/libc-symbols.h: Likewise.
32841 * include/shlib-compat.h: Likewise.
32842 * resolv/Makefile: Likewise.
32843 * resolv/res_libc.c: Likewise.
32844 * rt/Makefile: Likewise.
32845 * sysdeps/i386/asm-syntax.h: Likewise.
32846 * sysdeps/i386/sysdep.h: Likewise.
32847 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32848 * sysdeps/mach/sysdep.h: Likewise.
32849 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32850 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32851 * sysdeps/s390/asm-syntax.h: Likewise.
32852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32854 * sysdeps/sh/sysdep.h: Likewise.
32855 * sysdeps/unix/sparc/sysdep.h: Likewise.
32856 * sysdeps/wordsize-32/divdi3.c: Likewise.
32857 * sysdeps/x86_64/sysdep.h: Likewise.
32859 * argp/Versions: Remove _argp_unlock_xxx.
32862 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32863 * abilist/libBrokenLocale.abilist: Likewise.
32864 * abilist/libanl.abilist: Likewise.
32865 * abilist/libc.abilist: Likewise.
32866 * abilist/libcrypt.abilist: Likewise.
32867 * abilist/libdl.abilist: Likewise.
32868 * abilist/libm.abilist: Likewise.
32869 * abilist/libnsl.abilist: Likewise.
32870 * abilist/libpthread.abilist: Likewise.
32871 * abilist/libresolv.abilist: Likewise.
32872 * abilist/librt.abilist: Likewise.
32873 * abilist/libthread_db.abilist: Likewise.
32874 * abilist/libutil.abilist: Likewise.
32875 * abilist/libnss_db.abilist: New file.
32877 * scripts/abilist.awk: Add support for indirect functions.
32879 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32881 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32883 * shlib-versions: Remove entries for ports architectures.
32885 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32887 * elf/stackguard-macros.h: Remove support for IA-64.
32888 * elf/tst-auditmod1.c: Likewise.
32889 * sysdeps/generic/ldsodefs.h: Likewise.
32891 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32892 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32896 * configure.in: Remove --enable-omitfp support.
32898 * config.make.in: Likewise.
32899 * Makeconfig: Likewise.
32900 * manual/install.texi: Likewise.
32902 In case anyone cares, the IA-64 architecture could move to ports.
32903 * sysdeps/ia64/*: Removed.
32904 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32905 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32908 * configure.in: Remove entries for unsupported architectures.
32911 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32912 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32914 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32915 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32916 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32917 fall back to using wcrtomb.
32918 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32919 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32921 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32922 * wcsmbs/tst-c16c32-1.c: New file.
32924 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32927 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32929 * elf/tst-unique3.cc: Add explicit declaration of gets.
32930 * elf/tst-unique3lib.cc: Likewise.
32931 * elf/tst-unique3lib2.cc: Likewise.
32932 * elf/tst-unique4.cc: Likewise.
32934 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32936 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32939 * assert/assert.h (static_assert): Don't define for C++.
32940 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32941 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32943 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32945 * iconv/loop.c (single loop): Fix assertion in storing of
32948 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32950 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32952 * posix/getconf.c: Update copyright year.
32953 * nss/getent.c: Likewise.
32954 * nss/makedb.c: Likewise.
32955 * iconv/iconvconfig.c: Likewise.
32956 * iconv/iconv_prog.c: Likewise.
32957 * elf/ldconfig.c: Likewise.
32958 * elf/pldd.c: Likewise.
32959 * elf/sotruss.ksh: Likewise.
32960 * catgets/gencat.c: Likewise.
32961 * csu/version.c: Likewise.
32962 * elf/ldd.bash.in: Likewise.
32963 * elf/sprof.c (print_version): Likewise.
32964 * locale/programs/locale.c: Likewise.
32965 * locale/programs/localedef.c: Likewise.
32966 * login/programs/pt_chown.c: Likewise.
32967 * nscd/nscd.c (print_version): Likewise.
32968 * debug/xtrace.sh: Likewise.
32969 * malloc/memusage.sh: Likewise.
32970 * malloc/mtrace.pl: Likewise.
32971 * debug/catchsegv.sh: Likewise.
32973 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32975 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32978 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32981 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32982 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32984 * iconv/gconv_int.h: Likewise.
32985 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32986 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32987 from libc for GLIBC_2.16.
32988 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32989 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32990 * wcsmbs/uchar.h: Really define mbstate_t.
32991 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32992 * wcsmbs/c16rtomb.c: New file.
32993 * wcsmbs/mbrtoc16.c: New file.
32994 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32995 for C/POSIX locale.
32996 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32997 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32999 * wcsmbs/wchar.h: Add missing __restrict.
33001 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33004 * time/Makefile (routines): Add timespec_get.
33005 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33006 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33007 timespec for ISO C11.
33008 * time/timespec_get.c: New file.
33009 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33010 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33013 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33014 * stdlib/stdlib.h: Declare aligned_alloc.
33015 * Versions.def: Add GLIBC_2.16 for libc.
33016 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33019 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33022 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33026 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33029 * assert/assert.h (static_assert): Define.
33031 * version.h: Update for 2.16 development version.
33034 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33037 * version.h (RELEASE): Bump for 2.15 release.
33038 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33040 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33041 Patch by Marek Polacek <mpolacek@redhat.com>.
33043 * bits/byteswap.h: Protect long long constants with __extension__.
33044 * sysdeps/i386/bits/byteswap.h: Likewise.
33045 * sysdeps/ia64/bits/byteswap.h: Likewise.
33046 * sysdeps/s390/bits/byteswap.h: Likewise.
33047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33049 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33052 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33053 destination buffer.
33054 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33056 2011-12-23 Marek Polacek <polacek@redhat.com>
33058 * elf/dl-addr.c (determine_info): Add inline keyword.
33059 * elf/tst-auditmod4b.c (check_avx): Likewise.
33060 * elf/tst-auditmod6b.c (check_avx): Likewise.
33061 * elf/tst-auditmod6c.c (check_avx): Likewise.
33062 * elf/tst-auditmod7b.c (check_avx): Likewise.
33064 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33066 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33069 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33072 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33073 processing for last bytes.
33075 2011-08-06 Bruno Haible <bruno@clisp.org>
33078 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33079 U+0385, not to U+1FEE.
33082 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33083 entry for U+00A5 U+0301.
33085 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33088 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33089 buffer for the output is too small.
33091 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33095 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33096 SSE flags if possible.
33098 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33102 processing for last bytes.
33104 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33106 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33107 (syscall-list-default-options, syscall-list-default-condition)
33108 (syscall-list-includes): Define.
33109 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33110 list of ABIs and options and #if conditions for each ABI. Do not
33111 handle common syscalls between ABIs specially.
33112 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33114 (syscall-list-variants, syscall-list-32bit-options)
33115 (syscall-list-32bit-condition, syscall-list-64bit-options)
33116 (syscall-list-64bit-condition): Define.
33117 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33118 (syscall-list-variants, syscall-list-32bit-options)
33119 (syscall-list-32bit-condition, syscall-list-64bit-options)
33120 (syscall-list-64bit-condition): Define.
33121 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33123 (syscall-list-variants, syscall-list-32bit-options)
33124 (syscall-list-32bit-condition, syscall-list-64bit-options)
33125 (syscall-list-64bit-condition): Define.
33126 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33128 (syscall-list-variants, syscall-list-32bit-options)
33129 (syscall-list-32bit-condition, syscall-list-64bit-options)
33130 (syscall-list-64bit-condition): Define.
33132 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33134 * locale/iso-639.def: Add brx entry.
33137 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33138 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33140 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33141 __feraiseexcept_renamed.
33143 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33146 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33147 EPOLLET with unsigned values.
33148 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33149 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33151 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33152 to large cancellation.
33153 * math/s_cacoshf.c: Likewise.
33154 * math/s_cacoshl.c: Likewise.
33156 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33160 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33161 * math/s_cacoshf.c: Likewise.
33162 * math/s_cacoshl.c: Likewise.
33164 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33167 * iconv/gconv.h: Define __GCONV_SWAP.
33168 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33169 * iconvdata/utf-16.c: Likewise.
33170 * iconvdata/utf-32.c: Likewise.
33172 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33175 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33176 numerator after shifting it by one limb.
33178 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33180 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33181 under [__USE_EXTERN_INLINES].
33183 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33186 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33188 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33190 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33191 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33193 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33194 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33195 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33196 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33197 for strncasecmp/strncasecmp_l compilation.
33198 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33199 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33201 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33204 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33207 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33210 * time/tzfile.c (__tzfile_read): Check values from file header.
33212 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33214 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33215 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33216 * powerpc/powerpc32/dl-start.S: Likewise.
33217 * powerpc/powerpc32/elf/start.S: Likewise.
33218 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33219 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33220 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33221 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33222 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33223 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33224 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33225 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33226 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33227 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33228 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33229 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33230 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33231 * powerpc/powerpc32/memset.S: Likewise.
33232 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33233 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33234 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33235 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33236 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33237 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33238 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33239 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33240 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33241 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33242 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33243 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33244 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33246 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33248 * math/libm-test.inc: Added more nearbyint tests.
33249 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33250 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33251 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33252 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33254 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33256 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33259 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33261 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33262 Add wcscpy-ssse3 wcscpy-c.
33263 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33264 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33265 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33266 * sysdeps/x86_64/wcschr.S: New file.
33267 * sysdeps/x86_64/wcsrchr.S: New file.
33268 * string/test-strcmp.c: Remove checking of wcscmp function for
33270 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33271 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33272 wcsrchr-sse2 wcsrchr-c.
33273 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33274 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33275 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33276 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33277 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33278 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33279 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33280 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33281 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33282 * wcsmbc/wcschr.c (WCSCHR): New macro.
33284 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33286 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33287 * wcsmbs/test-wcsrchr.c: New file.
33288 * string/test-strrchr.c: Add wcsrchr support.
33290 * wcsmbs/test-wcscpy.c: New file.
33291 * string/test-strcpy.c: Add wcscpy support.
33294 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33296 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33299 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33302 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33304 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33306 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33307 Minor optimizations.
33309 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33310 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33311 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33313 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33315 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33316 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33317 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33318 for gcc to avoid warnings.
33319 * inet/Makefile (tests): Add tst-checks.
33320 * inet/tst-checks.c: New file.
33322 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33325 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33328 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33329 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33331 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33333 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33335 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33338 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33340 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33342 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33343 conditional on GCC version.
33344 (__arch_compare_and_exchange_val_8_acq)
33345 (__arch_compare_and_exchange_val_16_acq)
33346 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33347 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33348 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33350 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33352 * sysdeps/sh/backtrace.c: New file.
33354 2011-12-02 Andreas Schwab <schwab@redhat.com>
33356 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33359 2011-12-01 Andreas Schwab <schwab@redhat.com>
33361 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33362 falling back to utime.
33364 2011-11-30 Andreas Schwab <schwab@redhat.com>
33366 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33367 expectations for float.
33369 2011-11-29 Andreas Schwab <schwab@redhat.com>
33371 * locale/weight.h (findidx): Add parameter len.
33372 * locale/weightwc.h (findidx): Likewise.
33373 * posix/fnmatch_loop.c (FCT): Adjust caller.
33374 * posix/regcomp.c (build_equiv_class): Likewise.
33375 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33376 * posix/regexec.c (check_node_accept_bytes): Likewise.
33377 * string/strcoll_l.c (STRCOLL): Likewise.
33378 * string/strxfrm_l.c (STRXFRM): Likewise.
33380 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33382 * Makefile.in: Remove CVSOPT handling.
33383 * configure.in: Remove use of AC_REVISION.
33384 * iconvdata/Makefile (distribute): No need to filter out CVS.
33385 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33388 2011-11-16 Andreas Schwab <schwab@redhat.com>
33390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33391 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33392 [USE_AS_STRNCASECMP_L]: Likewise.
33393 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33394 NO_TLS_DIRECT_SEG_REFS.
33395 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33396 Fix argument offsets for non-PIC.
33397 [USE_AS_STRNCASECMP_L]: Likewise.
33398 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33399 NO_TLS_DIRECT_SEG_REFS.
33401 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33403 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33405 * locale/loadlocale.c (_nl_load_locale): Likewise.
33407 2011-11-15 Andreas Schwab <schwab@redhat.com>
33409 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33410 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33412 (SYSCALL_GETTIME): Set errno on error.
33414 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33415 count references to noai6ai_cached.
33417 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33419 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33421 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33422 FD_CLOEXEC for /proc/self/maps.
33424 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33425 FD_CLOEXEC for /proc/meminfo.
33427 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33430 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33431 FD_CLOEXEC for given file.
33433 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33435 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33436 FD_CLOEXEC for /etc/hosts.
33437 (_gethtent): Likewise.
33439 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33441 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33442 cancellation and set FD_CLOEXEC for /etc/netgroup.
33444 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33445 reading /etc/publickey.
33447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33448 allow cancellation when reading /etc/group.
33450 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33452 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33454 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33455 when using data file.
33457 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33459 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33460 (write_nis_obj): Use "c" and "e" in fopen.
33462 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33464 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33466 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33468 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33470 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33473 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33475 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33477 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33479 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33480 file parsing and set FD_CLOEXEC.
33482 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33484 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33486 2011-11-14 Andreas Schwab <schwab@redhat.com>
33488 * malloc/arena.c (arena_get2): Don't call reused_arena when
33489 _int_new_arena failed.
33491 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33493 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33494 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33495 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33497 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33499 to compile strcasecmp and strncasecmp.
33500 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33501 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33505 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33507 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33508 locale-defines.sym to gen-as-const-headers.
33509 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33510 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33512 to compile strcasecmp and strncasecmp.
33513 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33514 strcasecmp_l and strncasecmp_l.
33515 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33516 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33517 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33518 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33519 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33520 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33521 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33522 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33523 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33524 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33525 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33527 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33529 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33530 result of SYSDEP_GETTIME_CPU to retval.
33531 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33532 parameter list to macro. Remove trailing semicolon. Adjust users.
33534 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33537 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33539 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33541 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33542 from unused variable.
33544 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33546 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33549 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33552 * sunrpc/rpc_prot.c (rejected): Fix case value.
33554 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33555 unsigned long long int to avoid warnings in shift.
33557 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33559 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33562 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33563 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33564 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33566 * nis/nis_table.c (nis_list): Use variable of correct type for
33567 result of __follow_path call.
33569 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33571 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33572 of math functions ceil, trunc, floor, round, and sqrt, when
33573 avaliable on the platform.
33574 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33576 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33577 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33578 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33580 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33582 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33583 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33585 2011-11-11 Roland McGrath <roland@hack.frob.com>
33587 * include/unistd.h: Fix __readlink return type.
33588 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33590 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33592 * stdlib/ucontext.h: Undo last change for makecontext.
33594 2011-11-11 Andreas Schwab <schwab@redhat.com>
33596 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33598 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33599 * setjmp/setjmp.h: Mark functions as non-leaf.
33600 * setjmp/bits/setjmp2.h: Likewise.
33601 * stdlib/ucontext.h: Likewise.
33603 2011-11-10 Andreas Schwab <schwab@redhat.com>
33605 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33606 (reused_arena): Don't check arena limit.
33607 (arena_get2): Atomically check arena limit.
33609 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33611 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33612 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33617 2011-11-07 Andreas Schwab <schwab@redhat.com>
33619 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33620 handler when locking.
33622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33623 Fix size of allocated buffer.
33625 2011-11-04 Andreas Schwab <schwab@redhat.com>
33628 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33629 declarations for long double functions.
33630 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33632 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33634 2011-11-03 Andreas Schwab <schwab@redhat.com>
33636 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33639 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33642 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33644 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33646 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33648 * include/alloca.h (stackinfo_alloca_round): Define.
33649 (extend_alloca): Use it.
33650 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33651 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33654 * scripts/check-local-headers.sh: Ignore libaudit.h.
33656 * nscd/Makefile (extra-objs): Make recursively expanded.
33658 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33660 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33661 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33663 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33664 * posix/tst-rfc3484-2.c: Likewise.
33665 * posix/tst-rfc3484-3.c: Likewise.
33667 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33669 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33671 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33672 process_vm_writev from libc using GLIBC_2.15 version.
33674 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33676 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33678 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33681 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33684 * nss/getent.c (initgroups_keys): Show error message in case no group
33687 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33688 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33689 __bump_nl_timestamp.
33690 * nscd/connections (nscd_init): When host database is served open
33691 netlink socket and request notification about configuration changes.
33692 (main_loop_poll): Track netlink file descriptor and bump timestamp
33693 in case data becomes available.
33694 (main_loop_epoll): Likewise.
33695 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33696 (database_pers_head): Add extra_data fileds.
33697 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33698 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33699 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33701 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33702 in6ai data, call __free_in6ai.
33703 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33704 Add -DHAVE_NETLINK.
33705 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33706 interface information. Reuse previous data if netlink timestamp
33708 (__bump_nl_timestamp): New function.
33709 (__free_in6ai): New function.
33711 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33713 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33714 close_not_cancel_no_status here.
33715 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33717 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33720 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33723 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33724 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33725 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33727 2011-07-03 Andreas Jaeger <aj@suse.de>
33730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33731 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33732 * math/libm-test.inc (sin_test): Add test case.
33734 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33737 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33738 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33740 * elf/chroot_canon.c (chroot_canon): Cleanups.
33742 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33745 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33746 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33748 * string/test-strchr.c: Make usable for strchrnul testing.
33749 * string/test-strchrnul.c: New file.
33750 * string/Makefile (strop-tests): Add strchrnul.
33752 * po/it.po: Update from translation team.
33753 * po/es.po: Likewise.
33755 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33758 the three constants needed as parameters. Drop the others.
33759 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33760 __m128i_strloadu_tolower.
33761 Create and initialize variable zero and use it in all the places
33762 where _mm_setzero_si128 was used.
33764 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33765 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33766 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33767 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33769 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33770 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33771 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33772 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33773 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33774 __mpranred, __mptan.
33775 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33776 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33777 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33778 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33779 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33780 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33781 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33782 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33783 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33785 2011-10-28 Andreas Schwab <schwab@redhat.com>
33787 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33788 redefine if SHARED.
33789 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33792 wide char related routines to wcsmbs subdir.
33794 2011-10-27 Andreas Schwab <schwab@redhat.com>
33797 * misc/sys/cdefs.h (__THROWNL): Define.
33798 * posix/unistd.h: Use __THREADNL instead of __THREAD
33799 for memory synchronization functions.
33801 2011-10-26 Roland McGrath <roland@hack.frob.com>
33804 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33806 * manual/stdio.texi (Obstack Streams): Node removed.
33808 2011-10-26 Andreas Schwab <schwab@redhat.com>
33810 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33811 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33812 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33814 * math/math_private.h (math_force_eval): Allow non-addressable
33816 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33818 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33820 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33821 file is not needed.
33823 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33825 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33826 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33827 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33828 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33829 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33830 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33832 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33833 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33834 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33835 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33836 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33837 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33838 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33839 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33840 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33841 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33842 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33843 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33844 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33845 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33846 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33847 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33848 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33849 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33850 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33852 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33853 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33855 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33856 place. Use VEX encoding when compiling for AVX.
33858 2011-10-25 Andreas Schwab <schwab@redhat.com>
33860 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33861 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33863 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33865 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33867 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33868 useless if() expression.
33869 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33879 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33880 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33881 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33882 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33883 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33884 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33885 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33887 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33889 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33891 2011-10-25 Andreas Schwab <schwab@redhat.com>
33893 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33895 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33897 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33899 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33900 .text section. Avoid duplicate constants.
33901 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33911 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33913 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33915 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33917 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33918 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33921 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33922 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33923 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33925 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33926 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33927 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33928 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33929 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33930 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33931 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33932 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33933 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33934 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33935 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33936 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33937 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33938 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33939 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33940 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33942 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33943 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33944 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33945 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33947 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33949 * sysdeps/x86_64/dla.h: Move to ...
33950 * sysdeps/x86_64/fpu/dla.h: ...here.
33951 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33952 situations. Use __builtin_fma only for gcc 4.6 and up.
33954 * config.make.in: Add have-mfma4 entry.
33955 * configure.in: Substitute libc_cv_cc_fma4.
33956 * math/Makefile (dbl-only-routines): Add sincostab.
33957 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33958 Use __sincostab not sincos.
33959 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33961 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33966 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33967 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33968 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33969 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33971 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33972 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33974 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33975 define aliases when function name is a macro.
33976 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33977 sysdeps/ieee754/dbl-64/sincos.tbl.
33978 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33979 fma4-enabled routines.
33980 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33981 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33982 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33983 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33984 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33985 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33986 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33987 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33988 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33989 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33990 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33991 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33992 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33993 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33995 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33996 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33997 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33998 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33999 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34000 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34001 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34003 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34005 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34007 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34008 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34009 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34011 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34022 2011-10-24 Andreas Schwab <schwab@redhat.com>
34024 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34026 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34028 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34030 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34032 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34034 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34035 Remove unused variable magic_bits.
34036 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34038 * string/strnlen.c: Define and use STRNLEN macro.
34039 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34040 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34042 * wcsmbs/wcslen.c: Define and use WCSLEN.
34043 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34044 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34045 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34046 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34047 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34048 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34049 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34051 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34054 strnlen-sse2-no-bsf.
34055 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34057 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34058 Add strnlen support.
34059 (USE_AS_STRNLEN): New macro.
34060 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34061 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34062 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34063 * sysdeps/x86_64/wcslen.S: New file.
34065 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34068 XMM-moves are used for copying on small sizes.
34070 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34072 * wcsmbs/Makefile (strop-tests): Add wcschr.
34073 * wcsmbs/test-wcschr.c: New file.
34074 * string/test-strchr.c: Update.
34075 Add wcschr support.
34078 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34080 * wcsmbs/Makefile (strop-tests): Add wcslen.
34081 * wcsmbs/test-wcslen.c: New file.
34082 * string/test-strlen.c: Update.
34083 Add wcslen support.
34086 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34088 * po/it.po: Update from translation team.
34090 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34092 * sysdeps/x86_64/wcscmp.S: Update.
34093 Fix wrong comparison semantics.
34094 wcscmp shall use signed comparison not unsigned.
34095 Don't use substraction to avoid overflow bug.
34096 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34097 * wcsmbc/wcscmp.c: Likewise.
34098 * string/test-strcmp.c: Likewise.
34099 Add new tests to check cases with negative values.
34101 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34103 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34104 * sysdeps/x86_64/dla.h: ...here. New file.
34105 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34109 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34110 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34115 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34118 __ynl_finite aliases.
34120 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34124 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34126 [DLA_FMA] (EMULV): Use DLA_FMA.
34127 [DLA_FMA] (MUL12): Use EMULV.
34128 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34129 that are not needed.
34130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34136 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34138 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34140 * math/s_nan.c: Undef __nan.
34141 * math/s_nanf.c: Undef __nanf.
34142 * math/s_nanl.c: Undef __nanl.
34143 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34146 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34148 * math/s_catan.c: Add branch predictions.
34149 * math/s_catanf.c: Likewise.
34150 * math/s_catanh.c: Likewise.
34151 * math/s_catanhf.c: Likewise.
34152 * math/s_catanhl.c: Likewise.
34153 * math/s_catanl.c: Likewise.
34154 * math/s_cexp.c: Likewise.
34155 * math/s_cexpf.c: Likewise.
34156 * math/s_cexpl.c: Likewise.
34157 * math/s_clog.c: Likewise.
34158 * math/s_clog10.c: Likewise.
34159 * math/s_clog10f.c: Likewise.
34160 * math/s_clog10l.c: Likewise.
34161 * math/s_clogf.c: Likewise.
34162 * math/s_clogl.c: Likewise.
34163 * math/s_csqrt.c: Likewise.
34164 * math/s_csqrtf.c: Likewise.
34165 * math/s_csqrtl.c: Likewise.
34166 * math/s_ctanf.c: Likewise.
34167 * math/s_ctanh.c: Likewise.
34168 * math/s_ctanhf.c: Likewise.
34169 * math/s_ctanhl.c: Likewise.
34170 * math/s_ctanl.c: Likewise.
34172 * math/math_private.h: Define __nan, __nanf, __nanl.
34173 * math/s_cacosh.c: Include <math_private.h>.
34174 * math/s_cacoshl.c: Likewise.
34175 * math/s_casinh.c: Likewise.
34176 * math/s_casinhf.c: Likewise.
34177 * math/s_casinhl.c: Likewise.
34178 * math/s_ccos.c: Rely entire on ccosh.
34179 * math/s_ccosf.c: Rely entire on ccoshf.
34180 * math/s_ccosl.c: Rely entirely on ccoshl.
34181 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34182 Remove tests for FE_INVALID.
34183 * math/s_ccoshf.c: Likewise.
34184 * math/s_ccoshl.c: Likewise.
34185 * math/s_csin.c: Likewise.
34186 * math/s_csinf.c: Likewise.
34187 * math/s_csinh.c Likewise.
34188 * math/s_csinhf.c: Likewise.
34189 * math/s_csinhl.c: Likewise.
34190 * math/s_csinl.c: Likewise.
34191 * math/s_ctan.c: Likewise.
34192 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34193 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34194 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34196 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34199 compilation problems.
34201 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34204 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34206 * sysdeps/i386/configure.in: Test for -mfma4 option.
34207 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34208 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34209 COMMON_CPUID_INDEX_80000001.
34210 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34211 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34212 use it if FMA3 is not supported.
34213 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34215 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34216 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34218 2011-10-20 Andreas Schwab <schwab@redhat.com>
34221 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34222 it would create a cycle with a link time dependency.
34224 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34226 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34228 * string/Makefile (strop-tests): Add rawmemchr.
34229 * string/test-rawmemchr.c: New file.
34231 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34233 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34234 when compiling str{,n}casecmp and when AVX is available. Hook up
34235 new optimized code in initializers.
34237 2011-10-19 Andreas Schwab <schwab@redhat.com>
34239 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34240 __feraiseexcept instead of feraiseexcept.
34242 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34244 * math/math_private.h: Define defaults for libc_fetestexcept and
34246 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34247 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34248 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34249 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34250 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34251 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34252 libc_fetestexcept and libc_feupdateenv.
34254 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34255 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34256 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34257 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34258 libc_feholdexcept_setround.
34260 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34261 Add s_nearbyint-c and s_nearbyintf-c.
34262 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34263 nearbyintf inlines.
34264 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34265 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34266 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34267 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34269 * math/math_private.h: Define defaults for libc_fegetround,
34270 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34271 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34272 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34273 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34274 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34275 standard functions.
34276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34277 Remove comments and hacks for old compiler versions.
34278 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34279 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34280 libc_feholdexceptl.
34282 2011-10-18 Andreas Schwab <schwab@redhat.com>
34284 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34285 (__feraiseexcept_renamed): Add __NTH.
34286 (feraiseexcept): Add __NTH. Rename local variables to fix
34287 namespace violations.
34289 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34291 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34293 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34295 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34296 recently added interfaces.
34297 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34299 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34300 about macro parameter expansion.
34302 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34303 __NO_MATH_INLINES is defined. Cleanups.
34305 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34306 and __floorf is target has SSE4.1.
34307 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34308 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34309 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34310 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34312 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34314 (floorf): Likewise.
34316 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34318 2011-10-17 Andreas Schwab <schwab@redhat.com>
34320 * misc/sys/cdefs.h: Fix last change.
34322 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34325 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34327 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34329 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34330 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34332 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34333 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34334 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34336 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34337 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34338 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34339 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34340 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34341 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34342 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34343 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34344 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34345 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34346 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34347 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34348 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34349 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34350 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34352 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34353 ceil, ceilf, floor, floorf.
34355 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34356 Perform IRELATIVE relocations last.
34358 * elf/do-rel.h: Add another parameter nrelative, replacing the
34359 local variable with the same name. Change name of the function
34360 to end in Rel or Rela (uppercase).
34361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34362 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34363 elf_dynamic_do_##reloc function.
34365 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34367 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34368 is sufficient, at least on modern CPUs.
34370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34372 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34373 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34375 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34377 * math/bits/math-finite.h: Add entries for exp.
34378 * math/e_expl.c: Add __*_finite alias.
34379 * sysdeps/i386/fpu/e_exp.S: Likewise.
34380 * sysdeps/i386/fpu/e_expf.S: Likewise.
34381 * sysdeps/i386/fpu/e_expl.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34383 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34387 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34388 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34390 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34391 is sufficient, at least on modern CPUs.
34393 * ctype/ctype-info.c (__ctype_init): Define.
34394 * include/ctype.h (__ctype_init): Declare.
34395 (__ctype_b_loc): The variable is always initialized.
34396 (__ctype_toupper_loc): Likewise.
34397 (__ctype_tolower_loc): Likewise.
34398 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34399 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34401 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34403 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34405 * configure.in: Also look in $cxxmachine/include for C++ system
34408 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34410 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34411 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34412 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34413 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34414 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34415 (USE_AS_WMEMCMP): New macro.
34417 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34418 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34419 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34420 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34422 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34423 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34424 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34425 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34426 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34427 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34428 (USE_AS_WMEMCMP): New macro.
34429 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34430 * sysdeps/string/test-memcmp.c: Update.
34431 Fix simple_wmemcmp.
34433 * wcsmbs/wmemcmp.c: Update.
34434 (WMEMCMP): New macro.
34437 2011-10-12 Andreas Jaeger <aj@suse.de>
34440 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34442 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34444 * libio/iofwide.c (do_length): Avoid warning.
34446 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34448 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34450 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34452 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34453 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34454 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34455 * sysdeps/i386/i686/fpu/e_log.S: New file.
34456 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34457 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34459 * ctype/ctype.h: Add support for inlined isXXX functions when
34460 compiling C++ code.
34462 2011-10-14 Andreas Schwab <schwab@redhat.com>
34464 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34466 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34468 2011-10-13 Roland McGrath <roland@hack.frob.com>
34471 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34473 2011-10-13 Andreas Schwab <schwab@redhat.com>
34475 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34476 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34479 * sysdeps/x86_64/memrchr.S: Check for zero size.
34481 * string/stratcliff.c: Add memrchr tests.
34483 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34486 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34487 rawmemchr-sse2 rawmemchr-sse2-bsf.
34488 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34489 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34490 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34491 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34492 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34493 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34494 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34495 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34496 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34497 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34498 * string/memrchr.c (MEMRCHR): New macro.
34500 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34502 Add integration with gcc's -ffinite-math-only and optimize wrapper
34504 * Versions.def: Define GLIBC_2.15 version for libm.
34505 * math/Makefile (headers): Add bits/math-finite.h.
34506 * math/bits/math-finite.h: New file.
34507 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34508 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34509 * math/e_acoshl.c: Add __*_finite alias.
34510 * math/e_acosl.c: Likewise.
34511 * math/e_asinl.c: Likewise.
34512 * math/e_atan2l.c: Likewise.
34513 * math/e_atanhl.c: Likewise.
34514 * math/e_coshl.c: Likewise.
34515 * math/e_exp10.c: Likewise.
34516 * math/e_exp10f.c: Likewise.
34517 * math/e_exp10l.c: Likewise.
34518 * math/e_exp2l.c: Likewise.
34519 * math/e_fmodl.c: Likewise.
34520 * math/e_gammal_r.c: Likewise.
34521 * math/e_hypotl.c: Likewise.
34522 * math/e_j0l.c: Likewise.
34523 * math/e_j1l.c: Likewise.
34524 * math/e_jnl.c: Likewise.
34525 * math/e_lgammal_r.c: Likewise.
34526 * math/e_log10l.c: Likewise.
34527 * math/e_log2l.c: Likewise.
34528 * math/e_logl.c: Likewise.
34529 * math/e_powl.c: Likewise.
34530 * math/e_sinhl.c: Likewise.
34531 * math/e_sqrtl.c: Likewise.
34532 * math/e_scalb.c: Completely rewritten and optimized.
34533 * math/e_scalbf.c: Likewise.
34534 * math/e_scalbl.c: Likewise.
34535 * math/w_acos.c: Likewise.
34536 * math/w_acosf.c: Likewise.
34537 * math/w_acosl.c: Likewise.
34538 * math/w_acosh.c: Likewise.
34539 * math/w_acoshf.c: Likewise.
34540 * math/w_acoshl.c: Likewise.
34541 * math/w_asin.c: Likewise.
34542 * math/w_asinf.c: Likewise.
34543 * math/w_asinl.c: Likewise.
34544 * math/w_atan2.c: Likewise.
34545 * math/w_atan2f.c: Likewise.
34546 * math/w_atan2l.c: Likewise.
34547 * math/w_atanh.c: Likewise.
34548 * math/w_atanhf.c: Likewise.
34549 * math/w_atanhl.c: Likewise.
34550 * math/w_exp10.c: Likewise.
34551 * math/w_exp10f.c: Likewise.
34552 * math/w_exp10l.c: Likewise.
34553 * math/w_fmod.c: Likewise.
34554 * math/w_fmodf.c: Likewise.
34555 * math/w_fmodl.c: Likewise.
34556 * math/w_j0.c: Likewise.
34557 * math/w_j0f.c: Likewise.
34558 * math/w_j0l.c: Likewise.
34559 * math/w_j1.c: Likewise.
34560 * math/w_j1f.c: Likewise.
34561 * math/w_j1l.c: Likewise.
34562 * math/w_jn.c: Likewise.
34563 * math/w_jnf.c: Likewise.
34564 * math/w_log.c: Likewise.
34565 * math/w_logf.c: Likewise.
34566 * math/w_logl.c: Likewise.
34567 * math/w_log10.c: Likewise.
34568 * math/w_log10f.c: Likewise.
34569 * math/w_log10l.c: Likewise.
34570 * math/w_log2.c: Likewise.
34571 * math/w_log2f.c: Likewise.
34572 * math/w_log2l.c: Likewise.
34573 * math/w_pow.c: Likewise.
34574 * math/w_powf.c: Likewise.
34575 * math/w_powl.c: Likewise.
34576 * math/w_remainder.c: Likewise.
34577 * math/w_remainderf.c: Likewise.
34578 * math/w_remainderl.c: Likewise.
34579 * math/w_scalb.c: Likewise.
34580 * math/w_scalbf.c: Likewise.
34581 * math/w_scalbl.c: Likewise.
34582 * math/w_sqrt.c: Likewise.
34583 * math/w_sqrtf.c: Likewise.
34584 * math/w_sqrtl.c: Likewise.
34585 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34586 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34588 * math/math_private.h: Declare __kernel_standard_f.
34589 * math/w_cosh.c: Remove cruft and optimize a bit.
34590 * math/w_coshf.c: Likewise.
34591 * math/w_coshl.c: Likewise.
34592 * math/w_exp2.c: Likewise.
34593 * math/w_exp2f.c: Likewise.
34594 * math/w_exp2l.c: Likewise.
34595 * math/w_hypot.c: Likewise.
34596 * math/w_hypotf.c: Likewise.
34597 * math/w_hypotl.c: Likewise.
34598 * math/w_lgamma.c: Likewise.
34599 * math/w_lgamma_r.c: Likewise.
34600 * math/w_lgammaf.c: Likewise.
34601 * math/w_lgammaf_r.c: Likewise.
34602 * math/w_lgammal.c: Likewise.
34603 * math/w_lgammal_r.c: Likewise.
34604 * math/w_sinh.c: Likewise.
34605 * math/w_sinhf.c: Likewise.
34606 * math/w_sinhl.c: Likewise.
34607 * math/w_tgamma.c: Likewise.
34608 * math/w_tgammaf.c: Likewise.
34609 * math/w_tgammal.c: Likewise.
34610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34611 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34612 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34613 Minor optimizations. Pretty printing. Remove cruft.
34614 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34615 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34616 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34617 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34618 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34619 * sysdeps/i386/fpu/e_asin.S: Likewise.
34620 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34621 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34622 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34623 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34624 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34625 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34626 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34627 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34628 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34629 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34630 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34631 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34632 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34633 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34634 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34635 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34636 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34637 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34638 * sysdeps/i386/fpu/e_log.S: Likewise.
34639 * sysdeps/i386/fpu/e_log10.S: Likewise.
34640 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34641 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34642 * sysdeps/i386/fpu/e_log2.S: Likewise.
34643 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34644 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34645 * sysdeps/i386/fpu/e_logf.S: Likewise.
34646 * sysdeps/i386/fpu/e_logl.S: Likewise.
34647 * sysdeps/i386/fpu/e_pow.S: Likewise.
34648 * sysdeps/i386/fpu/e_powf.S: Likewise.
34649 * sysdeps/i386/fpu/e_powl.S: Likewise.
34650 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34651 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34652 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34653 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34654 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34655 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34656 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34657 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34658 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34662 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34665 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34679 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34680 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34681 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34682 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34683 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34684 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34685 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34686 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34687 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34688 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34690 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34691 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34693 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34694 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34695 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34696 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34697 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34698 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34699 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34700 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34720 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34724 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34727 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34728 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34729 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34730 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34731 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34732 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34734 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34737 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34738 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34739 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34740 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34741 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34750 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34751 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34752 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34753 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34754 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34755 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34756 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34757 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34758 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34759 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34760 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34761 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34762 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34763 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34764 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34765 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34766 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34767 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34768 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34769 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34770 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34771 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34772 (__isnanf): Likewise.
34773 (__isinf_ns): Likewise.
34774 (__isinf_nsf): Likewise.
34775 (__finite): Likewise.
34776 (__finitef): Likewise.
34777 (__ieee754_sqrt): Define as macro.
34778 (__ieee754_sqrtf): Define as macro.
34779 (__ieee754_sqrtl): Define as macro.
34780 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34782 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34783 __FINITE_MATH_ONLY__ consistent.
34784 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34786 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34788 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34791 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34793 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34795 * po/ja.po: Update from translation team.
34797 2011-10-08 Roland McGrath <roland@hack.frob.com>
34799 * locale/programs/locarchive.c (prepare_address_space): New function.
34800 (create_archive, enlarge_archive, open_archive): Use it.
34802 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34803 inside [SHARED], where it is used.
34805 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34807 * nss/getent.c (netgroup_keys): Remove unused variable.
34808 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34810 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34812 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34813 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34815 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34816 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34817 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34818 * math/Makefile (libm-calls): Add s_isinf_ns.
34819 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34820 * math/multc3.c: Likewise.
34821 * math/s_casin.c: Likewise.
34822 * math/s_casinf.c: Likewise.
34823 * math/s_casinl.c: Likewise.
34824 * math/s_ccos.c: Likewise.
34825 * math/s_ccosf.c: Likewise.
34826 * math/s_ccosl.c: Likewise.
34827 * math/s_ctan.c: Likewise.
34828 * math/s_ctanf.c: Likewise.
34829 * math/s_ctanh.c: Likewise.
34830 * math/s_ctanhf.c: Likewise.
34831 * math/s_ctanhl.c: Likewise.
34832 * math/s_ctanl.c: Likewise.
34833 * math/w_fmod.c: Likewise.
34834 * math/w_fmodf.c: Likewise.
34835 * math/w_fmodl.c: Likewise.
34836 * math/w_remainder.c: Likewise.
34837 * math/w_remainderf.c: Likewise.
34838 * math/w_remainderl.c: Likewise.
34839 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34840 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34841 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34843 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34844 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34845 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34846 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34848 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34850 * stdio-common/printf_fphex.c: Likewise.
34851 * stdio-common/printf_size.c: Likewise.
34853 * math/e_exp10.c: Include math_private.h using <...> not "...".
34854 * math/e_exp10f.c: Likewise.
34855 * math/e_exp10l.c: Likewise.
34856 * math/e_exp2l.c: Likewise.
34857 * math/e_j0l.c: Likewise.
34858 * math/e_j1l.c: Likewise.
34859 * math/e_jnl.c: Likewise.
34860 * math/e_lgammal_r.c: Likewise.
34861 * math/e_rem_pio2l.c: Likewise.
34862 * math/e_scalb.c: Likewise.
34863 * math/e_scalbf.c: Likewise.
34864 * math/e_scalbl.c: Likewise.
34865 * math/k_cosl.c: Likewise.
34866 * math/k_sinl.c: Likewise.
34867 * math/k_tanl.c: Likewise.
34868 * math/s_cacoshf.c: Likewise.
34869 * math/s_catan.c: Likewise.
34870 * math/s_catanf.c: Likewise.
34871 * math/s_catanh.c: Likewise.
34872 * math/s_catanhf.c: Likewise.
34873 * math/s_catanhl.c: Likewise.
34874 * math/s_catanl.c: Likewise.
34875 * math/s_ccosh.c: Likewise.
34876 * math/s_ccoshf.c: Likewise.
34877 * math/s_ccoshl.c: Likewise.
34878 * math/s_cexp.c: Likewise.
34879 * math/s_cexpf.c: Likewise.
34880 * math/s_cexpl.c: Likewise.
34881 * math/s_clog.c: Likewise.
34882 * math/s_clog10.c: Likewise.
34883 * math/s_clog10f.c: Likewise.
34884 * math/s_clog10l.c: Likewise.
34885 * math/s_clogf.c: Likewise.
34886 * math/s_clogl.c: Likewise.
34887 * math/s_csin.c: Likewise.
34888 * math/s_csinf.c: Likewise.
34889 * math/s_csinh.c: Likewise.
34890 * math/s_csinhf.c: Likewise.
34891 * math/s_csinhl.c: Likewise.
34892 * math/s_csinl.c: Likewise.
34893 * math/s_csqrt.c: Likewise.
34894 * math/s_csqrtf.c: Likewise.
34895 * math/s_csqrtl.c: Likewise.
34896 * math/s_ctan.c: Likewise.
34897 * math/s_ctanf.c: Likewise.
34898 * math/s_ctanh.c: Likewise.
34899 * math/s_ctanhf.c: Likewise.
34900 * math/s_ctanhl.c: Likewise.
34901 * math/s_ctanl.c: Likewise.
34902 * math/s_ldexp.c: Likewise.
34903 * math/s_ldexpf.c: Likewise.
34904 * math/s_ldexpl.c: Likewise.
34905 * math/s_significand.c: Likewise.
34906 * math/s_significandf.c: Likewise.
34907 * math/s_significandl.c: Likewise.
34908 * math/w_acos.c: Likewise.
34909 * math/w_acosf.c: Likewise.
34910 * math/w_acosh.c: Likewise.
34911 * math/w_acoshf.c: Likewise.
34912 * math/w_acoshl.c: Likewise.
34913 * math/w_acosl.c: Likewise.
34914 * math/w_asin.c: Likewise.
34915 * math/w_asinf.c: Likewise.
34916 * math/w_asinl.c: Likewise.
34917 * math/w_atan2.c: Likewise.
34918 * math/w_atan2f.c: Likewise.
34919 * math/w_atan2l.c: Likewise.
34920 * math/w_atanh.c: Likewise.
34921 * math/w_atanhf.c: Likewise.
34922 * math/w_atanhl.c: Likewise.
34923 * math/w_cosh.c: Likewise.
34924 * math/w_coshf.c: Likewise.
34925 * math/w_coshl.c: Likewise.
34926 * math/w_dremf.c: Likewise.
34927 * math/w_exp10.c: Likewise.
34928 * math/w_exp10f.c: Likewise.
34929 * math/w_exp10l.c: Likewise.
34930 * math/w_exp2.c: Likewise.
34931 * math/w_exp2f.c: Likewise.
34932 * math/w_fmod.c: Likewise.
34933 * math/w_fmodf.c: Likewise.
34934 * math/w_fmodl.c: Likewise.
34935 * math/w_hypot.c: Likewise.
34936 * math/w_hypotf.c: Likewise.
34937 * math/w_hypotl.c: Likewise.
34938 * math/w_j0.c: Likewise.
34939 * math/w_j0f.c: Likewise.
34940 * math/w_j0l.c: Likewise.
34941 * math/w_j1.c: Likewise.
34942 * math/w_j1f.c: Likewise.
34943 * math/w_j1l.c: Likewise.
34944 * math/w_jn.c: Likewise.
34945 * math/w_jnf.c: Likewise.
34946 * math/w_jnl.c: Likewise.
34947 * math/w_lgamma.c: Likewise.
34948 * math/w_lgamma_r.c: Likewise.
34949 * math/w_lgammaf.c: Likewise.
34950 * math/w_lgammaf_r.c: Likewise.
34951 * math/w_lgammal.c: Likewise.
34952 * math/w_lgammal_r.c: Likewise.
34953 * math/w_log.c: Likewise.
34954 * math/w_log10.c: Likewise.
34955 * math/w_log10f.c: Likewise.
34956 * math/w_log10l.c: Likewise.
34957 * math/w_log2.c: Likewise.
34958 * math/w_log2f.c: Likewise.
34959 * math/w_log2l.c: Likewise.
34960 * math/w_logf.c: Likewise.
34961 * math/w_logl.c: Likewise.
34962 * math/w_pow.c: Likewise.
34963 * math/w_powf.c: Likewise.
34964 * math/w_powl.c: Likewise.
34965 * math/w_remainder.c: Likewise.
34966 * math/w_remainderf.c: Likewise.
34967 * math/w_remainderl.c: Likewise.
34968 * math/w_scalb.c: Likewise.
34969 * math/w_scalbf.c: Likewise.
34970 * math/w_scalbl.c: Likewise.
34971 * math/w_sinh.c: Likewise.
34972 * math/w_sinhf.c: Likewise.
34973 * math/w_sinhl.c: Likewise.
34974 * math/w_sqrt.c: Likewise.
34975 * math/w_sqrtf.c: Likewise.
34976 * math/w_sqrtl.c: Likewise.
34977 * math/w_tgamma.c: Likewise.
34978 * math/w_tgammaf.c: Likewise.
34979 * math/w_tgammal.c: Likewise.
34981 * po/ja.po: Update from translation team.
34983 2011-09-29 Andreas Jaeger <aj@suse.de>
34986 * sunrpc/netname.c (netname2host): Fix logic.
34990 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34992 * math/w_remainder.c (__remainder): Likewise.
34993 * math/w_remainderf.c (__remainderf): Likewise.
34994 * math/libm-test.inc (remainder_test): Add test cases.
34996 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34998 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35001 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35003 * string/test-memcmp.c: Avoid unncessary #defines.
35004 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35006 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35008 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35009 Use new sse2 version for core i3 - i7 as it's faster
35010 than sse42 version.
35011 (bit_Prefer_PMINUB_for_stringop): New.
35012 * sysdeps/x86_64/rawmemchr.S: Update.
35013 Replace with faster SSE2 version.
35014 * sysdeps/x86_64/memrchr.S: New file.
35015 * sysdeps/x86_64/memchr.S: Update.
35016 Replace with faster SSE2 version.
35018 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35020 * elf/dl-load.c (lose): Add cast to avoid warning.
35022 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35024 * po/ca.po: Update from translation team.
35026 * inet/getnetgrent_r.c: Hook up nscd.
35027 * nscd/Makefile (routines): Add nscd_netgroup.
35028 (nscd-modules): Add netgroupcache.
35029 (CFLAGS-netgroupcache.c): Define.
35030 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35031 (cache_search): Add const to second parameter.
35032 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35034 (dbs): Add netgrdb entry.
35035 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35036 (verify_persistent_db): Handle netgrdb.
35037 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35038 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35040 (netgroup_response_header): Define.
35041 (innetgroup_response_header): Define.
35042 (datahead): Add netgroup_response_header and innetgroup_response_header
35044 * nscd/nscd.conf: Add entries for netgroup cache.
35045 * nscd/nscd.h (dbtype): Add netgrdb.
35046 (_PATH_NSCD_NETGROUP_DB): Define.
35047 (netgroup_iov_disabled): Declare.
35048 (xmalloc, xcalloc, xrealloc): Move declarations here.
35049 (cache_search): Adjust prototype.
35050 Add netgroup-related prototypes.
35051 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35052 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35053 (__nscd_innetgr): Declare.
35054 * nscd/selinux.c (perms): Use access_vector_t as element type and
35055 add netgroup-related initializers.
35056 * nscd/netgroupcache.c: New file.
35057 * nscd/nscd_netgroup.c: New file.
35058 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35059 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35060 For four parameters use innetgr.
35061 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35062 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35063 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35064 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35066 * nscd/connections.c (register_traced_file): Don't register file
35067 for disabled databases.
35069 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35071 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35073 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35074 from tree and freeing node.
35076 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35078 * nss/nsswitch.c (__nss_database_lookup): Handle
35079 nss_parse_service_list out of memory case.
35081 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35083 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35084 out of memory case.
35086 2011-10-04 Andreas Schwab <schwab@redhat.com>
35088 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35089 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35091 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35092 elf_machine_rela, elf_machine_lazy_rel.
35093 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35094 (ELF_DYNAMIC_DO_REL): Likewise.
35095 (ELF_DYNAMIC_DO_RELA): Likewise.
35096 (ELF_DYNAMIC_RELOCATE): Likewise.
35097 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35098 to ELF_DYNAMIC_DO_REL.
35099 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35100 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35101 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35104 skip_ifunc, don't call ifunc function if non-zero.
35105 (elf_machine_rela): Likewise.
35106 (elf_machine_lazy_rel): Likewise.
35107 (elf_machine_lazy_rela): Likewise.
35108 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35109 (elf_machine_lazy_rel): Likewise.
35110 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35112 (elf_machine_lazy_rel): Likewise.
35113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35115 (elf_machine_lazy_rel): Likewise.
35116 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35117 (elf_machine_lazy_rel): Likewise.
35118 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35119 (elf_machine_lazy_rel): Likewise.
35120 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35121 (elf_machine_lazy_rel): Likewise.
35122 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35123 (elf_machine_lazy_rel): Likewise.
35124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35125 (elf_machine_lazy_rel): Likewise.
35126 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35127 (elf_machine_lazy_rel): Likewise.
35129 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35131 * nss/nss_files/files-init.c (_nss_files_init): Use static
35132 initialization for all the *_traced_file variables.
35134 2011-09-28 Andreas Schwab <schwab@redhat.com>
35136 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35138 2011-09-27 Roland McGrath <roland@hack.frob.com>
35141 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35143 2011-09-27 Andreas Schwab <schwab@redhat.com>
35145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35146 Reread the line before reparsing it.
35148 2011-09-26 Andreas Schwab <schwab@redhat.com>
35150 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35152 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35153 Maxim Kuvyrkov <maxim@codesourcery.com>
35154 Joseph Myers <joseph@codesourcery.com>
35156 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35157 if needed for __stack_chk_guard.
35159 2011-09-19 Roland McGrath <roland@hack.frob.com>
35161 * sysdeps/posix/spawni.c (script_execute): Always define it.
35162 It will be optimized away if unused.
35163 (maybe_script_execute): New function.
35164 (__spawni): Call it.
35166 * Makerules: Don't include tls.make.
35167 (config-tls): Always set to thread.
35168 * tls.make.c: File removed.
35170 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35172 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35173 * config.make.in (CPPFLAGS-config): New substituted variable.
35175 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35177 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35180 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35181 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35183 2011-09-15 Roland McGrath <roland@hack.frob.com>
35185 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35186 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35188 (CALL_FAIL): Likewise.
35189 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35190 (CALL_FAIL): Macro removed.
35191 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35193 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35195 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35196 for __FINITE_MATH_ONLY__ == 1.
35198 2011-09-15 Andreas Schwab <schwab@redhat.com>
35200 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35201 __ieee754_sqrt instead of sqrt.
35202 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35203 __ieee754_sqrtf instead of sqrtf.
35204 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35205 __floorf instead of floorf.
35206 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35207 __floorf, __truncf instead of floorf, truncf.
35209 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35211 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35213 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35214 __extern_always_inline.
35215 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35218 2011-09-14 Andreas Schwab <schwab@redhat.com>
35220 * elf/rtld.c (dl_main): Also relocate in dependency order when
35221 doing symbol dependency testing.
35223 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35225 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35226 Always define `refsym'.
35228 2011-09-13 Andreas Schwab <schwab@redhat.com>
35230 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35231 (__FD_ELT): Renamed from __FDELT.
35232 * misc/bits/select2.h (__FD_ELT): Likewise.
35233 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35234 __FD_MASK instead of __FDELT, __FDMASK.
35235 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35237 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35240 * elf/Makefile (gen-ldd): Fix pattern.
35242 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35243 (init_tls): Likewise.
35245 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35247 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35249 2011-09-12 Andreas Schwab <schwab@redhat.com>
35251 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35252 `struct cmsghdr *' instead of `void *'.
35253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35256 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35258 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35260 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35261 ldd_rewrite_script.
35263 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35265 * configure.in: Remove --with-tls option.
35266 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35267 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35268 out in case it is missing.
35269 * sysdeps/ia64/elf/configure.in: Likewise.
35270 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35271 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35272 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35273 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35274 * sysdeps/sh/elf/configure.in: Likewise.
35275 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35276 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35277 * sysdeps/x86_64/elf/configure.in: Likewise.
35278 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35279 * sysdeps/mach/hurd/tls.h: Likewise.
35282 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35285 * configure.in: Fix use of AC_INIT.
35287 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35289 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35291 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35293 * malloc/hooks.c: Likewise.
35296 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35297 variables statically.
35298 (narenas): Initialize.
35299 (list_lock): Initialize.
35300 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35301 initializtion of main_arena and list_lock. Small cleanups.
35302 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35303 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35304 Add initializers to main_arena and mp_.
35305 (malloc_state): Remove pagesize member. Change all users to use
35308 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35309 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35310 is always initialized.
35312 * malloc/malloc.c: Removed unused configurations and dead code.
35313 * malloc/arena.c: Likewise.
35314 * malloc/hooks.c: Likewise.
35315 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35317 * include/tls.h: Removed. USE___THREAD must always be defined.
35318 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35319 * elf/dl-libc.c: Likewise.
35320 * elf/dl-tsd.c: Likewise.
35321 * include/errno.h: Likewise.
35322 * include/netdb.h: Likewise.
35323 * include/resolv.h: Likewise.
35324 * inet/herrno-loc.c: Likewise.
35325 * inet/herrno.c: Likewise.
35326 * malloc/arena.c: Likewise.
35327 * malloc/hooks.c: Likewise.
35328 * malloc/malloc.c: Likewise.
35329 * resolv/res-state.c: Likewise.
35330 * resolv/res_libc.c: Likewise.
35331 * sysdeps/i386/dl-machine.h: Likewise.
35332 * sysdeps/ia64/dl-machine.h: Likewise.
35333 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35334 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35335 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35336 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35337 * sysdeps/sh/dl-machine.h: Likewise.
35338 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35339 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35340 * sysdeps/unix/i386/sysdep.S: Likewise.
35341 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35342 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35347 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35352 * sysdeps/x86_64/dl-machine.h: Likewise.
35353 * tls.make.c: Likewise.
35355 * configure.in: Remove --with-__thread option. Make tests for
35356 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35357 tls_model attribute fail if no support is available. Remove
35359 * Makeconfig: Adjust for dropped configure option. All features are
35361 * Makerules: Likewise.
35362 * Versions.def: Likewise.
35363 * argp/argp-fmtstream.c: Likewise.
35364 * argp/argp-fmtstream.h: Likewise.
35365 * argp/argp-help.c: Likewise.
35366 * assert/assert.c: Likewise.
35367 * config.h.in: Likewise.
35368 * config.make.in: Likewise.
35369 * configure: Likewise.
35370 * configure.in: Likewise.
35371 * csu/Versions: Likewise.
35372 * csu/init.c: Likewise.
35373 * elf/tst-audit2.c: Likewise.
35374 * elf/tst-tls10.c: Likewise.
35375 * elf/tst-tls10.h: Likewise.
35376 * elf/tst-tls11.c: Likewise.
35377 * elf/tst-tls12.c: Likewise.
35378 * elf/tst-tls14.c: Likewise.
35379 * elf/tst-tlsmod11.c: Likewise.
35380 * elf/tst-tlsmod12.c: Likewise.
35381 * elf/tst-tlsmod13.c: Likewise.
35382 * elf/tst-tlsmod13a.c: Likewise.
35383 * elf/tst-tlsmod14a.c: Likewise.
35384 * elf/tst-tlsmod15b.c: Likewise.
35385 * elf/tst-tlsmod16a.c: Likewise.
35386 * elf/tst-tlsmod16b.c: Likewise.
35387 * elf/tst-tlsmod7.c: Likewise.
35388 * elf/tst-tlsmod8.c: Likewise.
35389 * elf/tst-tlsmod9.c: Likewise.
35390 * gmon/gmon.c: Likewise.
35391 * grp/fgetgrent_r.c: Likewise.
35392 * grp/putgrent.c: Likewise.
35393 * hurd/fopenport.c: Likewise.
35394 * include/libc-symbols.h: Likewise.
35395 * include/tls.h: Likewise.
35396 * intl/gettextP.h: Likewise.
35397 * intl/loadinfo.h: Likewise.
35398 * locale/global-locale.c: Likewise.
35399 * locale/localeinfo.h: Likewise.
35400 * mach/devstream.c: Likewise.
35401 * malloc/arena.c: Likewise.
35402 * malloc/set-freeres.c: Likewise.
35403 * misc/err.c: Likewise.
35404 * misc/getttyent.c: Likewise.
35405 * misc/mntent_r.c: Likewise.
35406 * posix/getopt.c: Likewise.
35407 * posix/wordexp.c: Likewise.
35408 * pwd/fgetpwent_r.c: Likewise.
35409 * resolv/Versions: Likewise.
35410 * resolv/res_hconf.c: Likewise.
35411 * shadow/fgetspent_r.c: Likewise.
35412 * shadow/putspent.c: Likewise.
35413 * stdio-common/printf_fphex.c: Likewise.
35414 * stdio-common/tmpfile.c: Likewise.
35415 * stdlib/abort.c: Likewise.
35416 * stdlib/fmtmsg.c: Likewise.
35417 * sunrpc/auth_unix.c: Likewise.
35418 * sunrpc/clnt_perr.c: Likewise.
35419 * sunrpc/clnt_tcp.c: Likewise.
35420 * sunrpc/clnt_udp.c: Likewise.
35421 * sunrpc/clnt_unix.c: Likewise.
35422 * sunrpc/openchild.c: Likewise.
35423 * sunrpc/svc_simple.c: Likewise.
35424 * sunrpc/svc_tcp.c: Likewise.
35425 * sunrpc/svc_udp.c: Likewise.
35426 * sunrpc/svc_unix.c: Likewise.
35427 * sunrpc/xdr.c: Likewise.
35428 * sunrpc/xdr_array.c: Likewise.
35429 * sunrpc/xdr_rec.c: Likewise.
35430 * sunrpc/xdr_ref.c: Likewise.
35431 * sunrpc/xdr_stdio.c: Likewise.
35433 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35435 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35437 2011-07-03 Andreas Jaeger <aj@suse.de>
35439 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35440 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35441 regenerate with gen-libm-tests.pl.
35443 2010-05-12 Petr Baudis <pasky@suse.cz>
35446 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35447 around j0() zero points by switching to j1().
35448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35453 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35455 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35457 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35460 Patch in part by Pavel Roskin <proski@gnu.org>.
35463 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35465 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35466 Free memory block if necessary.
35469 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35470 be NULL. Don't lock in this case.
35472 2011-09-09 Roland McGrath <roland@hack.frob.com>
35474 * elf/elf.h (ELFOSABI_GNU): New macro.
35475 (ELFOSABI_LINUX): Define to that.
35477 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35479 * string/strncat.c (strncat): Undef the symbol in case it has been
35480 defined in bits/string.h.
35482 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35484 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35486 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35489 2011-08-17 Andreas Jaeger <aj@suse.de>
35491 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35493 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35494 Ian Lance Taylor <iant@google.com>
35496 * math/libm-test.inc (lround_test): New testcase.
35497 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35499 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35501 * Makefile: Remove support for automatic cvs check-ins.
35502 * Makerules: Likewise.
35503 * config.make.in: Likewise.
35504 * configure.in: Likewise.
35505 * intl/Makefile: Likewise.
35506 * locale/Makefile: Likewise.
35507 * po/Makefile: Likewise.
35508 * posix/Makefile: Likewise.
35509 * sysdeps/gnu/Makefile: Likewise.
35510 * sysdeps/mach/hurd/Makefile: Likewise.
35511 * sysdeps/sparc/sparc32/Makefile: Likewise.
35514 * posix/Makefile (bug-regex32-ENV): Define.
35515 Patch by John Stanley <jpsinthemix@verizon.net>.
35517 * misc/Makefile (headers): Add bits/select2.h.
35518 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35519 * misc/bits/select2.h: New file.
35520 * include/bits/select2.h: New file.
35521 * debug/Makefile (routines): Add fdelt_chk.
35522 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35523 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35525 * debug/fdelt_chk.c: New file.
35527 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35528 * wcsmbs/test-wmemcmp.c: Likewise.
35529 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35530 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35532 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35534 * string/Makefile (strop-tests): Add memcmp.
35535 * string/test-wmemcmp.c: New file.
35536 * string/test-memcmp.c: Add wmemcmp support.
35538 2011-09-08 Roland McGrath <roland@hack.frob.com>
35541 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35544 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35545 garbage value in a __mach_port_mod_refs call in the cases of the
35546 task-self and thread-self ports.
35548 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35550 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35552 2011-09-08 Andreas Schwab <schwab@redhat.com>
35554 * elf/dl-load.c (lose): Check for non-null L.
35556 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35558 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35560 * elf/dl-libc.c (dlerror_run): Pass back error code from
35564 * elf/dl-load.c (lose): Free l_origin if it is valid.
35566 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35568 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35571 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35572 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35573 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35575 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35577 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35578 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35579 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35580 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35581 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35582 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35583 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35584 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35585 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35586 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35588 2011-08-15 Alan Modra <amodra@gmail.com>
35591 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35592 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35593 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35594 ppc_mcount to static-only-routines.
35595 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35597 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35598 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35600 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35602 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35603 for finite and infinity parameters.
35605 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35608 and add nop instructions for throughput optimization.
35609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35611 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35613 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35614 aligned copy for power7 with vector-scalar instructions.
35615 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35617 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35622 2011-09-07 Andreas Schwab <schwab@redhat.com>
35625 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35628 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35630 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35631 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35632 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35633 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35636 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35638 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35639 Forgot to demangle the pointer.
35641 * sysdeps/i386/sysdep.h: Define atom_text_section.
35642 * sysdeps/x86_64/sysdep.h: Likewise.
35643 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35644 section with atom_text_section.
35645 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35647 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35648 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35649 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35651 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35652 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35653 already be defined. Change to take two parameters and don't assign
35654 result to variable. Adjust all users.
35655 Define INTERNAL_GETTIME if not already defined.
35656 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35659 HAVE_CLOCK_GETTIME_VSYSCALL.
35660 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35662 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35663 gettimeofday vsyscall, just use time.
35665 2011-09-06 Andreas Schwab <schwab@redhat.com>
35667 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35670 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35672 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35674 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35676 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35677 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35678 syscall if possible.
35680 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35682 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35683 e_ident. Don't pass to find_mapsXX.
35684 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35686 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35689 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35690 * sysdeps/x86_64/multiarch/strchr.S: Update.
35691 Check bit_slow_BSF bit.
35692 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35693 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35694 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35696 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35699 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35701 (tryshell): Define.
35702 (__spawni): Change last parameter to be flag. Test
35703 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35704 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35705 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35706 * posix/spawni.c: Likewise.
35707 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35708 * posix/spawnp.c: Likewise. Change normal version to use
35709 SPAWN_XFLAGS_USE_PATH.
35710 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35711 SPAWN_XFLAGS_TRY_SHELL.
35714 * posix/glob.h: Remove gcc 1.x support.
35717 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35719 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35722 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35724 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35725 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35726 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35727 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35728 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35729 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35731 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35733 * sysdeps/x86_64/wcscmp.S: New file.
35735 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35736 wcscmp-c wcscmp-sse2
35737 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35738 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35740 * wcsmbs/wcscmp.c: Allow renaming.
35742 2011-09-05 David S. Miller <davem@davemloft.net>
35744 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35745 stack slot, rather than the struct return pointer slot.
35746 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35747 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35749 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35751 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35753 * po/ja.po: Update from translation team.
35756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35757 kernel in 64-bit binaries.
35759 2011-09-01 David S. Miller <davem@davemloft.net>
35761 * elf/elf.h (HWCAP_SPARC_*): Move to..
35762 * sysdeps/sparc/sysdep.h: this new file and add new values.
35763 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35764 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35765 _DL_HWCAP_COUNT to 24.
35766 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35768 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35769 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35770 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35772 instead of magic constants.
35773 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35775 2011-08-31 David S. Miller <davem@davemloft.net>
35777 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35779 Reimplement to do errno handling inline.
35780 (SYSCALL_ERROR_HANDLER): New macro.
35781 (__SYSCALL_STRING): Do not do errno handling in asm.
35782 (__CLONE_SYSCALL_STRING): Delete.
35783 (__INTERNAL_SYSCALL_STRING): Delete.
35784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35785 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35786 (PSEUDO): Reimplement to do errno handling inline.
35787 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35788 (SYSCALL_ERROR_HANDLER): New macro.
35789 (__SYSCALL_STRING): Do not do errno handling in asm.
35790 (__CLONE_SYSCALL_STRING): Delete.
35791 (__INTERNAL_SYSCALL_STRING): Delete.
35792 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35793 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35795 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35796 (inline_syscall*): Add 'err' argument.
35797 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35798 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35799 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35800 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35802 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35803 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35805 2011-08-30 Andreas Schwab <schwab@redhat.com>
35807 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35809 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35811 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35814 2011-08-24 David S. Miller <davem@davemloft.net>
35816 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35818 2011-08-24 Andreas Schwab <schwab@redhat.com>
35820 * elf/Makefile: Add rules to build and run unload8 test.
35821 * elf/unload8.c: New file.
35822 * elf/unload8mod1.c: New file.
35823 * elf/unload8mod1x.c: New file.
35824 * elf/unload8mod2.c: New file.
35825 * elf/unload8mod3.c: New file.
35827 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35830 2011-08-23 David S. Miller <davem@davemloft.net>
35832 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35833 subtract stack bias.
35834 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35835 %sp not %fp in calculations.
35836 (_JMPBUF_UNWINDS_ADJ): Likewise.
35838 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35839 (aio_suspend): Call it to force an exception region around the
35840 AIO_MISC_WAIT() invocation.
35842 2011-08-23 Andreas Schwab <schwab@redhat.com>
35844 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35847 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35849 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35851 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35852 and <dl-machine.h>.
35853 (Elf64_FuncDesc): Remove.
35855 2011-08-22 David S. Miller <davem@davemloft.net>
35857 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35858 sigaltstack check, add missing cfi directives.
35859 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35860 missing cfi directives, and sigaltstack handling.
35862 2011-08-16 Andreas Schwab <schwab@redhat.com>
35865 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35866 object is seen twice.
35867 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35869 * elf/Makefile (distribute): Add tst-initorder2.c.
35870 (tests): Add tst-initorder2.
35871 (modules-names): Add tst-initorder2a tst-initorder2b
35872 tst-initorder2c tst-initorder2d. Add rules to build them.
35873 ($(objpfx)tst-initorder2.out): New rule.
35874 * elf/tst-initorder2.c: New file.
35875 * elf/tst-initorder2.exp: New file.
35877 2011-08-22 Andreas Schwab <schwab@redhat.com>
35879 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35881 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35882 dependencies back to end of function.
35884 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35885 $(elfobjdir)/ld.so.
35887 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35890 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35892 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35893 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35894 of __vdso_gettimeofday.
35895 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35896 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35898 (_libc_vdso_platform_setup): Remove initialization of
35899 __vdso_gettimeofday and __vdso_time.
35901 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35903 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35904 and fgetc_unlocked.
35905 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35908 * elf/dl-open.c (add_to_global): Report additions to the global scope
35909 for LD_DEBUG=scopes.
35910 (dl_open_worker): Also print scope of newly loaded dependencies.
35911 (_dl_show_scope): Indicate if there is no scope.
35914 * stdio-common/Makefile (tests): Add bug24.
35915 * stdio-common/bug24.c: New file.
35917 2011-08-19 Andreas Jaeger <aj@suse.de>
35920 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35921 non-existant file when using close-on-exec mode.
35923 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35926 the very first instruction.
35928 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35929 the CFI state in the end.
35930 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35931 inclusion of dl-trampoline.h.
35932 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35934 2011-08-19 Andreas Schwab <schwab@redhat.com>
35936 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35937 expectations for long double.
35939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35940 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35942 2011-08-14 David S. Miller <davem@davemloft.net>
35944 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35945 artificual limit depends upon the system page size.
35947 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35949 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35950 * resolv/Makefile: Define CFLAGS-libresolv.
35952 2011-08-17 Andreas Schwab <schwab@redhat.com>
35954 * nss/makedb.c (compute_tables): Make variables used in nested
35957 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35959 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35960 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35961 if buffer was too small.
35963 * elf/pldd.c (main): Attach to all threads in the process.
35964 Rewrite /proc handling to use *at functions.
35966 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35968 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35969 specifies first scope to show.
35970 (dl_open_worker): Update callers. Move printing scope of new
35971 object to before the relocation.
35972 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35973 * sysdeps/generic/ldsodefs.h: Update declaration.
35975 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35976 string for the scope number.
35978 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35980 * nscd/servicescache.c (cache_addserv): Make sure written is always
35983 2011-08-14 Roland McGrath <roland@hack.frob.com>
35985 * sysdeps/i386/i486/bits/atomic.h
35986 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35987 statement expression, so as to suppress "set but not used" warning.
35988 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35990 * string/strncat.c (STRNCAT): Use prototype definition.
35992 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35993 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35995 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35996 (localedef-modules): Add localedef.
35997 (locale-modules): Add locale.
35999 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36000 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36001 to avoid a warning.
36003 2011-08-14 David S. Miller <davem@davemloft.net>
36005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36006 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36008 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36010 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36011 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36012 * elf/rtld.c (dl_main): Set l_name of vDSO.
36013 Call _dl_show_scope when DL_DEBUG_SCOPES.
36014 (process_dl_debug): Recognize scopes flag and also set it for all.
36015 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36016 Declare _dl_show_scope.
36018 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36019 (do_dlopen): Pass caller_dlopen to dl_open.
36020 (__libc_dlopen_mode): Initialize caller_dlopen.
36022 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36023 of libc. Make tolower call locale-independent. Optimize a bit by
36024 using isdigit instead of isalnum.
36025 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36027 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36029 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36030 was a dependency or dynamically loaded.
36032 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36034 * intl/l10nflist.c: Allow architecture-specific pop function.
36035 * sysdeps/x86_64/l10nflist.c: New file.
36037 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36040 2011-08-10 Andreas Schwab <schwab@redhat.com>
36042 * include/dirent.h: Add libc_hidden_proto for scandirat and
36043 scandirat64. Don't declare __scandirat64.
36044 * dirent/scandirat.c: Add libc_hidden_def.
36045 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36046 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36048 2011-08-10 David S. Miller <davem@davemloft.net>
36050 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36053 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36054 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36056 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36058 * Versions.def [libc]: Add GLIBC_2.15.
36059 * dirent/Makefile (routines): Add scandirat and scandirat64.
36060 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36062 * dirent/dirent.h: Declare scandirat and scandirat64.
36063 * dirent/scandirat.c: New file.
36064 * dirent/scandirat64.c: New file.
36065 * sysdeps/wordsize-64/scandirat.c: New file.
36066 * sysdeps/wordsize-64/scandirat64.c: New file.
36067 * dirent/opendir.c: Define opendirat.
36068 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36070 * dirent/scandir64.c: Adjust for scandir.c change.
36071 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36072 __scandirat64, and __scandir_cancel_handler.
36073 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36074 additional parameter and use openat instead of open (outside of ld.so).
36075 Add new __opendir as wrapper around __opendirat.
36076 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36077 here without requiring old scandirat implementation.
36079 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36081 * dirent/scandir.c (cancel_handler): Renamed to
36082 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36083 defined. Adjust users.
36084 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36085 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36087 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36089 * string/test-string.h (IMPL): Use __STRING to expand name and then
36092 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36095 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36097 * string/Makefile: Update.
36098 (strop-tests): Append strncat.
36099 * string/test-wcscmp.c: New file.
36100 New comprehensive test for wcscmp.
36101 * string/test-strcmp.c: Update.
36102 (WIDE): New define.
36104 2011-07-22 Andreas Schwab <schwab@redhat.com>
36106 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36109 2011-07-26 Andreas Schwab <schwab@redhat.com>
36111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36112 encoding to ACE if AI_IDN.
36114 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36117 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36119 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36121 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36122 Fix overflow bug in strncat.
36123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36125 * string/test-strncat.c: Update.
36126 Add new tests for checking overflow bugs.
36128 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36131 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36132 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36133 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36134 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36135 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36136 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36137 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36138 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36141 (USE_AS_STRCAT): Define.
36142 Add strcat and strncat support.
36143 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36145 2011-07-25 Andreas Schwab <schwab@redhat.com>
36147 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36148 __n bigger than INT_MAX+1.
36149 (__strncmp_g): Likewise.
36151 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36153 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36154 * libio/stido.h: Likewise.
36156 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36161 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36163 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36164 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36165 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36168 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36173 (_dl_x86_64_save_sse): Likewise.
36175 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36179 (_dl_x86_64_save_sse): Likewise.
36181 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36183 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36185 2011-07-21 Andreas Schwab <schwab@redhat.com>
36187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36189 (_dl_x86_64_save_sse): Use correct AVX check.
36191 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36193 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36194 bug in strncpy/strncat.
36195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36197 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36199 * string/tester.c (test_strcat): Add tests for different alignments
36200 of source and destination.
36201 (test_strncat): Likewise.
36203 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36206 * posix/glob.c (glob): Check passed in values before using them in
36207 expressions to avoid some overflows.
36208 (glob_in_dir): Likewise.
36211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36212 check for AVX enablement so that we don't crash with old kernels and
36214 * elf/tst-audit4.c: Add same checks here.
36215 * elf/tst-audit6.c: Likewise.
36217 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36219 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36221 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36223 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36225 * po/cs.po: Update from translation team.
36226 * po/bg.po: Likewise.
36228 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36230 * misc/sys/cdefs.h: Add support for const attribute.
36231 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36232 to gnu_dev_{major,minor,makedev} functions.
36234 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36236 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36238 2011-07-20 Andreas Schwab <schwab@redhat.com>
36240 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36243 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36245 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36246 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36247 register in order to avoid conflicts with the soft frame pointer
36248 being held in r11 when necessary.
36249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36250 (INTERNAL_VSYSCALL_NCS): Likewise.
36252 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36254 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36255 * elf/dl-fini.c (_dl_fini): Adjust caller.
36256 * elf/dl-close.c (_dl_close_worker): Likewise.
36257 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36259 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36261 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36262 "aux_cache->nlibs < 0".
36264 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36265 in the reload-count case.
36267 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36270 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36271 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36272 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36273 * sysdeps/x86_64/multiarch/strcat.S: New file.
36274 * sysdeps/x86_64/multiarch/strncat.S: New file.
36275 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36276 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36277 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36278 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36279 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36280 (USE_AS_STRCAT): Define.
36281 Add strcat and strncat support.
36282 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36284 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36285 * string/strncat.c: Update.
36286 (USE_AS_STRNCAT): Define.
36287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36288 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36290 * sysdeps/x86_64/multiarch/init-arch.h
36291 (bit_Prefer_PMINUB_for_stringop): New.
36292 (index_Prefer_PMINUB_for_stringop): Likewise.
36293 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36294 bit_Prefer_PMINUB_for_stringop.
36296 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36298 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36300 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36301 of casting of buffer.
36302 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36303 buffer32 and buffer64.
36304 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36305 writes instead of casting of buffer.
36306 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36308 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36311 2011-07-19 Andreas Schwab <schwab@redhat.com>
36313 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36315 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36317 * nscd/nscd.c (termination_handler): Don't do anything for a database
36318 if it has not yet been initialized.
36320 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36322 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36324 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36326 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36328 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36330 * po/nl.po: Update from translation team.
36331 * po/sv.po: Likewise.
36333 2011-07-16 Roland McGrath <roland@hack.frob.com>
36335 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36336 now disallowed by GCC.
36338 * configure.in (use-default-link): Default to yes if a test -shared
36339 link meets our qualifications.
36340 * configure: Regenerated.
36342 * config.make.in (output-format): New variable.
36343 * configure.in: Check for ld --print-output-format support.
36344 * configure: Regenerated.
36345 * Makerules ($(common-objpfx)format.lds)
36346 [$(output-format) != unknown]: Just use $(output-format),
36347 instead of the linker-script munging.
36349 2011-07-14 Roland McGrath <roland@hack.frob.com>
36351 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36352 of $(common-objpfx)shlib.lds.
36353 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36355 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36356 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36358 * configure.in (-z relro check): Adjust test code to add a large
36359 writable data section after it.
36360 * configure: Regenerated.
36362 2011-07-11 Roland McGrath <roland@hack.frob.com>
36364 * configure.in (-z relro check): Fix test code to make the variable
36366 * configure: Regenerated.
36368 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36370 * nscd/nscd.h (struct traced_file): Define.
36371 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36372 elements. Add traced_files.
36373 (inotify_fd): Declare.
36374 (register_traced_file): Declare.
36375 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36376 (inotify_fd): Export.
36377 (resolv_conf_descr): Remove.
36378 (nscd_init): Move inotify descriptor creation to main.
36379 Don't register files for notification here.
36380 (register_traced_file): New function.
36381 (invalidate_cache): Don't use reset_res to determine whether to call
36382 res_init, go through the list of registered files.
36383 (main_loop_poll): The inotify descriptors are now stored in the
36384 structures for the traced files.
36385 (main_loop_epoll): Likewise
36386 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36387 to __nss_disable_nscd.
36388 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36389 for a database anymore. Check the records for all the registered
36391 * nss/Makefile (libnss_files-routines): Add files-init.
36392 (libnss_db-routines): Add db-init.
36393 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36394 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36395 * nss/nss_db/db-init.c: New file.
36396 * nss/nss_files/files-init.c: New file.
36397 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36398 __nss_lookup_function.
36399 (__nss_lookup_function): Call nss_load_library.
36400 (nss_load_all_libraries): New function.
36401 (__nss_disable_nscd): Take parameter with callback function for files
36402 to register. Set is_nscd. Load all the DSOs for the NSS modules
36403 used for the cached services.
36404 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36405 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36406 options for features to all the files in nscd.
36408 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36410 2011-07-10 Roland McGrath <roland@hack.frob.com>
36412 * csu/elf-init.c (__libc_csu_init): Comment typo.
36414 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36416 * po/pl.po: Update from translation team.
36417 * po/ja.po: Likewise.
36418 * po/ru.po: Likewise.
36419 * po/ko.po: Likewise.
36420 * po/fr.po: Likewise.
36422 2011-07-09 Roland McGrath <roland@hack.frob.com>
36424 * configure.in (.ctors/.dtors header and trailer check):
36425 Use an empirical test on a built program.
36426 * configure: Regenerated.
36428 * configure.in (-z relro check): Use an empirical test on a built DSO.
36429 Detect, but do not require, on ia64.
36430 * configure: Regenerated.
36432 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36433 Update tests that use readelf to use $READELF instead.
36434 * configure: Regenerated.
36436 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36438 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36439 if the result is not used.
36441 2011-07-05 Andreas Jaeger <aj@suse.de>
36444 * stdlib/tst-strtod.c: Add testcase.
36446 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36448 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36449 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36450 The latter has a higher limit. Take additional parameter to pass to
36452 (__pathconf): Pass file to __statfs_link_max.
36453 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36455 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36459 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36460 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36462 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36463 (__statfs_filesize_max): Likewise.
36464 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36466 2011-07-05 Andreas Jaeger <aj@suse.de>
36468 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36470 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36472 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36474 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36477 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36479 * Makefile (strop-tests): Add strncat.
36480 * string/test-strncat.c: New file.
36482 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36484 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36486 2011-06-21 Andreas Jaeger <aj@suse.de>
36488 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36489 Copy rule from iconvdata/Makefile.
36491 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36494 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36495 but no long options are defined, just return 'W'.
36497 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36500 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36502 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36504 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36506 (innetgr): Likewise.
36508 2011-07-05 Roland McGrath <roland@hack.frob.com>
36510 * config.make.in (install_root): Default to $(DESTDIR).
36512 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36514 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36516 2011-07-02 Roland McGrath <roland@hack.frob.com>
36518 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36520 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36521 containing directory rather than embedding absolute directory names.
36523 * scripts/check-local-headers.sh: Rewritten using awk.
36524 Match by word, not by line. Print error messages for matches.
36525 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36527 * Makerules [shlib-lds-flags empty]:
36528 ($(common-objpfx)libc_pic.opts): New target.
36529 ($(common-objpfx)libc_pic.os.clean): New target.
36530 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36532 * config.make.in (OBJCOPY): New variable.
36533 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36534 * configure: Regenerated.
36536 * config.make.in (use-default-link): New variable.
36537 * configure.in (use_default_link): Grok --with-default-link to set it.
36538 * configure: Regenerated.
36539 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36540 (shlib-lds, shlib-lds-flags): Define to empty.
36542 * Makerules (shlib-lds): New variable.
36543 (shlib-lds-flags): New variable.
36544 (build-shlib, build-moduile, build-module-asneeded): Use it.
36545 ($(common-objpfx)libc.so): Use $(shlib-lds).
36546 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36547 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36549 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36550 DT_FLAGS/DT_FLAGS_1 with zero flags.
36552 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36553 linker script munging.
36555 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36557 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36559 * crypt/sha512.c (sha512_process_block): Perform total addition using
36560 128-bit if possible.
36561 (__sha512_finish_ctx): Likewise.
36562 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36564 * crypt/sha256.c (SWAP64): Define.
36565 (sha256_process_block): Perform total addition using 64-bit if
36567 (__sha256_finish_ctx): Likewise.
36569 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36571 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36573 * nscd/hstcache.c (cache_addhst): Likewise.
36574 * nscd/grpcache.c (cache_addgr): Likewise.
36575 * nscd/aicache.c (addhstaiX): Likewise
36576 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36578 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36580 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36581 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36582 * nscd/hstcache.c (cache_addhst): Likewise.
36583 * nscd/grpcache.c (cache_addgr): Likewise.
36584 * nscd/aicache.c (addhstaiX): Likewise
36586 2011-07-01 Andreas Schwab <schwab@redhat.com>
36588 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36589 domain only when needed.
36591 2011-06-30 Andreas Schwab <schwab@redhat.com>
36593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36594 is always restored.
36596 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36598 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36599 are re-adding the entry.
36600 * nscd/servicescache.c (cache_addserv): Likewise.
36602 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36604 * sysdeps/generic/dl-irel.h: fix protection against multiple
36606 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36608 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36611 * malloc/memusage.sh: Fix quoting in message.
36612 * debug/xtrace.sh: Likewise.
36614 * configure.in: Remove support for --experimental-malloc option, make
36616 * config.make.in: Likewise.
36617 * malloc/Makefile: Likewise.
36619 2011-06-27 Andreas Schwab <schwab@redhat.com>
36621 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36622 two-byte characters.
36624 2011-06-27 Roland McGrath <roland@hack.frob.com>
36626 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36627 AC_CACHE_CHECK invocation.
36628 * configure: Regenerated.
36630 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36632 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36635 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36636 bit from old_res_options.
36638 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36640 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36641 value type for setfct.
36643 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36646 __gettimeofday instead of gettimeofday.
36648 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36650 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36652 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36656 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36659 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36662 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36663 strcpy-sse2-unaligned strncpy-sse2-unaligned
36664 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36665 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36666 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36667 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36668 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36671 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36672 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36673 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36674 (STRCPY): Support SSE2 and SSSE3 versions.
36676 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36679 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36680 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36681 kernels which artificially limit size of requests.
36683 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36686 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36687 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36688 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36689 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36690 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36691 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36692 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36693 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36695 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36696 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36697 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36698 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36699 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36701 Enable unaligned load optimization for Intel Core i3, i5 and i7
36703 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36705 (index_Fast_Unaligned_Load): Define.
36706 (HAS_FAST_UNALIGNED_LOAD): Define.
36708 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36710 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36712 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36715 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36716 until it is clear that the information is realy needed.
36717 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36719 2011-06-22 Andreas Schwab <schwab@redhat.com>
36721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36723 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36726 /sys/devices/system/cpu/online if it is usable.
36728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36729 reading the information from the /proc filesystem to once a second.
36731 2011-06-21 Andreas Jaeger <aj@suse.de>
36733 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36734 NULL after inclusion of kernel headers.
36736 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36738 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36739 calls to internal_setent.
36742 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36743 addresses using gethostbyname4_r ignore IPv4 addresses.
36745 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36746 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36748 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36750 2011-06-20 David S. Miller <davem@davemloft.net>
36752 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36754 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36756 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36757 (elf_irel): Use it.
36758 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36759 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36760 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36761 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36762 * sysdeps/x86_64/dl-irel.h: Likewise.
36764 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36765 * elf/dl-sym.c: Likewise.
36767 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36769 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36770 need to dereference resplen2.
36772 2011-06-14 Andreas Schwab <schwab@redhat.com>
36774 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36776 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36778 * Makeconfig: Define vardbdir and inst_vardbdir.
36779 * nss/Makefile: Add rules to install db-Makefile.
36781 * nss/nss_db/db-XXX.c: Cleanup.
36783 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36784 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36786 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36787 * nss/makedb.c: Implement -g option to specify that value strings
36788 are generated and should not be added to table iterated over for
36790 * nss/nss_db/db-initgroups.c: New file.
36792 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36795 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36796 (internal_getgrouplist): Adjust to name change.
36797 Update use_initgroups_entry if this is not the first call.
36798 * nss/databases.def: Add initgroups entry.
36800 * nss/makedb.c (compute_tables): Check result of multiple hash table
36801 sizes to minimize maximum chain length.
36803 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36805 * Versions.def: Add entry for libnss_db.
36806 * shlib-versions: Likewise.
36807 * nss/Makefile: Add rules to build libnss_db.
36808 * nss/Versions: Add libnss_db information. Organize libnss_files
36810 * nss/db-Makefile: Add gshadow support. Change rules for the new
36811 makedb progra. Some minor improvements to generate smaller files.
36812 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36814 * nss/makedb.c: ...here.
36815 Improve database format to be smaller and require less memory at
36817 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36819 * nss/nss_db/db-netgrp.c: Likewise.
36820 * nss/nss_db/db-open.c: Likewise.
36821 * nss/nss_files/flies-XXX.x: Adjust comments.
36822 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36823 * nss/nss_files/files-grp.c: Likewise.
36824 * nss/nss_files/files-hosts.c: Likewise.
36825 * nss/nss_files/files-network.c: Likewise.
36826 * nss/nss_files/files-proto.c: Likewise.
36827 * nss/nss_files/files-pwd.c: Likewise.
36828 * nss/nss_files/files-rpc.c: Likewise.
36829 * nss/nss_files/files-service.c: Likewise.
36830 * nss/nss_files/files-sgrp.c: Likewise.
36831 * nss/nss_files/files-spwd.c: Likewise.
36832 * nss/nss_db/db-alias.c: Removed.
36833 * nss/nss_db/dummy-db.h: Removed.
36835 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36837 * nss/makedb.c: Rewritten to not use database library.
36838 * nss/Makefile: Update to build new makedb program.
36840 2011-06-14 Andreas Jaeger <aj@suse.de>
36842 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36843 memset declaration.
36845 2011-06-10 Andreas Schwab <schwab@redhat.com>
36847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36850 2011-06-10 Roland McGrath <roland@hack.frob.com>
36852 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36853 * elf/Makefile ($(objpfx)ld.so): Likewise.
36855 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36856 Don't list ld.so twice in dependencies.
36858 * posix/bug-regex31.c: Include <stdlib.h>.
36860 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36862 * nis/nss_compat/compat-spwd.c
36863 (getspent_next_nss_netgr): Remove unused variable.
36864 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36866 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36867 nonmembers" output to use the right array.
36869 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36871 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36873 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36874 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36875 * catgets/gencat.c (read_input_file): Likewise.
36876 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36878 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36879 variable definition inside #if's controlling its use.
36881 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36883 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36885 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36887 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36890 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36892 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36893 * configure: Regenerated.
36895 * Makerules: Revert last change.
36896 * elf/Makefile: Likewise.
36898 2011-06-09 Roland McGrath <roland@hack.frob.com>
36900 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36901 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36902 (reloc-link): Likewise.
36904 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36906 * elf/Makefile: Add rules to build pldd.
36907 * elf/pldd.c: New file.
36908 * elf/pldd-xx.c: New file.
36910 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36912 * version.h: Update for 2.15 development version.
36914 2011-06-07 David S. Miller <davem@davemloft.net>
36916 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36918 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36919 elf_machine_lazy_rel): Likewise.
36920 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36922 elf_machine_lazy_rel): Likewise.
36923 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36924 dl_hwcap via passed in argument.
36925 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36928 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36930 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36932 2011-06-06 Roland McGrath <roland@hack.frob.com>
36935 * manual/fdl-1.1.texi: New file, verbatim from:
36936 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36937 * manual/lgpl-2.1.texi: New file, verbatim from:
36938 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36939 * manual/Makefile (licenses): New variable, list those new file names.
36941 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36943 * manual/fdl.texi: File removed.
36944 * manual/lesser.texi: File removed.
36945 * manual/libc.texinfo (Copying, Documentation License):
36946 Use new @include file names, put @appendix directive before @include.
36948 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36951 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36952 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36953 (mq_open): Add __NTH.
36955 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36958 Assume Intel Core i3/i5/i7 processor if AVX is available.
36960 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36965 2011-05-31 Andreas Schwab <schwab@redhat.com>
36967 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36968 memory. Use alloca_account. Fix memory leak when retrying.
36970 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36972 * version.h (RELEASE): Bump for 2.14 release.
36973 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36975 * config.make.in (RANLIB): Remove entry.
36977 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36979 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36980 (libc.pot): Work around missing support for .ksh extension in xgettext.
36983 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36984 if both request failed.
36985 (send_dg): In case of server errors clear resplen or *resplen2.
36988 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36989 when there are multiple maps.
36990 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36991 (_dl_fini): Remove test here.
36993 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36995 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36998 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36999 bit from old_res_options.
37000 (gaih_inet): Likewise.
37003 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37006 * resolv/res_init.c (res_setoptions): Make the code more compact.
37009 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37013 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37015 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37018 * malloc/malloc.h: Declare malloc hook variables as volatile.
37020 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37024 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37025 raise in the comment.
37026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37027 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37028 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37030 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37033 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37034 grow the buffers more if it already has to be sufficient.
37035 (build_wcs_upper_buffer): Likewise.
37036 * posix/regexec.c (check_matching): Likewise.
37037 (clean_state_log_if_needed): Likewise.
37038 (extend_buffers): Don't enlarge buffers beyond size of the input
37040 Patches mostly by Emil Wojak <emil@wojak.eu>.
37041 * posix/bug-regex32.c: New file.
37042 * posix/Makefile (tests): Add bug-regex32.
37044 * locale/findlocale.c (_nl_find_locale): Return right away if
37045 _nl_explode_name failed.
37046 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37048 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37050 * debug/xtrace.sh: Unify messages.
37051 * malloc/memusage.sh: Likewise.
37054 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37055 time symbol from vDSO. Substitute with vsyscall if not available.
37056 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37059 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37060 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37061 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37062 Add sendmmsg and internal_sendmmsg.
37063 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37064 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37065 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37067 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37068 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37069 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37071 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37074 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37075 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37077 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37081 * iconvdata/Makefile (tests): Add bug-iconv9.
37082 * iconvdata/bug-iconv9.c: New file.
37084 2011-05-27 Andreas Schwab <schwab@redhat.com>
37087 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37089 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37091 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37092 (struct user_regs_struct): Change intcs field back to cs.
37094 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37096 * po/ja.po: Update from translation team.
37098 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37101 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37102 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37104 2011-05-20 Andreas Schwab <schwab@redhat.com>
37106 * stdlib/longlong.h: Update from GCC.
37108 2011-05-23 Andreas Schwab <schwab@redhat.com>
37110 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37112 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37113 Add parameter name.
37114 (__sysconf): Pass it down.
37116 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37119 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37121 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37122 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37123 add in in __libc_use_alloca calls. Adjust callers.
37124 (glob): Use malloc in some situations.
37126 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37127 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37130 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37132 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37133 and CLOCK_BOOTTIME_ALARM.
37136 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37139 * string/_strerror.c (__strerror_r): Print negative errors as signed
37143 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37144 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37145 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37147 * configure.in: Fix typo in redirection and correct removal of test
37148 files in two cases.
37151 * locale/setlocale.c (new_composite_name): Fix test to check for
37152 identical name of all categories.
37155 * libio/filedoalloc.c (local_isatty): New function.
37156 (_IO_file_doallocate): Use local_isatty.
37157 * stdio-common/perror.c (perror): In case a new stream is used
37158 forward the stream error.
37159 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37162 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37167 * include/alloca.h (extend_alloca_account): Define.
37170 * posix/regex.h: Fix comments with documentation of user-accessible
37171 fields after compilation and describe correct free'ing of pattern
37172 after re_compile_pattern.
37173 Patch by Reuben Thomas <rrt@sc3d.org>.
37175 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37177 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37178 and -mno-altivec to prevent the compiler from using Altivec and/or
37179 VSX instructions when the corresponding registers are not available.
37181 2011-05-19 Andreas Schwab <schwab@redhat.com>
37183 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37185 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37187 * libio/freopen.c (freopen): Use __dup2, not dup2.
37188 * libio/freopen64.c (freopen64): Likewise.
37190 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37193 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37194 * math/Makefile (tests): Add test-powl.
37195 (CFLAGS-test-powl.c): Define.
37196 * math/test-powl.c: New file.
37198 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37200 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37202 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37205 * iconvdata/gb18030.c: Update to GB18020-2005.
37207 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37209 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37210 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37211 Patch by Aharon Robbins <arnold@skeeve.com>.
37214 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37218 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37219 through underflows.
37222 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37223 point to strings before performing equality test for error_one_per_line
37227 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37230 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37231 (struct user_fpregs_struct): Avoid __uint*_t types.
37234 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37235 symbol info. Use it instead of calling _dl_addr locally.
37236 (lock_and_info): New function.
37237 (tr_freehook): Call lock_and_info and pass symbol info as additional
37238 parameter to tr_where.
37239 (tr_mallochook): Likewise.
37240 (tr_reallochook): Likewise.
37241 (tr_memalignhook): Likewise.
37243 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37244 used and couldn't be at all thread-safe.
37246 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37248 * libio/freopen.c (freopen): Don't close old file descriptor
37249 before the new one is opened. Instead dup the new file descriptor
37250 to the old one after the new stream is created.
37251 * libio/freopen64.c (freopen64): Likewise.
37252 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37253 * libio/fileops.c (_IO_new_file_close_it): Handle new
37254 _IO_FLAGS2_NOCLOSE flag.
37255 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37256 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37257 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37258 _IO_FLAGS2_NOCLOSE flag.
37259 * include/unistd.h: Add hidden_proto for dup3.
37260 Define __have_dup3.
37261 * io/dup3.c: Define hidden symbol.
37262 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37265 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37266 when an incomplete long option is used.
37267 * posix/tst-getopt_long1.c: New file.
37268 * posix/Makefile (tests): Add tst-getopt_long1.
37271 * scripts/config.guess: Update from autoconf-2.68.
37272 * scripts/config.sub: Likewise.
37275 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37277 (has_cpuclock): ...this. New function.
37278 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37279 macro here based on has_cpuclock code.
37282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37283 First byte (not low byte) is now always NUL.
37284 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37287 Use non-cancelable interfaces.
37290 * locale/iso-639.def: Add entry for Sorani.
37293 * include/stdlib.h: Move include protection to the right place.
37294 Define abort_msg_s. Declare __abort_msg with it.
37295 * stdlib/abort.c (__abort_msg): Adjust type.
37296 * assert/assert.c (__assert_fail_base): New function. Majority
37297 of code from __assert_fail. Allocate memory for __abort_msg with
37299 (__assert_fail): Now call __assert_fail_base.
37300 * assert/assert-perr.c: Remove bulk of implementation. Use
37301 __assert_fail_base.
37302 * include/assert.hL Declare __assert_fail_base.
37303 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37305 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37307 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37311 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37312 until all modules are registered in the DTV.
37313 * elf/Makefile: Add rules to build and run tst-tls19.
37314 * elf/tst-tls19.c: New file.
37315 * elf/tst-tls19mod1.c: New file.
37316 * elf/tst-tls19mod2.c: New file.
37317 * elf/tst-tls19mod3.c: New file.
37318 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37321 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37325 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37326 two-byte sequence errors.
37327 * iconvdata/Makefile (tests): Add bug-iconv8.
37328 * iconvdata/bug-iconv8.c: New file.
37331 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37334 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37337 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37338 (dummy_getcfa): New function.
37339 (init): Get _Unwind_GetCFA address, use dummy if not found.
37340 (backtrace_helper): In recursion check, also check whether CFA changes.
37341 (__backtrace): Completely initialize arg.
37343 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37344 storing incomplete byte sequence in state object. Avoid testing for
37345 guaranteed too small input if we know there is enough data available.
37347 2011-05-11 Andreas Schwab <schwab@redhat.com>
37349 * Makeconfig (+link-pie): Indent.
37350 * Rules (binaries-pie): Define if $(have-fpie) and
37352 (binaries-shared): Also filter out $(binaries-pie).
37353 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37354 * nscd/Makefile (others-pie): Add nscd.
37355 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37356 ($(objpfx)nscd): Remove command override.
37357 * login/Makefile (others-pie): Add pt_chown.
37358 ($(objpfx)pt_chown): Remove command override.
37359 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37360 remove command overrides.
37362 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37364 * libio/tst_putwc.c: Fix error messages.
37367 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37368 currently writing and seek to current position when not.
37369 * libio/Makefile (tests): Add bug-fclose1.
37370 * libio/bug-fclose1.c: New file.
37372 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37375 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37376 don't set DF_1_NODELETE here.
37377 (do_lookup_x): When entering new entry test for copy relocation
37378 and if necessary set DF_1_NODELETE flag.
37379 * elf/tst-unique4.cc: New file.
37380 * elf/tst-unique4.h: New file.
37381 * elf/tst-unique4lib.cc: New file.
37382 * elf/Makefile: Add rules to build and run tst-unique4.
37383 Patch by Piotr Bury <pbury@goahead.com>.
37385 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37388 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37391 * misc/mntent_r.c (addmntent): Flush the stream after the output
37394 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37395 (is_trusted_path_normalize): Skip initial colon. Append slash
37396 to empty buffer. Duplicate is_trusted_path code but allow
37397 constructed patch to be prefix.
37398 (is_dst): Allow $ORIGIN followed by /.
37399 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37400 Correct testing of result of is_trusted_path_normalize
37401 (decompose_rpath): Fix warning.
37403 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37406 * grp/initgroups.c (internal_getgrouplist): When we found the service
37407 list through the initgroups entry in nsswitch.conf do not always
37408 continue on a successful lookup. Don't always use the
37409 __nss_group_database value if it is set.
37410 * nss/nsswitch.conf (initgroups): Change action for successful db
37411 lookup to continue for compatibility.
37413 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37416 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37418 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37420 * iconvdata/tst-tables.sh: Likewise.
37421 * iconvdata/cp770.c: New file.
37422 * iconvdata/cp771.c: New file.
37423 * iconvdata/cp772.c: New file.
37424 * iconvdata/cp773.c: New file.
37425 * iconvdata/cp774.c: New file.
37426 * iconvdata/testdata/CP770: New file.
37427 * iconvdata/testdata/CP770..UTF8: New file.
37428 * iconvdata/testdata/CP771: New file.
37429 * iconvdata/testdata/CP771..UTF8: New file.
37430 * iconvdata/testdata/CP772: New file.
37431 * iconvdata/testdata/CP772..UTF8: New file.
37432 * iconvdata/testdata/CP773: New file.
37433 * iconvdata/testdata/CP773..UTF8: New file.
37434 * iconvdata/testdata/CP774: New file.
37435 * iconvdata/testdata/CP774..UTF8: New file.
37437 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37439 * iconvdata/gen-8bit-gap.sh: Likewise.
37440 * iconvdata/gen-8bit.sh: Likewise.
37442 * locale/iso-639.def: Add ary entry.
37445 * locale/C-translit.h.in: Add U20A1 transliteration.
37448 * locale/iso-639.def: Add wae entry.
37449 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37452 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37456 * locale/C-translit.h.in: Add entry for U20B9.
37457 Patch by pravin.d.s@gmail.com.
37459 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37462 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37463 ENAMETOOLONG use generic getcwd.
37464 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37465 in rtld. Use *stat64.
37466 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37467 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37468 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37469 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37470 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37471 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37472 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37473 __fstatat64 macros.
37474 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37475 * dirent/rewinddir.c: Add libc_hidden_def.
37476 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37477 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37479 * include/dirent.h (__alloc_dir): Add flags parameter.
37480 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37481 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37483 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37484 from fdopendir if O_CLOEXEC is already set.
37486 2011-03-15 Alan Modra <amodra@gmail.com>
37488 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37489 l_tls_firstbyte_offset non-zero. Save padding offset in
37490 l_tls_firstbyte_offset for later use.
37491 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37492 freeing static tls block.
37494 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37496 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37497 where #ifdef was intended. The intent is to prevent ARG_MAX from
37498 being defined by the kernel headers.
37500 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37503 * resolv/resolv.h: Define RES_NOTLDQUERY.
37504 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37505 no-tld-query and set RES_NOTLDQUERY.
37506 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37507 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37508 modern BIND to search name as TLD unless forbidden.
37510 2011-05-07 Petr Baudis <pasky@suse.cz>
37511 Ulrich Drepper <drepper@gmail.com>
37514 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37515 (is_trusted_path): ...to here.
37516 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37517 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37518 using is_trusted_path_normalize() in setuid scripts.
37520 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37522 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37523 __BEGIN/__END_DECLS.
37525 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37527 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37528 NSS_STATUS_NOTFOUND if no record was found.
37530 2011-05-05 Andreas Schwab <schwab@redhat.com>
37532 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37533 (headers-not-in-tirpc): Remove rpc/netdb.h
37534 * resolv/netdb.h: Revert last change.
37536 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37538 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37539 circular dependency between libgcc.a and libc.a.
37541 2011-05-05 Andreas Schwab <schwab@redhat.com>
37543 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37544 * nis/Makefile: Don't install rpcsvc/*.
37545 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37546 instead of <rpc/types.h>.
37547 (MAXHOSTNAMELEN): Define.
37549 2011-05-03 Andreas Schwab <schwab@redhat.com>
37551 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37553 2011-04-28 Maciej Babinski <mbabinski@google.com>
37556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37557 gethostbyname4_r when IPv6 results are possible.
37559 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37562 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37563 _PC_PIPE_BUF handling.
37565 2011-04-30 Bruno Haible <bruno@clisp.org>
37568 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37569 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37571 * inet/getnameinfo.c (getnameinfo): Likewise.
37573 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37575 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37576 to groups setting in database lookup.
37577 * nss/nsswitch.conf: Add initgroups entry.
37579 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37582 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37584 Patch by Eric Blake <eblake@redhat.com>.
37586 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37588 * sunrpc/Makefile (need-export-routines): Add svc_run.
37589 (routines): Remove svc_run.
37590 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37591 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37592 * sunrpc/svc_run.c (svc_run): Likewise.
37593 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37595 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37597 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37598 problem in reallocation in last patch.
37600 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37602 * sunrpc/Makefile: Move inclusion of Rules.
37604 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37606 * nss/nss_files/files-initgroups.c: New file.
37607 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37608 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37609 _nss_files_initgroups_dyn.
37611 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37613 * elf/elf.h (R_ARM_IRELATIVE): Define.
37615 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37617 * po/ru.po: Update from translation team.
37619 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37621 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37624 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37628 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37630 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37633 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37635 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37637 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37638 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37639 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37641 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37644 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37646 * stdlib/bug-getcontext.c: New file.
37647 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37649 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37651 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37652 instructions into .machine "z9-109".
37653 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37654 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37656 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37658 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37659 between environment variables and auxiliary vector.
37661 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37663 * Makefile: Add rules to build linkobj/libc.so.
37664 * include/libc-symbols.h: Define libc_hidden_nolink.
37665 * include/rpc/auth.h: Mark functions which are to be hidden.
37666 * include/rpc/auth_des.h: Likewise.
37667 * include/rpc/auth_unix.h: Likewise.
37668 * include/rpc/clnt.h: Likewise.
37669 * include/rpc/des_crypt.h: Likewise.
37670 * include/rpc/key_prot.h: Likewise.
37671 * include/rpc/pmap_clnt.h: Likewise.
37672 * include/rpc/pmap_prot.h: Likewise.
37673 * include/rpc/pmap_rmt.h: Likewise.
37674 * include/rpc/rpc_msg.h: Likewise.
37675 * include/rpc/svc.h: Likewise.
37676 * include/rpc/svc_auth.h: Likewise.
37677 * include/rpc/xdr.h: Likewise.
37678 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37679 * nss/Makefile: Likewise.
37680 * sunrpc/Makefile: Don't install headers. Build library with normal
37681 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37682 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37683 for the compat linking library. Remove use of INTDEF/INTUSE.
37684 * sunrpc/auth_none.c: Likewise.
37685 * sunrpc/auth_unix.c: Likewise.
37686 * sunrpc/authdes_prot.c: Likewise.
37687 * sunrpc/authuxprot.c: Likewise.
37688 * sunrpc/clnt_gen.c: Likewise.
37689 * sunrpc/clnt_perr.c: Likewise.
37690 * sunrpc/clnt_raw.c: Likewise.
37691 * sunrpc/clnt_simp.c: Likewise.
37692 * sunrpc/clnt_tcp.c: Likewise.
37693 * sunrpc/clnt_udp.c: Likewise.
37694 * sunrpc/clnt_unix.c: Likewise.
37695 * sunrpc/des_crypt.c: Likewise.
37696 * sunrpc/des_soft.c: Likewise.
37697 * sunrpc/get_myaddr.c: Likewise.
37698 * sunrpc/key_call.c: Likewise.
37699 * sunrpc/key_prot.c: Likewise.
37700 * sunrpc/netname.c: Likewise.
37701 * sunrpc/pm_getmaps.c: Likewise.
37702 * sunrpc/pm_getport.c: Likewise.
37703 * sunrpc/pmap_clnt.c: Likewise.
37704 * sunrpc/pmap_prot.c: Likewise.
37705 * sunrpc/pmap_prot2.c: Likewise.
37706 * sunrpc/pmap_rmt.c: Likewise.
37707 * sunrpc/publickey.c: Likewise.
37708 * sunrpc/rpc_cmsg.c: Likewise.
37709 * sunrpc/rpc_common.c: Likewise.
37710 * sunrpc/rpc_dtable.c: Likewise.
37711 * sunrpc/rpc_prot.c: Likewise.
37712 * sunrpc/rpc_thread.c: Likewise.
37713 * sunrpc/rtime.c: Likewise.
37714 * sunrpc/svc.c: Likewise.
37715 * sunrpc/svc_auth.c: Likewise.
37716 * sunrpc/svc_authux.c: Likewise.
37717 * sunrpc/svc_raw.c: Likewise.
37718 * sunrpc/svc_run.c: Likewise.
37719 * sunrpc/svc_simple.c: Likewise.
37720 * sunrpc/svc_tcp.c: Likewise.
37721 * sunrpc/svc_udp.c: Likewise.
37722 * sunrpc/svc_unix.c: Likewise.
37723 * sunrpc/svcauth_des.c: Likewise.
37724 * sunrpc/xcrypt.c: Likewise.
37725 * sunrpc/xdr.c: Likewise.
37726 * sunrpc/xdr_array.c: Likewise.
37727 * sunrpc/xdr_float.c: Likewise.
37728 * sunrpc/xdr_intXX_t.c: Likewise.
37729 * sunrpc/xdr_mem.c: Likewise.
37730 * sunrpc/xdr_rec.c: Likewise.
37731 * sunrpc/xdr_ref.c: Likewise.
37732 * sunrpc/xdr_sizeof.c: Likewise.
37733 * sunrpc/xdr_stdio.c: Likewise.
37735 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37738 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37739 * sysdeps/ia64/dl-tls.h: Likewise.
37740 * sysdeps/powerpc/dl-tls.h: Likewise.
37741 * sysdeps/s390/dl-tls.h: Likewise.
37742 * sysdeps/sh/dl-tls.h: Likewise.
37743 * sysdeps/sparc/dl-tls.h: Likewise.
37744 * sysdeps/x86_64/dl-tls.h: Likewise.
37745 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37747 2011-03-14 Andreas Schwab <schwab@redhat.com>
37749 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37750 rpath element also skip the following colon.
37751 (expand_dynamic_string_token): Add is_path parameter and pass
37752 down to DL_DST_REQUIRED and _dl_dst_substitute.
37753 (decompose_rpath): Call expand_dynamic_string_token with
37754 non-zero is_path. Ignore empty rpaths.
37755 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37758 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37763 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37766 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37767 Patch by Filipe David Manana <fdmanana@apache.org>.
37769 2011-04-07 Andreas Schwab <schwab@redhat.com>
37771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37772 Maintain aligned stack.
37773 (CHECK_RSP): Remove unused macro.
37775 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37777 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37778 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37780 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37782 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37784 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37786 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37789 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37790 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37791 * sysdeps/x86_64/memmove.c: New file.
37792 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37793 (memcpy): Renamed to ...
37794 (__new_memcpy): This.
37795 (memcpy): Provide GLIBC_2_14 memcpy.
37796 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37797 (memcpy): Provide GLIBC_2_2_5 memcpy.
37799 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37802 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37804 2011-03-30 Andreas Schwab <schwab@redhat.com>
37806 * misc/syncfs.c: New file.
37807 * misc/Makefile (routines): Add syncfs.
37808 * posix/unistd.h: Declare syncfs.
37809 * sysdeps/unix/syscalls.list: Add syncfs.
37811 2011-04-01 Andreas Schwab <schwab@redhat.com>
37813 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37815 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37820 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37823 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37825 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37827 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37829 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37831 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37833 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37834 sync_file_range.c with -fexceptions.
37835 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37836 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37837 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37838 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37839 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37840 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37842 sync_file_range as cancellation point
37843 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37844 now a wrapper around __call_sync_file_range with cancellation handling.
37845 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37846 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37847 function name to __call_sync_file_range.
37848 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37849 Add call_sync_file_range.
37851 2011-04-01 Andreas Schwab <schwab@redhat.com>
37853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37856 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37858 * iconv/iconv.h: Fix typo in comment.
37859 * io/fcntl.h: Likewise.
37860 * libio/stdio.h: Likewise.
37861 * posix/spawn.h: Likewise.
37862 * posix/unistd.h: Likewise.
37863 * stdlib/stdlib.h: Likewise.
37864 * time/time.h: Likewise.
37865 * wcsmbs/wchar.h: Likewise.
37867 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37868 open_by_handle): Add.
37869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37870 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37871 Augment a few comments.
37872 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37874 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37875 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37877 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37880 * io/fcntl.h (AT_EMPTY_PATH): Define.
37882 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37884 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37885 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37886 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37888 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37889 * Versions.def: Add GLIBC_2.14.
37890 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37893 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37895 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37897 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37899 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37902 * string/test-strncmp.c (do_page_test): New function.
37903 (check2): Likewise.
37904 (test_main): Call check2.
37905 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37907 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37910 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37911 Handle cache information in CPU leaf 4.
37912 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37914 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37917 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37918 character representation.
37919 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37921 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37923 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37924 END(__isnan) to END(__isnanf) to match function entry point/label
37925 EALIGN(__isnanf,...).
37927 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37929 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37931 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37934 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37935 copy from the symbol referenced in the relocation to initialize the
37937 Patch by Piotr Bury <pbury@goahead.com>.
37938 * elf/Makefile: Add rules to build and tst-unique3.
37939 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37940 * elf/tst-unique3.cc: New file.
37941 * elf/tst-unique3.h: New file.
37942 * elf/tst-unique3lib.cc: New file.
37943 * elf/tst-unique3lib2.cc: New file.
37945 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37947 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37949 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37950 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37953 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37955 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37956 to-be-loaded object along a path to loader is ld.so.
37958 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37959 Ulrich Drepper <drepper@gmail.com>
37961 * sysdeps/x86_64/memset.S: After aligning destination, code
37962 branches to different locations depending on the value of
37963 misalignment, when multiarch is enabled. Fix this.
37965 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37967 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37968 Set _x86_64_preferred_memory_instruction for AMD processsors.
37969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37970 Set bit_Prefer_SSE_for_memop for AMD processors.
37972 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37974 * libio/fmemopen.c (fmemopen): Optimize a bit.
37976 2011-03-03 Andreas Schwab <schwab@redhat.com>
37978 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37980 2011-03-03 Roland McGrath <roland@redhat.com>
37982 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37984 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37986 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37987 __bzero_ultra1 instead of __memset_ultra1.
37989 2011-02-23 Andreas Schwab <schwab@redhat.com>
37990 Ulrich Drepper <drepper@gmail.com>
37993 * include/link.h (struct link_map): Add l_orig_initfini.
37994 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37995 returning unsuccessfully.
37996 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37997 close of a file loaded at startup, restore the original l_initfini
37999 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38000 list, store the pointer.
38001 * elf/Makefile ($(objpfx)noload-mem): New rule.
38002 (noload-ENV): Define.
38003 (tests): Add $(objpfx)noload-mem.
38004 * elf/noload.c: Include <memcheck.h>.
38005 (main): Call mtrace. Close all opened handles.
38007 2011-02-17 Andreas Schwab <schwab@redhat.com>
38010 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38011 dependencies are missing.
38013 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38015 Fix __if_freereq crash: Unlike the generic version which uses free,
38017 * sysdeps/mach/hurd/ifreq.h: New file.
38019 2011-01-27 Petr Baudis <pasky@suse.cz>
38020 Ulrich Drepper <drepper@gmail.com>
38023 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38024 to extend_alloca().
38025 * stdio-common/bug23.c: New file.
38026 * stdio-common/Makefile (tests): Add bug23.
38028 2010-09-28 Andreas Schwab <schwab@redhat.com>
38029 Ulrich Drepper <drepper@gmail.com>
38032 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38033 before performing relro protection. At old place add assertion
38034 to make sure nothing changed.
38036 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38037 Glauber de Oliveira Costa <glommer@gmail.com>
38039 * elf/elf.h: Add new ARM TLS relocs.
38041 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38044 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38046 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38048 * sysdeps/wordsize-64/tst-writev.c: New file.
38050 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38052 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38053 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38054 insns in _dl_start to prevent a TOC reference before relocs are
38057 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38060 * Makeconfig: Remove RANLIB definition.
38061 * Makerules: Don't use RANLIB.
38062 * aclocal.m4: Remove ranlib test.
38063 * configure.in: No need to check for ranlib.
38064 * elf/rtld-Rules: Don't use RANLIB.
38066 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38068 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38070 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38071 inclusion protection macro.
38073 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38074 SIGRTMIN and SIGRTMAX and print information in that case only when
38075 SIGRTMIN is defined.
38077 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38079 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38080 arginfo fn returning -1.
38082 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38083 and thousands string is zero terminated.
38085 2011-02-03 Andreas Schwab <schwab@redhat.com>
38087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38088 sysdeps/unix/sysv/linux/bits/socket.h.
38090 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38092 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38093 (__CPU_COUNT): Remove old macros.
38094 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38095 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38096 (__CPU_ALLOC, __CPU_FREE): Add macros.
38097 (__sched_cpualloc, __sched_cpufree): Add declarations.
38099 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38101 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38102 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38103 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38104 (readdhstai): Return value of addhstaiX call.
38105 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38106 (addgrbyX): Return value returned by cache_addgr.
38107 (readdgrbyname): Return value returned by addgrbyX.
38108 (readdgrbygid): Likewise.
38109 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38110 (addpwbyX): Return value returned by cache_addpw.
38111 (readdpwbyname): Return value returned by addhstbyX.
38112 (readdpwbyuid): Likewise.
38113 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38114 (addservbyX): Return value returned by cache_addserv.
38115 (readdservbyname): Return value returned by addservbyX:
38116 (readdservbyport): Likewise.
38117 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38118 (addhstbyX): Return value returned by cache_addhst.
38119 (readdhstbyname): Return value returned by addhstbyX.
38120 (readdhstbyaddr): Likewise.
38121 (readdhstbynamev6): Likewise.
38122 (readdhstbyaddrv6): Likewise.
38123 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38124 (readdinitgroups): Return value returned by addinitgroupsX.
38125 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38126 (prune_cache): Keep track of timeout value of re-added entries.
38127 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38128 * nscd/nscd.h: Adjust prototypes of readd* functions.
38130 2011-02-04 Roland McGrath <roland@redhat.com>
38132 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38133 (nis_stats): Likewise.
38134 * nis/nis_modify.c (nis_modify): Likewise.
38135 * nis/nis_remove.c (nis_remove): Likewise.
38136 * nis/nis_add.c (nis_add): Likewise.
38138 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38140 * posix/fnmatch_loop.c: Add some consts.
38142 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38144 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38147 * config.make.in (config-cflags-novzeroupper): Define.
38148 * configure.in: Substitute libc_cv_cc_novzeroupper.
38149 * elf/Makefile (AVX-CFLAGS): Define.
38150 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38151 (CFLAGS-tst-auditmod4a.c): Likewise.
38152 (CFLAGS-tst-auditmod4b.c): Likewise.
38153 (CFLAGS-tst-auditmod6b.c): Likewise.
38154 (CFLAGS-tst-auditmod6c.c): Likewise.
38155 (CFLAGS-tst-auditmod7b.c): Likewise.
38156 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38158 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38160 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38161 function to the callback.
38162 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38164 2011-02-02 Andreas Schwab <schwab@redhat.com>
38166 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38169 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38172 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38174 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38176 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38179 * elf/Makefile: Add rules to build and run new test.
38180 * elf/tst-initorder.c: New file.
38181 * elf/tst-initorder.exp: New file.
38182 * elf/tst-initordera1.c: New file.
38183 * elf/tst-initordera2.c: New file.
38184 * elf/tst-initordera3.c: New file.
38185 * elf/tst-initordera4.c: New file.
38186 * elf/tst-initorderb1.c: New file.
38187 * elf/tst-initorderb2.c: New file.
38188 * elf/tst-order-a1.c: New file.
38189 * elf/tst-order-a2.c: New file.
38190 * elf/tst-order-a3.c: New file.
38191 * elf/tst-order-a4.c: New file.
38192 * elf/tst-order-b1.c: New file.
38193 * elf/tst-order-b2.c: New file.
38194 * elf/tst-order-main.c: New file.
38195 New test case by George Gensure <werkt0@gmail.com>.
38197 2010-10-01 Andreas Schwab <schwab@redhat.com>
38199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38200 decoding ACE if AI_CANONIDN.
38202 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38204 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38206 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38208 * version.h (RELEASE): Bump for 2.13 release.
38209 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38211 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38213 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38215 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38216 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38217 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38220 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38222 * posix/getconf.c: Update copyright year.
38223 * catgets/gencat.c: Likewise.
38224 * csu/version.c: Likewise.
38225 * debug/catchsegv.sh: Likewise.
38226 * debug/xtrace.sh: Likewise.
38227 * elf/ldconfig.c: Likewise.
38228 * elf/ldd.bash.in: Likewise.
38229 * elf/sprof.c (print_version): Likewise.
38230 * iconv/iconv_prog.c: Likewise.
38231 * iconv/iconvconfig.c: Likewise.
38232 * locale/programs/locale.c: Likewise.
38233 * locale/programs/localedef.c: Likewise.
38234 * malloc/memusage.sh: Likewise.
38235 * malloc/mtrace.pl: Likewise.
38236 * nscd/nscd.c (print_version): Likewise.
38237 * nss/getent.c: Likewise.
38239 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38240 PF_CAIF, and PF_ALG.
38241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38243 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38245 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38246 (modules-names): Use them.
38247 (ifunc-test-modules, ifunc-pie-tests): Define.
38248 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38249 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38250 (test-extras): Likewise.
38251 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38252 $(compile-command.c).
38253 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38254 (all-built-dso): Define.
38255 (check-textrel.out, check-execstack.out): Depend on it.
38257 * configure.in: Don't override --enable-multi-arch.
38259 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38262 * nscd/hstcache.c (tryagain): Define.
38263 (cache_addhst): Return tryagain not notfound for temporary errors.
38264 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38267 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38270 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38271 to make the syscall.
38272 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38275 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38276 and fall back to matching as normal character if the string ends before
38277 the matching ']' is found. This is what POSIX requires.
38278 * posix/testfnm.c: Adjust test result.
38279 * posix/globtest.sh: Adjust test result. Add new test.
38280 * posix/tst-fnmatch.input: Likewise.
38281 * posix/tst-fnmatch2.c: Add new test.
38283 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38285 * elf/Makefile (check-execstack): Revert last change. Depend on
38287 (check-execstack.h): New target.
38288 (generated): Add check-execstack.h.
38289 * elf/check-execstack.c: Include "check-execstack.h".
38290 (main): Revert last change.
38291 (handle_file): Return zero if GNU_STACK is absent and
38292 DEFAULT_STACK_PERMS doesn't include PF_X.
38294 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38296 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38297 in child fails because the descriptor is already closed.
38298 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38299 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38300 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38303 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38307 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38308 temporary buffer used to handle multi lookups locally.
38309 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38311 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38313 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38316 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38318 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38319 alignment for SSE2.
38321 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38324 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38325 characters. When rounding increased number of integer digits recompute
38327 * stdio-common/tst-grouping.c: New file.
38328 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38330 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38332 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38333 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38335 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38337 * bits/select.h: Likewise.
38339 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38341 * po/ja.po: Update from translation team.
38343 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38346 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38347 implementation just like for lxstat, fxstatat, et al.
38349 2010-12-27 Jim Meyering <meyering@redhat.com>
38352 * posix/regexec.c (build_trtable): Return failure indication upon
38353 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38355 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38358 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38359 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38360 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38361 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38364 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38367 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38368 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38370 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38372 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38373 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38374 script has SORT_BY_INIT_PRIORITY.
38375 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38376 NO_CTORS_DTORS_SECTIONS is defined.
38377 * elf/soinit.c: Likewise.
38378 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38379 NO_CTORS_DTORS_SECTIONS is defined.
38380 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38381 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38382 * sysdeps/sh/init-first.c: Likewise.
38383 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38385 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38387 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38388 always use the slow path.
38390 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38392 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38393 similar rule which adds the sysdep directories to the header search in
38394 order to pick up the correct platform stackinfo.h.
38395 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38396 perform test if it is, otherwise return successfully without testing.
38397 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38398 DEFAULT_STACK_PERMS define in stackinfo.h.
38399 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38400 defined in stackinfo.h.
38401 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38402 DEFAULT_STACK_PERMS defined in stackinfo.h.
38403 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38404 * sysdeps/ia64/stackinfo.h: Likewise.
38405 * sysdeps/s390/stackinfo.h: Likewise.
38406 * sysdeps/sh/stackinfo.h: Likewise.
38407 * sysdeps/sparc/stackinfo.h: Likewise.
38408 * sysdeps/x86_64/stackinfo.h: Likewise.
38409 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38410 PF_X for powerpc64. Retain PF_X for powerpc32.
38412 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38414 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38416 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38417 GETDENTS_64BIT_ALIGNED.
38419 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38421 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38423 2010-12-10 Andreas Schwab <schwab@redhat.com>
38425 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38428 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38429 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38431 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38432 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38434 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38437 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38440 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38442 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38444 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38446 * po/it.po: Update from translation team.
38448 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38453 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38455 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38457 2010-11-24 Andreas Schwab <schwab@redhat.com>
38459 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38461 (gaih_getanswer_slice): Likewise.
38463 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38467 2010-05-31 Petr Baudis <pasky@suse.cz>
38470 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38471 silently even in the chroot mode.
38473 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38475 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38476 last patch a bit. Pretty printing
38478 2010-05-31 Petr Baudis <pasky@suse.cz>
38481 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38482 initialization of skip_initgroups_dyn.
38484 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38486 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38489 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38491 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38493 2010-11-11 Andreas Schwab <schwab@redhat.com>
38495 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38496 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38497 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38498 ($(objpfx)tst-fnmatch-mem): New rule.
38499 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38500 * posix/tst-fnmatch.c (main): Call mtrace.
38502 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38505 Support Intel processor model 6 and model 0x2c.
38507 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38509 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38512 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38515 * string/test-strncasecmp.c (check_result): New function.
38516 (do_one_test): Use it.
38517 (check1): New function.
38518 (test_main): Use it.
38519 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38520 Support strcasecmp and strncasecmp.
38522 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38525 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38526 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38528 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38530 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38534 * sysdeps/x86_64/multiarch/bzero.S: New file.
38535 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38536 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38537 * sysdeps/x86_64/multiarch/memset.S: New file.
38538 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38540 Set bit_Prefer_SSE_for_memop for Intel processors.
38541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38543 (index_Prefer_SSE_for_memop): Define.
38544 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38546 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38548 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38549 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38551 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38554 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38555 (__x86_64_raw_data_cache_size_half): Likewise.
38556 (__x86_64_raw_shared_cache_size): Likewise.
38557 (__x86_64_raw_shared_cache_size_half): Likewise.
38559 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38560 (__x86_64_raw_data_cache_size_half): Likewise.
38561 (__x86_64_raw_shared_cache_size): Likewise.
38562 (__x86_64_raw_shared_cache_size_half): Likewise.
38563 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38564 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38565 and __x86_64_raw_shared_cache_size_half. Round
38566 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38567 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38568 to multiple of 256 bytes.
38570 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38574 of inacessible symlinks. Verify result of symlink before returning it.
38575 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38576 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38578 2010-10-28 Erich Ritz <erichritz@gmail.com>
38580 * math/math.h (isinf): Fix typo in comment.
38582 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38584 * po/da.po: Update from translation team.
38586 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38588 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38589 is added to the list.
38591 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38592 Ulrich Drepper <drepper@gmail.com>
38594 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38595 the global list here. Move code to...
38596 (_dl_add_to_namespace_list): ...here. New function.
38597 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38598 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38599 * elf/dl-load.c (lose): Don't remove the element from the list.
38600 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38601 (_dl_map_object): Likewise.
38603 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38606 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38607 into all bytes of SSE register.
38608 Patch by Richard Li <richardpku@gmail.com>.
38610 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38613 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38616 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38618 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38619 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38620 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38621 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38626 2010-10-22 Andreas Schwab <schwab@redhat.com>
38628 * include/dlfcn.h (__RTLD_SECURE): Define.
38629 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38630 mode & __RTLD_SECURE instead.
38631 (open_path): Rename preloaded parameter to secure.
38632 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38633 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38634 * elf/dl-deps.c (openaux): Likewise.
38635 * elf/rtld.c (struct map_args): Remove is_preloaded.
38636 (map_doit): Don't use it.
38637 (dl_main): Likewise.
38638 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38639 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38641 2010-09-09 Andreas Schwab <schwab@redhat.com>
38643 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38644 (sysd-rules-targets): Remove duplicates.
38645 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38646 rtld-%.$o dependency.
38648 2010-10-18 Andreas Schwab <schwab@redhat.com>
38650 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38651 _dl_map_object do it.
38653 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38655 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38656 fast fma builtins, define the macros in the C99 standard.
38657 (FP_FAST_FMAF): Likewise.
38658 (FP_FAST_FMAL): Likewise.
38659 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38661 * bits/mathdef.h: Update copyright year.
38662 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38664 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38666 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38667 builtins, define the macros in the C99 standard.
38668 (FP_FAST_FMAF): Likewise.
38669 (FP_FAST_FMAL): Likewise.
38670 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38672 (FP_FAST_FMAF): Likewise.
38674 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38677 * math/libm-test.inc (fma_test): Some new testcases.
38678 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38679 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38680 y and infinite z. Do multiplication by C already in long double.
38681 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38683 y and infinite z. Do bitwise or of inexact bit into u.d.
38684 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38685 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38686 * sysdeps/i386/fpu/s_fma.S: Removed.
38687 * sysdeps/i386/fpu/s_fmal.S: Removed.
38689 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38692 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38694 computation is not scheduled after fetestexcept. Fix value
38695 of minimum denormal long double.
38697 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38700 * math/libm-test.inc (fma_test): Add some more tests.
38701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38704 2010-10-15 Andreas Schwab <schwab@redhat.com>
38706 * scripts/data/localplt-s390-linux-gnu.data: New file.
38707 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38709 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38712 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38713 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38715 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38717 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38719 if one of x and y is very large and the other is subnormal.
38720 * sysdeps/s390/fpu/s_fmaf.c: New file.
38721 * sysdeps/s390/fpu/s_fma.c: New file.
38722 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38723 * sysdeps/powerpc/fpu/s_fma.S: New file.
38724 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38725 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38726 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38728 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38731 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38733 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38734 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38735 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38736 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38737 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38738 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38741 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38744 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38745 * posix/bug-regex31.input: Add test case.
38747 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38749 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38750 * posix/bug-regex31.input: New file.
38753 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38754 (parse_sub_exp): Fix last change, use postorder.
38756 * posix/bug-regex31.c: New file.
38757 * posix/Makefile: Add rules to build and run bug-regex31.
38759 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38762 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38765 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38766 to have entries in sys_siglist.
38769 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38772 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38775 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38776 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38777 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38778 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38779 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38780 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38781 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38782 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38783 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38784 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38785 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38786 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38787 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38788 * math/ftestexcept.c (fetestexcept): Likewise.
38789 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38790 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38791 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38792 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38793 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38794 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38795 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38797 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38800 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38803 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38805 * string/bug-strstr1.c: New file.
38806 * string/Makefile: Add rules to build and run bug-strstr1.
38808 2010-10-05 Eric Blake <eblake@redhat.com>
38811 * string/str-two-way.h (two_way_long_needle): Always clear memory
38812 when skipping input due to the shift table.
38814 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38817 * malloc/mcheck.c: Handle large requests.
38820 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38821 for strncmp and strncasecmp.
38822 * string/stratcliff.c: Add tests for strcmp and strncmp.
38823 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38825 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38827 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38830 2010-09-30 Andreas Jaeger <aj@suse.de>
38832 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38833 (CGROUP_SUPER_MAGIC): Define.
38834 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38835 Handle btrfs and cgroup file systems.
38836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38839 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38841 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38842 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38844 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38847 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38848 trying to locate the ELF header.
38850 2010-09-27 Andreas Schwab <schwab@redhat.com>
38853 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38854 Mask out sign-bit copies when constructing f_fsid.
38856 2010-09-24 Petr Baudis <pasky@suse.cz>
38858 * debug/stack_chk_fail_local.c: Add missing licence exception.
38859 * debug/warning-nop.c: Likewise.
38861 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38863 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38864 implementing getdents64 using getdents syscall, set d_type if
38865 __ASSUME_GETDENTS32_D_TYPE.
38867 2010-09-16 Andreas Schwab <schwab@redhat.com>
38869 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38870 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38872 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38875 * posix/unistd.h: Undo change of feature selection for ftruncate from
38878 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38880 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38883 2010-09-20 Andreas Schwab <schwab@redhat.com>
38885 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38887 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38889 2010-09-14 Andreas Schwab <schwab@redhat.com>
38891 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38892 variables after CHECK_SP call.
38893 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38895 2010-09-13 Andreas Schwab <schwab@redhat.com>
38896 Ulrich Drepper <drepper@redhat.com>
38898 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38899 re-relocationg ld.so.
38900 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38901 _dl_init_paths call.
38902 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38905 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38907 * resolv/res_init.c (__res_vinit): Count the default server we added.
38909 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38910 Ulrich Drepper <drepper@redhat.com>
38913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38914 (____longjmp_chk): Use %ebx for saving value across system call.
38917 2010-09-06 Andreas Schwab <schwab@redhat.com>
38919 * manual/Makefile: Don't mix pattern rules with normal rules.
38921 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38923 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38925 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38926 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38927 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38928 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38929 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38932 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38935 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38936 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38938 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38940 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38941 * sysdeps/x86_64/addmul_1.S: Likewise.
38942 * sysdeps/x86_64/lshift.S: Likewise.
38943 * sysdeps/x86_64/mul_1.S: Likewise.
38944 * sysdeps/x86_64/rshift.S: Likewise.
38945 * sysdeps/x86_64/sub_n.S: Likewise.
38946 * sysdeps/x86_64/submul_1.S: Likewise.
38948 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38950 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38951 Define __sched_param instead of SCHED_* and sched_param when
38952 <bits/sched.h> is included with __need_schedparam defined.
38953 * bits/sched.h [__need_schedparam]
38954 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38955 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38956 (__defined_schedparam): Define to 1.
38957 (__sched_param): New structure, identical to sched_param.
38958 (__need_schedparam): Undefine.
38960 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38962 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38963 (epoll_create1): Declare.
38965 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38967 2010-08-31 Andreas Schwab <schwab@redhat.com>
38970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38971 shifting retval into place.
38973 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38975 * nis/rpcsvc/nis.h: Update copyright notice.
38976 * nis/rpcsvc/nis.x: Likewise.
38977 * nis/rpcsvc/nis_callback.h: Likewise.
38978 * nis/rpcsvc/nis_callback.x: Likewise.
38979 * nis/rpcsvc/nis_object.x: Likewise.
38980 * nis/rpcsvc/nis_tags.h: Likewise.
38981 * nis/rpcsvc/yp.h: Likewise.
38982 * nis/rpcsvc/yp.x: Likewise.
38983 * nis/rpcsvc/ypupd.h: Likewise.
38984 * nis/yp_xdr.c: Likewise.
38985 * nis/ypupdate_xdr.c: Likewise.
38987 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38988 mainly the body of pmap_getport. Add parameters to specify timeouts.
38989 (pmap_getport): Use __libc_rpc_getport.
38990 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38991 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38992 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38994 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38999 2010-08-27 Roland McGrath <roland@redhat.com>
39001 * sysdeps/i386/i686/multiarch/Makefile
39002 (CFLAGS-varshift.c): New variable.
39004 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39006 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39007 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39011 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39013 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39015 * sysdeps/x86_64/strlen.S: Unroll the loop.
39016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39017 strlen-sse2 strlen-sse2-bsf.
39018 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39019 __strlen_no_bsf if bit_Slow_BSF is set.
39020 (__strlen_sse42): Removed.
39021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39022 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39024 2010-08-25 Roland McGrath <roland@redhat.com>
39026 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39027 * sysdeps/x86_64/multiarch/varshift.c: New file.
39028 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39029 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39030 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39031 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39033 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39036 strlen-sse2 strlen-sse2-bsf.
39037 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39038 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39039 (__strlen_sse2): Removed.
39040 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39043 bit_Slow_BSF for Atom.
39044 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39045 (index_Slow_BSF): Define.
39046 (HAS_SLOW_BSF): Define.
39048 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39051 * resolv/res_init.c (__res_vinit): When no server address at all
39052 is given default to loopback.
39054 2010-08-24 Roland McGrath <roland@redhat.com>
39056 * configure.in: Remove config-name.h generation.
39057 * configure: Regenerated.
39058 * config-name.in: File removed.
39059 * scripts/config-uname.sh: New file.
39060 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39061 ($(objdir)config-name.h): New target.
39063 * sunrpc/rpc_parse.h: Avoid nested comment.
39065 2010-08-24 Richard Henderson <rth@redhat.com>
39066 Ulrich Drepper <drepper@redhat.com>
39067 H.J. Lu <hongjiu.lu@intel.com>
39069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39071 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39072 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39073 _mm_alignr_epi8 with _mm_loadu_si128.
39074 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39075 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39076 (__m128i_shift_right): Removed.
39077 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39078 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39079 * sysdeps/x86_64/multiarch/varshift.h: New file.
39080 * sysdeps/x86_64/multiarch/varshift.S: New file.
39082 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39084 * configure.in: Move assembler checks to before sysdep dir checking.
39086 2010-08-20 Petr Baudis <pasky@suse.cz>
39088 * LICENSES: Sync the sunrpc license.
39090 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39092 * sunrpc/auth_des.c: Update copyright notice once again.
39093 * sunrpc/auth_none.c: Likewise.
39094 * sunrpc/auth_unix.c: Likewise.
39095 * sunrpc/authdes_prot.c: Likewise.
39096 * sunrpc/authuxprot.c: Likewise.
39097 * sunrpc/bindrsvprt.c: Likewise.
39098 * sunrpc/clnt_gen.c: Likewise.
39099 * sunrpc/clnt_perr.c: Likewise.
39100 * sunrpc/clnt_raw.c: Likewise.
39101 * sunrpc/clnt_simp.c: Likewise.
39102 * sunrpc/clnt_tcp.c: Likewise.
39103 * sunrpc/clnt_udp.c: Likewise.
39104 * sunrpc/clnt_unix.c: Likewise.
39105 * sunrpc/des_crypt.c: Likewise.
39106 * sunrpc/des_soft.c: Likewise.
39107 * sunrpc/get_myaddr.c: Likewise.
39108 * sunrpc/getrpcport.c: Likewise.
39109 * sunrpc/key_call.c: Likewise.
39110 * sunrpc/key_prot.c: Likewise.
39111 * sunrpc/openchild.c: Likewise.
39112 * sunrpc/pm_getmaps.c: Likewise.
39113 * sunrpc/pm_getport.c: Likewise.
39114 * sunrpc/pmap_clnt.c: Likewise.
39115 * sunrpc/pmap_prot.c: Likewise.
39116 * sunrpc/pmap_prot2.c: Likewise.
39117 * sunrpc/pmap_rmt.c: Likewise.
39118 * sunrpc/rpc/auth.h: Likewise.
39119 * sunrpc/rpc/auth_unix.h: Likewise.
39120 * sunrpc/rpc/clnt.h: Likewise.
39121 * sunrpc/rpc/des_crypt.h: Likewise.
39122 * sunrpc/rpc/key_prot.h: Likewise.
39123 * sunrpc/rpc/netdb.h: Likewise.
39124 * sunrpc/rpc/pmap_clnt.h: Likewise.
39125 * sunrpc/rpc/pmap_prot.h: Likewise.
39126 * sunrpc/rpc/pmap_rmt.h: Likewise.
39127 * sunrpc/rpc/rpc.h: Likewise.
39128 * sunrpc/rpc/rpc_des.h: Likewise.
39129 * sunrpc/rpc/rpc_msg.h: Likewise.
39130 * sunrpc/rpc/svc.h: Likewise.
39131 * sunrpc/rpc/svc_auth.h: Likewise.
39132 * sunrpc/rpc/types.h: Likewise.
39133 * sunrpc/rpc/xdr.h: Likewise.
39134 * sunrpc/rpc_clntout.c: Likewise.
39135 * sunrpc/rpc_cmsg.c: Likewise.
39136 * sunrpc/rpc_common.c: Likewise.
39137 * sunrpc/rpc_cout.c: Likewise.
39138 * sunrpc/rpc_dtable.c: Likewise.
39139 * sunrpc/rpc_hout.c: Likewise.
39140 * sunrpc/rpc_main.c: Likewise.
39141 * sunrpc/rpc_parse.c: Likewise.
39142 * sunrpc/rpc_parse.h: Likewise.
39143 * sunrpc/rpc_prot.c: Likewise.
39144 * sunrpc/rpc_sample.c: Likewise.
39145 * sunrpc/rpc_scan.c: Likewise.
39146 * sunrpc/rpc_scan.h: Likewise.
39147 * sunrpc/rpc_svcout.c: Likewise.
39148 * sunrpc/rpc_tblout.c: Likewise.
39149 * sunrpc/rpc_util.c: Likewise.
39150 * sunrpc/rpc_util.h: Likewise.
39151 * sunrpc/rpcinfo.c: Likewise.
39152 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39153 * sunrpc/rpcsvc/key_prot.x: Likewise.
39154 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39155 * sunrpc/rpcsvc/mount.x: Likewise.
39156 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39157 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39158 * sunrpc/rpcsvc/rex.x: Likewise.
39159 * sunrpc/rpcsvc/rstat.x: Likewise.
39160 * sunrpc/rpcsvc/rusers.x: Likewise.
39161 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39162 * sunrpc/rpcsvc/spray.x: Likewise.
39163 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39164 * sunrpc/rtime.c: Likewise.
39165 * sunrpc/svc.c: Likewise.
39166 * sunrpc/svc_auth.c: Likewise.
39167 * sunrpc/svc_authux.c: Likewise.
39168 * sunrpc/svc_raw.c: Likewise.
39169 * sunrpc/svc_run.c: Likewise.
39170 * sunrpc/svc_simple.c: Likewise.
39171 * sunrpc/svc_tcp.c: Likewise.
39172 * sunrpc/svc_udp.c: Likewise.
39173 * sunrpc/svc_unix.c: Likewise.
39174 * sunrpc/svcauth_des.c: Likewise.
39175 * sunrpc/xcrypt.c: Likewise.
39176 * sunrpc/xdr.c: Likewise.
39177 * sunrpc/xdr_array.c: Likewise.
39178 * sunrpc/xdr_float.c: Likewise.
39179 * sunrpc/xdr_mem.c: Likewise.
39180 * sunrpc/xdr_rec.c: Likewise.
39181 * sunrpc/xdr_ref.c: Likewise.
39182 * sunrpc/xdr_sizeof.c: Likewise.
39183 * sunrpc/xdr_stdio.c: Likewise.
39185 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39188 2010-08-19 Andreas Schwab <schwab@redhat.com>
39190 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39192 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39194 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39195 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39197 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39198 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39199 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39200 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39201 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39202 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39203 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39204 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39205 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39206 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39207 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39209 2010-07-26 Anton Blanchard <anton@samba.org>
39211 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39212 * malloc/arena.c (heap_trim): Likewise.
39214 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39216 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39218 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39219 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39221 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39223 * sysdeps/i386/elf/Makefile: New file.
39225 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39227 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39228 from fanotify_init.
39229 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39230 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39232 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39234 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39236 * sysdeps/multiarch/strcmp.S: Likewise.
39238 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39240 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39241 strncase_l-nonascii.
39242 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39243 Add strncase_l-ssse3.
39244 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39245 * sysdeps/x86_64/strcmp.S: Likewise.
39246 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39247 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39248 * sysdeps/x86_64/strncase.S: New file.
39249 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39250 * sysdeps/x86_64/strncase_l.S: New file.
39251 * string/Makefile (strop-tests): Add strncasecmp.
39252 * string/test-strncasecmp.c: New file.
39254 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39257 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39258 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39260 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39262 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39264 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39266 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39267 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39268 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39270 2010-05-01 Alan Modra <amodra@gmail.com>
39272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39273 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39274 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39275 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39276 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39277 tidying. Don't tail-call __sigjmp_save for static lib.
39278 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39280 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39281 (CALL_MCOUNT): Add eh info, and nop after bl.
39282 (TAIL_CALL_SYSCALL_ERROR): New macro.
39283 (PSEUDO_RET): Use it.
39284 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39285 Correct save location of integer regs and cr.
39286 (_dl_profile_resolve): Correct cr save location. Delete nops
39287 after bl when SHARED. Reduce cfi size a little by better
39288 placement of cfi directives.
39289 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39290 make a stack frame. Instead use parm save area as a temp.
39291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39292 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39294 Don't make a stack frame for parent, use parm save area.
39295 Increase child stack frame to 112 bytes. Don't save unused reg,
39296 and adjust reg usage. Set up cfi on error recovery and
39297 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39299 (__makecontext): Add dummy nop after jump to exit.
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39301 Use correct parm save area and cr save, reduce stack frame.
39302 Correct cfi for possible PSEUDO_RET frame setup.
39303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39304 Branch to local label emitted by PSEUDO_RET rather than
39307 2010-08-12 Andreas Schwab <schwab@redhat.com>
39310 * locale/programs/locale.c (print_assignment): New function.
39311 (show_locale_vars): Use it.
39313 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39315 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39317 (struct statfs64): Likewise.
39318 (_STATFS_F_FLAGS): Define.
39319 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39320 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39321 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39322 (ST_VALID): Define locally.
39323 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39324 __statvfs_getflags, use the provided value.
39325 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39326 __ASSUME_STATFS_F_FLAGS.
39328 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39330 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39331 Add sys/fanotify.h.
39332 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39333 fanotify_mask for GLIBC_2.13.
39334 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39335 fanotify_init and fanotify_mark.
39336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39337 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39339 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39341 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39342 prlimit64 for GLIBC_2.13.
39343 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39348 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39349 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39350 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39353 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39356 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39357 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39359 * nss/Makefile: Add rules to build and run tst-nss-test1.
39360 * shlib-versions: Add entry for libnss_test1.
39361 * nss/nss_test1.c: New file.
39362 * nss/tst-nss-test1.c: New file.
39364 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39365 (__nss_configure_lookup): Set appropriate entry in
39366 __nss_configure_lookup to true.
39367 * nss/nsswitch.h: Define enum with indeces of databases in
39368 databases and __nss_database_custom arrays. Declare
39369 __nss_database_custom.
39370 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39371 to avoid using nscd when custom rules are installed.
39372 * nss/getXXbyYY_r.c: Likewise.
39373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39375 * nss/nss_files/files-parse.c: Whitespace fixes.
39377 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39380 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39381 * posix/fnmatch_loop.c: Likewise.
39383 2010-07-17 Andi Kleen <ak@linux.intel.com>
39385 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39386 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39387 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39388 * Versions.def [GLIBC_2.13]: Add.
39390 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39392 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39393 Also fail if tpwd after pwuid call is NULL.
39395 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39397 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39398 when converting to ms.
39400 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39402 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39403 EOPNOTSUPP errors with ENOTTY.
39404 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39405 EOPNOTSUPP errors with ENOTTY.
39407 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39409 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39410 Add strcasecmp_l-ssse3.
39411 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39413 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39414 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39415 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39417 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39419 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39421 * string/Makefile (strop-tests): Add strcasecmp.
39422 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39423 strcasecmp_l-nonascii.
39424 (gen-as-const-headers): Add locale-defines.sym.
39425 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39426 * sysdeps/x86_64/strcasecmp.S: New file.
39427 * sysdeps/x86_64/strcasecmp_l.S: New file.
39428 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39429 * sysdeps/x86_64/locale-defines.sym: New file.
39430 * string/test-strcasecmp.c: New file.
39432 * string/test-strcasestr.c: Test both ends of the range of characters.
39433 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39435 2010-07-29 Roland McGrath <roland@redhat.com>
39438 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39440 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39442 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39445 2010-07-27 Andreas Schwab <schwab@redhat.com>
39447 * manual/memory.texi (Malloc Tunable Parameters): Document
39450 2010-07-26 Roland McGrath <roland@redhat.com>
39453 * configure.in (-fgnu89-inline check): Set and substitute
39454 gnu89_inline, not libc_cv_gnu89_inline.
39455 * configure: Regenerated.
39456 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39458 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39460 * string/test-strnlen.c: New file.
39461 * string/Makefile (strop-tests): Add strnlen.
39462 * string/tester.c (test_strnlen): Add a few more test cases.
39463 * string/tst-strlen.c: Better error reporting.
39465 * sysdeps/x86_64/strnlen.S: New file.
39467 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39469 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39470 lower-latency instructions.
39472 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39474 * string/test-strcasestr.c: New file.
39475 * string/test-strstr.c: New file.
39476 * string/Makefile (strop-tests): Add strstr and strcasestr.
39477 * string/str-two-way.h: Don't undefine MAX.
39478 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39480 2010-07-21 Andreas Schwab <schwab@redhat.com>
39482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39483 strcasestr-nonascii.
39484 (CFLAGS-strcasestr-nonascii.c): Define.
39485 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39486 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39487 Remove unused attribute.
39489 2010-07-20 Roland McGrath <roland@redhat.com>
39491 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39492 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39493 ld.so.cache was broken. With it, there is no way to disable dsocaps
39494 like LD_HWCAP_MASK can disable hwcaps.
39496 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39498 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39500 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39502 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39503 call in strcasestr.
39504 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39505 __strcasestr_sse42_nonascii.
39506 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39507 strcasestr-nonascii.c.
39508 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39510 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39512 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39513 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39514 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39515 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39517 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39519 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39522 2010-07-06 Andreas Schwab <schwab@redhat.com>
39525 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39528 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39530 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39531 _PC_PIPE_BUF using F_GETPIPE_SZ.
39533 2010-07-05 Roland McGrath <roland@redhat.com>
39535 * manual/arith.texi (Rounding Functions): Fix rint description
39536 implicit in round description.
39538 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39540 * elf/Makefile: Fix linking for a few tests to make recent linker
39543 2010-06-30 Andreas Schwab <schwab@redhat.com>
39545 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39546 $(common-objpfx)libc_nonshared.a.
39548 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39550 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39551 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39552 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39553 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39554 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39555 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39556 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39557 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39572 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39573 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39574 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39575 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39576 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39577 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39578 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39579 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39580 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39581 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39582 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39583 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39599 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39601 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39602 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39603 * string/memmove.c (memmove): Renamed to ...
39604 (MEMMOVE): ...this. Default to memmove.
39605 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39606 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39609 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39610 mempcpy-ssse3-back memmove-ssse3-back.
39611 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39614 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39615 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39616 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39617 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39618 * sysdeps/x86_64/multiarch/memmove.c: New file.
39619 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39620 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39621 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39622 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39623 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39626 (index_Fast_Copy_Backward): Define.
39627 (HAS_ARCH_FEATURE): Define.
39628 (HAS_FAST_REP_STRING): Define.
39629 (HAS_FAST_COPY_BACKWARD): Define.
39631 2010-06-21 Andreas Schwab <schwab@redhat.com>
39633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39634 Restore proper fallback handling.
39636 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39639 * posix/group_member.c (__group_member): Correct checking loop.
39641 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39642 OOM in getpwuid_r correctly. Return error number when the caller
39643 should return, otherwise -1.
39644 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39645 call returning > 0 value.
39646 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39648 2010-06-07 Andreas Schwab <schwab@redhat.com>
39650 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39651 libc_nonshared.a from targets in modules-names.
39653 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39655 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39658 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39660 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39661 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39662 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39665 2010-06-02 Andreas Schwab <schwab@redhat.com>
39667 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39669 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39671 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39678 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39680 2010-06-14 Roland McGrath <roland@redhat.com>
39682 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39684 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39686 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39687 __REDIRECT followed by __THROW.
39688 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39689 * posix/getopt.h (getopt): Likewise.
39691 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39693 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39694 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39695 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39697 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39698 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39700 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39704 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39708 Properly check family and model.
39710 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39712 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39714 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39716 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39718 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39720 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39723 2010-05-19 Andreas Schwab <schwab@redhat.com>
39725 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39728 2010-05-21 Andreas Schwab <schwab@redhat.com>
39730 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39731 and internal_recvmmsg.
39732 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39733 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39734 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39735 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39737 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39738 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39739 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39741 2010-05-20 Andreas Schwab <schwab@redhat.com>
39743 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39745 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39747 POWER7 optimizations.
39748 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39749 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39751 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39753 * version.h: Update for 2.13 development version.
39755 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39757 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39758 exceptions. Return 0.
39760 2010-05-07 Roland McGrath <roland@redhat.com>
39762 * elf/ldconfig.c (main): Add a const.
39764 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39766 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39767 (args_options): Add no-idn option.
39768 (ahosts_keys_int): Add idn_flags to ai_flags.
39769 (parse_option): Handle 'i' option to clear idn_flags.
39771 * malloc/malloc.c (_int_free): Possible race in the most recently
39772 added check. Only act on the data if no current modification
39775 See ChangeLog.17 for earlier changes.