1 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5 (HWCAP_ARM_LPAE): Likewise.
6 (HWCAP_ARM_EVTSTRM): Likewise.
7 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8 Add vpfd32, lpae and evtstrm.
9 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14 * math/auto-libm-test-in: Add tests of clog10.
15 * math/auto-libm-test-out: Regenerated.
16 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17 * sysdeps/i386/fpu/libm-test-ulps: Update.
18 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20 2014-02-18 Andreas Schwab <schwab@suse.de>
23 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24 Store non-zero if the second buffer was newly allocated.
26 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27 to send_vc and send_dg.
28 (res_nsend): Pass NULL for ansp2_malloced.
29 * resolv/res_query.c (__libc_res_nquery): Add parameter
30 answerp2_malloced and pass it down to __libc_res_nsend.
31 (res_nquery): Pass additional NULL to __libc_res_nquery.
32 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
34 second answer buffer if answerp2_malloced was set.
35 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36 (__libc_res_nquerydomain): Add parameter
37 answerp2_malloced and pass it down to __libc_res_nquery.
38 (res_nquerydomain): Pass additional NULL to
39 __libc_res_nquerydomain.
40 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41 additional NULL to __libc_res_nsend and __libc_res_nquery.
42 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43 additional NULL to __libc_res_nsearch.
44 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45 parameter of __libc_res_nsearch to check for separately allocated
47 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50 additional NULL to __libc_res_nquery.
51 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54 * include/resolv.h: Update prototypes of __libc_res_nquery,
55 __libc_res_nsearch, __libc_res_nsend.
57 2014-02-18 Joseph Myers <joseph@codesourcery.com>
59 * math/auto-libm-test-in: Add tests of fma.
60 * math/auto-libm-test-out: Regenerated.
61 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
62 (fma_towardzero_test_data): Likewise.
63 (fma_downward_test_data): Likewise.
64 (fma_upward_test_data): Likewise.
65 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
67 (rounding_modes): Add values for new field.
68 (func_calc_method): Add value mpfr_fff_f.
69 (func_calc_desc): Add mpfr_fff_f union field.
70 (test_function): Add field exact_args.
71 (FUNC): Add macro argument EXACT_ARGS.
72 (FUNC_mpfr_f_f): Update call to FUNC.
73 (FUNC_mpfr_f_f): Likewise.
74 (FUNC_mpfr_ff_f): Likewise.
75 (FUNC_mpfr_if_f): Likewise.
76 (FUNC_mpc_c_f): Likewise.
77 (FUNC_mpc_c_c): Likewise.
78 (test_functions): Add fma. Update calls to FUNC.
79 (handle_input_arg): Add argument exact_args.
80 (add_test): Update call to handle_input_arg.
81 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
82 (output_for_one_input_case): Update call to calc_generic_results.
83 Recalculate exact zero results in each rounding mode.
85 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
86 non-negative before setting low bit.
87 * math/auto-libm-test-in: Mark one asin test possibly having
89 * math/auto-libm-test-out: Regenerated.
90 * sysdeps/i386/fpu/libm-test-ulps: Update.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
95 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
96 * sysdeps/unix/sysv/linux/microblaze: Move directory from
97 ports/sysdeps/unix/sysv/linux/microblaze.
98 * README: Add missing listing for microblaze*-*-linux-gnu.
100 2014-02-16 Mike Frysinger <vapier@gentoo.org>
102 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
103 * sysdeps/unix/sysv/linux/ia64: Move directory from
104 ports/sysdeps/unix/sysv/linux/ia64.
105 * README: Update listing for ia64-*-linux-gnu.
107 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
108 Joseph Myers <joseph@codesourcery.com>
110 * Makeconfig (test-name): New variable.
111 (evaluate-test): Likewise.
112 * Makerules (do-test-clean): Remove .test-result files.
113 (common-mostlyclean): Likewise.
114 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
115 * scripts/evaluate-test.sh: New file.
117 2014-02-14 Joseph Myers <joseph@codesourcery.com>
119 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
120 separate $(objpfx)tst-fopenloc-cmp.out and
121 $(objpfx)tst-fopenloc-mem.out targets.
122 (tests): Update dependencies.
123 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
124 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
125 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
126 (tst-rxspencer-no-utf8-ARGS): New variable.
127 (tst-rxspencer-no-utf8-ENV): Likewise.
128 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
129 instead of $(objpfx)tst-rxspencer-mem.
130 ($(objpfx)tst-rxspencer-mem): Change target to
131 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
132 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
133 * posix/tst-rxspencer-no-utf8.c: New file.
135 * elf/Makefile ($(objpfx)order.out): Remove rule.
136 [$(run-built-tests) = yes] (tests): Depend on
137 $(objpfx)order-cmp.out.
138 ($(objpfx)order-cmp.out): New rule.
139 [$(run-built-tests) = yes] (tests): Depend on
140 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
141 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
142 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
143 $(objpfx)tst-array5-static-cmp.out.
144 ($(objpfx)tst-array1.out): Remove rule.
145 ($(objpfx)tst-array1-cmp.out): New rule.
146 ($(objpfx)tst-array1-static.out): Remove rule.
147 ($(objpfx)tst-array1-static-cmp.out): New rule.
148 ($(objpfx)tst-array2.out): Remove rule.
149 ($(objpfx)tst-array2-cmp.out): New rule.
150 ($(objpfx)tst-array3.out): Remove rule.
151 ($(objpfx)tst-array3-cmp.out): New rule.
152 ($(objpfx)tst-array4.out): Remove rule.
153 ($(objpfx)tst-array4-cmp.out): New rule.
154 ($(objpfx)tst-array5.out): Remove rule.
155 ($(objpfx)tst-array5-cmp.out): New rule.
156 ($(objpfx)tst-array5-static.out): Remove rule.
157 ($(objpfx)tst-array5-static-cmp.out): New rule.
158 [$(run-built-tests) = yes] (tests): Depend on
159 $(objpfx)order2-cmp.out.
160 ($(objpfx)order2.out): Remove rule.
161 ($(objpfx)order2-cmp.out): New rule.
162 ($(objpfx)tst-initorder.out): Remove rule.
163 [$(run-built-tests) = yes] (tests): Depend on
164 $(objpfx)tst-initorder-cmp.out.
165 ($(objpfx)tst-initorder-cmp.out): New rule.
166 ($(objpfx)tst-initorder2.out): Remove rule.
167 [$(run-built-tests) = yes] (tests): Depend on
168 $(objpfx)tst-initorder2-cmp.out.
169 ($(objpfx)tst-initorder2-cmp.out): New rule.
170 [$(run-built-tests) = yes] (tests): Depend on
171 $(objpfx)tst-unused-dep-cmp.out.
172 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
173 ($(objpfx)tst-unused-dep-cmp.out): New rule.
174 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
175 on $(objpfx)tst-setvbuf1-cmp.out.
176 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
177 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
178 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
179 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
180 ($(objpfx)tst-svc.out): Remove rule.
181 ($(objpfx)tst-svc-cmp.out): New rule.
183 2014-02-13 Joseph Myers <joseph@codesourcery.com>
185 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
186 * ctype/ctype.h [__USE_MISC]: Likewise.
187 * dirent/dirent.h [__USE_MISC]: Likewise.
188 * grp/grp.h [__USE_MISC]: Likewise.
189 * io/fcntl.h [__USE_MISC]: Likewise.
190 * io/sys/stat.h [__USE_MISC]: Likewise.
191 * libio/stdio.h [__USE_MISC]: Likewise.
192 * posix/unistd.h [__USE_MISC]: Likewise.
193 * pwd/pwd.h [__USE_MISC]: Likewise.
194 * stdlib.h [__USE_MISC]: Likewise.
195 * string/bits/string2.h [__USE_MISC]: Likewise.
196 * string/string.h [__USE_MISC]: Likewise.
197 * time/time.h [__USE_MISC]: Likewise.
199 2014-02-13 Andreas Schwab <schwab@suse.de>
202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
203 second answer buffer if it was separately allocated.
205 2014-02-12 Joseph Myers <joseph@codesourcery.com>
207 * sysdeps/mips/math-tests.h: Include <features.h>.
208 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
209 (ROUNDING_TESTS_long_double): Do not define.
210 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
211 (EXCEPTION_TESTS_long_double): Likewise.
212 * sysdeps/mips/mips64/libm-test-ulps: Update.
214 * include/features.h (__USE_BSD): Remove macro definitions.
215 (__USE_SVID): Likewise.
216 (_BSD_SOURCE): Likewise.
217 (_SVID_SOURCE): Likewise.
218 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
219 from definition of _DEFAULT_SOURCE.
220 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
222 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
223 * bits/mman.h [__USE_BSD]: Likewise.
224 * bits/termios.h [__USE_BSD]: Likewise.
225 * bits/waitstatus.h [__USE_BSD]: Likewise.
226 * ctype/ctype.h [__USE_SVID]: Likewise.
227 * dirent/dirent.h [__USE_BSD]: Likewise.
228 * grp/grp.h [__USE_SVID]: Likewise.
229 [__USE_BSD]: Likewise.
230 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
231 * io/fcntl.h [__USE_BSD]: Likewise.
232 * io/ftw.h [__USE_BSD]: Likewise.
233 * io/sys/stat.h [__USE_BSD]: Likewise.
234 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
235 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
236 * libio/stdio.h [__USE_SVID]: Likewise.
237 [__USE_BSD]: Likewise.
238 * math/math.h [__USE_SVID]: Likewise.
239 [__USE_BSD]: Likewise.
240 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
241 * misc/bits/syslog.h [__USE_BSD]: Likewise.
242 * misc/search.h [__USE_SVID]: Likewise.
243 * misc/sys/mman.h [__USE_BSD]: Likewise.
244 * misc/sys/syslog.h [__USE_BSD]: Likewise.
245 * misc/sys/uio.h [__USE_BSD]: Likewise.
246 * posix/bits/unistd.h [__USE_BSD]: Likewise.
247 * posix/glob.h [__USE_BSD]: Likewise.
248 * posix/regex.h [__USE_BSD]: Likewise.
249 * posix/sys/types.h [__USE_BSD]: Likewise.
250 [__USE_SVID]: Likewise.
251 * posix/sys/utsname.h [__USE_SVID]: Likewise.
252 * posix/sys/wait.h [__USE_BSD]: Likewise.
253 [__USE_SVID]: Likewise.
254 * posix/unistd.h [__USE_BSD]: Likewise.
255 [__USE_SVID]: Likewise.
256 * pwd/pwd.h [__USE_SVID]: Likewise.
257 * resolv/netdb.h [__USE_BSD]: Likewise.
258 * setjmp/setjmp.h [__USE_BSD]: Likewise.
259 * signal/signal.h [__USE_BSD]: Likewise.
260 [__USE_SVID]: Likewise.
261 * socket/sys/socket.h [__USE_BSD]: Likewise.
262 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
263 * stdlib/stdlib.h [__USE_BSD]: Likewise.
264 [__USE_SVID]: Likewise.
265 * string/bits/string2.h [__USE_BSD]: Likewise.
266 [__USE_SVID]: Likewise.
267 * string/bits/string3.h [__USE_BSD]: Likewise.
268 * string/endian.h [__USE_BSD]: Likewise.
269 * string/string.h [__USE_SVID]: Likewise.
270 [__USE_BSD]: Likewise.
271 * string/strings.h [__USE_BSD]: Likewise.
272 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
273 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
275 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
276 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
277 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
281 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
282 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
284 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
285 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
287 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
289 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
290 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
291 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
295 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
296 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
297 * termios/termios.h [__USE_BSD]: Likewise.
298 * time/sys/time.h [__USE_BSD]: Likewise.
299 * time/time.h [__USE_BSD]: Likewise.
300 [__USE_SVID]: Likewise.
302 * Makefile (subdir_targets): Remove subdir_lint.out.
304 * stdio-common/Makefile (do-tst-unbputc): Remove target.
305 (do-tst-printf): Likewise.
306 (tests): Depend directly on $(objpfx)tst-unbputc.out and
307 $(objpfx)tst-printf.out.
309 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
311 * Makerules (check-abi-%): Change target to
312 $(objpfx)check-abi-%.out.
313 (check-abi target): Update dependencies.
314 (check-abi-pattern variable): Redirect output of diff to $@.
315 (check-abi variable): Likewise.
316 * elf/Makefile (check-abi): Update dependencies.
318 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
320 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
321 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
323 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
324 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
325 value has largest subnormal exponent.
326 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
327 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
328 * sysdeps/aarch64/soft-fp/sfp-machine.h
329 (_FP_TININESS_AFTER_ROUNDING): New macro.
330 * sysdeps/alpha/soft-fp/sfp-machine.h
331 (_FP_TININESS_AFTER_ROUNDING): Likewise.
332 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
334 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
336 * sysdeps/mips/soft-fp/sfp-machine.h
337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
338 * sysdeps/powerpc/soft-fp/sfp-machine.h
339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
340 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
344 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
346 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
349 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
352 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
355 2014-02-12 Richard Henderson <rth@redhat.com>
357 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
358 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
359 * sysdeps/unix/sysv/linux/alpha: Move directory from
360 ports/sysdeps/unix/sysv/linux/alpha.
361 * README: Update listing for alpha-*-linux-gnu.
363 2014-02-11 Joseph Myers <joseph@codesourcery.com>
365 * include/features.h: Update comment documenting feature test
367 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
369 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
370 (_SVID_SOURCE): Likewise.
371 (_DEFAULT_SOURCE): Update description of default features.
372 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
374 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
376 * manual/math.texi (Mathematical Constants): Likewise.
377 * manual/signal.texi (Interrupted Primitives): Likewise.
378 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
379 * math/test-matherr.c (_SVID_SOURCE): Do not define.
380 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
381 Don't refer to _SVID_SOURCE in warning text.
383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
385 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
387 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
388 * sysdeps/mips/dl-lookup.c: Remove.
389 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
391 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
394 * math/auto-libm-test-in: Add testcase for expl.
395 * math/auto-libm-test-out: Regenerate.
396 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
397 calculation of unsafe.
398 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
400 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
402 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
403 * sysdeps/unix/sysv/linux/aarch64: Move directory from
404 ports/sysdeps/unix/sysv/linux/aarch64.
405 * README: Update listing for aarch64*-*-linux-gnu.
407 2014-02-11 Will Newton <will.newton@linaro.org>
409 * manual/probes.texi (Mathematical Function Probes): Use
410 "triggered" instead of "hit".
412 2014-02-11 Will Newton <will.newton@linaro.org>
414 * manual/probes.texi (Internal Probes): Add documentation
415 of setjmp, longjmp and longjmp_target probes.
417 2014-02-11 Will Newton <will.newton@linaro.org>
419 * include/stap-probe.h: Add comment about probe argument
422 2014-02-11 Will Newton <will.newton@linaro.org>
424 * malloc/mtrace.c (attribute_hidden): Remove unused macro
425 definition. (tr_where, tr_freehook, tr_mallochook,
426 tr_reallochook, tr_memalignhook): Use ANSI protoype.
428 2014-02-11 David S. Miller <davem@davemloft.net>
430 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
431 processing int_tests.
433 2014-02-10 Joseph Myers <joseph@codesourcery.com>
435 * sysdeps/mips: Move directory from ports/sysdeps/mips.
436 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
437 * sysdeps/unix/sysv/linux/mips: Move directory from
438 ports/sysdeps/unix/sysv/linux/mips.
439 * README: Update listing for mips-*-linux-gnu and
442 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
444 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
445 * sysdeps/unix/sysv/linux/m68k: Move directory from
446 ports/sysdeps/unix/sysv/linux/m68k.
447 * README: Update listing for m68k-*-linux-gnu.
449 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
451 * sysdeps/tile: Move directory from ports/sysdeps/tile.
452 * sysdeps/unix/sysv/linux/generic: Move directory from
453 ports/sysdeps/unix/sysv/linux/generic.
454 * sysdeps/unix/sysv/linux/tile: Move directory from
455 ports/sysdeps/unix/sysv/linux/tile.
456 * README: Update listing for tile*-*-linux-gnu.
458 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
460 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
461 * benchtests/bench-memmem.c (simple_memmem): Likewise.
462 * catgets/open_catalog.c (__open_catalog): Likewise.
463 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
464 * debug/confstr_chk.c: Likewise.
465 * debug/fread_chk.c (__fread_chk): Likewise.
466 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
467 * debug/getgroups_chk.c: Likewise.
468 * debug/mbsnrtowcs_chk.c: Likewise.
469 * debug/mbsrtowcs_chk.c: Likewise.
470 * debug/mbstowcs_chk.c: Likewise.
471 * debug/memcpy_chk.c: Likewise.
472 * debug/memmove_chk.c: Likewise.
473 * debug/mempcpy_chk.c: Likewise.
474 * debug/memset_chk.c: Likewise.
475 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
476 * debug/strcat_chk.c (__strcat_chk): Likewise.
477 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
478 * debug/strncat_chk.c (__strncat_chk): Likewise.
479 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
480 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
481 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
482 * debug/wcpncpy_chk.c: Likewise.
483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
484 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
485 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
486 * debug/wcsncpy_chk.c: Likewise.
487 * debug/wcsnrtombs_chk.c: Likewise.
488 * debug/wcsrtombs_chk.c: Likewise.
489 * debug/wcstombs_chk.c: Likewise.
490 * debug/wmemcpy_chk.c: Likewise.
491 * debug/wmemmove_chk.c: Likewise.
492 * debug/wmempcpy_chk.c: Likewise.
493 * debug/wmemset_chk.c: Likewise.
494 * dirent/scandirat.c (SCANDIRAT): Likewise.
495 * dlfcn/dladdr1.c (dladdr1): Likewise.
496 * dlfcn/dladdr.c (dladdr): Likewise.
497 * dlfcn/dlclose.c (dlclose_doit): Likewise.
498 * dlfcn/dlerror.c (__dlerror): Likewise.
499 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
500 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
501 * dlfcn/dlopen.c (dlopen_doit): Likewise.
502 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
503 * dlfcn/dlsym.c (dlsym_doit): Likewise.
504 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
505 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
506 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
508 * elf/dl-conflict.c: Likewise.
509 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
510 * elf/dl-dst.h: Likewise.
511 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
512 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
513 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
514 * elf/dl-init.c (call_init, _dl_init): Likewise.
515 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
516 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
517 _dl_map_object_from_fd, open_verify, open_path,
518 _dl_map_object): Likewise.
519 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
521 * elf/dl-minimal.c (__libc_memalign): Likewise.
522 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
523 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
524 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
525 * elf/dl-sym.c (do_sym): Likewise.
526 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
527 _dl_tls_get_addr_soft): Likewise.
528 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
529 * elf/dl-writev.h (_dl_writev): Likewise.
530 * elf/ldconfig.c (search_dir): Likewise.
531 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
533 * elf/setup-vdso.h (setup_vdso): Likewise.
534 * grp/compat-initgroups.c (compat_call): Likewise.
535 * grp/fgetgrent.c (fgetgrent): Likewise.
536 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
537 * grp/putgrent.c (putgrent): Likewise.
538 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
540 * hurd/hurdinit.c: Likewise.
541 * iconvdata/8bit-gap.c (struct): Likewise.
542 * iconvdata/ansi_x3.110.c : Likewise.
543 * iconvdata/big5.c : Likewise.
544 * iconvdata/big5hkscs.c : Likewise.
545 * iconvdata/cp1255.c: Likewise.
546 * iconvdata/cp1258.c : Likewise.
547 * iconvdata/cp932.c : Likewise.
548 * iconvdata/euc-cn.c: Likewise.
549 * iconvdata/euc-jisx0213.c : Likewise.
550 * iconvdata/euc-jp.c: Likewise.
551 * iconvdata/euc-jp-ms.c : Likewise.
552 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
553 * iconvdata/gb18030.c : Likewise.
554 * iconvdata/gbbig5.c (const): Likewise.
555 * iconvdata/gbgbk.c: Likewise.
556 * iconvdata/gbk.c : Likewise.
557 * iconvdata/ibm1364.c : Likewise.
558 * iconvdata/ibm930.c : Likewise.
559 * iconvdata/ibm932.c: Likewise.
560 * iconvdata/ibm933.c : Likewise.
561 * iconvdata/ibm935.c : Likewise.
562 * iconvdata/ibm937.c : Likewise.
563 * iconvdata/ibm939.c : Likewise.
564 * iconvdata/ibm943.c: Likewise.
565 * iconvdata/iso_11548-1.c: Likewise.
566 * iconvdata/iso-2022-cn.c : Likewise.
567 * iconvdata/iso-2022-cn-ext.c : Likewise.
568 * iconvdata/iso-2022-jp-3.c: Likewise.
569 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
570 * iconvdata/iso-2022-kr.c : Likewise.
571 * iconvdata/iso646.c (gconv_end): Likewise.
572 * iconvdata/iso_6937-2.c : Likewise.
573 * iconvdata/iso_6937.c : Likewise.
574 * iconvdata/iso8859-1.c: Likewise.
575 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
576 * iconvdata/shift_jisx0213.c : Likewise.
577 * iconvdata/sjis.c : Likewise.
578 * iconvdata/t.61.c : Likewise.
579 * iconvdata/tcvn5712-1.c : Likewise.
580 * iconvdata/tscii.c: Likewise.
581 * iconvdata/uhc.c : Likewise.
582 * iconvdata/unicode.c (gconv_end): Likewise.
583 * iconvdata/utf-16.c (gconv_end): Likewise.
584 * iconvdata/utf-32.c (gconv_end): Likewise.
585 * iconvdata/utf-7.c (base64): Likewise.
586 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
587 * iconv/gconv_close.c (__gconv_close): Likewise.
588 * iconv/gconv_open.c (__gconv_open): Likewise.
589 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
590 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
591 internal_ucs4le_loop_single, ucs4le_internal_loop,
592 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
593 * iconv/iconv.c (iconv): Likewise.
594 * iconv/iconv_close.c: Likewise.
595 * iconv/loop.c (SINGLE): Likewise.
596 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
597 * include/atomic.h: Likewise.
598 * inet/inet6_option.c (option_alloc): Likewise.
599 * intl/bindtextdom.c (set_binding_values): Likewise.
600 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
601 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
602 * intl/localealias.c (read_alias_file): Likewise.
603 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
604 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
605 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
606 * libio/fmemopen.c (fmemopen): Likewise.
607 * libio/iofgets.c (_IO_fgets): Likewise.
608 * libio/iofgets_u.c (fgets_unlocked): Likewise.
609 * libio/iofgetws.c (fgetws): Likewise.
610 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
611 * libio/iogetdelim.c (_IO_getdelim): Likewise.
612 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
613 adjust_wide_data, _IO_wfile_seekoff): Likewise.
614 * locale/findlocale.c (_nl_find_locale): Likewise.
615 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
616 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
618 * locale/setlocale.c (setlocale): Likewise.
619 * login/programs/pt_chown.c (main): Likewise.
620 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
621 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
622 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
623 mmap, mmap64, mremap, munmap): Likewise.
624 * math/e_exp2l.c: Likewise.
625 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
626 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
627 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
628 * math/s_catan.c (__catan): Likewise.
629 * math/s_catanf.c (__catanf): Likewise.
630 * math/s_catanh.c (__catanh): Likewise.
631 * math/s_catanhf.c (__catanhf): Likewise.
632 * math/s_catanhl.c (__catanhl): Likewise.
633 * math/s_catanl.c (__catanl): Likewise.
634 * math/s_ccosh.c (__ccosh): Likewise.
635 * math/s_ccoshf.c (__ccoshf): Likewise.
636 * math/s_ccoshl.c (__ccoshl): Likewise.
637 * math/s_cexp.c (__cexp): Likewise.
638 * math/s_cexpf.c (__cexpf): Likewise.
639 * math/s_cexpl.c (__cexpl): Likewise.
640 * math/s_clog10.c (__clog10): Likewise.
641 * math/s_clog10f.c (__clog10f): Likewise.
642 * math/s_clog10l.c (__clog10l): Likewise.
643 * math/s_clog.c (__clog): Likewise.
644 * math/s_clogf.c (__clogf): Likewise.
645 * math/s_clogl.c (__clogl): Likewise.
646 * math/s_csin.c (__csin): Likewise.
647 * math/s_csinf.c (__csinf): Likewise.
648 * math/s_csinh.c (__csinh): Likewise.
649 * math/s_csinhf.c (__csinhf): Likewise.
650 * math/s_csinhl.c (__csinhl): Likewise.
651 * math/s_csinl.c (__csinl): Likewise.
652 * math/s_csqrt.c (__csqrt): Likewise.
653 * math/s_csqrtf.c (__csqrtf): Likewise.
654 * math/s_csqrtl.c (__csqrtl): Likewise.
655 * math/s_ctan.c (__ctan): Likewise.
656 * math/s_ctanf.c (__ctanf): Likewise.
657 * math/s_ctanh.c (__ctanh): Likewise.
658 * math/s_ctanhf.c (__ctanhf): Likewise.
659 * math/s_ctanhl.c (__ctanhl): Likewise.
660 * math/s_ctanl.c (__ctanl): Likewise.
661 * math/w_pow.c: Likewise.
662 * math/w_powf.c: Likewise.
663 * math/w_powl.c: Likewise.
664 * math/w_scalb.c (sysv_scalb): Likewise.
665 * math/w_scalbf.c (sysv_scalbf): Likewise.
666 * math/w_scalbl.c (sysv_scalbl): Likewise.
667 * misc/error.c (error_tail): Likewise.
668 * misc/pselect.c (__pselect): Likewise.
669 * nis/nis_callback.c (__nis_create_callback): Likewise.
670 * nis/nis_call.c (__nisfind_server): Likewise.
671 * nis/nis_creategroup.c (nis_creategroup): Likewise.
672 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
673 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
674 * nis/nis_getservlist.c (nis_getservlist): Likewise.
675 * nis/nis_lookup.c (nis_lookup): Likewise.
676 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
677 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
678 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
679 * nis/nis_xdr.c (xdr_endpoint): Likewise.
680 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
681 internal_getgrgid_r): Likewise.
682 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
684 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
685 internal_getpwuid_r): Likewise.
686 * nis/nss_compat/compat-spwd.c (getspent_next_file,
687 internal_getspnam_r): Likewise.
688 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
689 _nss_nis_getaliasbyname_r): Likewise.
690 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
691 _nss_nis_getntohost_r): Likewise.
692 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
693 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
695 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
696 internal_nis_gethostent_r, internal_gethostbyname2_r,
697 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
698 _nss_nis_gethostbyname4_r): Likewise.
699 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
700 initgroups_netid): Likewise.
701 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
702 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
703 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
704 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
705 _nss_nis_getprotobynumber_r): Likewise.
706 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
707 _nss_nis_getsecretkey): Likewise.
708 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
709 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
711 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
712 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
713 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
714 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
715 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
716 _nss_nis_getspnam_r): Likewise.
717 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
720 _nss_nisplus_getntohost_r): Likewise.
721 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
722 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
723 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
724 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
725 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
727 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
728 _nss_nisplus_getnetbyaddr_r): Likewise.
729 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
730 _nss_nisplus_getprotobynumber_r): Likewise.
731 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
732 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
733 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
735 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
736 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
737 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
738 _nss_nisplus_getspnam_r): Likewise.
739 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
740 * nscd/aicache.c (addhstaiX): Likewise.
741 * nscd/cache.c (cache_search, prune_cache): Likewise.
742 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
743 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
744 * nscd/grpcache.c (addgrbyX): Likewise.
745 * nscd/hstcache.c (addhstbyX): Likewise.
746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
747 * nscd/mem.c (gc, mempool_alloc): Likewise.
748 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
750 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
752 * nscd/nscd_getai.c (__nscd_getai): Likewise.
753 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
756 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
758 * nscd/nscd_helper.c (__readvall, open_socket,
759 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
760 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
761 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
762 * nscd/pwdcache.c (addpwbyX): Likewise.
763 * nscd/selinux.c (preserve_capabilities): Likewise.
764 * nscd/servicescache.c (addservbyX): Likewise.
765 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
766 * posix/fnmatch.c (fnmatch): Likewise.
767 * posix/getopt.c (_getopt_internal_r): Likewise.
768 * posix/glob.c (glob, glob_in_dir): Likewise.
769 * posix/wordexp.c (exec_comm_child): Likewise.
770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
771 gaih_getanswer_slice): Likewise.
772 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
773 * resolv/res_init.c: Likewise.
774 * resolv/res_mkquery.c (res_nmkquery): Likewise.
775 * resolv/res_query.c (__libc_res_nquery): Likewise.
776 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
778 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
779 * stdio-common/perror.c (perror): Likewise.
780 * stdio-common/printf_fp.c (___printf_fp): Likewise.
781 * stdio-common/tmpnam.c (tmpnam): Likewise.
782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
783 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
784 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
785 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
786 * stdlib/putenv.c (putenv): Likewise.
787 * stdlib/setenv.c (__add_to_environ): Likewise.
788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
789 * stdlib/strtol_l.c (INTERNAL): Likewise.
790 * string/memmem.c (memmem): Likewise.
791 * string/strerror.c (strerror): Likewise.
792 * string/strnlen.c (__strnlen): Likewise.
793 * string/test-memmem.c (simple_memmem): Likewise.
794 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
795 * sunrpc/pm_getport.c (__get_socket): Likewise.
796 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
797 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
798 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
799 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
801 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
802 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
803 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
804 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
805 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
806 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
808 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
809 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
811 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
812 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
814 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
815 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
816 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
817 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
818 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
819 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
823 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
825 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
826 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
828 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
829 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
830 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
831 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
834 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
835 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
838 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
840 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
841 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
843 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
845 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
849 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
851 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
852 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
853 * sysdeps/posix/opendir.c (__opendirat): Likewise.
854 * sysdeps/posix/sleep.c: Likewise.
855 * sysdeps/posix/tempname.c: Likewise.
856 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
857 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
859 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
860 elf_machine_rela): Likewise.
861 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
863 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
864 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
866 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
867 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
868 elf_machine_rela, elf_machine_lazy_rel): Likewise.
869 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
870 elf_machine_rela, elf_machine_lazy_rel): Likewise.
871 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
872 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
873 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
874 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
875 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
877 elf_machine_lazy_rel): Likewise.
878 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
880 elf_machine_lazy_rel): Likewise.
881 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
882 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
883 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
884 * sysdeps/unix/grantpt.c (grantpt): Likewise.
885 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
886 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
887 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
890 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
891 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
892 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
893 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
894 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
895 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
896 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
897 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
898 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
899 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
900 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
902 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
903 (__posix_fallocate64_l64): Likewise.
904 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
905 (posix_fallocate): Likewise.
906 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
907 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
908 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
909 getifaddrs_internal): Likewise.
910 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
911 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
912 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
914 * sysdeps/unix/sysv/linux/posix_fallocate64.c
915 (__posix_fallocate64_l64): Likewise.
916 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
918 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
919 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
921 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
922 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
923 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
926 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
927 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
928 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
930 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
931 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
932 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
934 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
935 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
936 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
938 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
939 (posix_fallocate): Likewise.
940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
941 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
942 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
943 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
944 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
946 * time/asctime.c (asctime_internal): Likewise.
947 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
948 * time/tzset.c (__tzset_parse_tz): Likewise.
949 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
950 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
951 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
952 * wcsmbs/wcsmbsload.h: Likewise.
954 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
957 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
959 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
961 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
962 arena_get2): Remove THREAD_STATS conditionals.
963 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
964 __malloc_stats, int): Likewise.
966 2014-02-08 Mike Frysinger <vapier@gentoo.org>
968 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
969 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
971 2014-02-08 Mike Frysinger <vapier@gentoo.org>
973 * manual/setjmp.texi: Fix typos/grammar errors.
975 2014-02-08 Mike Frysinger <vapier@gentoo.org>
977 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
978 Only return early when n is <= 0. Delete unused return statement.
980 2014-02-08 Mike Frysinger <vapier@gentoo.org>
982 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
983 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
984 * debug/tst-longjmp_chk3.c: New file.
986 2014-02-08 Mike Frysinger <vapier@gentoo.org>
988 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
989 (test_main): Replace code with set_fortify_handler call.
990 * debug/test-strcpy_chk.c: Likewise.
991 * debug/tst-chk1.c: Likewise.
992 * debug/tst-longjmp_chk.c: Likewise.
993 * test-skeleton.c: Include fcntl.h & paths.h
994 (set_fortify_handler): Define.
996 2014-02-08 Mike Frysinger <vapier@gentoo.org>
998 * debug/tst-longjmp_chk.c: Add header comment and include
1000 (do_test): Mark static.
1001 (TEST_FUNCTION): Define.
1003 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1005 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1006 (IP_PMTUDISC_INTERFACE): Likewise.
1007 (IP_MULTICAST_IF): Likewise.
1008 (IP_MULTICAST_TTL): Likewise.
1009 (IP_MULTICAST_LOOP): Likewise.
1010 (IP_ADD_MEMBERSHIP): Likewise.
1011 (IP_DROP_MEMBERSHIP): Likewise.
1012 (IP_UNBLOCK_SOURCE): Likewise.
1013 (IP_BLOCK_SOURCE): Likewise.
1014 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1015 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1016 (IP_MSFILTER): Likewise.
1017 (MCAST_JOIN_GROUP): Likewise.
1018 (MCAST_BLOCK_SOURCE): Likewise.
1019 (MCAST_UNBLOCK_SOURCE): Likewise.
1020 (MCAST_LEAVE_GROUP): Likewise.
1021 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1022 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1023 (MCAST_MSFILTER): Likewise.
1024 (IP_MULTICAST_ALL): Likewise.
1025 (IP_UNICAST_IF): Likewise.
1027 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1029 * timezone/Makefile: Delete $(have-ksh) check.
1030 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1031 * timezone/tzselect.ksh: Add +x mode bits.
1033 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1035 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1036 (ANON_INODE_FS_MAGIC): Likewise.
1037 (BDEVFS_MAGIC): Likewise.
1038 (BINFMTFS_MAGIC): Likewise.
1039 (BTRFS_TEST_MAGIC): Likewise.
1040 (CRAMFS_MAGIC_WEND): Likewise.
1041 (DEBUGFS_MAGIC): Likewise.
1042 (ECRYPTFS_SUPER_MAGIC): Likewise.
1043 (EXT3_SUPER_MAGIC): Likewise.
1044 (EXT4_SUPER_MAGIC): Likewise.
1045 (FUTEXFS_SUPER_MAGIC): Likewise.
1046 (HOSTFS_SUPER_MAGIC): Likewise.
1047 (HUGETLBFS_MAGIC): Likewise.
1048 (MINIX3_SUPER_MAGIC): Likewise.
1049 (MTD_INODE_FS_MAGIC): Likewise.
1050 (NILFS_SUPER_MAGIC): Likewise.
1051 (OPENPROM_SUPER_MAGIC): Likewise.
1052 (PIPEFS_MAGIC): Likewise.
1053 (PSTOREFS_MAGIC): Likewise.
1054 (QNX6_SUPER_MAGIC): Likewise.
1055 (RAMFS_MAGIC): Likewise.
1056 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1057 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1058 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1059 (SECURITYFS_MAGIC): Likewise.
1060 (SELINUX_MAGIC): Likewise.
1061 (SMACK_MAGIC): Likewise.
1062 (SOCKFS_MAGIC): Likewise.
1063 (SQUASHFS_MAGIC): Likewise.
1064 (STACK_END_MAGIC): Likewise.
1065 (TMPFS_MAGIC): Likewise.
1066 (USBDEVICE_SUPER_MAGIC): Likewise.
1067 (V9FS_MAGIC): Likewise.
1068 (XENFS_SUPER_MAGIC): Likewise.
1069 (CRAMFS_MAGIC): Fix typo in comment.
1070 (EXT2_SUPER_MAGIC): Update comment.
1071 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1073 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1075 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1076 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1077 * sysdeps/unix/sysv/linux/arm: Move directory from
1078 ports/sysdeps/unix/sysv/linux/arm.
1079 * README: Update listing for arm-*-linux-gnueabi.
1081 * README: Remove mention of am33.
1083 2014-02-07 Roland McGrath <roland@hack.frob.com>
1085 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1086 than the comma operator, to avoid "rhs of comma has no effect"
1088 (__sigfillset, __sigandset, __sigorset): Likewise.
1089 * include/signal.h (__sigemptyset): Likewise.
1090 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1092 2014-02-07 Allan McRae <allan@archlinux.org>
1094 * version.h (RELEASE): Set to "development".
1095 (VERSION): Set to "2.19.90"
1096 * NEWS: Add 2.20 section.
1098 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1101 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1103 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1105 * manual/contrib.texi: Update entry for Carlos O'Donell,
1106 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1108 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1110 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1112 * sysdeps/unix/sysv/linux/kernel-features.h
1113 [__LINUX_KERNEL_VERSION >= 0x020621]
1114 (__ASSUME_PROC_PID_TASK_COMM): Define.
1116 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1118 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1119 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1120 Leonard and Allan McRae.
1122 2014-02-04 David S. Miller <davem@davemloft.net>
1124 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1127 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1156 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1159 * shlib-versions: Likewise.
1161 2014-02-04 Roland McGrath <roland@hack.frob.com>
1162 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1165 (abilist-pattern): New variable, set to %-le.abilist.
1167 * Makerules (abilist-pattern): New variable.
1168 (vpath): Use $(abilist-pattern) in place of %.abilist.
1169 (check-abi-% pattern rule): Likewise.
1170 (check-abi, update-abi): Likewise.
1172 2014-02-04 Eric Wong <normalperson@yhbt.net>
1174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1176 2014-02-04 Eric Wong <normalperson@yhbt.net>
1178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1180 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1182 * manual/startup.texi: Add next, previous, and top entries for
1183 the `Program Arguments' and `Environment Variables' nodes.
1185 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1187 * manual/macros.texi: Add comments before MTASC-safety macros.
1189 * manual/users.texi: Document MTASC-safety properties.
1191 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1192 pthread_getspecific, pthread_setspecific): Format with
1193 @deftypefun, and add @safety note.
1194 * manual/signal.texi: Move comments that analyze the above
1195 functions to their home place.
1197 2014-02-03 Allan McRae <allan@archlinux.org>
1199 * po/sl.po: Update Slovenian translation from translation project.
1201 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1203 * manual/time.texi (timegm): Add missing blank after @c.
1204 Reported by Joseph Myers <joseph@codesourcery.com>.
1206 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1208 * manual/check-safety.sh: New.
1209 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1211 * manual/terminal.texi: Document MTASC-safety properties.
1213 * manual/filesys.texi: Document MTASC-safety properties.
1215 * manual/errno.texi: Document MTASC-safety properties.
1217 * manual/intro.texi: Document safety identifiers and
1220 * manual/string.texi (wcstok): Fix prototype.
1221 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1223 * manual/time.texi: Document MTASC-safety properties.
1225 * manual/string.texi: Document MTASC-safety properties.
1227 * manual/threads.texi: Document MTASC-safety properties.
1229 * manual/stdio.texi: Document MTASC-safety properties.
1231 * manual/syslog.texi: Document MTASC-safety properties.
1233 * manual/sysinfo.texi: Document MTASC-safety properties.
1235 * manual/startup.texi: Document MTASC-safety properties.
1237 * manual/socket.texi: Document MTASC-safety properties.
1239 * manual/signal.texi: Document MTASC-safety properties.
1241 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1243 * manual/setjmp.texi: Document MTASC-safety properties.
1245 * manual/search.texi: Document MTASC-safety properties.
1247 * manual/resource.texi: Document MTASC-safety properties.
1249 * manual/process.texi: Document MTASC-safety properties.
1251 * manual/platform.texi: Document MTASC-safety properties.
1253 * manual/pipe.texi: Document MTASC-safety properties.
1255 * manual/pattern.texi: Document MTASC-safety properties.
1257 * manual/message.texi: Document MTASC-safety properties.
1260 * manual/memory.texi: Document MTASC-safety properties.
1262 * manual/math.texi: Document MTASC-safety properties.
1264 * manual/locale.texi: Document MTASC-safety properties.
1266 * manual/llio.texi: Document MTASC-safety properties.
1268 * manual/libdl.texi: New.
1270 * manual/lang.texi: Document MTASC-safety properties.
1272 * manual/job.texi: Document MTASC-safety properties.
1274 * manual/getopt.texi: Document MTASC-safety properties.
1276 * manual/ctype.texi: Document MTASC-safety properties.
1278 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1281 * csu/libc-tls.c (static_map): Remove variable.
1282 (__libc_setup_tls): Use main executable's link map for TLS data.
1283 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1284 casing for LM_ID_BASE and GL(dl_nns).
1285 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1286 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1287 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1288 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1289 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1291 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1294 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1296 * manual/debug.texi: Document MTASC-safety properties.
1298 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1301 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1302 of __x86_64__ when disabling x87 inline functions.
1304 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1306 * manual/charset.texi: Document MTASC-safety properties.
1308 * manual/crypt.texi: Document MTASC-safety properties.
1310 * manual/conf.texi: Document MTASC-safety properties.
1312 * manual/arith.texi: Document MTASC-safety properties.
1314 * manual/argp.texi: Document MTASC-safety properties.
1316 * manual/macros.texi: Introduce macros to document multi
1317 thread, asynchronous signal and asynchronous cancellation
1319 * manual/intro.texi: Introduce the properties themselves.
1321 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1323 * sysdeps/sh/sh4/Makefile: New file.
1325 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1327 * math/gen-libm-test.pl ($srcdir): New variable.
1328 ($auto_input): Use it.
1330 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1333 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1334 access beyond array bounds when parsing netgroups file.
1336 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1337 the old buffer before realloc.
1339 2014-01-27 Allan McRae <allan@archlinux.org>
1341 * po/fr.po: Update French translation from translation project.
1343 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1345 * sysdeps/sh/libm-test-ulps: Regenerate.
1347 2014-01-24 David S. Miller <davem@davemloft.net>
1349 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1351 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1354 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1356 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1359 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1360 string pointers after reallocation.
1362 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1364 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1365 __SH4A__ instead of __SH_FPU_ANY__.
1367 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1369 * sysdeps/sh/fpu_control.h: New file.
1370 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1371 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1372 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1373 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1374 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1375 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1376 * sysdeps/sh/sys/ucontext.h: Remove.
1377 * sysdeps/sh/sys: Remove directory.
1379 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1381 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1382 s390/sys/ucontext.h.
1383 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1386 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1389 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1391 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1395 Adjust the vDSO correctly for internal calls.
1396 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1398 2014-01-20 Allan McRae <allan@archlinux.org>
1400 * po/ca.po: Update Catalan translation from translation project.
1402 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1404 * sysdeps/s390/sotruss-lib.c: New file.
1406 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1410 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1411 local calls issues by not having a PLT stub required for IFUNC calls.
1412 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1414 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1416 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1417 * math/test-fpucw-static.c: Likewise.
1419 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1424 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1426 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1427 implementation for powerpc.
1429 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1432 * sysdeps/posix/system.c (__libc_system): Do not enable
1433 asynchronous cancellation.
1435 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1438 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1439 handling only for numbers special also in the IEEE case.
1441 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1443 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1445 2014-01-11 Allan McRae <allan@archlinux.org>
1447 * po/bg.po: Update Bulgarian translation from translation project.
1449 * po/de.po: Update German translation from translation project.
1451 2014-01-10 Roland McGrath <roland@hack.frob.com>
1453 * sysdeps/generic/gcc-compat.h: New file.
1455 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1457 * benchtests/asin-inputs: Correct slow inputs.
1458 * benchtests/acos-inputs: Likewise.
1460 2014-01-10 Allan McRae <allan@archlinux.org>
1462 * po:sv.po: Update Swedish translation from translation project.
1464 * po/vi.po: Update Vietnamese translation from translation project.
1466 * po/eo.po: Update Esperanto translation from translation project.
1468 * po/cs.po: Update Czech translation from translation project.
1470 * po/nl.po: Update Dutch translation from translation project.
1472 * po/pl.po: Update Polish translation from translation project.
1474 * po/ru.po: Update Russian translation from translation project.
1476 * po/uk.po: Update Ukrainian translation from translation project.
1478 2014-01-08 Brooks Moses <bmoses@google.com>
1480 * elf/dl-load.c: Fix comment typo.
1482 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1484 * po/header.pot: Rename to...
1485 * po/pot.header: ... this.
1486 * po/Makefile: Use pot.header.
1488 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1489 Maxim Kuvyrkov <maxim@kugelworks.com>
1492 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1493 SRC and DEST against LEN.
1495 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1500 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1502 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1506 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1509 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1510 for large positive arguments.
1512 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1514 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1516 * math/auto-libm-test-in: Mark various tests with
1517 xfail-rounding:ldbl-128ibm.
1518 * math/auto-libm-test-out: Regenerated.
1521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1522 Increase overflow threshold.
1524 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1527 * stdio-common/vfprintf.c: Check for integer overflow.
1529 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1531 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1532 the first argument and return value of __tls_get_addr_internal.
1534 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1536 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1537 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1539 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1541 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1542 * sysdeps/s390/rtld-global-offsets.sym: New file.
1543 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1545 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1546 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1549 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1550 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1556 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1557 halfs of GPRs for high_gprs contexts.
1558 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1559 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1561 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1563 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1565 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1566 for high GPRs (uc_high_gprs) and for future extensions
1568 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1569 for future extensions (__reserved).
1570 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1572 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1573 SC_HIGHGPRS offset definition.
1574 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1575 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1577 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1579 * Versions.def: Add GLIBC_2.19 for libpthread.
1580 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1581 siglongjmp for libpthread with GLIBC_2.19 symver.
1582 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1583 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1584 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1585 * sysdeps/s390/__longjmp.c: New file.
1586 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1587 * sysdeps/s390/longjmp.c: New file.
1588 * sysdeps/s390/setjmp.S: New file.
1589 * sysdeps/s390/sigjmp.S: New file.
1590 * sysdeps/s390/v1-longjmp.c: New file.
1591 * sysdeps/s390/v1-setjmp.h: New file.
1592 * sysdeps/s390/v1-sigjmp.c: New file.
1593 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1594 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1596 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1597 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1598 versioned symbols for ____longjmp_chk.
1599 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1609 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1610 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1611 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1612 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1613 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1614 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1615 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1616 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1617 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1618 * sysdeps/s390/rtld-__longjmp.c: New file.
1619 * sysdeps/s390/rtld-setjmp.S: New file.
1621 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1624 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1625 Return -__logl (x) for small positive arguments without evaluating
1628 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1630 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1632 (__ptrace_peeksiginfo_args): ... this.
1633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1637 2014-01-06 Allan McRae <allan@archlinux.org>
1639 * inet/netinet/in.h: Fix typo in comment.
1641 2014-01-05 Andreas Jaeger <aj@suse.de>
1643 * sysdeps/i386/fpu/libm-test-ulps: Update.
1645 2014-01-05 Allan McRae <allan@archlinux.org>
1647 * po/libc.pot: Regenerated.
1649 * malloc/memusagestat.c: Fix gettext call formatting.
1651 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1653 * nscd/nscd.c: Improve usage() output.
1655 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1657 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1658 * sysdeps/unix/sysv/linux/configure: Regenerated.
1659 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1660 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1662 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1665 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1666 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1668 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1671 extra tokens at end of #undef directive.
1672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1673 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1674 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1676 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1678 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1680 * math/auto-libm-test-in: Mark various tests with
1681 xfail-rounding:ldbl-128ibm.
1682 * math/auto-libm-test-out: Regenerated.
1684 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1687 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1688 numbers with subnormal high part when calculating exponent.
1691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1697 (__ieee754_acoshl): Use __log1pl not __log1p.
1699 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1701 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1702 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1703 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1704 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1705 Convert to GNU style.
1706 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1707 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1708 memalign_check, __malloc_set_state): Likewise.
1709 * malloc/mallocbug.c (main): Likewise.
1710 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1711 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1712 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1713 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1714 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1715 * malloc/malloc.h: Likewise.
1716 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1717 memalignhook, reallochook, mabort): Likewise.
1718 * malloc/mcheck.h: Likewise.
1719 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1720 mmap64, mremap, munmap, dest): Likewise.
1721 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1722 * malloc/morecore.c (__default_morecore): Likewise.
1723 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1724 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1725 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1726 print_and_abort): Likewise.
1727 * malloc/obstack.h: Likewise.
1728 * malloc/set-freeres.c (__libc_freeres): Likewise.
1729 * malloc/tst-mallocstate.c (main): Likewise.
1730 * malloc/tst-mtrace.c (main): Likewise.
1731 * malloc/tst-realloc.c (do_test): Likewise.
1733 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1736 * nscd/netgroupcache.c (do_notfound): New function.
1737 (addgetnetgrentX): Use it.
1740 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1741 NSS_STATUS_NOTFOUND.
1743 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1745 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1748 2014-01-01 Allan McRae <allan@archlinux.org>
1750 * scripts/update-copyrights: Update configure input file suffix.
1752 * NEWS: Update copyright year.
1753 * catgets/gencat.c: Likewise.
1754 * csu/version.c: Likewise.
1755 * debug/catchsegv.sh: Likewise.
1756 * debug/pcprofiledump.c: Likewise.
1757 * debug/xtrace.sh: Likewise.
1758 * elf/ldconfig.c: Likewise.
1759 * elf/ldd.bash.in: Likewise.
1760 * elf/pldd.c: Likewise.
1761 * elf/sotruss.ksh: Likewise.
1762 * elf/sprof.c: Likewise.
1763 * iconv/iconv_prog.c: Likewise.
1764 * iconv/iconvconfig.c: Likewise.
1765 * locale/programs/locale.c: Likewise.
1766 * locale/programs/localedef.c: Likewise.
1767 * login/programs/pt_chown.c: Likewise.
1768 * malloc/memusage.sh: Likewise.
1769 * malloc/memusagestat.c: Likewise.
1770 * malloc/mtrace.pl: Likewise.
1771 * manual/libc.texinfo: Likewise.
1772 * nscd/nscd.c: Likewise.
1773 * nss/getent.c: Likewise.
1774 * nss/makedb.c: Likewise.
1775 * posix/getconf.c: Likewise.
1776 * scripts/test-installation.pl: Likewise.
1778 * All files with FSF copyright notices: Update copyright dates
1779 using scripts/update-copyrights.
1780 * intl/plural.c: Regenerated.
1781 * locale/programs/charmap-kw.h: Likewise.
1782 * locale/programs/locfile-kw.h: Likewise.
1784 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1786 * sysdeps/unix/sysv/linux/configure: Regenerated.
1787 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1788 the linux/fanotify.h header.
1789 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1790 HAVE_LINUX_FANOTIFY_H is defined.
1792 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1794 * benchtests/cos-inputs: New inputs.
1795 * benchtests/sin-inputs: Likewise.
1797 * benchtests/atan-inputs: New inputs. Fix name of multiple
1798 precision fallback inputs.
1800 * benchtests/atanh-inputs: New inputs.
1801 * benchtests/tanh-inputs: Likewise.
1803 * benchtests/acosh-inputs: New inputs.
1804 * benchtests/asinh-inputs: Likewise.
1806 * benchtests/cosh-inputs: New inputs.
1807 * benchtests/sinh-inputs: Likewise.
1809 * benchtests/acos-inputs: Add more inputs.
1810 * benchtests/asin-inputs: Likewise.
1812 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1815 * manual/arith.texi: Fix spelling.
1816 * manual/charset.texi: Likewise.
1817 * manual/errno.texi: Likewise.
1818 * manual/filesys.texi: Likewise.
1819 * manual/lang.texi: Likewise.
1820 * manual/llio.texi: Likewise.
1821 * manual/locale.texi: Likewise.
1822 * manual/message.texi: Likewise.
1823 * manual/resource.texi: Likewise.
1824 * manual/search.texi: Likewise.
1825 * manual/setjmp.texi: Likewise.
1826 * manual/stdio.texi: Likewise.
1827 * manual/string.texi: Likewise.
1828 * manual/sysinfo.texi: Likewise.
1829 * manual/time.texi: Likewise.
1831 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1833 * po/sl.po: New file.
1835 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1837 * .gitignore: Add core/.gdbinit/.gdb_history.
1839 2013-12-27 Allan McRae <allan@archlinux.org>
1842 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1843 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1845 2013-12-24 Brooks Moses <bmoses@google.com>
1847 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1848 all compilers that claim C++98 compliance, not just GCC.
1849 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1852 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1854 * NEWS: Restore accidentally deleted bug-fix entries.
1856 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1857 Ondřej Bílka <neleai@seznam.cz>
1860 * malloc/malloc.c (_int_free): Perform sanity check only if we
1863 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1866 * manual/stdio.texi (String Input Conversions): Clarify that character
1867 classes are not supported.
1869 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1873 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1877 Calculate results for small negative arguments directly rather
1878 than using reflection formula with special underflow handling.
1880 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1881 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1882 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1883 (fchflags): Likewise.
1885 (setlogin): Likewise.
1886 (sigaltstack): Likewise.
1889 (sigsetmask): Likewise.
1891 (waitpid): Likewise.
1892 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1893 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1895 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1896 * sysdeps/unix/bsd/Makefile: ... here.
1897 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1898 * sysdeps/unix/bsd/Versions: ... here.
1899 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1900 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1901 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1902 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1903 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1904 * sysdeps/unix/bsd/sigblock.c: ... here.
1905 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1906 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1907 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1908 * sysdeps/unix/bsd/sigvec.c: ... here.
1909 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1910 * sysdeps/unix/bsd/tcdrain.c: ... here.
1911 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1912 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1913 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1914 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1915 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1916 * sysdeps/unix/bsd/wait.c: ... here.
1917 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1918 * sysdeps/unix/bsd/wait3.c: ... here.
1919 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1920 * sysdeps/unix/bsd/waitpid.c: ... here.
1922 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1926 round-to-nearest for [!USE_AS_EXPM1L].
1927 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1928 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1929 more tests of exp and exp10. Expect some exp10 tests to miss
1930 exceptions or fail in directed rounding modes.
1931 * math/auto-libm-test-out: Regenerated.
1932 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1933 (exp10_test_tonearest): New function.
1934 (exp10_towardzero_test_data): New array.
1935 (exp10_test_towardzero): New function.
1936 (exp10_downward_test_data): New array.
1937 (exp10_test_downward): New function.
1938 (exp10_upward_test_data): New array.
1939 (exp10_test_upward): New function.
1940 (main): Call the new functions.
1941 * sysdeps/i386/fpu/libm-test-ulps: Update.
1942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1946 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1947 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1948 * math/auto-libm-test-out: Regenerated.
1949 * math/libm-test.inc (acosh_test_data): Add more tests.
1950 (atanh_test_data): Likewise.
1951 (ceil_test_data): Likewise.
1952 (copysign_test_data): Likewise.
1953 * sysdeps/i386/fpu/libm-test-ulps: Update.
1954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1956 * timezone/checktab.awk: Update from tzcode 2013i.
1957 * timezone/private.h: Likewise.
1958 * timezone/scheck.c: Likewise.
1959 * timezone/tzfile.h: Likewise.
1960 * timezone/tzselect.ksh: Likewise.
1961 * timezone/zdump.c: Likewise.
1962 * timezone/zic.c: Likewise.
1964 * math/auto-libm-test-in: Add tests of cpow.
1965 * math/auto-libm-test-out: Regenerated.
1966 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1967 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1969 (func_calc_desc): Add mpc_cc_c union field.
1970 (test_functions): Add cpow.
1971 (special_fill_2pi): New function.
1972 (special_real_inputs): Add 2pi.
1973 (calc_generic_results): Handle mpc_cc_c.
1974 * sysdeps/i386/fpu/libm-test-ulps: Update.
1975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1978 csqrt, ctan and ctanh.
1979 * math/auto-libm-test-out: Regenerated.
1980 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1981 (TEST_COND_x86): Likewise.
1982 (ccos_test_data): Use AUTO_TESTS_c_c.
1983 (ccosh_test_data): Likewise.
1984 (cexp_test_data): Likewise.
1985 (clog_test_data): Likewise.
1986 (csqrt_test_data): Likewise.
1987 (ctan_test_data): Likewise.
1988 (ctan_tonearest_test_data): Likewise.
1989 (ctan_towardzero_test_data): Likewise.
1990 (ctan_downward_test_data): Likewise.
1991 (ctan_upward_test_data): Likewise.
1992 (ctanh_test_data): Likewise.
1993 (ctanh_tonearest_test_data): Likewise.
1994 (ctanh_towardzero_test_data): Likewise.
1995 (ctanh_downward_test_data): Likewise.
1996 (ctanh_upward_test_data): Likewise.
1997 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1999 (func_calc_desc): Add mpc_c_c union field.
2000 (FUNC_mpc_c_c): New macro.
2001 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2002 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2004 (special_fill_min_subnorm_p120): New function.
2005 (special_real_inputs): Add min_subnorm_p120.
2006 (calc_generic_results): Handle mpc_c_c.
2007 * sysdeps/i386/fpu/libm-test-ulps: Update.
2008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2010 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2012 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2013 do_sin_slow): New functions.
2014 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2015 cslow2, csloww1, csloww2): Use the new functions.
2017 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2018 Use M to change sign of result instead of X. Assume X is
2020 (csloww1): Likewise.
2024 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2031 (sloww1): Don't adjust sign of DX.
2032 (csloww1): Likewise.
2033 (sloww2): Use X directly and don't adjust sign of DX.
2034 (csloww2): Likewise.
2036 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2038 * math/auto-libm-test-in: Add tests of cabs and carg.
2039 * math/auto-libm-test-out: Regenerated.
2040 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2041 (carg_test_data): Likewise.
2042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2044 (func_calc_desc): Add mpc_c_f union field.
2045 (test_functions): Add cabs and carg.
2046 (calc_generic_results): Handle mpc_c_f.
2048 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2049 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2050 as a macro and a compat symbol.
2051 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2052 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2053 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2054 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2055 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2056 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2064 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2066 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2068 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2069 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2072 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2076 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2078 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2079 trailing whitespace removed.
2080 * scripts/config.guess: Update to version 2013-11-29.
2081 * scripts/config.sub: Update to version 2013-10-01.
2083 * math/auto-libm-test-in: Add tests of sincos.
2084 * math/auto-libm-test-out: Regenerated.
2085 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2086 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2088 (func_calc_desc): Add mpfr_f_11 union field.
2089 (test_functions): Add sincos.
2090 (calc_generic_results): Handle mpfr_f_11.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2094 2013-12-19 Andreas Schwab <schwab@suse.de>
2096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2098 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2100 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2102 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2104 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2105 * sysdeps/i386/fpu/libm-test-ulps: Update.
2106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2110 round-to-nearest mode when using frndint.
2111 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2112 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2115 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2117 * math/auto-libm-test-out: Regenerated.
2118 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2119 (TEST_COND_x86): Likewise.
2120 (expm1_tonearest_test_data): New array.
2121 (expm1_test_tonearest): New function.
2122 (expm1_towardzero_test_data): New array.
2123 (expm1_test_towardzero): New function.
2124 (expm1_downward_test_data): New array.
2125 (expm1_test_downward): New function.
2126 (expm1_upward_test_data): New array.
2127 (expm1_test_upward): New function.
2128 (main): Run the new test functions.
2129 * sysdeps/i386/fpu/libm-test-ulps: Update.
2130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132 * include/features.h: Update comment documenting feature test
2133 macros. Mention _DEFAULT_SOURCE in comment.
2134 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2135 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2136 _BSD_SOURCE and _SVID_SOURCE.
2137 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2138 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2139 !_SVID_SOURCE]: Likewise.
2140 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2141 (__USE_POSIX_IMPLICITLY): Define.
2142 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2143 (_POSIX_SOURCE): Undefine and redefine.
2144 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2145 (_POSIX_C_SOURCE): Likewise.
2146 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2147 (Feature Test Macros): Update documentation of default features.
2149 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2151 * benchtests/Makefile: Add bench-strtok.
2152 * benchtests/bench-strtok.c: New file: strtok benchtest.
2154 2013-12-19 Allan McRae <allan@archlinux.org>
2156 * manual/install.texi: Suppress menu for plain text output.
2157 * INSTALL: Regenerated.
2159 2013-12-18 Brooks Moses <bmoses@google.com>
2162 * misc/getauxval.c: Include errno.h.
2163 (__getauxval): Set errno to ENOENT if the requested type is not
2165 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2166 don't declare with __attribute_const__.
2167 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2168 * manual/startup.texi: Document that getauxval sets errno.
2170 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2172 * math/auto-libm-test-in: Add tests of jn and yn.
2173 * math/auto-libm-test-out: Regenerated.
2174 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2175 (yn_test_data): Likewise.
2176 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2178 (func_calc_desc): Add mpfr_if_f union field.
2179 (FUNC_mpfr_if_f): New macro.
2180 (test_functions): Add jn and yn.
2181 (calc_generic_results): Assert type of second input for
2182 mpfr_ff_f. Handle mpfr_if_f.
2183 (output_for_one_input_case): Disable all checking for arguments
2184 fitting floating-point types in case of an integer argument.
2185 * sysdeps/i386/fpu/libm-test-ulps: Update.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2189 Don't expect fegetround reference in libm.so.
2191 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2193 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2194 $(config-cflags-nofma).
2196 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2198 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2199 * math/auto-libm-test-out: Regenerated.
2202 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2203 to determine exponent and adjust argument to have exponent of -1.
2204 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2206 * math/auto-libm-test-out: Regenerated.
2207 * sysdeps/i386/fpu/libm-test-ulps: Update.
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2210 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2212 * manual/probes.texi: Remove cases when per-thread arenas are
2215 2013-12-18 Andreas Schwab <schwab@suse.de>
2217 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2218 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2219 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2220 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2221 * sysdeps/i386/i686/multiarch/Makefile: Update.
2222 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2224 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2226 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2227 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2229 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2232 Support TZ transition times < 00:00:00.
2233 This is needed for version-3 tz-format files; it supports time
2234 stamps past 2037 for America/Godthab (the only entry in the tz
2235 database for which this change is relevant).
2236 * manual/time.texi (TZ Variable): Document transition times
2237 from -167:59:59 through -00:00:01.
2238 * time/tzset.c (tz_rule): Time of day is now signed.
2239 (__tzset_parse_tz): Parse negative time of day.
2241 Document TZ transition times >= 25:00:00.
2242 * manual/time.texi (TZ Variable): Document transition times from
2243 25:00:00 through 167:59:59. These are already supported, and this
2244 support will help with version-3 tz-format files.
2246 * manual/time.texi (TZ Variable): Modernize North America example
2247 to reflect current (i.e., 2007-and-later) daylight saving rules.
2249 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2251 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2253 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2254 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2257 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2258 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2259 * sysdeps/unix/bsd/clock.c: Likewise.
2260 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2261 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2262 * sysdeps/unix/bsd/init-posix.c: Likewise.
2263 * sysdeps/unix/bsd/poll.c: Likewise.
2264 * sysdeps/unix/bsd/ptsname.c: Likewise.
2265 * sysdeps/unix/bsd/seekdir.c: Likewise.
2266 * sysdeps/unix/bsd/setegid.c: Likewise.
2267 * sysdeps/unix/bsd/seteuid.c: Likewise.
2268 * sysdeps/unix/bsd/setgid.c: Likewise.
2269 * sysdeps/unix/bsd/setrgid.c: Likewise.
2270 * sysdeps/unix/bsd/setruid.c: Likewise.
2271 * sysdeps/unix/bsd/setsid.c: Likewise.
2272 * sysdeps/unix/bsd/setuid.c: Likewise.
2273 * sysdeps/unix/bsd/sigaction.c: Likewise.
2274 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2275 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2276 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2277 * sysdeps/unix/bsd/telldir.c: Likewise.
2278 * sysdeps/unix/bsd/times.c: Likewise.
2279 * sysdeps/unix/bsd/usleep.c: Likewise.
2281 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2282 ($(objpfx)libbsd-compat.a): Remove rule.
2284 * include/features.h (__FAVOR_BSD): Do not define.
2285 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2286 features conflicting with POSIX.
2287 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2288 (_BSD_SOURCE): Remove description of not being a subset of other
2289 feature test macros.
2290 * manual/job.texi (getpgrp): Do not document BSD version.
2291 (getpgid): Do not document by reference to BSD getpgrp.
2292 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2293 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2294 * signal/signal.h [__FAVOR_BSD]: Likewise.
2295 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2296 instead of making contents conditional on [__FAVOR_BSD].
2297 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2299 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2303 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2306 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2307 values below 2**-450, not 2**-500.
2308 * math/auto-libm-test-in: Don't allow spurious underflow from
2310 * math/auto-libm-test-out: Regenerated.
2314 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2315 values of ha and hb and sort them after adjusting subnormal
2317 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2319 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2320 values of ea and eb and sort them after adjusting subnormal
2322 * math/auto-libm-test-in: Do not expect some hypot tests of
2323 subnormals to fail. Add more hypot tests.
2324 * math/auto-libm-test-out: Regenerated.
2326 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2329 * sysdeps/sh/s_fma.c: New file.
2330 * sysdeps/sh/s_fmaf.c: New file.
2331 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2333 * sysdeps/sh/Implies: Add sh/soft-fp.
2335 2013-12-16 Roland McGrath <roland@hack.frob.com>
2337 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2338 level of indirection to members `objname', `errstring', `malloced'.
2339 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2340 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2341 it as the __longjmp argument (just pass 1 instead).
2342 (_dl_catch_error): Initialize C with argument pointers and address of
2343 volatile local ERRCODE rather than copying values out of C at return.
2345 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2347 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2348 * math/auto-libm-test-out: Regenerated.
2349 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2350 (hypot_test_data): Likewise.
2351 (pow_test_data): Likewise.
2352 (pow_tonearest_test_data): Likewise.
2353 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2355 (func_calc_desc): Add mpfr_ff_f union field.
2356 (FUNC_mpfr_ff_f): New macro.
2357 (test_functions): Add atan2, hypot and pow.
2358 (special_fill_min): New function.
2359 (special_fill_minus_min): Likewise.
2360 (special_fill_min_subnorm): Likewise.
2361 (special_fill_minus_min_subnorm): Likewise.
2362 (special_real_inputs): Add min, -min, min_subnorm and
2364 (calc_generic_results): Handle mpfr_ff_f.
2365 * sysdeps/i386/fpu/libm-test-ulps: Update.
2366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2368 2013-12-16 Will Newton <will.newton@linaro.org>
2370 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2371 (Aligned Memory Blocks): Add documentation for aligned_alloc
2372 and suggest it as an alternative to posix_memalign.
2373 (Hooks for Malloc): Document __memalign_hook is also called
2374 for aligned_alloc. (Summary of Malloc): Add summary for
2375 aligned alloc. Document __memalign_hook is also called
2378 2013-12-16 Will Newton <will.newton@linaro.org>
2380 * manual/memory.texi (Malloc Examples): Clarify default
2381 alignment documentation. Suggest posix_memalign rather
2382 than memalign or valloc.
2383 (Aligned Memory Blocks): Remove suggestion to use memalign
2384 or valloc. Remove obsolete comment about BSD.
2385 Document memalign errno values and mark the function obsolete.
2386 Document posix_memalign returned error codes. Mark valloc
2387 as obsolete. (Hooks for Malloc): __memalign_hook is also
2388 called for posix_memalign and valloc.
2389 (Summary of Malloc): Add posix_memalign to function summary.
2390 __memalign_hook is also called for posix_memalign and valloc.
2392 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2394 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2398 (sloww): Use mynumber union. Expand ternary operator into
2400 (cslow): use mynumber union.
2402 2013-12-16 Allan McRae <allan@archlinux.org>
2404 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2405 * configure: Regenerated.
2407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2410 * configure.ac: Added --enable-maintainer-mode. Check for
2411 autoconf when enabled.
2412 * configure: Regenerated.
2414 * nscd/nscd.service: New file.
2415 * nscd/nscd.tmpfiles: New file.
2417 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2420 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2421 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2422 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2423 (strstr): Add __strstr_sse2_unaligned ifunc.
2424 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2425 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2426 (strcasestr): Remove __strcasestr_sse42 ifunc.
2427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2431 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2433 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2434 * sysdeps/sh/bits/fenv.h: ... here.
2435 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2437 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2444 hypotf multiarch implementations.
2445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2447 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2448 multiarch hypot for PPC64.
2449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2452 multiarch hypotf for PPC64.
2454 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2457 modff multiarch implementations.
2458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2461 multiarch modf for PPC64.
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2465 multiarch modff for PPC64.
2467 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2470 and logl multiarch implementations.
2471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2474 multiarch logb for PPC64.
2475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2478 multiarch logb for PPC64.
2479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2482 multiarch logb for PPC64.
2484 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2487 isinff multiarch implementation.
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2492 multiarch isinf for PPC64.
2493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2496 multiarch isinff for PPC64.
2498 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2501 finitef multiarch implementation.
2502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2506 multiarch finite for PPC64.
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2510 multiarch finitef for PPC64.
2512 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2515 lrint multiarch implementation.
2516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2520 multiarch llrint for PPC64.
2521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2522 multiarch lrint for PPC64.
2524 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2527 copysignf multiarch implementation.
2528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2533 multiarch copysign for PPC64.
2534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2535 multiarch copysignf for PPC64.
2537 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2540 multiarch implementation.
2541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2549 multiarch llround for PPC64.
2550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2551 multiarch trunc for PPC64.
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2553 multiarch truncf for PPC64.
2555 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2558 multiarch implementation.
2559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2567 multiarch llround for PPC64.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2569 multiarch round for PPC64.
2570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2571 multiarch roundf for PPC64.
2573 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2576 multiarch implementation.
2577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2585 multiarch llround for PPC64.
2586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2587 multiarch floor for PPC64.
2588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2589 multiarch floorf for PPC64.
2591 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2594 multiarch implementation.
2595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2603 multiarch llround for PPC64.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2605 multiarch ceil for PPC64.
2606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2607 multiarch ceilf for PPC64.
2609 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2612 multiarch implementation.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2620 multiarch llround for PPC64.
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2622 multiarch lround for PPC64.
2624 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2627 multiarch implementation.
2628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2635 multiarch isnan for PPC64.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2637 multiarch isnanf for PPC64.
2639 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2641 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2642 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2643 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2644 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2645 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2648 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2651 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2653 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2655 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2658 multiarch implementations.
2659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2660 (__libc_ifunc_impl_list): Likewise.
2661 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2662 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2663 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2664 multiarch stpcpy for PPC64.
2666 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2669 multiarch implementations.
2670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2671 (__libc_ifunc_impl_list): Likewise.
2672 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2673 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2674 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2675 multiarch strcpy for PPC64.
2677 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2680 redefine function name.
2681 (_wordcopy_fwd_dest_aligned): Likewise.
2682 (_wordcopy_bwd_aligned): Likewise.
2683 (_wordcopy_bwd_dest_aligned): Likewise.
2684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2685 multiarch implementations.
2686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2687 (__libc_ifunc_impl_list): Likewise.
2688 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2689 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2690 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2691 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2692 multiarch wcscpy for PPC64.
2694 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2697 multiarch implementations.
2698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2699 (__libc_ifunc_impl_list): Likewise.
2700 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2701 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2702 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2703 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2704 multiarch wcscpy for PPC64.
2706 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2709 multiarch implementations.
2710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2711 (__libc_ifunc_impl_list): Likewise.
2712 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2713 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2714 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2715 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2716 multiarch wcsrchr for PPC64.
2718 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2721 multiarch implementations.
2722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2723 (__libc_ifunc_impl_list): Likewise.
2724 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2725 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2726 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2727 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2728 multiarch wcschr for PPC64.
2730 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2733 multiarch implementations.
2734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2735 (__libc_ifunc_impl_list): Likewise.
2736 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2737 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2738 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2739 multiarch strchrnul for PPC64.
2741 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2746 (__libc_ifunc_impl_list): Likewise.
2747 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2748 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2749 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2750 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2753 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2758 (__libc_ifunc_impl_list): Likewise.
2759 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2760 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2761 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2762 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2765 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2768 multiarch implementations.
2769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2770 (__libc_ifunc_impl_list): Likewise.
2771 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2772 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2773 strncasecmp for PPC64.
2774 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2775 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2776 multiarch strncasecmp_l for PPC64.
2778 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2781 multiarch implementations.
2782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2783 (__libc_ifunc_impl_list): Likewise.
2784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2785 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2786 multiarch strcasecmp for PPC64.
2787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2790 multiarch strcasecmp_l for PPC64.
2792 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2797 (__libc_ifunc_impl_list): Likewise.
2798 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2799 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2800 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2803 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2808 (__libc_ifunc_impl_list): Likewise.
2809 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2810 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2811 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2814 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2819 (__libc_ifunc_impl_list): Likewise.
2820 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2821 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2822 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2823 rawmemrchr for PPC64.
2825 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2830 (__libc_ifunc_impl_list): Likewise.
2831 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2832 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2833 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2836 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Likewise.
2842 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2843 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2844 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2847 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2852 (__libc_ifunc_impl_list): Likewise.
2853 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2854 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2855 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2858 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2861 avoid cretion of __bzero symbol.
2862 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2864 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2866 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2869 multiarch implementations.
2870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2871 (__libc_ifunc_impl_list): Likewise.
2872 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2873 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2874 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2875 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2877 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2878 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2879 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2880 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2881 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2883 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2885 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2891 (__libc_ifunc_impl_list): Likewise.
2892 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2893 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2895 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2898 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2901 multiarch for POWER/PPC64.
2902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2903 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2908 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2910 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2913 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2916 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2917 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2918 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2919 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2920 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2921 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2922 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2923 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2924 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2925 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2926 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2927 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2928 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2929 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2938 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2942 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2944 * benchtests/Makefile (bench): Add exp2 and log2.
2945 (LDLIBS-bench-exp2): Add -lm.
2946 (LDLIBS-bench-log2): Likewise.
2947 * benchtests/exp2-inputs: New inputs file.
2948 * benchtests/log2-inputs: New inputs file.
2949 * benchtests/log-inputs: Add new inputs.
2950 * benchtests/tan-inputs: Likewise.
2952 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2954 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2956 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2957 csloww1, csloww2): ... from here.
2959 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2960 instead of structures.
2961 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2962 (POLYNOMIAL): Likewise.
2963 (TAYLOR_SLOW): Likewise.
2971 (bsloww1): Likewise.
2972 (bsloww2): Likewise.
2975 (csloww1): Likewise.
2976 (csloww2): Likewise.
2978 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2980 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2981 (__malloc_assert, __libc_realloc, __libc_calloc,
2982 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2984 * malloc/hooks.c (realloc_check): Likewise.
2986 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2988 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2989 * malloc/arena.c: Remove PER_THREAD conditional.
2990 [!PER_THREAD]: Remove code.
2991 (ptmalloc_unlock_all2): Likewise.
2992 (ptmalloc_init): Likewise.
2993 (_int_new_arena): Likewise.
2994 (arena_get2): Likewise.
2995 * malloc/hooks.c (__malloc_get_state): Likewise.
2996 (__malloc_set_state): Likewise.
2997 * malloc/malloc.c: Likewise.
2998 (struct malloc_state): Likewise.
2999 (struct malloc_par): Likewise.
3000 (__libc_realloc): Likewise.
3001 (__libc_mallopt): Likewise.
3003 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3005 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3007 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3009 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3010 macro to a function. Check for zero perturb_byte.
3011 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3013 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3015 * malloc/malloc.c: (force_reg): Remove.
3016 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3017 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3018 force_reg by atomic_forced_read.
3019 * malloc/arena.c (ptmalloc_init): Likewise.
3020 * malloc/hooks.c (top_check): Likewise.
3022 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3026 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3030 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3032 * math/auto-libm-test-in: Add tests of lgamma.
3033 * math/auto-libm-test-out: Regenerated.
3034 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3035 (M_LOG_2_SQRT_PIl): Likewise.
3036 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3039 (func_calc_desc): Add mpfr_f_f1 union field.
3048 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3049 (test_functions): Add lgamma.
3050 (calc_generic_results): Handle mpfr_f_f1.
3051 * sysdeps/i386/fpu/libm-test-ulps: Update.
3052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3054 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3057 __mpn_add_n for PowerPC64/POWER7.
3058 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3059 __mpn_sub_n for PowerPC64/POWER7.
3061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3064 __mpn_addmul_1 for PowerPC64.
3065 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3066 __mpn_submul_1 for PowerPC64.
3067 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3069 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3072 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3075 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3077 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3079 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3081 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3083 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3084 add multiarch folders.
3085 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3086 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3087 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3088 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3089 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3090 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3091 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3092 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3093 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3094 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3095 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3103 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3106 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3112 multiarch __ieee754_hypot for PowerPC32.
3113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3118 multiarch __ieee754_hypotf for PowerPC32.
3120 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3123 long_double_symbol only if __logbl is defined.
3124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3125 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3127 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3129 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3131 path for implementation.
3132 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3135 logb, and logbl multiarch implementations for PowerPC32.
3136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3141 multiarch logb for PowerPC32.
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3147 multiarch logbf for PowerPC32.
3148 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3152 multiarch logbl implementation for PowerPC32.
3154 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3157 and modff multiarch implementations.
3158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3163 multiarch modf for PowerPC32.
3164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3169 multiarch modff for PowerPC32.
3171 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3174 and lrintf multiarch implementations.
3175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3180 multiarch lrint for PowerPC32.
3181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3182 file: multiarch lrintf for PowerPC32.
3184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3187 and lroundf multiarch implementations.
3188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3195 multiarch lround for PowerPC32.
3196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3197 file: multiarch lroundf for PowerPC32.
3199 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3202 copysign and copysignf multiarch implementations.
3203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3208 file: multiarch copysign for PowerPC32.
3209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3210 file: multiarch copysignf for PowerPC32.
3212 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3215 and truncf multiarch implementations.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3221 multiarch trunc for PowerPC32.
3222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3227 multiarch truncf for PowerPC32.
3229 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3232 and roundf multiarch implementations.
3233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3238 multiarch round for PowerPC32.
3239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3244 multiarch roundf for PowerPC32.
3246 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3249 and floorf multiarch implementations.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3255 multiarch floor for PowerPC32.
3256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3261 multiarch floorf for PowerPC32.
3263 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3266 and ceilf multiarch implementations.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3272 multiarch ceil for PowerPC32.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3278 multiarch ceilf for PowerPC32.
3280 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3284 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3287 and finitef multiarch implementations.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3293 multiarch finite for PowerPC32.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3297 file: multiarch finitef for PowerPC32.
3299 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3302 and isinff multiarch implementations.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3308 multiarch isinf for PowerPC32.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3312 multiarch isinff for PowerPC32.
3314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3317 alias when __isnan is defined.
3318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3319 and isnanf multiarch implementations.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3329 multiarch isnan for PowerPC32.
3330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3335 multiarch isnanf for PowerPC32.
3337 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3340 and sqrtf multiarch implementations.
3341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3346 multiarch sqrt for PowerPC32.
3347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3352 multiarch sqrtf for PowerPC32.
3354 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3357 and llroundf multiarch implementations.
3358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3365 file: multiarch llround for PowerPC32.
3366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3367 file: multiarch llroundf for PowerPC32.
3369 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3372 multiarch PowerPC32 fpu implementations.
3373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3378 multiarch llrint for PowerPC32.
3379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3386 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3390 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3398 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3399 multiarch wordcopy for PPC32.
3400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3403 (__libc_ifunc_impl_list): Likewise.
3404 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3405 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3407 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3409 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3411 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3413 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3421 multiarch wcscpy for PPC32.
3422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3425 (__libc_ifunc_impl_list): Likewise.
3426 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3427 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3428 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3429 sysdeps/powerpc/power6/wcscpy.c.
3431 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3433 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3441 multiarch wcsrchr for PPC32.
3442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3445 (__libc_ifunc_impl_list): Likewise.
3446 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3447 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3448 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3449 sysdeps/powerpc/power6/wcsrchr.c.
3451 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3459 multiarch wcschr for PPc32.
3460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3463 (__libc_ifunc_impl_list): Likewise.
3464 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3465 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3466 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3467 sysdeps/powerpc/power6/wcschr.c.
3469 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3471 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3474 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3475 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3476 file: multiarch strchr for PPC32.
3477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3480 (__libc_ifunc_impl_list): Likewise.
3482 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3484 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3486 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3488 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3491 multiarch strchrnul for PPC32.
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3495 (__libc_ifunc_impl_list): Likewise.
3497 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3499 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3501 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3502 multiarch strncasecmp for PPC32.
3503 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3506 multiarch strncasecmp_l for PPC32.
3507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3508 strncasecmp multiarch objects.
3509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3510 (__libc_ifunc_impl_list): Likewise.
3512 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3517 multiarch strncasecmp for PPC32.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3520 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3521 multiarch strcasecmp_l for PPC32.
3522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3525 (__libc_ifunc_impl_list): Likewise.
3527 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3534 multiarch strncmp for PPC32.
3535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3538 (__libc_ifunc_impl_list): Likewise.
3540 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3542 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3543 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3545 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3546 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3550 (__libc_ifunc_impl_list): Likewise.
3552 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3556 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3558 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3562 (__libc_ifunc_impl_list): Likewise.
3564 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3570 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3571 multiarch rawmemchr for PPC32.
3572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3575 (__libc_ifunc_impl_list): Likewise.
3577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3584 file: memrchr multiarch for PPC32.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3588 (__libc_ifunc_impl_list): Likewise.
3590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3597 multiarch memchr for PPC32.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3601 (__libc_ifunc_impl_list): Likewise.
3603 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3605 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3611 file: multiarch mempcpy for PPC32.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3615 (__libc_ifunc_impl_list): Likewise.
3617 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3623 multiarch bzero for PPC32.
3624 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3629 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3630 file: multiarch memset for PPC32.
3631 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3633 memset multiarch objects.
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3635 (__libc_ifunc_impl_list): Likewise.
3637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3648 (__libc_ifunc_impl_list): Likewise.
3650 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3661 multiarch memcpy for PPC32.
3662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3665 (__libc_ifunc_impl_list): Likewise.
3667 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3670 support multiarch for POWER/PPC32.
3671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3673 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3675 Implies file to make multiarch folder appers before the fpu and
3676 default folder for power4 configuration.
3678 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3680 * scripts/bench.pl: Append volatile keyword to type.
3682 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3684 * sysdeps/sh/sotruss-lib.c: New file.
3685 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3687 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3691 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3694 * math/w_tgamma.c: Include <errno.h>.
3695 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3696 * math/w_tgammaf.c: Include <errno.h>.
3697 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3698 * math/w_tgammal.c: Include <errno.h>.
3699 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3700 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3701 underflow. Add more tgamma tests.
3702 * math/auto-libm-test-out: Regenerated.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3707 sin, sinh, tan, tanh, tgamma, y0 and y1.
3708 * math/auto-libm-test-out: Regenerated.
3709 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3710 (TEST_COND_x86): Likewise.
3711 (M_E2l): Remove macro.
3713 (M_2_SQRT_PIl): Likewise.
3714 (M_SQRT_PIl): Likewise.
3715 (M_1_DIV_El): Likewise.
3716 (log_test_data): Use AUTO_TESTS_f_f.
3717 (log10_test_data): Likewise.
3718 (log1p_test_data): Likewise.
3719 (log2_test_data): Likewise.
3720 (sin_test_data): Likewise.
3721 (sin_tonearest_test_data): Likewise.
3722 (sin_towardzero_test_data): Likewise.
3723 (sin_downward_test_data): Likewise.
3724 (sin_upward_test_data): Likewise.
3725 (sinh_test_data): Likewise.
3726 (sinh_tonearest_test_data): Likewise.
3727 (sinh_towardzero_test_data): Likewise.
3728 (sinh_downward_test_data): Likewise.
3729 (sinh_upward_test_data): Likewise.
3730 (tan_test_data): Likewise.
3731 (tan_tonearest_test_data): Likewise.
3732 (tan_towardzero_test_data): Likewise.
3733 (tan_downward_test_data): Likewise.
3734 (tan_upward_test_data): Likewise.
3735 (tanh_test_data): Likewise.
3736 (tgamma_test_data): Likewise.
3737 (y0_test_data): Likewise.
3738 (y1_test_data): Likewise.
3739 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3740 (special_real_inputs): Add pi/4.
3741 * sysdeps/i386/fpu/libm-test-ulps: Update.
3742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3744 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3746 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3747 "longjmp_target" static probes.
3748 (__longjmp): Rename to __longjmp_symbol.
3749 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3750 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3751 on which longjmp to generate.
3752 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3755 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3756 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3758 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3759 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3760 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3762 __longjmp_symbol based on which __longjmp to generate.
3763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3765 (setjmp): Rename to setjmp_symbol.
3766 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3767 (_setjmp): Rename to _setjmp_symbol.
3768 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3769 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3770 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3771 which setjmp to generate.
3772 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3773 "longjmp_target" static probes.
3775 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3777 * benchtests/README: Add note about output arguments.
3778 * benchtests/bench-sincos.c: Remove file.
3779 * benchtests/sincos-inputs: New file.
3780 * scripts/bench.pl: Identify output arguments and define
3781 static variables for them.
3783 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3786 * Makefile (INSTALL): Add install-plain.texi as the primary
3788 * manual/install-plain.texi: New file.
3789 * manual/install.texi: Include node directive only for
3790 non-plaintext output.
3792 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3794 * stdlib/longlong.h: Update from GCC.
3798 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3799 * math/w_j0f.c (y0f): Likewise.
3800 * math/w_j0l.c (__y0l): Likewise.
3801 * math/w_j1.c (y1): Likewise.
3802 * math/w_j1f.c (y1f): Likewise.
3803 * math/w_j1l.c (__y1l): Likewise
3804 * math/w_jn.c (yn): Likewise.
3805 * math/w_jnf.c (ynf): Likewise.
3806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3807 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3808 value for Bessel function domain errors outside _SVID_ mode.
3809 Adjust sign of return value for yn (negative integer, 0).
3810 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3811 by zero in return for negative x and set sign appropriately for
3813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3815 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3816 expectations in error cases.
3817 (y1_test_data): Likewise.
3818 (yn_test_data): Likewise.
3819 * sysdeps/i386/fpu/libm-test-ulps: Update.
3820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3822 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3824 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3825 "64" to "64-v1". Add "64-v2".
3826 (abi-64-options): Rename to ...
3827 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3828 (abi-64-condition): Rename to ...
3829 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3830 (abi-64-ld-soname): Rename to ...
3831 (abi-64-v1-ld-soname): ... this.
3832 (abi-64-v2-options): Define.
3833 (abi-64-v2-condition): Likewise.
3834 (abi-64-v2-ld-soname): Likewise.
3835 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3836 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3841 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3842 Alan Modra <amodra@gmail.com>
3844 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3845 New versions for use with the ELFv2 ABI.
3846 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3847 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3849 (struct La_ppc64v2_retval): Likewise.
3850 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3851 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3852 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3853 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3854 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3856 Do not save or restore CR.
3857 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3858 (_dl_profile_resolve): Do no save or restore CR. Support extended
3859 return values for ELFv2 ABI. Fix location of FPR return registers.
3860 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3861 updated values for _CALL_ELF == 2.
3862 (La_regs, La_retval, int_retval): Likewise.
3864 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3866 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3867 (FRAME_MIN_SIZE_PARM): Likewise.
3868 (FRAME_BACKCHAIN): Likewise.
3869 (FRAME_CR_SAVE): Likewise.
3870 (FRAME_LR_SAVE): Likewise.
3871 (FRAME_TOC_SAVE): Likewise.
3872 (FRAME_PARM_SAVE): Likewise.
3873 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3874 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3875 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3876 (call_mcount_parm_offset): New macro.
3877 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3878 (PROF): Use symbolic stack frame offsets.
3879 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3881 Redefine in terms of FRAME_MIN_SIZE.
3882 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3883 (_dl_profile_resolve): Likewise. Update comment.
3884 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3885 symbols stack frame offsets.
3886 (__sigsetjmp): Likewise.
3887 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3888 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3889 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3890 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3893 (FRAME_BACKCHAIN): Remove.
3894 (FRAME_CR_SAVE): Likewise.
3895 (FRAME_LR_SAVE): Likewise.
3896 (FRAME_COMPILER_DW): Likewise.
3897 (FRAME_LINKER_DW): Likewise.
3898 (FRAME_TOC_SAVE): Likewise.
3899 (FRAME_PARM_SAVE): Likewise.
3900 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3901 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3902 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3904 (CHECK_SP): Use symbolic stack frame offsets.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3906 zone" instead of caller's parameter save area for temp storage.
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3908 Likewise. Also, use symbolic stack frame offsets.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3910 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3911 our own stack frame instead of the caller's.
3912 (__socket): Use symbolic stack frame offsets.
3914 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3915 Alan Modra <amodra@gmail.com>
3917 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3919 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3920 PPC64_LOCAL_ENTRY_OFFSET): Define.
3921 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3923 (elf_machine_fixup_plt): Call it.
3924 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3926 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3928 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3929 r2 before calling target.
3931 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3932 Alan Modra <amodra@gmail.com>
3934 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3935 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3936 versions of macros to support ELFv2 ABI.
3937 (LOCALENTRY): New macro.
3938 (ENTRY, EALIGN): Use it.
3939 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3940 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3941 fall through into ENTRY entry point.
3942 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3943 Only define if _CALL_ELF != 2.
3945 (elf_machine_matches_host): Verify ABI version matches.
3946 (RTLD_START): Use LOCALENTRY.
3947 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3948 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3949 (PLT_ENTRY_WORDS): New macro.
3950 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3951 (elf_machine_runtime_setup): Support ELFv2 ABI.
3952 (elf_machine_fixup_plt): Likewise.
3953 (elf_machine_plt_conflict): Likewise.
3954 (resolve_ifunc): Likewise.
3955 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3959 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3961 (makecontext): Support ELFv2 ABI.
3962 * elf/elf.h (EF_PPC64_ABI): Define.
3964 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3966 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3967 New assembler macro.
3968 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3969 [ASSEMBLER] (ENTRY): ... but instead here ...
3970 [ASSEMBLER] (EALIGN): ... and here.
3971 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3972 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3973 [!ASSEMBLER] (ENTRY_2): Use it.
3974 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3975 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3976 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3977 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3978 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3980 Use PPC64_LOAD_FUNCPTR.
3982 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3984 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3986 2013-12-04 Alan Modra <amodra@gmail.com>
3988 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3989 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3990 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3991 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3994 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3995 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3996 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3997 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3998 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4000 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4003 (__makecontext): Fix incorrect CFI when backtracing out of
4004 context created via makecontext.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4006 (__setcontext): Fix incorrect CFI during switch to new context.
4007 (__novec_setcontext): Likewise.
4009 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4012 * time/strptime_l.c (__strptime_internal): Allow modifiers
4014 * time/tst-strptime.c (day_tests): Add testcase.
4017 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4019 * scripts/bench.pl: Skip over blank lines.
4021 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4024 * manual/time.texi (Calendar Time): Clarify what timezone functions
4027 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4031 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4033 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4035 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4036 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4037 * debug/memset_chk.c (__memset_chk): Likewise.
4038 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4039 * debug/strncpy_chk.c: Likewise.
4041 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4045 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4046 (__ieee754_exp): For possibly underflowing results, check size of
4047 result and force underflow exception if required.
4048 * math/auto-libm-test-in: Add more tests of exp.
4049 * math/auto-libm-test-out: Regenerated.
4050 * sysdeps/i386/fpu/libm-test-ulps: Update.
4051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4054 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4055 * math/w_exp2f.c (__exp2f): Likewise.
4056 * math/w_exp2l.c (__exp2l): Likewise.
4057 * math/auto-libm-test-in: Do not allow missing errno on exp2
4059 * math/auto-libm-test-out: Regenerated.
4061 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4064 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4065 handle filename validation.
4066 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4069 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4072 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4073 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4074 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4076 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4077 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4078 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4079 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4080 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4081 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4082 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4083 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4084 Add more erfc tests.
4085 * math/auto-libm-test-out: Regenerated.
4086 * sysdeps/i386/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4090 exp2, expm1, j0 and j1.
4091 * math/auto-libm-test-out: Regenerated.
4092 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4093 (erfc_test_data): Likewise.
4094 (exp_test_data): Likewise.
4095 (exp_tonearest_test_data): Likewise.
4096 (exp_towardzero_test_data): Likewise.
4097 (exp_downward_test_data): Likewise.
4098 (exp_upward_test_data): Likewise.
4099 (exp10_test_data): Likewise.
4100 (exp2_test_data): Likewise.
4101 (expm1_test_data): Likewise.
4102 (j0_test_data): Likewise.
4103 (j1_test_data): Likewise.
4104 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4105 (input_flag_type): Add flag_xfail_rounding.
4106 (input_flags): Add xfail-rounding.
4107 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4108 (output_for_one_input_case): Handle flag_xfail_rounding.
4109 * sysdeps/i386/fpu/libm-test-ulps: Update.
4110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4112 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4115 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4118 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4121 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4122 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4123 (STAP_PROBE0): New macro.
4124 (STAP_PROBE1): Likewise.
4125 (STAP_PROBE2): Likewise.
4126 (STAP_PROBE3): Likewise.
4127 (STAP_PROBE4): Likewise.
4129 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4131 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4133 2013-12-02 Steve Ellcey <sellcey@mips.com>
4135 * benchtests/Makefile (bench): Add sqrt.
4136 (LDLIBS-bench-sqrt): New.
4137 * benchtests/sqrt-input: New.
4139 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4141 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4142 (GAIH_EAI): Likewise.
4143 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4144 (gaih_inet): Likewise.
4145 (getaddrinfo): Don't use GAIH_EAI.
4147 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4148 (struct gaih): Remove definition.
4150 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4152 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4153 Use HERRNOP directly.
4155 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4159 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4161 * math/gen-auto-libm-tests.c (test_functions): Add more
4162 single-argument functions.
4163 (special_fill_pi_2): New function.
4164 (special_fill_minus_pi_2): Likewise.
4165 (special_fill_pi_6): Likewise.
4166 (special_fill_minus_pi_6): Likewise.
4167 (special_fill_pi_3): Likewise.
4168 (special_fill_2pi_3): Likewise.
4169 (special_fill_e): Likewise.
4170 (special_fill_1_e): Likewise.
4171 (special_fill_e_minus_1): Likewise.
4172 (special_real_inputs): Add more special inputs.
4173 (output_for_one_input_case): Do not require ERANGE on underflow to
4174 zero if round-to-nearest result does not underflow to zero, unless
4175 exact results required.
4176 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4177 atan, atanh, cbrt, cos and cosh.
4178 * math/auto-libm-test-out: Regenerated.
4179 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4180 (acos_tonearest_test_data): Likewise.
4181 (acos_towardzero_test_data): Likewise.
4182 (acos_downward_test_data): Likewise.
4183 (acos_upward_test_data): Likewise.
4184 (acosh_test_data): Likewise.
4185 (asin_test_data): Likewise.
4186 (asin_tonearest_test_data): Likewise.
4187 (asin_towardzero_test_data): Likewise.
4188 (asin_upward_test_data): Likewise.
4189 (asinh_test_data): Likewise.
4190 (atan_test_data): Likewise.
4191 (atanh_test_data): Likewise.
4192 (cbrt_test_data): Likewise.
4193 (cos_test_data): Likewise.
4194 (cos_tonearest_test_data): Likewise.
4195 (cos_towardzero_test_data): Likewise.
4196 (cos_downward_test_data): Likewise.
4197 (cos_upward_test_data): Likewise.
4198 (cosh_test_data): Likewise.
4199 (cosh_tonearest_test_data): Likewise.
4200 (cosh_towardzero_test_data): Likewise.
4201 (cosh_downward_test_data): Likewise.
4202 (cosh_upward_test_data): Likewise.
4203 * sysdeps/i386/fpu/libm-test-ulps: Update.
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4206 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4209 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4210 * math/w_exp10f.c (__exp10f): Likewise.
4211 * math/w_exp10l.c (__exp10l): Likewise.
4212 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4213 errno settings in existing tests.
4216 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4217 precision control set to double precision.
4218 * sysdeps/i386/fpu/w_sqrt.c: New file.
4219 * math/auto-libm-test-in: Add more tests.
4220 * math/auto-libm-test-out: Update.
4222 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4223 (sqrt_test_tonearest): New function.
4224 (sqrt_towardzero_test_data): New variable.
4225 (sqrt_test_towardzero): New function.
4226 (sqrt_downward_test_data): New variable.
4227 (sqrt_test_downward): New function.
4228 (sqrt_upward_test_data): New variable.
4229 (sqrt_test_upward): New function.
4230 (main): Call the new functions.
4232 * math/gen-auto-libm-tests.c: New file.
4233 * math/auto-libm-test-in: Likewise.
4234 * math/auto-libm-test-out: New generated file.
4235 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4237 (%beautify): Add generated representations of zero.
4238 (top level): Set $auto_input and call parse_auto_input.
4239 (beautify): Remove trailing "f" from hex float constants.
4240 (parse_args): Handle XFAIL_TEST.
4241 (convert_condition): New function.
4242 (or_value): Likewise.
4243 (or_cond_value): Likewise.
4244 (generate_testfile): Handle AUTO_TESTS_* lines.
4245 (parse_auto_input): New function.
4246 * math/libm-test.inc (XFAIL_TEST): New macro.
4247 (ERRNO_UNCHANGED): Update value.
4248 (ERRNO_EDOM): Likewise.
4249 (ERRNO_ERANGE): Likewise.
4250 (IGNORE_RESULT): Likewise.
4251 (TEST_COND_flt_32): New macro.
4252 (TEST_COND_dbl_64): Likewise.
4253 (TEST_COND_ldbl_96_intel): Likewise.
4254 (TEST_COND_ldbl_96_m68k): Likewise.
4255 (TEST_COND_ldbl_128): Likewise.
4256 (TEST_COND_ldbl_128ibm): Likewise.
4257 (TEST_COND_long32): Likewise.
4258 (TEST_COND_long64): Likewise.
4259 (TEST_COND_before_rounding): Likewise.
4260 (TEST_COND_after_rounding): Likewise.
4261 (enable_test): Handle XFAIL_TEST flag.
4262 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4263 with finite results.
4264 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4267 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4268 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4271 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4272 __tls_get_addr_internal instead of __tls_get_offset in order to
4273 avoid GOT pointer dependency. Make rtld export
4274 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4275 __tls_get_addr since we are a __tls_get_offset platform.
4276 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4277 GOT pointer being set up before.
4278 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4280 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4282 * manual/math.texi (Errors in Math Functions): Document accuracy
4286 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4287 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4303 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4304 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4305 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4306 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4307 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4309 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4311 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4313 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4314 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4315 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4316 atomic-feupdateenv and flt-rounds.
4317 * sysdeps/powerpc/nofpu/Versions (libc): Add
4318 __atomic_feholdexcept, __atomic_feclearexcept,
4319 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4320 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4321 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4322 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4323 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4328 * manual/arith.texi (FP Exceptions): Document that exceptions may
4329 not be raised when matherr is used.
4330 (Math Error Reporting): Document overflow in directed rounding
4331 modes. Document that errno may not be set when finite values are
4332 returned on overflow. Document intent to set errno on underflow
4333 only for underflow to zero.
4336 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4337 round-to-nearest then adjust result for other rounding modes.
4338 * include/fenv.h (fegetround): Use libm_hidden_proto.
4339 * math/fegetround.c (fegetround): Use libm_hidden_def.
4340 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4341 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4342 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4343 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4345 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4346 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4347 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4348 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4350 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4353 * nss/Versions (libnss_files): Add
4354 _nss_files_gethostbyname3_r.
4355 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4357 (HOST_DB_LOOKUP): Remove macro.
4358 (_nss_files_gethostbyname_r): Implement function without the
4359 HOST_DB_LOOKUP macro.
4360 (_nss_files_gethostbyname2_r): Likewise.
4362 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4364 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4366 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4368 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4369 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4372 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4374 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4375 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4376 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4377 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4378 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4379 __fe_nomask_env_priv and attribute_hidden.
4380 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4381 (libc_feupdateenv_test_ppc): Likewise.
4382 (libc_feresetround_ppc): Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4384 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4385 compat_symbol macro.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4387 (__fe_nomask_env): Likewise.
4388 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4390 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4392 * string/Makefile: Remove ifunc tests.
4393 * string/test-string.h: Define TEST_IFUNC.
4394 * string/test-bcopy-ifunc.c: Remove.
4395 * string/test-bzero-ifunc.c: Likewise.
4396 * string/test-memccpy-ifunc.c: Likewise.
4397 * string/test-memchr-ifunc.c: Likewise.
4398 * string/test-memcmp-ifunc.c: Likewise.
4399 * string/test-memcpy-ifunc.c: Likewise.
4400 * string/test-memmem-ifunc.c: Likewise.
4401 * string/test-memmove-ifunc.c: Likewise.
4402 * string/test-mempcpy-ifunc.c: Likewise.
4403 * string/test-memrchr-ifunc.c: Likewise.
4404 * string/test-memset-ifunc.c: Likewise.
4405 * string/test-rawmemchr-ifunc.c: Likewise.
4406 * string/test-stpcpy-ifunc.c: Likewise.
4407 * string/test-stpncpy-ifunc.c: Likewise.
4408 * string/test-strcasecmp-ifunc.c: Likewise.
4409 * string/test-strcasestr-ifunc.c: Likewise.
4410 * string/test-strcat-ifunc.c: Likewise.
4411 * string/test-strchr-ifunc.c: Likewise.
4412 * string/test-strchrnul-ifunc.c: Likewise.
4413 * string/test-strcmp-ifunc.c: Likewise.
4414 * string/test-strcpy-ifunc.c: Likewise.
4415 * string/test-strcspn-ifunc.c: Likewise.
4416 * string/test-strlen-ifunc.c: Likewise.
4417 * string/test-strncasecmp-ifunc.c: Likewise.
4418 * string/test-strncat-ifunc.c: Likewise.
4419 * string/test-strncmp-ifunc.c: Likewise.
4420 * string/test-strncpy-ifunc.c: Likewise.
4421 * string/test-strnlen-ifunc.c: Likewise.
4422 * string/test-strpbrk-ifunc.c: Likewise.
4423 * string/test-strrchr-ifunc.c: Likewise.
4424 * string/test-strspn-ifunc.c: Likewise.
4425 * string/test-strstr-ifunc.c: Likewise.
4427 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4429 * benchtests/Makefile: Remove ifunc tests.
4430 * benchtests/bench-string.h: Define TEST_IFUNC.
4431 * benchtests/bench-bcopy-ifunc.c: Remove.
4432 * benchtests/bench-bzero-ifunc.c: Likewise.
4433 * benchtests/bench-memccpy-ifunc.c: Likewise.
4434 * benchtests/bench-memchr-ifunc.c: Likewise.
4435 * benchtests/bench-memcmp-ifunc.c: Likewise.
4436 * benchtests/bench-memcpy-ifunc.c: Likewise.
4437 * benchtests/bench-memmem-ifunc.c: Likewise.
4438 * benchtests/bench-memmove-ifunc.c: Likewise.
4439 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4440 * benchtests/bench-memrchr-ifunc.c: Likewise.
4441 * benchtests/bench-memset-ifunc.c: Likewise.
4442 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4443 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4444 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4445 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4446 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4447 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4448 * benchtests/bench-strcat-ifunc.c: Likewise.
4449 * benchtests/bench-strchr-ifunc.c: Likewise.
4450 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4451 * benchtests/bench-strcmp-ifunc.c: Likewise.
4452 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4453 * benchtests/bench-strcpy-ifunc.c: Likewise.
4454 * benchtests/bench-strcspn-ifunc.c: Likewise.
4455 * benchtests/bench-strlen-ifunc.c: Likewise.
4456 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4457 * benchtests/bench-strncat-ifunc.c: Likewise.
4458 * benchtests/bench-strncmp-ifunc.c: Likewise.
4459 * benchtests/bench-strncpy-ifunc.c: Likewise.
4460 * benchtests/bench-strnlen-ifunc.c: Likewise.
4461 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4462 * benchtests/bench-strrchr-ifunc.c: Likewise.
4463 * benchtests/bench-strsep-ifunc.c: Likewise.
4464 * benchtests/bench-strspn-ifunc.c: Likewise.
4465 * benchtests/bench-strstr-ifunc.c: Likewise.
4467 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4469 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4471 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4473 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4474 * rt/aio.h: Likewise.
4475 * sysdeps/gnu/bits/utmp.h: Likewise.
4476 * sysdeps/gnu/bits/utmpx.h: Likewise.
4477 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4478 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4479 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4480 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4481 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4482 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4483 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4484 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4485 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4486 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4487 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4489 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4491 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4492 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4493 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4494 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4495 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4496 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4497 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4498 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4501 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4503 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4504 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4505 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4507 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4508 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4510 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4511 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4512 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4513 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4514 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4515 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4516 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4517 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4518 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4520 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4523 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4524 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4526 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4528 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4529 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4532 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4535 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4536 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4537 (__fesetround): Remove define.
4538 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4539 rounding and exceptions handling.
4540 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4541 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4542 (__fe_nomask_env): Likewise.
4543 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4544 __fegetround instead of fegetround.
4545 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4546 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4548 2013-11-21 Roland McGrath <roland@hack.frob.com>
4550 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4553 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4555 2013-11-21 Meador Inge <meadori@codesourcery.com>
4558 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4559 (encrypt_r): Likewise.
4560 * malloc/obstack.h (obstack_free): Likewise.
4561 * posix/unistd.h (encrypt): Likewise.
4563 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4565 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4566 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4567 DL_CALL_DT_FINI() that call the functions directly.
4568 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4569 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4570 * elf/dl-fini.c: Likewise.
4572 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4574 * malloc/hooks.c (memalign_check): Add alignment rounding.
4575 * malloc/malloc.c (_mid_memalign): New function.
4576 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4577 Implement by calling _mid_memalign.
4578 * manual/probes.texi (Memory Allocation Probes): Remove
4579 memory_valloc_retry and memory_pvalloc_retry.
4581 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4583 * locale/programs/locarchive.c (open_archive): Add const
4584 qualifier to ARCHIVEFNAME and copy default fname to
4588 * libio/tst-widetext.input: Rename Oriya to Odia.
4589 * locale/iso-639.def: Likewise.
4591 * manual/probes.texi (Mathematical Function Probes): Add
4592 documentation for sin, cos, asin and acos probes.
4593 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4594 (__sin32): Add slowasin probe.
4595 (__cos32): Add slowacos probe.
4596 (__mpsin): Add slowsin probe.
4597 (__mpcos): Add slowcos probe.
4599 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4602 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4603 thread-local __sim_exceptions_thread and global
4604 __sim_exceptions_global.
4605 (__sim_disabled_exceptions): Change to thread-local
4606 __sim_disabled_exceptions_thread and global
4607 __sim_disabled_exceptions_global.
4608 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4609 and global __sim_round_mode_global.
4610 (__simulate_exceptions): Use thread-local floating-point state and
4611 set global state from it as needed.
4612 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4613 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4614 __sim_round_mode_thread.
4615 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4616 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4617 and global __sim_exceptions_global.
4618 (__sim_disabled_exceptions): Change to thread-local
4619 __sim_disabled_exceptions_thread and global
4620 __sim_disabled_exceptions_global.
4621 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4622 and global __sim_round_mode_global.
4623 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4624 (SIM_SET_GLOBAL): Likewise.
4625 * sysdeps/powerpc/soft-fp/sfp-machine.h
4626 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4627 __sim_round_mode_thread.
4628 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4629 __sim_disabled_exceptions_thread.
4630 (__sim_exceptions): Change to __sim_exceptions_thread.
4631 (__sim_disabled_exceptions): Change to
4632 __sim_disabled_exceptions_thread.
4633 (__sim_round_mode): Change to __sim_round_mode_thread.
4634 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4635 thread-local floating-point state and set global state from it as
4637 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4638 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4639 (__sim_disabled_exceptions): Remove extern declaration.
4640 (feenableexcept): Use thread-local floating-point state and set
4641 global state from it as needed.
4642 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4644 (__sim_disabled_exceptions): Likewise.
4645 (__sim_round_mode): Likewise.
4646 (__fegetenv): Use thread-local floating-point state.
4647 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4648 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4649 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4650 floating-point state and set global state from it as needed.
4651 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4652 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4653 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4655 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4656 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4658 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4659 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4660 Use __sim_round_mode_thread.
4661 * math/test-fenv-tls.c: New file.
4662 * math/Makefile (tests): Add test-fenv-tls.
4663 ($(objpfx)test-fenv-tls): Depend on
4664 $(common-objpfx)nptl/libpthread.so.
4666 2013-11-19 Andreas Schwab <schwab@suse.de>
4668 * locale/programs/locale.c (show_info): Decode wordarray elements.
4669 * locale/categories.def (LC_MONETARY): Add element for
4670 _NL_MONETARY_CRNCYSTR.
4671 * locale/C-monetary.c (conversion_rate): New variable.
4672 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4675 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4677 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4678 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4680 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4682 * elf/Makefile (tst-auxv): New test.
4683 * elf/tst-auxv.c: New
4684 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4686 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4688 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4689 (hidden_proto): Caller changed.
4690 (hidden_tls_proto): New macro.
4691 (libc_hidden_tls_proto): Likewise.
4692 (rtld_hidden_tls_proto): Likewise.
4693 (libm_hidden_tls_proto): Likewise.
4694 (libresolv_hidden_tls_proto): Likewise.
4695 (librt_hidden_tls_proto): Likewise.
4696 (libdl_hidden_tls_proto): Likewise.
4697 (libnss_files_hidden_tls_proto): Likewise.
4698 (libnsl_hidden_tls_proto): Likewise.
4699 (libnss_nisplus_hidden_tls_proto): Likewise.
4700 (libutil_hidden_tls_proto): Likewise.
4702 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4705 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4706 (decompose_rpath): Defer expansion to fillin_rpath.
4707 (_dl_init_paths): Pass linkmap to fillin_rpath.
4709 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4711 * benchtests/Makefile: Add strsep.
4712 * benchtests/bench-strsep.c: New file: strsep benchtest.
4713 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4715 2013-11-18 Andreas Schwab <schwab@suse.de>
4717 * locale/programs/locale.c (show_info) [case byte]: Check for
4718 '\377' instead of '\177'.
4719 * locale/C-monetary.c (not_available): Always use "\377".
4720 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4721 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4722 detect unavailable sign_posn locale elements.
4723 * locale/localeconv.c (__localeconv): For grouping and
4724 mon_grouping handle "\177" and "\377" like no grouping.
4725 (INT_ELEM): New macro. Use it to set all numeric members.
4726 * locale/programs/ld-monetary.c (monetary_read)
4727 <tok_mon_grouping>: Normalize single -1 to the empty string.
4728 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4731 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4734 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4735 when we match (nil).
4736 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4738 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4740 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4741 (NO_TEST_INLINE): Update value.
4742 (ERRNO_UNCHANGED): Likewise.
4743 (ERRNO_EDOM): Likewise.
4744 (ERRNO_ERANGE): Likewise.
4745 (IGNORE_RESULT): Likewise.
4746 (check_float_internal): Check signs of NaN results if
4748 (check_complex): Pass TEST_NAN_SIGN flag through to second
4749 check_float_internal call.
4750 (copysign_test_data): Add tests with quiet NaNs as second
4751 argument. Use TEST_NAN_SIGN.
4752 (fabs_test_data): Add test of negative quiet NaN argument. Use
4754 (signbit_test_data): Add tests of quiet NaN argument.
4755 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4757 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4759 (parse_args): Handle function results specified as IGNORE.
4760 * math/libm-test.inc (IGNORE_RESULT): New macro.
4761 (check_float_internal): Do not check numerical result if flag
4763 (check_complex): Pass through IGNORE_RESULT to second
4764 check_float_internal call.
4765 (check_int): Do not check numerical result if flag IGNORE_RESULT
4767 (check_long): Likewise.
4768 (check_bool): Likewise.
4769 (check_longlong): Likewise.
4770 (lrint_test_data): Add tests of infinite and NaN arguments.
4771 (lrint_tonearest_test_data): Likewise.
4772 (lrint_towardzero_test_data): Likewise.
4773 (lrint_downward_test_data): Likewise.
4774 (lrint_upward_test_data): Likewise.
4775 (llrint_test_data): Likewise.
4776 (llrint_tonearest_test_data): Likewise.
4777 (llrint_towardzero_test_data): Likewise.
4778 (llrint_downward_test_data): Likewise.
4779 (llrint_upward_test_data): Likewise.
4780 (lround_test_data): Likewise.
4781 (llround_test_data): Likewise.
4783 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4784 (ERRNO_UNCHANGED): Update value.
4785 (ERRNO_EDOM): Likewise.
4786 (ERRNO_ERANGE): Likewise.
4787 (NO_TEST_INLINE_FLOAT): New macro.
4788 (NO_TEST_INLINE_DOUBLE): Likewise.
4789 (enable_test): New function.
4790 (RUN_TEST_f_f): Check enable_test before running test.
4791 (RUN_TEST_2_f): Likewise.
4792 (RUN_TEST_fff_f): Likewise.
4793 (RUN_TEST_c_f): Likewise.
4794 (RUN_TEST_f_f1): Likewise.
4795 (RUN_TEST_fF_f1): Likewise.
4796 (RUN_TEST_fI_f1): Likewise.
4797 (RUN_TEST_ffI_f1): Likewise.
4798 (RUN_TEST_c_c): Likewise.
4799 (RUN_TEST_cc_c): Likewise.
4800 (RUN_TEST_f_i): Likewise.
4801 (RUN_TEST_f_i_tg): Likewise.
4802 (RUN_TEST_ff_i_tg): Likewise.
4803 (RUN_TEST_f_b): Likewise.
4804 (RUN_TEST_f_b_tg): Likewise.
4805 (RUN_TEST_f_l): Likewise.
4806 (RUN_TEST_f_L): Likewise.
4807 (RUN_TEST_fFF_11): Likewise.
4808 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4810 (cosh_test_data): Likewise.
4811 (exp_test_data): Likewise.
4812 (expm1_test_data): Likewise.
4813 (hypot_test_data): Likewise.
4814 (pow_test_data): Likewise.
4815 (sinh_test_data): Likewise.
4816 (tanh_test_data): Likewise.
4817 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4820 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4821 tests with quiet NaN input and output.
4822 (acosh_test_data): Likewise.
4823 (asin_test_data): Likewise.
4824 (asinh_test_data): Likewise.
4825 (atan_test_data): Likewise.
4826 (atanh_test_data): Likewise.
4827 (atan2_test_data): Likewise.
4828 (cbrt_test_data): Likewise.
4829 (cos_test_data): Likewise.
4830 (cosh_test_data): Likewise.
4831 (erf_test_data): Likewise.
4832 (erfc_test_data): Likewise.
4833 (exp_test_data): Likewise.
4834 (exp10_test_data): Likewise.
4835 (exp2_test_data): Likewise.
4836 (expm1_test_data): Likewise.
4837 (hypot_test_data): Likewise.
4838 (j0_test_data): Likewise.
4839 (j1_test_data): Likewise.
4840 (jn_test_data): Likewise.
4841 (lgamma_test_data): Likewise.
4842 (log_test_data): Likewise.
4843 (log10_test_data): Likewise.
4844 (log1p_test_data): Likewise.
4845 (log2_test_data): Likewise.
4846 (pow_test_data): Likewise.
4847 (scalb_test_data): Likewise.
4848 (sin_test_data): Likewise.
4849 (sincos_test_data): Likewise.
4850 (sinh_test_data): Likewise.
4851 (tan_test_data): Likewise.
4852 (tanh_test_data): Likewise.
4853 (tgamma_test_data): Likewise.
4854 (y0_test_data): Likewise.
4855 (y1_test_data): Likewise.
4856 (yn_test_data): Likewise.
4859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4860 argument being NaN and avoid computations with second argument in
4862 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4863 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4864 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4866 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4868 * locale/iso-639.def: Add Chitwani Tharu (the).
4870 2013-11-14 Andreas Schwab <schwab@suse.de>
4872 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4873 word instead of empty string.
4875 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4878 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4880 (__fe_nomask_env): Likewise.
4882 2013-11-13 Steve Ellcey <sellcey@mips.com>
4884 * benchtests/bench-timing.h: Include time.h.
4886 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4889 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4891 * sysdeps/unix/sysv/linux/configure: Regenerated.
4893 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4896 * stdlib/strtod_l.c (round_and_return): Do not consider
4897 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4898 exponent one less than half the least subnormal exponent.
4899 * stdlib/test-strtod-round-data: Add more tests.
4900 * stdlib/tst-strtod-round.c (tests): Regenerated.
4902 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4906 (__fe_mask_env): Likewise.
4907 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4908 libm_hidden_proto and add function prototype.
4909 (__fe_mask_env): Add function prototype.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4911 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4913 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4915 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4917 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4919 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4920 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4922 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4924 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4925 of htab_find_slot().
4927 2013-11-11 David S. Miller <davem@davemloft.net>
4930 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4931 symbol in the non-vis3 case in static builds.
4932 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4933 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4934 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4935 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4937 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4940 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4943 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4945 * benchtests/Makefile: Add bench-strtod.
4946 * benchtests/bench-strtod.c: New file: strtod benchtest
4948 2013-11-11 Andreas Schwab <schwab@suse.de>
4951 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4952 terminating NUL in key length.
4954 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4957 Add artificial ODP entry for vDSO symbol for PPC64.
4958 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4959 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4961 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4964 * nss/getent.c (services_keys): Recognize services starting with digit.
4966 2013-11-06 David S. Miller <davem@davemloft.net>
4969 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4970 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4972 2013-11-06 Will Newton <will.newton@linaro.org>
4974 * manual/memory.texi (Malloc Examples): Remove register
4975 keyword from examples.
4977 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4979 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4981 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4984 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4985 depending on [__GCC_IEC_559 > 0].
4986 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4987 depending on [__GCC_IEC_559_COMPLEX > 0].
4989 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4991 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4994 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4996 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4998 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5001 * malloc/malloc (malloc_info): Do not handle first bin as
5004 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5006 * locale/iso-639.def: Add Central Nahuatl (nhn).
5008 2013-11-01 Bruno Haible <bruno@clisp.org>
5011 * manual/math.texi (BSD Random): Specify range upper bound as
5014 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5016 * locale/iso-639.def: Add Meadow Mari (mhr).
5018 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5020 [BZ #14752], [BZ #15763]
5021 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5023 * rt/tst_shm.c: Add test for escaping directory.
5025 2013-10-31 Andreas Schwab <schwab@suse.de>
5028 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5029 followed by 'x' as part of digit sequence.
5030 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5032 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5035 * configure.ac: allow GNU Make 4.0 and greater.
5036 * configure: Regenerated.
5038 2013-10-30 Will Newton <will.newton@linaro.org>
5041 * malloc/hooks.c (memalign_check): Limit alignment to the
5042 maximum representable power of two.
5043 * malloc/malloc.c (__libc_memalign): Likewise.
5044 * malloc/tst-memalign.c (do_test): Add test for very
5045 large alignment values.
5046 * malloc/tst-posix_memalign.c (do_test): Likewise.
5048 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5051 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5052 (munmap_chunk): Likewise.
5053 (mremap_chunk): Likewise.
5055 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5058 * stdlib/div.c (div): Remove obsolete code.
5059 * stdlib/ldiv.c (ldiv): Likewise.
5060 * stdlib/lldiv.c (lldiv): Likewise.
5062 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * nss/nss_files/files-XXX.c (get_contents_ret): New
5067 (get_contents): New function.
5068 (internal_getent): Use it. Expand size of LINEBUFLEN.
5070 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5072 * configure.in: Moved to ...
5073 * configure.ac: ... here. Change reference to configure.in
5075 * sysdeps/arm/preconfigure.ac: ... here.
5076 configure.in to configure.ac.
5077 * sysdeps/gnu/configure.in: Moved to ...
5078 * sysdeps/gnu/configure.ac: ... here.
5079 * sysdeps/i386/configure.in: Moved to ...
5080 * sysdeps/i386/configure.ac: ... here.
5081 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5082 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5083 * sysdeps/mach/configure.in: Moved to ...
5084 * sysdeps/mach/configure.ac: ... here.
5085 * sysdeps/mach/hurd/configure.in: Moved to ...
5086 * sysdeps/mach/hurd/configure.ac: ... here.
5087 * sysdeps/powerpc/configure.in: Moved to ...
5088 * sysdeps/powerpc/configure.ac: ... here.
5089 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5090 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5091 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5092 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5093 * sysdeps/s390/s390-32/configure.in: Moved to ...
5094 * sysdeps/s390/s390-32/configure.ac: ... here.
5095 * sysdeps/s390/s390-64/configure.in: Moved to ...
5096 * sysdeps/s390/s390-64/configure.ac: ... here.
5097 * sysdeps/sh/configure.in: Moved to ...
5098 * sysdeps/sh/configure.ac: ... here.
5099 * sysdeps/sparc/configure.in: Moved to ...
5100 * sysdeps/sparc/configure.ac: ... here.
5101 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5102 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5103 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5104 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5105 * sysdeps/x86_64/configure.in: Moved to ...
5106 * sysdeps/x86_64/configure.ac: ... here.
5107 * sysdeps/x86_64/preconfigure.in: Moved to ...
5108 * sysdeps/x86_64/preconfigure.ac: ... here.
5109 * aclocal.m4: Change reference to configure.in to configure.ac.
5110 * config.h.in: Likewise.
5111 * manual/install.texi: Likewise.
5112 * manual/maint.texi: Likewise.
5113 * Makefile: Likewise.
5114 * malloc/Makefile: Likewise.
5115 * nscd/Makefile: Likewise.
5116 * Makeconfig: Change reference to configure.in and
5117 preconfigure.in to configure.ac and preconfigure.ac
5119 * INSTALL: Regenerated.
5120 * configure: Likewise.
5121 * sysdeps/gnu/configure: Likewise.
5122 * sysdeps/i386/configure: Likewise.
5123 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5124 * sysdeps/mach/configure: Likewise.
5125 * sysdeps/mach/hurd/configure: Likewise.
5126 * sysdeps/powerpc/configure: Likewise.
5127 * sysdeps/powerpc/powerpc32/configure: Likewise.
5128 * sysdeps/powerpc/powerpc64/configure: Likewise.
5129 * sysdeps/s390/s390-32/configure: Likewise.
5130 * sysdeps/s390/s390-64/configure: Likewise.
5131 * sysdeps/sh/configure: Likewise.
5132 * sysdeps/sparc/configure: Likewise.
5133 * sysdeps/unix/sysv/linux/configure: Likewise.
5134 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5135 * sysdeps/x86_64/configure: Likewise.
5136 * sysdeps/x86_64/preconfigure: Likewise.
5138 2013-10-29 Andreas Schwab <schwab@suse.de>
5140 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5142 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5144 * benchtests/pow-inputs: Add new inputs.
5146 * benchtests/exp-inputs: Add new inputs.
5148 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5149 conditional check for return value.
5150 (__cos32): Likewise.
5152 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5155 to provide a boost for large inputs with word alignment.
5156 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5157 implementation based on optimized PPC64 strcpy.
5158 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5159 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5160 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5161 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5163 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5166 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5168 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5171 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5172 * time/tst-strptime.c (day_tests): Add testcase.
5174 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5177 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5179 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5182 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5183 MAP_FAILED on error.
5185 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5189 heap for large requests.
5191 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5194 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5195 result if the result has no associated interface.
5196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5197 interface for all 127.X.Y.Z addresses.
5199 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5201 * locale/iso-639.def: Add Ligurian (lij)
5203 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5206 * sunrpc/rpc_main.c: Document rpcgen -5.
5208 2013-10-19 Michael Stahl <mstahl@redhat.com>
5210 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5212 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5215 * posix/glob.c: Match only directories when trailing slash is present.
5216 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5217 (main): Add testcase.
5219 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5222 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5224 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5226 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5227 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5228 AUTH_DES and cindex for FIPS 140-2.
5229 (DES Encryption): Add cindex FIPS 46-3.
5231 * locale/locarchive.h (struct locarhandle): Add fname.
5232 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5233 if an optional argument was specified to --list-archive,
5235 * locale/programs/locarchive.c (show_archive_content): Take new
5236 argument fname and pass it via ah.fname to open_archive.
5237 * locale/programs/localedef.h: Update decl.
5238 (open_archive): If AH->fname is non-null, open that file
5239 rather than the default file name, and don't ignore ENOENT.
5240 (create_archive): Set AH.fname to NULL.
5241 (delete_locales_from_archive): Likewise.
5242 (add_locales_to_archive): Likewise.
5243 * locale/programs/locfile.c (write_all_categories): Likewise.
5245 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5246 Aldy Hernandez <aldyh@redhat.com>
5248 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5249 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5250 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5251 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5252 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5254 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5255 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5256 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5257 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5258 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5259 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5260 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5261 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5264 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5266 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5268 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5270 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5271 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5273 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5274 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5275 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5276 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5278 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5279 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5280 * sysdeps/powerpc/preconfigure: Likewise.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5283 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5284 Replace contents of file by #include of <fenv_libc.h>.
5285 * sysdeps/powerpc/soft-fp/sfp-machine.h
5286 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5288 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5293 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5297 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5299 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5301 Allow copysignl PLT reference to be missing.
5303 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5304 Joseph Myers <joseph@codesourcery.com
5307 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5309 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5311 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5313 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5314 * elf/tst-tls1.c: Likewise.
5315 * elf/tst-tls10.h: Likewise.
5316 * elf/tst-tls14.c: Likewise.
5317 * elf/tst-tls2.c: Likewise.
5318 * elf/tst-tls3.c: Likewise.
5319 * elf/tst-tls4.c: Likewise.
5320 * elf/tst-tls5.c: Likewise.
5321 * elf/tst-tls6.c: Likewise.
5322 * elf/tst-tls7.c: Likewise.
5323 * elf/tst-tls8.c: Likewise.
5324 * elf/tst-tls9.c: Likewise.
5325 * elf/tst-tlsmod1.c: Likewise.
5326 * elf/tst-tlsmod13.c: Likewise.
5327 * elf/tst-tlsmod13a.c: Likewise.
5328 * elf/tst-tlsmod14a.c: Likewise.
5329 * elf/tst-tlsmod16a.c: Likewise.
5330 * elf/tst-tlsmod16b.c: Likewise.
5331 * elf/tst-tlsmod2.c: Likewise.
5332 * elf/tst-tlsmod3.c: Likewise.
5333 * elf/tst-tlsmod4.c: Likewise.
5334 * elf/tst-tlsmod5.c: Likewise.
5335 * elf/tst-tlsmod6.c: Likewise.
5337 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5340 * malloc/malloc.c: remove checks for statistics.
5342 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5345 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5346 * inet/tst-network.c: Add testcase.
5348 2013-10-17 Andreas Schwab <schwab@suse.de>
5351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5352 to determine canonical name.
5354 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5356 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5357 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5380 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5381 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5415 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5418 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5419 make result into a quiet NaN.
5421 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5423 * soft-fp/adddf3.c: Fix horizontal whitespace.
5424 * soft-fp/addsf3.c: Likewise.
5425 * soft-fp/addtf3.c: Likewise.
5426 * soft-fp/divdf3.c: Likewise.
5427 * soft-fp/divsf3.c: Likewise.
5428 * soft-fp/divtf3.c: Likewise.
5429 * soft-fp/double.h: Likewise.
5430 * soft-fp/eqdf2.c: Likewise.
5431 * soft-fp/eqsf2.c: Likewise.
5432 * soft-fp/eqtf2.c: Likewise.
5433 * soft-fp/extenddftf2.c: Likewise.
5434 * soft-fp/extended.h: Likewise.
5435 * soft-fp/extendsfdf2.c: Likewise.
5436 * soft-fp/extendsftf2.c: Likewise.
5437 * soft-fp/extendxftf2.c: Likewise.
5438 * soft-fp/fixdfdi.c: Likewise.
5439 * soft-fp/fixdfsi.c: Likewise.
5440 * soft-fp/fixdfti.c: Likewise.
5441 * soft-fp/fixsfdi.c: Likewise.
5442 * soft-fp/fixsfsi.c: Likewise.
5443 * soft-fp/fixsfti.c: Likewise.
5444 * soft-fp/fixtfdi.c: Likewise.
5445 * soft-fp/fixtfsi.c: Likewise.
5446 * soft-fp/fixtfti.c: Likewise.
5447 * soft-fp/fixunsdfdi.c: Likewise.
5448 * soft-fp/fixunsdfsi.c: Likewise.
5449 * soft-fp/fixunsdfti.c: Likewise.
5450 * soft-fp/fixunssfdi.c: Likewise.
5451 * soft-fp/fixunssfsi.c: Likewise.
5452 * soft-fp/fixunssfti.c: Likewise.
5453 * soft-fp/fixunstfdi.c: Likewise.
5454 * soft-fp/fixunstfsi.c: Likewise.
5455 * soft-fp/fixunstfti.c: Likewise.
5456 * soft-fp/floatdidf.c: Likewise.
5457 * soft-fp/floatdisf.c: Likewise.
5458 * soft-fp/floatditf.c: Likewise.
5459 * soft-fp/floatsidf.c: Likewise.
5460 * soft-fp/floatsisf.c: Likewise.
5461 * soft-fp/floatsitf.c: Likewise.
5462 * soft-fp/floattidf.c: Likewise.
5463 * soft-fp/floattisf.c: Likewise.
5464 * soft-fp/floattitf.c: Likewise.
5465 * soft-fp/floatundidf.c: Likewise.
5466 * soft-fp/floatundisf.c: Likewise.
5467 * soft-fp/floatunditf.c: Likewise.
5468 * soft-fp/floatunsidf.c: Likewise.
5469 * soft-fp/floatunsisf.c: Likewise.
5470 * soft-fp/floatunsitf.c: Likewise.
5471 * soft-fp/floatuntidf.c: Likewise.
5472 * soft-fp/floatuntisf.c: Likewise.
5473 * soft-fp/floatuntitf.c: Likewise.
5474 * soft-fp/fmadf4.c: Likewise.
5475 * soft-fp/fmasf4.c: Likewise.
5476 * soft-fp/fmatf4.c: Likewise.
5477 * soft-fp/gedf2.c: Likewise.
5478 * soft-fp/gesf2.c: Likewise.
5479 * soft-fp/getf2.c: Likewise.
5480 * soft-fp/ledf2.c: Likewise.
5481 * soft-fp/lesf2.c: Likewise.
5482 * soft-fp/letf2.c: Likewise.
5483 * soft-fp/muldf3.c: Likewise.
5484 * soft-fp/mulsf3.c: Likewise.
5485 * soft-fp/multf3.c: Likewise.
5486 * soft-fp/negdf2.c: Likewise.
5487 * soft-fp/negsf2.c: Likewise.
5488 * soft-fp/negtf2.c: Likewise.
5489 * soft-fp/op-1.h: Likewise.
5490 * soft-fp/op-2.h: Likewise.
5491 * soft-fp/op-4.h: Likewise.
5492 * soft-fp/op-8.h: Likewise.
5493 * soft-fp/op-common.h: Likewise.
5494 * soft-fp/quad.h: Likewise.
5495 * soft-fp/single.h: Likewise.
5496 * soft-fp/soft-fp.h: Likewise.
5497 * soft-fp/sqrtdf2.c: Likewise.
5498 * soft-fp/sqrtsf2.c: Likewise.
5499 * soft-fp/sqrttf2.c: Likewise.
5500 * soft-fp/subdf3.c: Likewise.
5501 * soft-fp/subsf3.c: Likewise.
5502 * soft-fp/subtf3.c: Likewise.
5503 * soft-fp/truncdfsf2.c: Likewise.
5504 * soft-fp/trunctfdf2.c: Likewise.
5505 * soft-fp/trunctfsf2.c: Likewise.
5506 * soft-fp/trunctfxf2.c: Likewise.
5507 * soft-fp/unorddf2.c: Likewise.
5508 * soft-fp/unordsf2.c: Likewise.
5509 * soft-fp/unordtf2.c: Likewise.
5511 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5513 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5514 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5516 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5518 * elf/dl-libc.c: Clear initfini list after freeing.
5520 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5522 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5523 * soft-fp/addsf3.c: Likewise.
5524 * soft-fp/addtf3.c: Likewise.
5525 * soft-fp/divdf3.c: Likewise.
5526 * soft-fp/divsf3.c: Likewise.
5527 * soft-fp/divtf3.c: Likewise.
5528 * soft-fp/double.h: Likewise.
5529 * soft-fp/eqdf2.c: Likewise.
5530 * soft-fp/eqsf2.c: Likewise.
5531 * soft-fp/eqtf2.c: Likewise.
5532 * soft-fp/extenddftf2.c: Likewise.
5533 * soft-fp/extended.h: Likewise.
5534 * soft-fp/extendsfdf2.c: Likewise.
5535 * soft-fp/extendsftf2.c: Likewise.
5536 * soft-fp/extendxftf2.c: Likewise.
5537 * soft-fp/fixdfdi.c: Likewise.
5538 * soft-fp/fixdfsi.c: Likewise.
5539 * soft-fp/fixdfti.c: Likewise.
5540 * soft-fp/fixsfdi.c: Likewise.
5541 * soft-fp/fixsfsi.c: Likewise.
5542 * soft-fp/fixsfti.c: Likewise.
5543 * soft-fp/fixtfdi.c: Likewise.
5544 * soft-fp/fixtfsi.c: Likewise.
5545 * soft-fp/fixtfti.c: Likewise.
5546 * soft-fp/fixunsdfdi.c: Likewise.
5547 * soft-fp/fixunsdfsi.c: Likewise.
5548 * soft-fp/fixunsdfti.c: Likewise.
5549 * soft-fp/fixunssfdi.c: Likewise.
5550 * soft-fp/fixunssfsi.c: Likewise.
5551 * soft-fp/fixunssfti.c: Likewise.
5552 * soft-fp/fixunstfdi.c: Likewise.
5553 * soft-fp/fixunstfsi.c: Likewise.
5554 * soft-fp/fixunstfti.c: Likewise.
5555 * soft-fp/floatdidf.c: Likewise.
5556 * soft-fp/floatdisf.c: Likewise.
5557 * soft-fp/floatditf.c: Likewise.
5558 * soft-fp/floatsidf.c: Likewise.
5559 * soft-fp/floatsisf.c: Likewise.
5560 * soft-fp/floatsitf.c: Likewise.
5561 * soft-fp/floattidf.c: Likewise.
5562 * soft-fp/floattisf.c: Likewise.
5563 * soft-fp/floattitf.c: Likewise.
5564 * soft-fp/floatundidf.c: Likewise.
5565 * soft-fp/floatundisf.c: Likewise.
5566 * soft-fp/floatunsidf.c: Likewise.
5567 * soft-fp/floatunsisf.c: Likewise.
5568 * soft-fp/floatuntidf.c: Likewise.
5569 * soft-fp/floatuntisf.c: Likewise.
5570 * soft-fp/floatuntitf.c: Likewise.
5571 * soft-fp/fmadf4.c: Likewise.
5572 * soft-fp/fmasf4.c: Likewise.
5573 * soft-fp/fmatf4.c: Likewise.
5574 * soft-fp/gedf2.c: Likewise.
5575 * soft-fp/gesf2.c: Likewise.
5576 * soft-fp/getf2.c: Likewise.
5577 * soft-fp/ledf2.c: Likewise.
5578 * soft-fp/lesf2.c: Likewise.
5579 * soft-fp/letf2.c: Likewise.
5580 * soft-fp/muldf3.c: Likewise.
5581 * soft-fp/mulsf3.c: Likewise.
5582 * soft-fp/multf3.c: Likewise.
5583 * soft-fp/negdf2.c: Likewise.
5584 * soft-fp/negsf2.c: Likewise.
5585 * soft-fp/negtf2.c: Likewise.
5586 * soft-fp/op-1.h: Likewise.
5587 * soft-fp/op-2.h: Likewise.
5588 * soft-fp/op-4.h: Likewise.
5589 * soft-fp/op-8.h: Likewise.
5590 * soft-fp/op-common.h: Likewise.
5591 * soft-fp/quad.h: Likewise.
5592 * soft-fp/single.h: Likewise.
5593 * soft-fp/soft-fp.h: Likewise.
5594 * soft-fp/sqrtdf2.c: Likewise.
5595 * soft-fp/sqrtsf2.c: Likewise.
5596 * soft-fp/sqrttf2.c: Likewise.
5597 * soft-fp/subdf3.c: Likewise.
5598 * soft-fp/subsf3.c: Likewise.
5599 * soft-fp/subtf3.c: Likewise.
5600 * soft-fp/truncdfsf2.c: Likewise.
5601 * soft-fp/trunctfdf2.c: Likewise.
5602 * soft-fp/trunctfsf2.c: Likewise.
5603 * soft-fp/trunctfxf2.c: Likewise.
5604 * soft-fp/unorddf2.c: Likewise.
5605 * soft-fp/unordsf2.c: Likewise.
5606 * soft-fp/unordtf2.c: Likewise.
5608 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5611 * misc/error.c (error_tail): Fix possible buffer overflow.
5613 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5616 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5619 2013-10-14 P. J. McDermott <pj@pehjota.net>
5622 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5623 testing pipefail option.
5625 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5627 * soft-fp/double.h: Indent preprocessor directives inside #if.
5628 * soft-fp/extended.h: Likewise.
5629 * soft-fp/op-2.h: Likewise.
5630 * soft-fp/op-4.h: Likewise.
5631 * soft-fp/op-common.h: Likewise.
5632 * soft-fp/quad.h: Likewise.
5633 * soft-fp/single.h: Likewise.
5634 * soft-fp/soft-fp.h: Likewise.
5636 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5638 * iconv/iconv_prog.c: Fix typos.
5639 * stdio-common/psiginfo-data.h: Likewise.
5641 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5644 * locale/setlocale.c: Fix typo.
5646 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5649 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5650 signaling NaN arguments.
5651 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5652 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5655 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5657 * soft-fp/gesf2.c (__gesf2): Likewise.
5658 * soft-fp/getf2.c (__getf2): Likewise.
5659 * soft-fp/ledf2.c (__ledf2): Likewise.
5660 * soft-fp/lesf2.c (__lesf2): Likewise.
5661 * soft-fp/letf2.c (__letf2): Likewise.
5663 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5664 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5665 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5666 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5667 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5668 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5669 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5670 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5671 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5672 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5673 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5674 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5675 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5676 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5677 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5678 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5679 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5680 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5681 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5682 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5683 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5684 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5685 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5686 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5687 * soft-fp/floattidf.c (__floattidf): Likewise.
5688 * soft-fp/floattisf.c (__floattisf): Likewise.
5689 * soft-fp/floattitf.c (__floattitf): Likewise.
5690 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5691 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5692 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5693 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5694 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5695 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5696 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5697 * soft-fp/gesf2.c (__gesf2): Likewise.
5698 * soft-fp/getf2.c (__getf2): Likewise.
5699 * soft-fp/ledf2.c (__ledf2): Likewise.
5700 * soft-fp/lesf2.c (__lesf2): Likewise.
5701 * soft-fp/letf2.c (__letf2): Likewise.
5703 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5704 Undefine and redefine.
5705 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5706 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5707 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5708 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5709 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5710 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5711 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5712 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5713 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5714 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5715 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5716 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5717 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5718 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5719 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5722 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5723 without decrementing exponent if mantissa >= that for the
5725 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5726 denominator, not >. Decrement exponent in < case instead of
5727 incrementing in >= case.
5728 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5729 without decrementing exponent if mantissa >= that for the
5732 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5733 computing saturated result for unsigned overflow.
5735 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5736 Jeff Law <law@redhat.com>
5738 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5739 (atan2Mp): Add systemtap probe marker.
5740 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5741 (__ieee754_log): Add systemtap probe marker.
5742 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5743 (atanMp): Add systemtap probe marker.
5744 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5745 (tanMp): Add systemtap probe marker.
5746 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5747 (__slowexp): Add systemtap probe marker.
5748 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5749 (__slowpow): Add systemtap probe marker.
5750 * manual/probes.texi: Document probes.
5752 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5755 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5757 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5759 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5760 written to buffer but not flushed.
5761 * libio/iofwrite_u.c: Likewise.
5762 * libio/iopadn.c: Return bytes returned even if EOF was
5764 * libio/iowpadn.c: Likewise.
5765 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5766 if _IO_padn does not write the whole buffer.
5767 [!COMPILE_WPRINTF] (PAD): Likewise.
5769 2013-10-10 David S. Miller <davem@davemloft.net>
5771 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5774 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5776 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5777 instead of FSF address.
5778 * soft-fp/fixdfti.c: Likewise.
5779 * soft-fp/fixsfti.c: Likewise.
5780 * soft-fp/fixtfti.c: Likewise.
5781 * soft-fp/fixunsdfti.c: Likewise.
5782 * soft-fp/fixunssfti.c: Likewise.
5783 * soft-fp/fixunstfti.c: Likewise.
5784 * soft-fp/floattidf.c: Likewise.
5785 * soft-fp/floattisf.c: Likewise.
5786 * soft-fp/floattitf.c: Likewise.
5787 * soft-fp/floatuntidf.c: Likewise.
5788 * soft-fp/floatuntisf.c: Likewise.
5789 * soft-fp/floatuntitf.c: Likewise.
5790 * soft-fp/trunctfxf2.c: Likewise.
5792 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5793 * soft-fp/fixdfti.c: Likewise.
5794 * soft-fp/fixsfti.c: Likewise.
5795 * soft-fp/fixtfti.c: Likewise.
5796 * soft-fp/fixunsdfti.c: Likewise.
5797 * soft-fp/fixunssfti.c: Likewise.
5798 * soft-fp/fixunstfti.c: Likewise.
5799 * soft-fp/floattidf.c: Likewise.
5800 * soft-fp/floattisf.c: Likewise.
5801 * soft-fp/floattitf.c: Likewise.
5802 * soft-fp/floatuntidf.c: Likewise.
5803 * soft-fp/floatuntisf.c: Likewise.
5804 * soft-fp/floatuntitf.c: Likewise.
5805 * soft-fp/trunctfxf2.c: Likewise.
5807 2013-10-10 David S. Miller <davem@davemloft.net>
5809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5811 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5813 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5814 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5815 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5816 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5817 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5818 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5819 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5822 for NaNs before doing comparisons on argument.
5823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5826 2013-10-10 Will Newton <will.newton@linaro.org>
5828 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5829 passed to _int_memalign does not overflow.
5831 2013-10-10 Torvald Riegel <triegel@redhat.com>
5833 * scripts/bench.pl: Add include-sources directive.
5834 * benchtests/README: Update documentation.
5836 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5838 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5839 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5840 instead of FP_INIT_ROUNDMODE.
5841 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5842 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5845 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5846 copy class of input value.
5847 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5848 not handle exceptions.
5849 * soft-fp/negsf2.c (__negsf2): Likewise.
5850 * soft-fp/negtf2.c (__negtf2): Likewise.
5851 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5853 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5855 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5856 semicolon. From Linux kernel.
5858 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5860 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5862 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5865 * manual/socket.texi: Added statement about buffer
5866 for gethostbyname2_r.
5868 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5870 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5871 Use .p2align directive instead, throughout.
5872 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5873 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5874 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5876 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5877 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5878 * sysdeps/x86_64/strchr.S: Likewise.
5879 * sysdeps/x86_64/strrchr.S: Likewise.
5881 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5883 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5885 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5887 * sysdeps/generic/math_private.h (__mpsin1): Remove
5889 (__mpcos1): Likewise.
5890 (__mpsin): New argument __range_reduce.
5891 (__mpcos): Likewise.
5892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5893 (slow): Use __mpsin and __mpcos.
5900 (bsloww1): Likewise.
5901 (bsloww2): Likewise.
5904 (csloww1): Likewise.
5905 (csloww2): Likewise.
5906 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5907 range_reduce. Merge in __mpsin1.
5908 (__mpcos): Likewise.
5910 (__mpcos1): Likewise.
5912 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5914 * locale/loadlocale.c (_nl_intern_locale_data): Use
5916 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5917 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5918 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5919 obstack data is appropriately aligned.
5920 (obstack_int32_grow_fast): Likewise.
5921 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5922 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5923 (add_locale_uint32_array): Likewise.
5925 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5927 * benchtests/Makefile: Remove ARGLIST and RET variables.
5928 ($(objpfx)bench-%.c): Pass only function name to the script.
5929 * benchtests/README: Update documentation.
5930 * benchtests/acos-inputs: Add new directives.
5931 * benchtests/acosh-inputs: Likewise.
5932 * benchtests/asin-inputs: Likewise.
5933 * benchtests/asinh-inputs: Likewise.
5934 * benchtests/atan-inputs: Likewise.
5935 * benchtests/atanh-inputs: Likewise.
5936 * benchtests/cos-inputs: Likewise.
5937 * benchtests/cosh-inputs: Likewise.
5938 * benchtests/exp-inputs: Likewise.
5939 * benchtests/log-inputs: Likewise.
5940 * benchtests/pow-inputs: Likewise.
5941 * benchtests/rint-inputs: Likewise.
5942 * benchtests/sin-inputs: Likewise.
5943 * benchtests/sinh-inputs: Likewise.
5944 * benchtests/tan-inputs: Likewise.
5945 * benchtests/tanh-inputs: Likewise.
5946 * scripts/bench.pl: Add support for new directives.
5948 2013-10-07 Alan Modra <amodra@gmail.com>
5950 * README: Fix careless merge.
5952 2013-10-05 Alan Modra <amodra@gmail.com>
5954 * NEWS: Mention powerpc64le support and bugs fixed.
5955 * README: Both big-endian and little-endian powerpc64 supported.
5957 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5959 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5960 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5961 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5962 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5964 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5966 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5969 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5971 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5972 Move -mhard-float appending from
5973 ports/sysdeps/powerpc/powerpc32/Makefile.
5974 [$(with-fp) = yes] (ASFLAGS): Likewise.
5975 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5976 * sysdeps/powerpc/nofpu: Move directory from
5977 ports/sysdeps/powerpc/nofpu.
5978 * sysdeps/powerpc/soft-fp: Move directory from
5979 ports/sysdeps/powerpc/soft-fp.
5980 * sysdeps/powerpc/powerpc32/405: Move directory from
5981 ports/sysdeps/powerpc/powerpc32/405.
5982 * sysdeps/powerpc/powerpc32/440: Move directory from
5983 ports/sysdeps/powerpc/powerpc32/440.
5984 * sysdeps/powerpc/powerpc32/464: Move directory from
5985 ports/sysdeps/powerpc/powerpc32/464.
5986 * sysdeps/powerpc/powerpc32/476: Move directory from
5987 ports/sysdeps/powerpc/powerpc32/476.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5989 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5991 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5993 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5995 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5997 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5998 * README: Update for powerpc-*-linux-gnu software floating point
6001 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6002 case to powerpc/powerpc32*.
6003 * sysdeps/unix/sysv/linux/configure: Regenerated.
6005 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6006 (_FPU_MASK_OM): Define as 0x04.
6007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6008 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6015 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6018 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6021 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6022 and setcontext_e500.
6024 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6026 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6028 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6030 * manual/threads.texi (Default Thread Attributes): Fix typo.
6032 2013-10-04 Will Newton <will.newton@linaro.org>
6034 * malloc/Makefile: Add tst-memalign.
6035 * malloc/tst-memalign.c: New file.
6037 * malloc/tst-posix_memalign.c: Add comments.
6038 (do_test): Add comments and call free on all potentially
6039 allocated pointers. Add space after cast.
6041 * malloc/tst-pvalloc.c: Add comments.
6042 (do_test): Add comments and call free on all potentially
6043 allocated pointers. Remove duplicate check for NULL pointer.
6044 Add space after cast.
6046 * malloc/tst-valloc.c: Add comments.
6047 (do_test): Add comments and call free on all potentially
6048 allocated pointers. Remove duplicate check for NULL pointer.
6049 Add space after cast.
6051 2013-10-04 Alan Modra <amodra@gmail.com>
6053 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6054 Use stdint types in rather than __attribute__((mode())).
6055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6057 2013-10-04 Alan Modra <amodra@gmail.com>
6059 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6060 Correct handling of unaligned relocs for little-endian.
6061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6063 2013-10-04 Alan Modra <amodra@gmail.com>
6065 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6066 * configure: Regenerate.
6067 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6068 * shlib-versions: Likewise.
6070 2013-10-04 Alan Modra <amodra@gmail.com>
6072 * string/tester.c (test_memrchr): Increment reported test cycle.
6074 2013-10-04 Alan Modra <amodra@gmail.com>
6076 * string/test-memcpy.c (do_one_test): When reporting errors, print
6077 string address and don't overrun end of string.
6079 2013-10-04 Alan Modra <amodra@gmail.com>
6081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6082 insrdi. Make better use of reg selection to speed exit slightly.
6083 Schedule entry path a little better. Remove useless "are we done"
6084 checks on entry to main loop. Handle wrapping around zero address.
6085 Correct main loop count. Handle single left-over word from main
6086 loop inline rather than by using loop_small. Remove extra word
6087 case in loop_small caused by wrong loop count. Add little-endian
6089 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6092 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6093 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6094 support. Avoid rlwimi.
6095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6097 2013-10-04 Alan Modra <amodra@gmail.com>
6099 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6101 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6102 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6103 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6104 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6105 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6106 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6108 2013-10-04 Alan Modra <amodra@gmail.com>
6110 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6111 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6112 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6113 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6114 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6115 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6117 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6118 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6119 use of regs. Use power7 mtocrf. Tidy function tails.
6121 2013-10-04 Alan Modra <amodra@gmail.com>
6123 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6124 Formatting. Consistently use rXXX register defines or rN defines.
6125 Use early exit labels that avoid restoring unused non-volatile regs.
6126 Make cr field use more consistent with rWORDn compares. Rename
6127 regs used as shift registers for unaligned loop, using rN defines
6128 for short lifetime/multiple use regs.
6129 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6131 addi 1,1,64 to pop stack frame. Simplify return value code.
6132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6134 2013-10-04 Alan Modra <amodra@gmail.com>
6136 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6137 support. Correct typos, formatting. Optimize tail. Use insrdi
6139 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6140 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6141 little-endian support. Correct typos.
6142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6144 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6145 in loop and entry code to keep "and." results.
6146 (strchr): Add little-endian support. Comment. Move cntlzd
6148 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6150 2013-10-04 Alan Modra <amodra@gmail.com>
6152 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6153 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6154 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6155 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6157 2013-10-04 Alan Modra <amodra@gmail.com>
6159 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6160 (rTMP): Define as r11.
6161 (strcmp): Add little-endian support. Optimise tail.
6162 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6163 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6164 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6165 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6166 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6170 2013-10-04 Alan Modra <amodra@gmail.com>
6172 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6173 little-endian support. Remove unnecessary "are we done" tests.
6174 Handle "s" wrapping around zero and extremely large "size".
6175 Correct main loop count. Handle single left-over word from main
6176 loop inline rather than by using small_loop. Correct comments.
6177 Delete "zero" tail, use "end_max" instead.
6178 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6180 2013-10-04 Alan Modra <amodra@gmail.com>
6182 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6183 support. Don't branch over align.
6184 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6185 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6186 support. Rearrange tmp reg use to suit. Comment.
6187 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6189 2013-10-04 Alan Modra <amodra@gmail.com>
6191 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6193 2013-10-04 Alan Modra <amodra@gmail.com>
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6196 conditional form of branch and link when obtaining pc.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6199 2013-10-04 Alan Modra <amodra@gmail.com>
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6206 2013-10-04 Alan Modra <amodra@gmail.com>
6208 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6209 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6210 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6211 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6212 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6213 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6214 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6215 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6216 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6217 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6219 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6220 Alistair Popple <alistair@ozlabs.au.ibm.com>
6221 Alan Modra <amodra@gmail.com>
6224 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6225 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6226 _dl_hwcap access for little-endian.
6227 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6228 destroy vmx regs when saving unaligned.
6229 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6230 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6231 destroy vmx regs when saving unaligned.
6233 2013-10-04 Alan Modra <amodra@gmail.com>
6235 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6236 Don't use a union to pack hi/low value.
6238 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6240 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6242 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6245 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6246 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6248 2013-10-04 Alan Modra <amodra@gmail.com>
6250 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6251 constants to usual value for .cst8 section, and remove redundant
6253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6254 constant for 0x1p52. Load little-endian words of double from
6255 correct stack offsets.
6257 2013-10-04 Alan Modra <amodra@gmail.com>
6259 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6260 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6261 words of double from correct stack offsets.
6262 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6263 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6264 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6269 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6270 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6273 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6274 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6275 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6276 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6278 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6280 2013-10-04 Alan Modra <amodra@gmail.com>
6282 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6283 64-bit int/double union.
6284 (_FPU_SETCW): Likewise.
6285 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6286 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6288 2013-10-04 Alan Modra <amodra@gmail.com>
6290 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6291 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6293 2013-10-04 Alan Modra <amodra@gmail.com>
6295 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6296 use vector int constants.
6297 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6299 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6301 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6302 array with long long.
6303 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6304 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6305 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6306 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6307 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6308 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6309 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6310 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6311 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6312 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6313 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6314 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6315 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6317 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6319 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6320 (__signbit): Likewise. Correct for little-endian.
6321 (__signbitl): Call __signbit.
6322 (lrint): Correct for little-endian.
6323 (lrintf): Call lrint.
6325 2013-10-04 Alan Modra <amodra@gmail.com>
6327 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6328 union 32-bit int array member with 64-bit int array.
6329 (t515, tm256): Double rather than long double.
6330 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6332 2013-10-04 Alan Modra <amodra@gmail.com>
6334 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6336 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6337 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6338 version of math_ldbl.h.
6340 2013-10-04 Alan Modra <amodra@gmail.com>
6342 [BZ #15734], [BZ #15735]
6343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6344 all uses of ieee875 long double macros and unions. Simplify test
6345 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6346 ldbl_extract_mantissa value for ix,iy exponents. Properly
6347 normalize after ldbl_extract_mantissa, and don't add hidden bit
6348 already handled. Don't treat low word of ieee854 mantissa like
6349 low word of IBM long double and mask off bit when testing for
6351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6352 all uses of ieee875 long double macros and unions. Simplify tests
6353 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6354 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6355 two1022, instead use their values. Recognise that tests for large
6356 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6357 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6358 Rewrite all uses of ieee875 long double macros and unions. Simplify
6359 test for 0.0L and nan. Correct negation.
6360 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6361 ieee875 long double macros and unions. Correct output for large
6362 magnitude x. Correct absolute value calculation.
6363 (__erfcl): Likewise.
6364 * math/libm-test.inc: Add tests for errors discovered in IBM long
6365 double versions of fmodl, remainderl, erfl and erfcl.
6367 2013-10-04 Alan Modra <amodra@gmail.com>
6369 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6370 all uses of ieee854 long double macros and unions. Simplify tests
6371 for long doubles that are fully specified by the high double.
6372 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6374 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6375 Remove dead code too.
6376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6377 (__ieee754_ynl): Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6381 Remove dead code too.
6382 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6383 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6392 Comment on variable precision.
6393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6396 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6402 2013-10-04 Alan Modra <amodra@gmail.com>
6404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6405 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6406 all uses of ieee854 long double macros and unions.
6407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6420 Simplify sign and nan test too.
6421 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6426 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6436 2013-10-04 Alan Modra <amodra@gmail.com>
6438 * stdio-common/printf_size.c (__printf_size): Don't use
6439 union ieee854_long_double in fpnum union.
6440 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6441 signbit macro to retrieve sign from long double.
6442 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6443 retrieve sign from long double.
6444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6445 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6447 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6448 * math/test-misc.c (main): Don't use union ieee854_long_double.
6450 2013-10-04 Alan Modra <amodra@gmail.com>
6453 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6454 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6455 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6456 calculation. Remove unnecessary test for denormal exponent.
6457 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6458 Correct handling of denormals. Avoid undefined shift behaviour.
6459 Correct normalisation of low mantissa when low double is denormal.
6460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6461 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6462 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6463 Correct normalisation of low mantissa. Test for overflow of high
6464 mantissa and normalise.
6465 (ldbl_nearbyint): Use more readable constant for two52.
6466 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6467 (__mpn_construct_long_double): Fix test for overflow of high
6468 mantissa and correct normalisation. Avoid undefined shift.
6470 2013-10-04 Alan Modra <amodra@gmail.com>
6472 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6473 (union ibm_extended_long_double): Define as an array of ieee754_double.
6474 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6475 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6476 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6477 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6486 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6488 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6489 page size instead of calling getpagesize.
6491 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6492 (LOCFILE_ALIGN_MASK): Likewise.
6493 (LOCFILE_ALIGN_UP): Likewise.
6494 (LOCFILE_ALIGNED_P): Likewise.
6495 * locale/programs/ld-collate.c (collate_output): Use the new
6496 macros instead of __alignof__ (int32_t).
6497 * locale/weight.h (findidx): Likewise.
6499 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6502 * manual/string.texi: Fix strncat and wcsncat.
6504 2013-10-03 Brooks Moses <bmoses@google.com>
6507 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6508 * Makerules: ...here, and adjust associated comments.
6510 2013-10-02 Will Newton <will.newton@linaro.org>
6512 * malloc/Makefile: Add tst-pvalloc.
6513 * malloc/tst-pvalloc.c: New file.
6515 2013-10-02 Will Newton <will.newton@linaro.org>
6517 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6518 improve test coverage.
6520 2013-10-02 Will Newton <will.newton@linaro.org>
6522 * malloc/Makefile: Add tst-posix_memalign.
6523 * malloc/tst-posix_memalign.c: New file.
6525 2013-10-01 Eric Blake <eblake@redhat.com>
6527 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6528 Use __THROWNL rather than __THROW on static functions.
6530 2013-09-30 Petr Machata <pmachata@redhat.com>
6532 * elf/elf.h (R_AARCH64_ABS16): New macro.
6533 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6534 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6535 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6536 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6537 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6538 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6539 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6540 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6541 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6542 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6543 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6544 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6545 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6546 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6547 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6548 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6549 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6550 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6551 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6552 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6553 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6554 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6555 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6556 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6557 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6558 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6559 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6560 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6561 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6562 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6563 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6564 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6565 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6566 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6567 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6568 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6569 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6570 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6571 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6572 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6573 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6574 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6575 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6576 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6577 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6578 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6579 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6580 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6581 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6582 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6583 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6584 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6585 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6586 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6587 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6588 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6589 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6590 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6591 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6592 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6593 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6594 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6595 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6596 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6597 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6598 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6599 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6600 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6601 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6602 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6603 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6604 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6605 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6606 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6607 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6608 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6609 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6610 (R_AARCH64_TLSDESC_LDR): Likewise.
6611 (R_AARCH64_TLSDESC_ADD): Likewise.
6612 (R_AARCH64_TLSDESC_CALL): Likewise.
6614 2013-09-30 Andreas Schwab <schwab@suse.de>
6617 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6618 the nss database lookup.
6619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6622 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6624 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6626 2013-09-28 P. J. McDermott <pj@pehjota.net>
6628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6629 ${Bash-specific parameter/pattern/string} parameter expansion.
6630 * sysdeps/unix/make-syscalls.sh: Likewise.
6632 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6634 * sysdeps/sh/stackguard-macros.h: New file.
6636 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6640 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6641 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6642 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6643 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6645 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6647 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6648 Fix thread ID register.
6650 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6652 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6653 [POSIX || UNIX98]: Require rather than permitting all symbols from
6655 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6656 element of struct sched_param.
6657 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6658 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6659 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6660 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6663 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6665 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6666 argument calculation.
6668 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6670 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6672 [POSIX] (pthread_attr_t): Do not require type.
6673 [POSIX] (pthread_cond_t): Likewise.
6674 [POSIX] (pthread_condattr_t): Likewise.
6675 [POSIX] (pthread_key_t): Likewise.
6676 [POSIX] (pthread_mutex_t): Likewise.
6677 [POSIX] (pthread_mutexattr_t): Likewise.
6678 [POSIX] (pthread_once_t): Likewise.
6679 [POSIX] (pthread_t): Likewise.
6680 [POSIX-based standards] (pthread_atfork): Expect function.
6682 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6683 Richard Sandiford <richard@codesourcery.com>
6685 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6686 (swap_endianness_p): New extern variable.
6687 (set_big_endian): New inline function.
6688 (maybe_swap_uint32): Likewise.
6689 (maybe_swap_uint32_array): Likewise.
6690 (maybe_swap_uint32_obstack): Likewise.
6691 * locale/programs/locfile.c: Include <stdbool.h>.
6692 (swap_endianness_p): New variable.
6693 (add_locale_uint32): Call maybe_swap_uint32.
6694 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6695 (write_locale_data): Call maybe_swap_uint32_array.
6696 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6698 (obstack_int32_grow_fast): Likewise.
6699 (output_weightwc): Call maybe_swap_uint32_obstack.
6700 (collate_output): Likewise.
6701 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6702 (OPT_LITTLE_ENDIAN): Likewise.
6703 (options): Add --little-endian and --big-endian options.
6704 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6705 * locale/programs/locarchive.c: Include "locfile.h".
6709 (create_archive): Use the new macros to access fields of
6710 structures directly mapped from or written to locale archives.
6711 (oldlocrecentcmp): Likewise.
6712 (enlarge_archive): Likewise.
6713 (insert_name): Likewise.
6714 (add_alias): Likewise.
6715 (add_locale): Likewise.
6716 (delete_locales_from_archive): Likewise.
6717 (show_archive_content): Likewise.
6718 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6721 2013-09-24 Roland McGrath <roland@hack.frob.com>
6723 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6724 http://www.gnu.org/doc/freemanuals.texi.
6725 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6727 2013-09-24 Will Newton <will.newton@linaro.org>
6729 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6732 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6734 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6737 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6739 * manual/threads.texi (POSIX Threads): Fix a typo.
6741 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6744 * string/tst-strcoll-overflow.c: New test case.
6745 * string/Makefile (xtests): Add tst-strcoll-overflow.
6746 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6747 cache if string sizes may cause integer overflow.
6750 * string/strcoll_l.c (coll_seq): New members rule, idx,
6751 save_idx and back_us.
6752 (get_next_seq_nocache): New function.
6753 (do_compare_nocache): New function.
6754 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6757 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6760 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6761 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6762 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6765 * elf/Makefile (tests): Add tst-ptrguard1.
6766 (tests-static): Add tst-ptrguard1-static.
6767 (tst-ptrguard1-ARGS): Define.
6768 (tst-ptrguard1-static-ARGS): Define.
6769 * elf/tst-ptrguard1.c: New file.
6770 * elf/tst-ptrguard1-static.c: New file.
6771 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6772 * sysdeps/i386/stackguard-macros.h: Likewise.
6773 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6774 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6775 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6776 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6777 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6778 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6780 2013-09-23 Hector Marco <hecmargi@upv.es>
6781 Ismael Ripoll <iripoll@disca.upv.es>
6782 Carlos O'Donell <carlos@redhat.com>
6785 * sysdeps/generic/stackguard-macros.h: Define
6786 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6787 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6788 Define __pointer_chk_guard_local.
6789 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6790 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6792 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6795 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6797 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6799 * include/string.h (__ffs): Declare as hidden.
6800 * string/ffs.c (__ffs): Define as hidden.
6801 * sysdeps/i386/ffs.c (__ffs): Likewise.
6802 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6803 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6804 * sysdeps/s390/ffs.c (__ffs): Likewise.
6805 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6807 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6809 * NEWS: Mention malloc probes.
6811 * malloc/arena.c (new_heap): New memory_heap_new probe.
6812 (grow_heap): New memory_heap_more probe.
6813 (shrink_heap): New memory_heap_less probe.
6814 (heap_trim): New memory_heap_free probe.
6815 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6816 (systrim): New memory_sbrk_less probe.
6817 * manual/probes.texi: Document them.
6819 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6820 * manual/probes.texi: Document it.
6822 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6823 (__libc_realloc): Add memory_realloc_retry probe.
6824 (__libc_memalign): Add memory_memalign_retry probe.
6825 (__libc_valloc): Add memory_valloc_retry probe.
6826 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6827 (__libc_calloc): Add memory_calloc_retry probe.
6828 * manual/probes.texi: Document them.
6830 * malloc/arena.c (get_free_list): Add probe
6831 memory_arena_reuse_free_list.
6832 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6833 and memory_arena_reuse.
6834 (arena_get2) [!PER_THREAD]: Likewise.
6835 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6836 memory_arena_reuse_realloc.
6837 * manual/probes.texi: Document them.
6839 * malloc/malloc.c (__libc_free): Add
6840 memory_mallopt_free_dyn_thresholds probe.
6841 (__libc_mallopt): Add multiple memory_mallopt probes.
6842 * manual/probes.texi: Document them.
6844 * malloc/malloc.c: Include stap-probe.h.
6845 (__libc_mallopt): Add memory_mallopt probe.
6846 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6847 * manual/probes.texi: New.
6848 * manual/Makefile (chapters): Add probes.
6849 * manual/threads.texi: Set next node.
6851 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6854 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6855 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6856 Add `Chinese' to `nan' entry name.
6858 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6860 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6861 (POLYNOMIAL): Likewise.
6862 (TAYLOR_SINCOS): Likewise.
6863 (TAYLOR_SLOW): Likewise.
6864 (__sin): Use TAYLOR_SINCOS.
6866 (slow): Use TAYLOR_SLOW.
6871 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6873 * stdlib/strtod_l.c: Fix buffer overrun.
6875 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6877 * benchtests/Makefile (bench): Add sincos.
6878 * benchtests/bench-sincos.c: New file.
6880 * math/libm-test.inc (cos_test_data): New test inputs.
6881 (sin_test_data): Likewise.
6883 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6891 (bsloww1): Likewise.
6892 (bsloww2): Likewise.
6894 (csloww1): Likewise.
6895 (csloww2): Likewise.
6897 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6906 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6908 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6909 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6910 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6911 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6912 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6913 * elf/cache.c (print_entry): Handle the new cache flags.
6915 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6916 Aldy Hernandez <aldyh@redhat.com>
6918 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6919 Change condition to [_SOFT_FLOAT].
6920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6932 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6935 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6938 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6940 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6941 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6942 (__longjmp): Use LOAD_GP to load saved GPRs.
6943 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6944 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6945 (__sigsetjmp): Use SAVE_GP to save GPRs.
6947 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6948 Do not append -msoft-float.
6949 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6951 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6953 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6955 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6958 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6959 (_FPU_GETCW): Use initial "__" on variable and field names but not
6960 on macro parameter name.
6961 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6962 parentheses around reference to macro parameter.
6964 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6966 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6968 (ctype_startup): Use uint32_t in cast and sizeof for
6971 2013-09-11 Jia Liu <proljc@gmail.com>
6973 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6975 [__FreeBSD__]: Likewise.
6977 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6980 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6981 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6982 (strchr): Remove __strchr_sse42 ifunc selection.
6983 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6984 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6986 2013-09-11 Will Newton <will.newton@linaro.org>
6988 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6989 parameter to RES. Remove hardcoded 1000 value.
6990 * benchtests/bench-skeleton.c (main): Pass RES parameter
6991 to TIMING_INIT and multiply result by 1000.
6993 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6997 2013-09-11 Andreas Schwab <schwab@suse.de>
6999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7001 (O_TMPFILE) [__USE_GNU]: Define.
7002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7005 2013-09-11 Will Newton <will.newton@linaro.org>
7008 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7011 2013-09-11 Will Newton <will.newton@linaro.org>
7014 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7017 2013-09-11 Will Newton <will.newton@linaro.org>
7020 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7023 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7025 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7026 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7031 2013-09-10 Allan McRae <allan@archlinux.org>
7034 * manual/arith.texi (Parsing of Floats): Clarify
7038 * manual/install.texi (Running make install): Mention
7040 * INSTALL: Regenerated.
7042 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7044 * csu/init-first.c (_init): Remove the !SHARED condition around
7045 FPU control word initialization.
7046 * elf/dl-support.c (_dl_fpu_control): New variable.
7047 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7048 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7049 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7050 * math/test-fpucw-static.c: New file.
7051 * math/test-fpucw-ieee.c: New file.
7052 * math/test-fpucw-ieee-static.c: New file.
7053 * math/Makefile (tests): Add `test-fpucw-ieee' and
7055 (tests-static): New variable.
7056 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7058 [($(build-shared),yes)]
7059 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7061 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7064 2013-09-09 Allan McRae <allan@archlinux.org>
7067 * manual/string.texi (Collation Functions): Fix typo in
7069 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7072 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7075 * libio/memstream.c (open_memstream): Fix memory leak.
7076 * libio/wmemstream.c (open_wmemstream): Likewise.
7079 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7081 2013-09-09 Will Newton <will.newton@linaro.org>
7083 * malloc/Makefile: Add tst-realloc to tests.
7084 * malloc/tst-realloc.c: New file.
7086 2013-09-09 Allan McRae <allan@archlinux.org>
7089 * COPYING: Update from GNU website to fix FSF address.
7090 * COPYING.LIB: Likewise.
7092 2013-09-06 David S. Miller <davem@davemloft.net>
7094 * po/zh_TW.po: Update Chinese (traditional) translation from
7095 translation project.
7097 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7098 Joseph Myers <joseph@codesourcery.com>
7100 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7102 (obstack_chunk_alloc): New macro.
7103 (obstack_chunk_free): Likewise.
7104 (record_offset): New function.
7105 (init_locale_data): Likewise.
7106 (align_locale_data): Likewise.
7107 (add_locale_empty): Likewise.
7108 (add_locale_raw_data): Likewise.
7109 (add_locale_raw_obstack): Likewise.
7110 (add_locale_string): Likewise.
7111 (add_locale_wstring): Likewise.
7112 (add_locale_uint32): Likewise.
7113 (add_locale_uint32_array): Likewise.
7114 (add_locale_char): Likewise.
7115 (start_locale_structure): Likewise.
7116 (end_locale_structure): Likewise.
7117 (start_locale_prelude): Likewise.
7118 (end_locale_prelude): Likewise.
7119 (write_locale_data): Take locale_file structure rather than an
7121 * locale/programs/locfile.h: Include "obstack.h".
7122 (struct locale_file): Change to store locale file contents instead
7124 (init_locale_data): New prototype.
7125 (align_locale_data): Likewise.
7126 (add_locale_empty): Likewise.
7127 (add_locale_raw_data): Likewise.
7128 (add_locale_raw_obstack): Likewise.
7129 (add_locale_string): Likewise.
7130 (add_locale_wstring): Likewise.
7131 (add_locale_uint32): Likewise.
7132 (add_locale_uint32_array): Likewise.
7133 (add_locale_char): Likewise.
7134 (start_locale_structure): Likewise.
7135 (end_locale_structure): Likewise.
7136 (start_locale_prelude): Likewise.
7137 (end_locale_prelude): Likewise.
7138 (write_locale_data): Update prototype.
7139 * locale/programs/3level.h (struct TABLE): Remove result field.
7140 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7141 Use new locale_file interface.
7142 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7143 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7144 * locale/programs/ld-address.c (address_output): Use new
7145 locale_file interface.
7146 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7148 (collate_finish): Don't call collseq_table_finalize.
7149 (collate_output): Use new locale_file interface.
7150 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7152 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7153 (TABLE): Move defines earlier in file.
7154 (ELEMENT): Likewise.
7155 (DEFAULT): Likewise.
7156 (wctrans_table_add): Move macro and inline function earlier in
7158 (struct wctype_table): Move type earlier in file.
7159 (add_locale_wctype_table): New static prototype.
7160 (struct locale_ctype_t): Use logical types instead of struct iovec
7161 pointers for members.
7162 (ctype_output): Use new locale_file interface.
7163 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7164 new locale_file interface.
7165 (allocate_arrays): Update for use of new locale_file interface.
7166 * locale/programs/ld-identification.c (identification_output): Use
7167 new locale_file interface.
7168 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7169 * locale/programs/ld-messages.c (messages_output): Likewise.
7170 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7171 * locale/programs/ld-name.c (name_output): Likewise.
7172 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7173 * locale/programs/ld-paper.c (paper_output): Likewise.
7174 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7175 * locale/programs/ld-time.c (time_output): Likewise.
7177 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7179 * benchtests/Makefile: Add memrchr benchmark.
7180 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7181 benchmark as memrchr.
7182 * benchtests/bench-memrchr-ifunc.c: New file.
7183 * benchtests/bench-memrchr.c: New file.
7185 2013-09-06 Will Newton <will.newton@linaro.org>
7187 * benchtests/Makefile (string-bench): Add memcpy.
7189 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7190 Cong Wang <amwang@redhat.com>
7193 * sysdeps/unix/sysv/linux/bits/in.h
7194 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7195 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7196 before __USE_KERNEL_IPV6_DEFS uses.
7197 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7199 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7200 sockaddr_in6, or ipv6_mreq.
7202 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7204 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7205 memory access for final bytes in some large inputs.
7206 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7208 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7210 * string/test-memrchr.c: New file.
7211 * string/test-memrchr-ifunc.c: New file.
7212 * string/Makefile: Add new memrchr testcase.
7214 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7216 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7217 fanotify_init returns EPERM.
7219 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7221 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7223 (top level): Treat second token from macro or constant entries for
7224 allowed headers as allowed.
7225 * include/complex.h: Condition internal declarations on
7227 * include/fenv.h: Condition include of <stdbool.h> and internal
7228 declarations on [!_ISOMAC].
7230 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7233 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7235 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7237 * configure.in (--enable-versioning): Remove configure option.
7238 (libc_cv_asm_symver_directive): Remove configure test.
7239 (libc_cv_ld_version_script_option): Likewise.
7240 (VERSIONING): Remove variable and AC_SUBST.
7241 (DO_VERSIONING): Remove AC_DEFINE.
7242 * configure: Regenerated.
7243 * config.h.in (DO_VERSIONING): Remove macro.
7244 * Makerules [$(versioning) = yes]: Change conditionals to
7245 [$(build-shared) = yes].
7246 * config.make.in (versioning): Remove variable.
7247 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7248 [$(build-shared) = yes].
7249 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7250 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7251 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7252 [$(build-shared) = yes].
7253 * extra-lib.mk [$(versioning) = yes]: Likewise.
7254 * hurd/Makefile [$(versioning) = yes]: Likewise.
7255 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7257 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7259 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7260 [SHARED && !NO_HIDDEN].
7261 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7263 [SHARED && DO_VERSIONING]: Likewise..
7264 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7265 [$(build-shared) = yes].
7266 * manual/install.texi (--disable-versioning): Remove
7268 * INSTALL: Regenerated.
7269 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7271 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7272 [$(build-shared) = yes].
7273 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7274 * sysdeps/i386/i686/multiarch/strstr-c.c
7275 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7276 [SHARED && !NO_HIDDEN].
7277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7278 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7279 * sysdeps/powerpc/powerpc32/dl-machine.c
7280 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7281 * sysdeps/powerpc/powerpc32/sysdep.h
7282 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7283 to [SHARED && PIC && !NO_HIDDEN].
7284 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7285 conditional to [SHARED].
7287 2013-09-04 Will Newton <will.newton@linaro.org>
7289 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7290 * benchtests/bench-string.h: Include bench-timing.h instead
7291 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7292 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7293 call to HP_TIMING_DIFF_INIT.
7294 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7295 instead of hp-timing.h macros.
7296 * benchtests/bench-memchr.c: Likewise.
7297 * benchtests/bench-memcmp.c: Likewise.
7298 * benchtests/bench-memcpy.c: Likewise.
7299 * benchtests/bench-memmem.c: Likewise.
7300 * benchtests/bench-memmove.c: Likewise.
7301 * benchtests/bench-memset.c: Likewise.
7302 * benchtests/bench-rawmemchr.c: Likewise.
7303 * benchtests/bench-strcasecmp.c: Likewise.
7304 * benchtests/bench-strcasestr.c: Likewise.
7305 * benchtests/bench-strcat.c: Likewise.
7306 * benchtests/bench-strchr.c: Likewise.
7307 * benchtests/bench-strcmp.c: Likewise.
7308 * benchtests/bench-strcpy.c: Likewise.
7309 * benchtests/bench-strcpy_chk.c: Likewise.
7310 * benchtests/bench-strlen.c: Likewise.
7311 * benchtests/bench-strncasecmp.c: Likewise.
7312 * benchtests/bench-strncat.c: Likewise.
7313 * benchtests/bench-strncmp.c: Likewise.
7314 * benchtests/bench-strncpy.c: Likewise.
7315 * benchtests/bench-strnlen.c: Likewise.
7316 * benchtests/bench-strpbrk.c: Likewise.
7317 * benchtests/bench-strrchr.c: Likewise.
7318 * benchtests/bench-strspn.c: Likewise.
7319 * benchtests/bench-strstr.c: Likewise.
7321 2013-09-04 Will Newton <will.newton@linaro.org>
7323 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7325 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7329 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7330 * math/libm-test.inc (lgamma_test_data): Add more tests.
7331 * sysdeps/i386/fpu/libm-test-ulps: Update.
7332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7334 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7336 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7340 Add strcmp-sse2-unaligned
7341 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7343 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7345 * Versions.def (libc): Add GLIBC_2.19.
7347 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7349 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7350 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7352 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7355 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7356 intermediate calculations in recurrence.
7357 (__ieee754_ynf): Likewise.
7358 * math/libm-test.inc (jn_test_data): Do not allow spurious
7359 underflow exception. Add more tests.
7360 (yn_test_data): Add more tests.
7361 * sysdeps/i386/fpu/libm-test-ulps: Update.
7362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7368 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7370 * csu/init-first.c: Fix then/than typos.
7371 * locale/programs/ld-collate.c: Likewise.
7372 * locale/programs/linereader.h: Likewise.
7373 * manual/charset.texi: Likewise.
7374 * manual/filesys.texi: Likewise.
7375 * manual/stdio.texi: Likewise.
7376 * manual/string.texi: Likewise.
7377 * stdlib/fmtmsg.c: Likewise.
7378 * sysdeps/i386/stpncpy.S: Likewise.
7379 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7380 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7382 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7384 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7386 * elf/dl-open.c: Fix typos.
7387 * iconvdata/gbbig5.c: Likewise.
7388 * iconvdata/iso-2022-jp.c: Likewise.
7389 * iconv/gconv_int.h: Likewise.
7390 * iconv/loop.c: Likewise.
7391 * nis/rpcsvc/nis.h: Likewise.
7392 * resolv/ns_name.c: Likewise.
7393 * stdio-common/vfscanf.c: Likewise.
7394 * streams/stropts.h: Likewise.
7395 * sunrpc/rpc_thread.c: Likewise.
7396 * sysdeps/i386/strpbrk.S: Likewise.
7397 * sysdeps/ieee754/k_standard.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7400 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7401 * sysdeps/mach/hurd/profil.c: Likewise.
7402 * sysdeps/s390/dl-procinfo.h: Likewise.
7403 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7405 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7406 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7409 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7411 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7414 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7416 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7418 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7419 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7420 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7424 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7427 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7428 Roland McGrath <roland@hack.frob.com>
7430 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7431 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7433 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7435 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7436 __executable_start symbol instead of _start.
7438 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7440 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7441 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7443 * sysdeps/gnu/ldsodefs.h: ... this new file.
7445 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7446 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7447 instead of ELFOSABI_LINUX.
7449 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7450 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7451 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7452 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7454 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7455 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7458 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7459 (ibm_extended_long_double): Add ieee_nan member.
7460 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7461 (do_test): New function.
7463 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7465 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7466 functions, renamed from truncdfsf_test, trunctfsf_test,
7468 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7470 (do_test): Run all these.
7472 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7474 * argp/argp-help.c: Fix typos.
7475 * argp/argp-parse.c: Likewise.
7476 * debug/backtracesyms.c: Likewise.
7477 * elf/elf.h: Likewise.
7478 * malloc/malloc.c: Likewise.
7479 * nis/nis_print.c: Likewise.
7480 * resolv/res_comp.c: Likewise.
7481 * stdlib/stdlib.h: Likewise.
7482 * sunrpc/clnt_tcp.c: Likewise.
7483 * sunrpc/clnt_udp.c: Likewise.
7484 * sunrpc/clnt_unix.c: Likewise.
7485 * sysdeps/unix/bsd/ptsname.c: Likewise.
7486 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7494 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7496 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7498 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7501 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7504 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7505 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7506 ($(objpfx)bug-dl-leaf): New rule.
7507 ($(objpfx)bug-dl-leaf.so): Likewise.
7508 ($(objpfx)bug-dl-leaf.out): Likewise.
7509 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7510 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7511 * dlfcn/bug-dl-leaf.c: New test.
7512 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7513 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7514 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7515 (dlclose): Likewise.
7516 (dlmopen): Likewise.
7518 2013-08-27 Roland McGrath <roland@hack.frob.com>
7520 * include/netdb.h [!_ISOMAC]:
7521 Don't include <tls.h>.
7522 (h_errno, __libc_h_errno): Move declaration and macros out of
7525 * include/resolv.h [_RESOLV_H_]:
7526 Don't include <tls.h>.
7527 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7528 * resolv/res_libc.c: Don't include <tls.h>.
7529 (_res): Use __attribute__ ((nocommon)) in place of
7530 __attribute__ ((section (".bss"))).
7532 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7533 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7535 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7537 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7538 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7540 * resolv/res_mkquery.c: Include <sys/time.h>.
7542 * inet/ifreq.c: Moved to ...
7543 * sysdeps/unix/ifreq.c: ... here.
7544 * inet/ifreq.c: New file, true stub version.
7546 * socket/sa_len.c: New file.
7547 * socket/Makefile (aux): Add it.
7548 * sysdeps/unix/sysv/linux/Makefile
7549 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7550 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7551 and #include <socket/sa_len.c>.
7552 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7553 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7555 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7556 * bits/socket.h: ... here.
7558 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7559 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7560 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7562 2013-08-27 Andreas Schwab <schwab@suse.de>
7565 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7566 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7567 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7568 * string/test-strcasecmp.c (test_main): Run tests in several
7570 * string/test-strncasecmp.c (test_main): Likewise.
7572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7573 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7574 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7576 (__strncasecmp_ssse3) [PIC]: Likewise.
7578 2013-08-26 Roland McGrath <roland@hack.frob.com>
7580 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7582 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7583 instead of explicitly declaring xdecrypt.
7584 * nis/nss_nis/nis-publickey.c: Likewise.
7586 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7589 * nscd/aicache.c: Include res_hconf.h.
7590 (addhstaiX): Initialize res_hconf.
7592 2013-08-26 Andreas Schwab <schwab@suse.de>
7594 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7595 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7597 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7599 * nscd/aicache.c (addhstaiX): Fix indentation.
7601 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7603 * configure.ac: Quote $build_pt_chown test.
7604 * configure: Regenerated.
7606 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7609 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7610 * math/s_cexpf.c (__cexpf): Likewise.
7611 * math/s_cexpl.c (__cexpl): Likewise.
7612 * math/libm-test.inc (cexp_test_data): Correct expected return
7613 value for NaN + i0. Add another test.
7615 2013-08-22 David S. Miller <davem@davemloft.net>
7617 * po/ca.po: Update Catalan translation from translation project.
7618 * po/uk.po: Add Ukrainian translations from translation project.
7620 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7623 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7624 is infinite, not alongside NaN test.
7625 * math/s_fdimf.c (__fdimf): Likewise.
7626 * math/s_fdiml.c (__fdiml): Likewise.
7627 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7630 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7632 * argp/argp-help.c: Fix typos.
7633 * crypt/speeds.c: Likewise.
7634 * csu/check_fds.c: Likewise.
7635 * elf/dl-load.c: Likewise.
7636 * elf/dl-open.c: Likewise.
7637 * elf/reldep3.c: Likewise.
7638 * elf/reldep.c: Likewise.
7639 * elf/sprof.c: Likewise.
7640 * iconv/iconv_charmap.c: Likewise.
7641 * iconv/skeleton.c: Likewise.
7642 * iconv/strtab.c: Likewise.
7643 * io/lockf64.c: Likewise.
7644 * libio/libioP.h: Likewise.
7645 * resolv/gai_notify.c: Likewise.
7646 * resolv/ns_name.c: Likewise.
7647 * resolv/ns_samedomain.c: Likewise.
7648 * resolv/res_send.c: Likewise.
7649 * stdlib/random.c: Likewise.
7650 * sunrpc/rpc/xdr.h: Likewise.
7651 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7653 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7654 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7656 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7658 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7659 * sysdeps/mach/hurd/check_fds.c: Likewise.
7660 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7664 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7665 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7666 * sysdeps/pthread/aio_notify.c: Likewise.
7667 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7668 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7669 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7671 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7673 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7675 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7676 version if bit_Slow_SSE4_2 is set.
7677 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7680 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7683 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7684 trampoline stack frame information.
7685 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7687 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7688 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7689 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7690 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7691 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7692 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7694 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7695 interrupting a syscall and set with option SA_SIGINFO.
7697 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7700 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7701 argument is infinite.
7702 * math/s_cprojf.c (__cprojf): Likewise.
7703 * math/s_cprojl.c (__cprojl): Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7705 * math/libm-test.inc (cproj_test_data): Add more tests.
7707 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7709 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7710 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7711 size. Use __ffs to determine corresponding shift.
7713 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7714 Roland McGrath <roland@hack.frob.com>
7716 * Makefile (INSTALL): Remove trailing blank lines from output of
7719 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7721 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7722 Align 32 bit compat elf_greg to 8 bytes.
7724 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7726 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7728 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7730 * string/strcoll_l.c (coll_seq): New structure.
7731 (get_next_seq_cached): New function.
7732 (get_next_seq): New function.
7733 (do_compare): New function.
7734 (STRCOLL): Use GNU style definition. Simplify implementation
7735 by using get_next_seq, get_next_seq_cached and do_compare.
7737 2013-08-16 Florian Weimer <fweimer@redhat.com>
7741 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7743 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7745 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7746 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7747 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7749 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7750 GETDENTS_64BIT_ALIGNED.
7751 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7752 * manual/filesys.texi (Reading/Closing Directory): Document
7753 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7755 * manual/conf.texi (Limits for Files): Add portability note to
7757 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7759 2013-08-13 Andreas Schwab <schwab@suse.de>
7762 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7764 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7765 LDBL_MAX_EXP >= 16384]: Add tests for it.
7767 2013-08-12 David S. Miller <davem@davemloft.net>
7769 * version.h (RELEASE): Set to "development".
7770 (VERSION): Set to "2.18.90".
7771 * NEWS: Add 2.19 section.
7773 2013-08-03 David S. Miller <davem@davemloft.net>
7775 * po/ko.po: Update Korean translation from translation project.
7777 2013-08-01 David S. Miller <davem@davemloft.net>
7779 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7780 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7783 2013-07-30 David S. Miller <davem@davemloft.net>
7785 * po/fr.po: Update French translation from translation project.
7787 2013-07-28 David S. Miller <davem@davemloft.net>
7789 * po/cs.po: Update Czech translation from translation project.
7791 * po/sv.po: Update Swedish translation from translation project.
7793 2013-07-27 David S. Miller <davem@davemloft.net>
7795 * po/eo.po: Update Esperanto translation from translation project.
7797 * po/vi.po: Update Vietnamese translation from translation project.
7799 * po/de.po: Update German translation from translation project.
7801 2013-07-26 David S. Miller <davem@davemloft.net>
7803 * po/bg.po: Update Bulgarian translation from translation project.
7805 * po/nl.po: Update Dutch translation from translation project.
7806 * po/pl.po: Update Polish translation from translation project.
7807 * po/ru.po: Update Russian translation from translation project.
7809 2013-07-24 David S. Miller <davem@davemloft.net>
7811 * po/libc.pot: Update.
7813 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7817 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7819 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7821 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7823 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7825 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7826 Andreas Schwab <schwab@suse.de>
7827 Roland McGrath <roland@hack.frob.com>
7828 Joseph Myers <joseph@codesourcery.com>
7829 Carlos O'Donell <carlos@redhat.com>
7832 * config.h.in: Define HAVE_PT_CHOWN.
7833 * config.make.in (build-pt-chown): New variable.
7834 * configure.in (--enable-pt_chown): New configure option.
7835 * configure: Regenerate.
7836 * login/Makefile: Include Makeconfig. Build pt_chown only if
7837 build-pt-chown is enabled.
7838 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7839 pt_chown to fix pty ownership.
7840 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7842 * manual/install.texi (Configuring and compiling): Mention
7843 --enable-pt_chown. Add @findex for grantpt.
7844 * INSTALL: Regenerate.
7846 2013-07-20 David S. Miller <davem@davemloft.net>
7848 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7849 difference between 32-bit and 64-bit.
7851 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7854 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7855 Avoid system header dependency with -ffreestanding.
7856 ($(objpfx)bits/syscall%d): Likewise.
7858 2013-07-13 David S. Miller <davem@davemloft.net>
7860 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7861 underflows from atanl/atan2l due to bug 15319.
7862 (casinh_test_data): Likewise.
7864 2013-07-07 David S. Miller <davem@davemloft.net>
7866 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7868 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7870 * sysdeps/i386/fpu/libm-test-ulps: Update.
7871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7873 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7875 * configure.in (--enable-lock-elision): Fix message text.
7876 * INSTALL: Regenerate.
7877 * configure: Regenerate.
7879 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7883 2013-07-03 Andreas Jaeger <aj@suse.de>
7885 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7887 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7888 (ptrace_peeksiginfo_args): Add.
7889 (__ptrace_peeksiginfo_flags): Add.
7890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7892 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7894 2013-07-03 Allan McRae <allan@archlinux.org>
7896 * sysdeps/i386/fpu/libm-test-ulps: Update.
7898 2013-07-02 David S. Miller <davem@davemloft.net>
7900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7902 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7906 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7908 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7911 2013-07-02 Andi Kleen <ak@linux.intel.com>
7913 * config.h.in (ENABLE_LOCK_ELISION): Add.
7914 * configure.in (--enable-lock-elision): Add option.
7915 * manual/install.texi: Document --enable lock elision.
7916 * configure: Regenerate
7917 * INSTALL: Regenerate.
7919 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7921 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7922 SSE4.2 strcasecmp for libc.a.
7923 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7925 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7928 * soft-fp/op-common.h (_FP_FMA): New macro.
7929 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7930 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7931 (_FP_MUL_MEAT_1_imm): ... here.
7932 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7933 (_FP_MUL_MEAT_1_wide): ... here.
7934 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7935 (_FP_MUL_MEAT_1_hard): ... here.
7936 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7937 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7938 (_FP_MUL_MEAT_2_wide): ... here.
7939 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7940 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7941 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7942 (_FP_MUL_MEAT_2_gmp): ... here.
7943 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7944 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7945 (_FP_MUL_MEAT_4_wide): ... here.
7946 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7947 (_FP_MUL_MEAT_4_gmp): ... here.
7948 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7949 (_FP_WFRACBITS_DW_S): Likewise.
7950 (_FP_WFRACXBITS_DW_S): Likewise.
7951 (_FP_HIGHBIT_DW_S): Likewise.
7952 (FP_FMA_S): Likewise.
7953 (_FP_FRAC_HIGH_DW_S): Likewise.
7954 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7955 (_FP_WFRACBITS_DW_D): Likewise.
7956 (_FP_WFRACXBITS_DW_D): Likewise.
7957 (_FP_HIGHBIT_DW_D): Likewise.
7958 (FP_FMA_D): Likewise.
7959 (_FP_FRAC_HIGH_DW_D): Likewise.
7960 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7961 (_FP_WFRACBITS_DW_E): Likewise.
7962 (_FP_WFRACXBITS_DW_E): Likewise.
7963 (_FP_HIGHBIT_DW_E): Likewise.
7964 (FP_FMA_E): Likewise.
7965 (_FP_FRAC_HIGH_DW_E): Likewise.
7966 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7967 (_FP_WFRACBITS_DW_Q): Likewise.
7968 (_FP_WFRACXBITS_DW_Q): Likewise.
7969 (_FP_HIGHBIT_DW_Q): Likewise.
7970 (FP_FMA_Q): Likewise.
7971 (_FP_FRAC_HIGH_DW_Q): Likewise.
7972 * soft-fp/fmasf4.c: New file.
7973 * soft-fp/fmadf4.c: Likewise.
7974 * soft-fp/fmatf4.c: Likewise.
7976 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7979 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7983 (index_Slow_SSE4_2): Likewise.
7984 (index_Prefer_PMINUB_for_stringop): Likewise.
7985 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7986 bit_Slow_SSE4_2 is set.
7987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7988 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7990 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7992 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7993 rtld_global._dl_hwcap2.
7994 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7996 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7997 POWER8 feature descriptions defined in _dl_hwcap2.
7998 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7999 string handling for POWER8 feature bits.
8000 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8001 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8002 _dl_powerpc_cap_flags.
8003 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8004 * sysdeps/powerpc/rtld-global-offsets.sym
8005 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8006 _dl_hwcap2 in the rtld_global_ro structure.
8008 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8010 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8011 hardware capabilities in support of AT_HWCAP2.
8012 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8013 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8015 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8016 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8017 explicitly the unknown a_type display mechanism is used.
8018 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8019 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8021 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8022 to macro prototype for AT_HWCAP2 support.
8023 * sysdeps/i386/dl-procinfo.h: Likewise.
8024 * sysdeps/s390/dl-procinfo.h: Likewise.
8025 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8026 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8027 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8028 return -1 for unknown a_type display fallback.
8029 * sysdeps/sparc/dl-procinfo.h: Likewise.
8030 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8033 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8035 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8036 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8038 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8041 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8042 mprotect making __stack_prot writable.
8044 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8045 Joseph Myers <joseph@codesourcery.com>
8047 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8048 as being properly aligned.
8050 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8052 * dlfcn/modstatic5.c: New file.
8053 * dlfcn/tststatic5.c: New file.
8054 * dlfcn/Makefile (tests): Add tststatic5.
8055 (tests-static): Likewise.
8056 (modules-names): Add modstatic5.
8057 (tststatic5-ENV): New variable.
8058 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8061 * elf/dl-support.c (_dl_main_map): New variable.
8062 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8063 (_dl_nns, _dl_load_adds): Set to 1.
8064 (_dl_initial_searchlist): Refer to _dl_main_map.
8065 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8066 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8067 call to _dl_get_origin.
8068 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8070 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8071 * dlfcn/modstatic3.c: New file.
8072 * dlfcn/tststatic3.c: New file.
8073 * dlfcn/tststatic4.c: New file.
8074 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8075 (tests-static): Likewise.
8076 (modules-names): Add modstatic3.
8077 (tststatic3-ENV, tststatic4-ENV): New variables.
8078 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8079 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8081 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8083 * configure.in (CC): Require GCC version 4.4 or later.
8084 * configure: Regenerated.
8085 * manual/install.texi (Tools for Compilation): Update GCC version
8087 * INSTALL: Regenerated.
8089 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8092 * string/test-memcmp.c (check2): New.
8093 (main): Call check2.
8095 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8097 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8100 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8102 (dl_open_worker) [!SHARED]: ... here.
8104 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8106 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8108 2013-06-25 Richard Henderson <rth@redhat.com>
8110 * locale/programs/locarchive.c: Include <libc-internal.h>
8112 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8114 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8115 trailing whitespace removed.
8117 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8120 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8121 * locale/programs/locarchive.c: Include libc-mmap.h.
8122 (prepare_address_space): Take two new outputs (the mmap base and len).
8123 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8125 (create_archive): Declare new mmap base and len values for
8126 prepare_address_space, and store the result in ah.
8127 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8128 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8129 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8130 Declare new mmap base and len values for
8131 prepare_address_space, and store the result in new_ah.
8132 (open_archive): Declare new mmap base and len values for
8133 prepare_address_space, and store the result in ah.
8134 (close_archive): If ah->mmap_base is not NULL, use that and
8135 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8136 * sysdeps/generic/libc-mmap.h: New file.
8138 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8140 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8141 (ALIGN_UP): Likewise.
8142 (PTR_ALIGN_DOWN): Likewise.
8143 (PTR_ALIGN_UP): Likewise.
8145 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8147 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8148 entry mapped to PPC_PLATFORM_POWER8.
8149 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8151 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8152 (_dl_string_platform): Add case for exporting platform position for
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8155 search path to sysdeps/powerpc/powerpc32/power8 directory.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8157 search path to sysdeps/powerpc/powerpc64/power8 directory.
8158 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8160 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8163 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8165 * INSTALL: Regenerate.
8167 * nscd/connections.c (nscd_init): Fix comment.
8169 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8171 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8174 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8175 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8177 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8179 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8181 (DL_DST_REQ_STATIC): Remove macro.
8183 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8186 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8187 with a shift of 0 bits.
8189 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8191 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8194 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8197 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8199 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8201 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8202 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8203 accepts -fno-tree-loop-distribute-patterns.
8204 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8205 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8207 * string/memset.c (memset): Likewise.
8208 * string/test-memmove.c (simple_memmove): Disable loop transformation
8210 * string/test-memset.c (simple_memset): Likewise.
8211 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8212 * benchtests/bench-memset.c (simple_memset): Likewise.
8213 * configure: Regenerated.
8215 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8217 * math/test-misc.c (main): Ignore fesetround failure when failures
8218 of subsequent rounding tests would be ignored.
8221 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8222 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8223 * math/fegetenv.c (__fegetenv): Return 0.
8224 * math/fegetexcept.c (fegetexcept): Return 0.
8225 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8227 * math/feholdexcpt.c (feholdexcept): Return 0.
8228 * math/fesetenv.c (__fesetenv): Return 0.
8229 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8230 argument FE_TONEAREST.
8231 * math/feupdateenv.c (__feupdateenv): Return 0.
8232 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8234 2013-06-18 Roland McGrath <roland@hack.frob.com>
8236 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8237 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8238 ($(objpfx)rtld-%.os rules): Use them.
8240 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8242 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8245 2013-06-17 Roland McGrath <roland@hack.frob.com>
8247 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8248 length of target pattern, then descending length of dependency pattern.
8249 * configure.in (AWK): Require gawk 3.1.2 or newer.
8250 * manual/install.texi (Tools for Compilation): Say that we do.
8251 * configure: Regenerated.
8253 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8254 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8255 * scripts/sysd-rules.awk: ... this new script.
8256 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8257 than a glob-style pattern.
8259 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8261 * math/test-misc.c (main): Do not treat incorrectly rounded
8262 conversions as failure unless ROUNDING_TESTS passes.
8264 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8267 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8268 restore exception state around main square root computation, then
8269 check for inexactness explicitly.
8271 * math/libm-test.inc (fma_test_data): Add another test.
8273 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8275 * manual/threads.texi (Non-POSIX Extensions): New document
8276 node. Document pthread_getattr_default_np and
8277 pthread_setattr_default_np.
8279 * Versions.def (libpthread): Add GLIBC_2.18.
8280 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8289 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8300 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8303 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8305 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 H.J. Lu <hjl.tools@gmail.com>
8309 * sysdeps/x86_64/rtld-memset.c: Remove file.
8310 * sysdeps/x86_64/rtld-memset.S: New file.
8312 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8314 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8315 (test_in_one_mode): Take arguments for whether the rounding mode
8316 is supported for each floating-point type.
8317 (do_test): Pass new arguments to test_in_one_mode using
8320 2013-06-13 Roland McGrath <roland@hack.frob.com>
8322 * posix/tst-waitid.c (do_test): Distinguish different instances of
8323 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8324 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8325 before entering the kernel for waitpid.
8327 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8329 * NEWS: Fix note on clock function precision. Text by Roland
8332 2013-06-13 Roland McGrath <roland@hack.frob.com>
8334 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8335 it into place only when and if the sanity check passes.
8337 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8339 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8340 output for whether conversion result is exact. Take argument
8341 indicating whether type is IBM long double.
8342 (round_for_all): Change need_exact field to ibm_ld.
8343 * stdlib/tst-strtod-round.c (struct exactness): New type.
8344 (struct test): Change bool ld_ok field to struct exactness exact.
8345 (TEST): Update all definitions for change to field.
8346 (tests): Regenerate array contents.
8347 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8348 field value. Check for IBM long double here.
8349 (do_test): Update calls to test_in_one_mode.
8351 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8354 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8355 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8357 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8360 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8361 generated by the compiler on loop optimizations.
8362 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8363 general definitions.
8365 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8367 * math/bug-nextafter.c: Include <math-tests.h>.
8368 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8370 * math/bug-nexttoward.c: Include <math-tests.h>.
8371 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8373 * math/test-misc.c: Include <math-tests.h>.
8374 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8377 2013-06-12 Andreas Jaeger <aj@suse.de>
8379 * po/ia.po: Update Interlingua translation from translation
8382 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8384 * include/fenv.h: Include stdbool.h.
8385 (struct rm_ctx): New structure.
8386 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8388 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8389 (SET_RESTORE_ROUNDF): Likewise.
8390 (SET_RESTORE_ROUNDL): Likewise.
8391 (SET_RESTORE_ROUND_NOEX): Likewise.
8392 (SET_RESTORE_ROUND_NOEXF): Likewise.
8393 (SET_RESTORE_ROUND_NOEXL): Likewise.
8394 (SET_RESTORE_ROUND_53BIT): Likewise.
8395 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8396 (libc_feresetround_noexf_ctx): Likewise.
8397 (libc_feresetround_noexl_ctx): Likewise.
8398 (libc_feholdsetround_53bit_ctx): Likewise.
8399 (libc_feresetround_53bit_ctx): Likewise.
8400 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8401 (libc_feholdexcept_setround_sse_ctx): New function.
8402 (libc_fesetenv_sse_ctx): Likewise.
8403 (libc_feupdateenv_sse_ctx): Likewise.
8404 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8405 (libc_feholdexcept_setround_387_ctx): Likewise.
8406 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8407 (libc_feholdsetround_387_prec_ctx): Likewise.
8408 (libc_feholdsetround_387_ctx): Likewise.
8409 (libc_feholdsetround_387_53bit_ctx): Likewise.
8410 (libc_feholdsetround_sse_ctx): Likewise.
8411 (libc_feresetround_sse_ctx): Likewise.
8412 (libc_feresetround_387_ctx): Likewise.
8413 (libc_feupdateenv_387_ctx): Likewise.
8414 (libc_feholdexcept_setroundf_ctx): Define macro.
8415 (libc_fesetenvf_ctx): Likewise.
8416 (libc_feupdateenvf_ctx): Likewise.
8417 (libc_feholdsetroundf_ctx): Likewise.
8418 (libc_feresetroundf_ctx): Likewise.
8419 (libc_feholdexcept_setround_ctx): Likewise.
8420 (libc_fesetenv_ctx): Likewise.
8421 (libc_feupdateenv_ctx): Likewise.
8422 (libc_feholdsetround_ctx): Likewise.
8423 (libc_feresetround_ctx): Likewise.
8424 (libc_feholdexcept_setroundl_ctx): Likewise.
8425 (libc_feupdateenvl_ctx): Likewise.
8426 (libc_feholdsetroundl_ctx): Likewise.
8427 (libc_feresetroundl_ctx): Likewise.
8428 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8429 (libc_feresetround_53bit_ctx): Likewise.
8431 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8433 * locale/iso-639.def: Convert to UTF-8.
8435 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8437 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8438 (EXCEPTION_TESTS_double): Likewise.
8439 (EXCEPTION_TESTS_long_double): Likewise.
8440 (EXCEPTION_TESTS): Likewise.
8441 * math/libm-test.inc (test_exceptions): Only test exceptions if
8442 EXCEPTION_TESTS (FLOAT).
8444 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8446 * benchtests/Makefile (string-bench): Add strcpy_chk and
8448 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8449 * benchtests/bench-stpcpy_chk.c: New file.
8450 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8451 * benchtests/bench-strcpy_chk.c: New file.
8452 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8454 (do_test): Likewise.
8456 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8458 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8459 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8460 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8461 with tabs where appropriate.
8462 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8464 [PPC_PLATFORM_PPC440]: Likewise.
8465 [PPC_PLATFORM_PPC464]: Likewise.
8466 [PPC_PLATFORM_PPC476]: Likewise.
8467 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8468 ppc464, and ppc476 platform strings merging from ports/
8471 2013-06-11 Andreas Schwab <schwab@suse.de>
8474 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8475 (from_ucs4_idx): Regenerate.
8476 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8477 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8478 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8479 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8480 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8481 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8482 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8483 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8484 from FROM_LOOP and TO_LOOP specific macros.
8485 (BODY): Handle combining characters.
8486 * iconvdata/BIG5HKSCS.irreversible: Update.
8487 * iconvdata/BIG5HKSCS.precomposed: New file.
8488 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8490 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8492 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8494 * include/sys/time.h: Fix indentation and add copyright header.
8496 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8497 (do_test): Likewise.
8498 * string/test-memchr.c (do_one_test): Likewise.
8499 (do_test): Likewise.
8500 * string/test-memcmp.c (do_one_test): Likewise.
8501 (do_test): Likewise.
8502 * string/test-memcpy.c (do_one_test): Likewise.
8503 (do_test): Likewise.
8504 * string/test-memmem.c (do_one_test): Likewise.
8505 (do_test): Likewise.
8506 (do_random_tests): Likewise.
8507 * string/test-memmove.c (do_one_test): Likewise.
8508 (do_test): Likewise.
8509 * string/test-memset.c (do_one_test): Likewise.
8510 (do_test): Likewise.
8511 * string/test-rawmemchr.c (do_one_test): Likewise.
8512 (do_test): Likewise.
8513 * string/test-strcasecmp.c (do_one_test): Likewise.
8514 (do_test): Likewise.
8515 * string/test-strcasestr.c (do_one_test): Likewise.
8516 (do_test): Likewise.
8517 * string/test-strcat.c (do_one_test): Likewise.
8518 (do_test): Likewise.
8519 * string/test-strchr.c (do_one_test): Likewise.
8520 (do_test): Likewise.
8521 * string/test-strcmp.c (do_one_test): Likewise.
8522 (do_test): Likewise.
8523 * string/test-strcpy.c (do_one_test): Likewise.
8524 (do_test): Likewise.
8525 * string/test-string.h: Likewise.
8526 (test_init): Likewise.
8527 * string/test-strlen.c (do_one_test): Likewise.
8528 (do_test): Likewise.
8529 * string/test-strncasecmp.c (do_one_test): Likewise.
8530 (do_test): Likewise.
8531 * string/test-strncat.c (do_one_test): Likewise.
8532 (do_test): Likewise.
8533 * string/test-strncmp.c (do_one_test): Likewise.
8534 (do_test_limit): Likewise.
8535 (do_test): Likewise.
8536 * string/test-strncpy.c (do_one_test): Likewise.
8537 (do_test): Likewise.
8538 * string/test-strnlen.c (do_one_test): Likewise.
8539 (do_test): Likewise.
8540 * string/test-strpbrk.c (do_one_test): Likewise.
8541 (do_test): Likewise.
8542 * string/test-strrchr.c (do_one_test): Likewise.
8543 (do_test): Likewise.
8544 * string/test-strspn.c (do_one_test): Likewise.
8545 (do_test): Likewise.
8546 * string/test-strstr.c (do_one_test): Likewise.
8547 (do_test): Likewise.
8549 * benchtests/Makefile (string-bench): Add string benchmarks.
8550 * benchtests/bench-bcopy-ifunc.c: New file.
8551 * benchtests/bench-bcopy.c: New file.
8552 * benchtests/bench-bzero-ifunc.c: New file.
8553 * benchtests/bench-bzero.c: New file.
8554 * benchtests/bench-memccpy-ifunc.c: New file.
8555 * benchtests/bench-memccpy.c: New file.
8556 * benchtests/bench-memchr-ifunc.c: New file.
8557 * benchtests/bench-memchr.c: New file.
8558 * benchtests/bench-memcmp-ifunc.c: New file.
8559 * benchtests/bench-memcmp.c: New file.
8560 * benchtests/bench-memmem-ifunc.c: New file.
8561 * benchtests/bench-memmem.c: New file.
8562 * benchtests/bench-memmove-ifunc.c: New file.
8563 * benchtests/bench-memmove.c: New file.
8564 * benchtests/bench-mempcpy-ifunc.c: New file.
8565 * benchtests/bench-mempcpy.c: New file.
8566 * benchtests/bench-memset-ifunc.c: New file.
8567 * benchtests/bench-memset.c: New file.
8568 * benchtests/bench-rawmemchr-ifunc.c: New file.
8569 * benchtests/bench-rawmemchr.c: New file.
8570 * benchtests/bench-stpcpy-ifunc.c: New file.
8571 * benchtests/bench-stpcpy.c: New file.
8572 * benchtests/bench-stpncpy-ifunc.c: New file.
8573 * benchtests/bench-stpncpy.c: New file.
8574 * benchtests/bench-strcasecmp-ifunc.c: New file.
8575 * benchtests/bench-strcasecmp.c: New file.
8576 * benchtests/bench-strcasestr-ifunc.c: New file.
8577 * benchtests/bench-strcasestr.c: New file.
8578 * benchtests/bench-strcat-ifunc.c: New file.
8579 * benchtests/bench-strcat.c: New file.
8580 * benchtests/bench-strchr-ifunc.c: New file.
8581 * benchtests/bench-strchr.c: New file.
8582 * benchtests/bench-strchrnul-ifunc.c: New file.
8583 * benchtests/bench-strchrnul.c: New file.
8584 * benchtests/bench-strcmp-ifunc.c: New file.
8585 * benchtests/bench-strcmp.c: New file.
8586 * benchtests/bench-strcpy-ifunc.c: New file.
8587 * benchtests/bench-strcpy.c: New file.
8588 * benchtests/bench-strcspn-ifunc.c: New file.
8589 * benchtests/bench-strcspn.c: New file.
8590 * benchtests/bench-strlen-ifunc.c: New file.
8591 * benchtests/bench-strlen.c: New file.
8592 * benchtests/bench-strncasecmp-ifunc.c: New file.
8593 * benchtests/bench-strncasecmp.c: New file.
8594 * benchtests/bench-strncat-ifunc.c: New file.
8595 * benchtests/bench-strncat.c: New file.
8596 * benchtests/bench-strncmp-ifunc.c: New file.
8597 * benchtests/bench-strncmp.c: New file.
8598 * benchtests/bench-strncpy-ifunc.c: New file.
8599 * benchtests/bench-strncpy.c: New file.
8600 * benchtests/bench-strnlen-ifunc.c: New file.
8601 * benchtests/bench-strnlen.c: New file.
8602 * benchtests/bench-strpbrk-ifunc.c: New file.
8603 * benchtests/bench-strpbrk.c: New file.
8604 * benchtests/bench-strrchr-ifunc.c: New file.
8605 * benchtests/bench-strrchr.c: New file.
8606 * benchtests/bench-strspn-ifunc.c: New file.
8607 * benchtests/bench-strspn.c: New file.
8608 * benchtests/bench-strstr-ifunc.c: New file.
8609 * benchtests/bench-strstr.c: New file.
8611 * benchtests/Makefile: Disable parallel execution of targets.
8612 (string-bench): Add memcpy.
8613 (benchset): New variable to store a list of benchmark sets.
8614 (bench-func): Renamed from bench.
8615 (bench-set): New target.
8616 (bench): Depend on bench-func and bench-set.
8617 * benchtests/README: Add section on benchmark sets.
8618 * benchtests/bench-memcpy-ifunc.c: New file.
8619 * benchtests/bench-memcpy.c: New file.
8620 * benchtests/bench-string.h: New file.
8622 2013-06-11 Andreas Schwab <schwab@suse.de>
8625 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8626 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8627 values in the triple.
8628 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8629 terminator in the group key.
8631 2013-06-11 Andreas Jaeger <aj@suse.de>
8633 * po/zh_TW.po: Update Chinese (traditional) translation from
8634 translation project.
8636 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8638 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8639 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8640 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8641 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8642 (clock_getcpuclockid): Likewise.
8643 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8644 Add weak_alias and libc_hidden_def.
8645 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8646 * rt/clock_gettime.c (clock_gettime): Rename to
8647 __clock_gettime. Add weak_alias and libc_hidden_def.
8648 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8649 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8650 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8651 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8652 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8654 * rt/clock_settime.c (clock_settime): Rename to
8655 __clock_settime. Add weak_alias and libc_hidden_def.
8656 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8658 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8660 * mach/err_boot.sub: Remove trailing whitespace.
8661 * mach/err_ipc.sub: Likewise.
8662 * mach/err_mach.sub: Likewise.
8664 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8665 (ROUNDING_TESTS_double): Likewise.
8666 (ROUNDING_TESTS_long_double): Likewise.
8667 (ROUNDING_TESTS): Likewise.
8668 * math/libm-test.inc: Include <math-tests.h>.
8669 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8670 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8671 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8672 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8674 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8676 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8679 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8682 otherwise empty TRANS lines.
8683 * sysdeps/gnu/errlist.c: Regenerated.
8685 * catgets/gencat.c (error_print): Use (void) in function
8687 * crypt/crypt_util.c (__init_des): Likewise.
8688 * crypt/speeds.c (Stop): Likewise.
8690 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8691 * inet/ruserpass.c (token): Likewise.
8692 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8693 * intl/localealias.c (extend_alias_table): Likewise.
8694 * intl/plural-exp.c (init_germanic_plural): Likewise.
8695 * libio/fcloseall.c (__fcloseall): Likewise.
8696 * libio/genops.c (_IO_flush_all): Likewise.
8697 (_IO_flush_all_linebuffered): Likewise.
8698 (_IO_cleanup): Likewise.
8699 (_IO_iter_begin): Likewise.
8700 (_IO_iter_end): Likewise.
8701 (_IO_list_lock): Likewise.
8702 (_IO_list_unlock): Likewise.
8703 (_IO_list_resetlock): Likewise.
8704 * libio/getchar.c (getchar): Likewise.
8705 * libio/getchar_u.c (getchar_unlocked): Likewise.
8706 * libio/getwchar.c (getwchar): Likewise.
8707 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8708 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8709 * login/getpt.c (__getpt): Likewise.
8710 * login/tst-utmp.c (main): Likewise.
8711 * malloc/hooks.c (__malloc_check_init): Likewise.
8712 * malloc/malloc.c (__malloc_stats): Likewise.
8713 * malloc/mtrace.c (tr_break): Likewise.
8715 (muntrace): Likewise.
8716 * misc/fstab.c (endfsent): Likewise.
8717 * misc/getclktck.c (__getclktck): Likewise.
8718 * misc/getdtsz.c (__getdtablesize): Likewise.
8719 * misc/gethostid.c (gethostid): Likewise.
8720 * misc/getpagesize.c (__getpagesize): Likewise.
8721 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8722 (__get_nprocs): Likewise.
8723 (__get_phys_pages): Likewise.
8724 (__get_avphys_pages): Likewise.
8725 * misc/getttyent.c (getttyent): Likewise.
8726 (setttyent): Likewise.
8727 (endttyent): Likewise.
8728 * misc/getusershell.c (getusershell): Likewise.
8729 (endusershell): Likewise.
8730 (setusershell): Likewise.
8731 (initshells): Likewise.
8732 * misc/hsearch.c (__hdestroy): Likewise.
8733 * misc/sync.c (sync): Likewise.
8734 * misc/syslog.c (closelog_internal): Likewise.
8735 (closelog): Likewise.
8736 * misc/ttyslot.c (ttyslot): Likewise.
8737 * misc/vhangup.c (vhangup): Likewise.
8738 * posix/fork.c (__fork): Likewise.
8739 * posix/getegid.c (__getegid): Likewise.
8740 * posix/geteuid.c (__geteuid): Likewise.
8741 * posix/getgid.c (__getgid): Likewise.
8742 * posix/getpid.c (__getpid): Likewise.
8743 * posix/getppid.c (__getppid): Likewise.
8744 * posix/getuid.c (__getuid): Likewise.
8745 * posix/pause.c (pause): Likewise.
8746 * posix/setpgrp.c (setpgrp): Likewise.
8747 * posix/setsid.c (__setsid): Likewise.
8748 * posix/test-vfork.c (noop): Likewise.
8749 * resolv/gethnamaddr.c (_endhtent): Likewise.
8750 (_gethtent): Likewise.
8751 (ht_endhostent): Likewise.
8752 (gethostent): Likewise.
8753 (dns_service): Likewise.
8754 * stdlib/drand48.c (drand48): Likewise.
8755 * stdlib/lrand48.c (lrand48): Likewise.
8756 * stdlib/mrand48.c (mrand48): Likewise.
8757 * stdlib/rand.c (rand): Likewise.
8758 * stdlib/random.c (__random): Likewise.
8759 * stdlib/setenv.c (clearenv): Likewise.
8760 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8761 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8762 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8763 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8764 (__get_nprocs): Likewise.
8765 (__get_phys_pages): Likewise.
8766 (__get_avphys_pages): Likewise.
8767 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8768 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8769 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8770 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8771 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8772 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8773 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8774 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8775 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8776 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8777 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8778 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8779 * sysdeps/posix/clock.c (clock): Likewise.
8780 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8781 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8782 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8783 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8784 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8786 (__get_nprocs_conf): Likewise.
8787 (__get_phys_pages): Likewise.
8788 (__get_avphys_pages): Likewise.
8789 * time/clock.c (clock): Likewise.
8790 * time/tzset.c (__tzname_max): Likewise.
8792 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8794 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8795 (__bswap_32): Do not use "register".
8796 * crypt/crypt.c (_ufc_doit_r): Likewise.
8797 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8798 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8799 * gmon/gmon.c (__monstartup): Likewise.
8800 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8801 * hurd/hurdmalloc.c (more_memory): Likewise.
8804 (realloc): Likewise.
8805 (malloc_fork_prepare): Likewise.
8806 (malloc_fork_parent): Likewise.
8807 (malloc_fork_child): Likewise.
8808 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8809 (_svcauth_des): Likewise.
8810 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8811 * inet/inet_net.c (inet_network): Likewise.
8812 * inet/inet_netof.c (inet_netof): Likewise.
8813 * inet/rcmd.c (__validuser2_sa): Likewise.
8814 * io/fts.c (fts_open): Likewise.
8815 (fts_load): Likewise.
8816 (fts_close): Likewise.
8817 (fts_read): Likewise.
8818 (fts_children): Likewise.
8819 (fts_build): Likewise.
8820 (fts_stat): Likewise.
8821 (fts_sort): Likewise.
8822 (fts_alloc): Likewise.
8823 (fts_lfree): Likewise.
8824 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8825 (_IO_file_xsgetn): Likewise.
8826 (_IO_file_xsgetn_mmap): Likewise.
8827 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8828 (_IO_cookie_write): Likewise.
8829 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8830 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8831 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8832 * malloc/obstack.c (_obstack_begin): Likewise.
8833 (_obstack_begin_1): Likewise.
8834 (_obstack_newchunk): Likewise.
8835 (_obstack_allocated_p): Likewise.
8836 (obstack_free): Likewise.
8837 (_obstack_memory_used): Likewise.
8838 * misc/getttyent.c (getttynam): Likewise.
8839 (getttyent): Likewise.
8842 * misc/getusershell.c (initshells): Likewise.
8843 * misc/syslog.c (__vsyslog_chk): Likewise.
8844 * misc/ttyslot.c (ttyslot): Likewise.
8845 * nis/nis_hash.c (__nis_hash): Likewise.
8846 * posix/fnmatch_loop.c (FCT): Likewise.
8847 * posix/getconf.c (print_all): Likewise.
8849 * posix/getopt.c (exchange): Likewise.
8850 * posix/glob.c (globfree): Likewise.
8851 (prefix_array): Likewise.
8852 (__glob_pattern_type): Likewise.
8853 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8854 (NS_GET32): Likewise.
8855 (NS_PUT16): Likewise.
8856 (NS_PUT32): Likewise.
8857 * resolv/gethnamaddr.c (getanswer): Likewise.
8858 (gethostbyname2): Likewise.
8859 (gethostbyaddr): Likewise.
8860 (_gethtent): Likewise.
8861 (_gethtbyname2): Likewise.
8862 (_gethtbyaddr): Likewise.
8863 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8864 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8865 * resolv/res_init.c (__res_vinit): Likewise.
8866 (net_mask): Likewise.
8867 * resolv/res_mkquery.c (outchar): Likewise.
8869 * stdio-common/printf_fp.c (outchar): Likewise.
8871 * stdio-common/printf_fphex.c (outchar): Likewise.
8873 * stdio-common/printf_size.c (outchar): Likewise.
8875 * stdio-common/test_rdwr.c (main): Likewise.
8876 * stdio-common/tfformat.c (matches): Likewise.
8877 * stdio-common/vfprintf.c (outchar): Likewise.
8878 (printf_unknown): Likewise.
8879 (buffered_vfprintf): Likewise.
8880 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8881 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8882 (ReadFile): Likewise.
8883 * stdlib/qsort.c (SWAP): Likewise.
8884 (_quicksort): Likewise.
8885 * stdlib/setenv.c (__add_to_environ): Likewise.
8886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8887 * stdlib/strtol_l.c (__strtol_l): Likewise.
8888 * stdlib/tst-strtod.c (main): Likewise.
8889 * stdlib/tst-strtol.c (main): Likewise.
8890 * stdlib/tst-strtoll.c (main): Likewise.
8891 * string/bits/string2.h (__strcmp_cc): Likewise.
8892 (__strcmp_cg): Likewise.
8893 (__strcspn_c1): Likewise.
8894 (__strcspn_c2): Likewise.
8895 (__strcspn_c3): Likewise.
8896 (__strspn_c1): Likewise.
8897 (__strspn_c2): Likewise.
8898 (__strspn_c3): Likewise.
8899 (__strsep_1c): Likewise.
8900 (__strsep_2c): Likewise.
8901 (__strsep_3c): Likewise.
8902 * string/memccpy.c (__memccpy): Likewise.
8903 * string/stpcpy.c (__stpcpy): Likewise.
8904 * string/strcmp.c (strcmp): Likewise.
8905 * string/strrchr.c (strrchr): Likewise.
8906 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8908 * sysdeps/mach/hurd/getcwd.c
8909 (_hurd_canonicalize_directory_name_internal): Likewise.
8910 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8911 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8912 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8913 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8914 Likewise, in both definitions.
8915 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8917 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8918 64] (__bswap_64): Likewise.
8919 * time/test_time.c (main): Likewise.
8920 * time/tzfile.c (__tzfile_read): Likewise.
8921 (__tzfile_compute): Likewise.
8922 * time/tzset.c (__tzset_parse_tz): Likewise.
8923 (tzset_internal): Likewise.
8924 (compute_change): Likewise.
8925 * wcsmbs/wcscat.c (__wcscat): Likewise.
8926 * wcsmbs/wcschr.c (wcschr): Likewise.
8927 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8928 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8929 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8930 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8931 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8932 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8933 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8934 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8935 * wcsmbs/wmemset.c (wmemset): Likewise.
8937 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8939 * scripts/config.guess: Update to version 2013-05-16.
8940 * scripts/config.sub: Update to version 2013-04-24.
8941 * scripts/install-sh: Update to version 2011-11-20.07.
8942 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8943 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8945 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8947 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8948 * elf/sln.c: Likewise.
8949 * hurd/hurd/ioctl.h: Likewise.
8950 * hurd/hurdmalloc.c: Likewise.
8951 * hurd/xattr.c: Likewise.
8952 * include/shlib-compat.h: Likewise.
8953 * inet/ruserpass.c: Likewise.
8954 * libio/iofgets_u.c: Likewise.
8955 * libio/iofgetws_u.c: Likewise.
8956 * locale/programs/ld-identification.c: Likewise.
8957 * locale/programs/ld-time.c: Likewise.
8958 * mach/msg-destroy.c: Likewise.
8959 * nss/nss_files/files-netgrp.c: Likewise.
8960 * resolv/res_data.c: Likewise.
8961 * soft-fp/op-1.h: Likewise.
8962 * soft-fp/op-2.h: Likewise.
8963 * soft-fp/op-4.h: Likewise.
8964 * soft-fp/op-common.h: Likewise.
8965 * stdio-common/printf_fphex.c: Likewise.
8966 * stdlib/strtod_l.c: Likewise.
8967 * sunrpc/rpc/clnt.h: Likewise.
8968 * sysdeps/generic/framestate.c: Likewise.
8969 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8970 * sysdeps/i386/bsd-setjmp.S: Likewise.
8971 * sysdeps/i386/__longjmp.S: Likewise.
8972 * sysdeps/i386/setjmp.S: Likewise.
8973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8974 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8991 * sysdeps/ieee754/support.c: Likewise.
8992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8993 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8994 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8995 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8996 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8997 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8998 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8999 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9000 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9001 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9002 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9003 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9004 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9005 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9006 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9007 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9008 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9011 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9013 * posix/transbug.c: Remove executable mode.
9015 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9017 * crypt/speeds.c: Remove trailing whitespace.
9018 * dlfcn/default.c: Likewise.
9019 * elf/ifuncdep2.c: Likewise.
9020 * elf/ifuncmain1.c: Likewise.
9021 * elf/ifuncmain1vis.c: Likewise.
9022 * elf/testobj.h: Likewise.
9023 * elf/tst-stackguard1.c: Likewise.
9024 * gmon/sys/gmon.h: Likewise.
9025 * hurd/hurdmsg.c: Likewise.
9026 * hurd/new-fd.c: Likewise.
9027 * hurd/ports-get.c: Likewise.
9028 * iconvdata/ibm1008_420.c: Likewise.
9029 * inet/tst-getni1.c: Likewise.
9030 * inet/tst-getni2.c: Likewise.
9031 * libio/ioungetc.c: Likewise.
9032 * libio/wfiledoalloc.c: Likewise.
9033 * manual/libm-err-tab.pl: Likewise.
9034 * math/w_dremf.c: Likewise.
9035 * misc/ftruncate.c: Likewise.
9036 * posix/bug-glob2.c: Likewise.
9037 * posix/tst-pcre.c: Likewise.
9038 * posix/wait4.c: Likewise.
9039 * resolv/README: Likewise.
9040 * resolv/res_debug.h: Likewise.
9041 * resolv/tst-inet_ntop.c: Likewise.
9042 * setjmp/bug269-setjmp.c: Likewise.
9043 * soft-fp/extended.h: Likewise.
9044 * soft-fp/op-1.h: Likewise.
9045 * soft-fp/op-2.h: Likewise.
9046 * soft-fp/op-4.h: Likewise.
9047 * soft-fp/op-8.h: Likewise.
9048 * soft-fp/testit.c: Likewise.
9049 * stdio-common/bug16.c: Likewise.
9050 * stdlib/random.c: Likewise.
9051 * sunrpc/rpcsvc/rquota.x: Likewise.
9052 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9053 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9054 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9055 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9081 * sysdeps/ieee754/s_lib_version.c: Likewise.
9082 * sysdeps/mach/hurd/check_fds.c: Likewise.
9083 * sysdeps/mach/hurd/getsockname.c: Likewise.
9084 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9085 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9086 * sysdeps/powerpc/bits/link.h: Likewise.
9087 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9088 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9089 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9090 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9091 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9092 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9093 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9094 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9095 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9102 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9104 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9107 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9108 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9109 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9110 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9111 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9113 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9115 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9119 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9120 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9121 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9122 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9123 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9124 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9125 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9126 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9127 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9128 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9129 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9130 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9131 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9132 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9133 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9134 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9135 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9136 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9139 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9140 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9141 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9142 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9143 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9145 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9146 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9148 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9149 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9150 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9151 * sysdeps/powerpc/sysdep.h: Likewise.
9152 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9153 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9154 * sysdeps/sh/dl-trampoline.S: Likewise.
9155 * sysdeps/sh/memset.S: Likewise.
9156 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9157 * sysdeps/sh/strlen.S: Likewise.
9158 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9159 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9160 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9161 * sysdeps/sparc/sparc32/rem.S: Likewise.
9162 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9163 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9164 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9165 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9166 * sysdeps/sparc/sparc32/urem.S: Likewise.
9167 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9168 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9169 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9170 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9171 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9172 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9173 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9174 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9175 * sysdeps/unix/bsd/times.c: Likewise.
9176 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9177 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9183 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9184 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9186 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9191 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9192 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9193 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9194 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9196 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9197 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9198 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9199 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9200 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9201 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9204 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9205 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9206 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9207 * sysdeps/x86_64/strcspn.S: Likewise.
9209 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9211 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9212 generated file. Regenerate properly from gen-translit.pl.
9213 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9214 locale/C-translit.h.
9216 2013-06-05 Andreas Schwab <schwab@suse.de>
9219 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9220 week as 6 instead of -1.
9221 * time/tst-strptime.c (day_tests): Add test case.
9223 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9225 * sysdeps/generic/math_private.h
9226 (libc_feholdexcept_setround_53bit): Replace with
9227 libc_feholdsetround_53bit.
9228 (libc_feupdateenv_53bit): Replace with
9229 libc_feresetround_53bit.
9230 (SET_RESTORE_ROUND_53BIT): Adjust.
9232 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9234 * string/test-strchrnul.c: Add copyright header.
9236 * posix/tst-getaddrinfo4.c: Increase test timeout.
9238 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9241 * math/libm-test.inc (MAX_EXP): Remove
9243 (ulp): Use MIN_EXP - MANT_DIG.
9244 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9246 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9248 * po/be.po: Revert last change.
9249 * po/zh_CN.po: Likewise.
9250 * po/header.pot: Likewise.
9252 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9254 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9255 link-libc-deps to empty as target-specific variable.
9256 * Makerules (link-libc-args): New variable.
9257 (libc-for-link): Likewise.
9258 (link-libc-deps): Likewise.
9259 (lib%.so): Depend on $(link-libc-deps). Link with
9261 (build-module): Link with $(link-libc-args).
9262 (build-module-asneeded): Likewise.
9263 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9265 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9266 target-specific variable.
9267 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9268 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9269 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9271 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9273 ($(objpfx)libpcprofile.so): Likewise.
9274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9276 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9277 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9278 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9280 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9281 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9282 * login/Makefile ($(objpfx)libutil.so): Likewise.
9283 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9284 * math/Makefile ($(objpfx)libm.so): Likewise.
9285 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9286 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9287 variable instead of depending directly on libc.
9288 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9289 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9291 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9293 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9294 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9295 ($(objpfx)libanl.so): Likewise.
9296 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9298 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9300 * sysdeps/i386/fpu/Makefile: Remove file.
9301 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9302 ($(objpfx)libm.so): Remove dependency on ld.so.
9304 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9307 * nis/yp_xdr.c (XDRMAXNAME): Define.
9308 (XDRMAXRECORD): Define.
9309 (xdr_domainname): Use XDRMAXNAME.
9310 (xdr_mapname): Likewise.
9311 (xdr_peername): Likewise.
9312 (xdr_keydat): Use XDRMAXRECORD.
9313 (xdr_valdat): Likewise.
9315 2013-05-30 Jeff Law <law@redhat.com>
9318 * manual/errno.texi (ESTALE): Update to account for more than
9319 just NFS file systems.
9320 * sysdeps/gnu/errlist.c: Regenerated.
9322 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9325 * elf/Makefile (tests): Add tst-null-argv.
9326 (modules-names): Add tst-null-argv-lib.
9327 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9328 (tst-null-argv-ENV): Set environment for tst-null-argv.
9329 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9330 (RTLD_PROGNAME): New macro.
9331 * elf/tst-null-argv.c: New test case.
9332 * elf/tst-null-argv-lib.c: Library for test case.
9333 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9334 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9335 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9336 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9337 * elf/dl-init.c (call_init): Likewise.
9338 (_dl_init): Likewise.
9339 * elf/dl-load.c (print_search_path): Likewise.
9340 (_dl_map_object): Likewise.
9341 * elf/dl-lookup.c (do_lookup_x): Likewise.
9342 (add_dependency): Likewise.
9343 (_dl_lookup_symbol_x): Likewise.
9344 (_dl_debug_bindings): Likewise.
9345 * elf/dl-open.c (_dl_show_scope): Likewise.
9346 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9347 * elf/dl-version.c (match_symbol): Likewise.
9348 (_dl_check_map_versions): Likewise.
9349 * elf/rtld.c (dl_main): Likewise.
9350 (print_unresolved): Use RTLD_PROGNAME.
9351 (print_missing_version): Likewise.
9352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9353 (elf_machine_rela): Likewise.
9354 * sysdeps/powerpc/powerpc32/dl-machine.c
9355 (__process_machine_rela): Likewise.
9356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9360 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9362 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9369 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9371 * po/be.po: Add descriptive title.
9372 * po/zh_CN.po: Likewise.
9373 * po/header.pot: Likewise.
9375 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9377 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9379 (enlarge_archive): Likewise.
9381 2013-05-28 Ben North <ben@redfrontdoor.org>
9383 * manual/arith.texi (frexp): It is the magnitude of the return
9384 value which lies in [0.5, 1), not the return value itself.
9386 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9390 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9392 * stdio-common/bug26.c (main): Correct fscanf template.
9394 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9395 declare _dl_skip_args.
9397 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9400 * manual/platform.texi: Add missing @end deftypefun.
9402 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9405 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9406 bit of mantissa of 2^16382.
9407 * math/libm-test.inc (hypot_test_data): Add more tests.
9409 * math/libm-test.inc: Add drem and pow10 to list of tested
9411 (pow10_test): New function.
9412 (drem_test): Likewise.
9413 (drem_test_tonearest): Likewise.
9414 (drem_test_towardzero): Likewise.
9415 (drem_test_downward): Likewise.
9416 (drem_test_upward): Likewise.
9417 (main): Call the new functions.
9419 * math/libm-test.inc (finite_test_data): Remove.
9420 (finite_test): Run tests from isfinite_test_data.
9421 (gamma_test_data): Remove.
9422 (gamma_test): Run tests from lgamma_test_data.
9423 * sysdeps/i386/fpu/libm-test-ulps: Update.
9424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9426 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9428 * manual/platform.texi: Add PowerPC PPR function set documentation.
9429 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9432 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9434 * math/libm-test.inc (MAX_EXP): Define.
9436 (ulp): New function.
9437 (check_float_internal): Use ULPDIFF.
9438 (cpow_test): Disable failing test.
9439 (check_ulp): Test ulp() implemetnation.
9440 (main): Call check_ulp before starting tests.
9442 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9444 * math/gen-libm-test.pl (generate_testfile): Do not handle
9445 START_DATA and END_DATA.
9446 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9448 (acos_tonearest_test_data): Likewise.
9449 (acos_towardzero_test_data): Likewise.
9450 (acos_downward_test_data): Likewise.
9451 (acos_upward_test_data): Likewise.
9452 (acosh_test_data): Likewise.
9453 (asin_test_data): Likewise.
9454 (asin_tonearest_test_data): Likewise.
9455 (asin_towardzero_test_data): Likewise.
9456 (asin_downward_test_data): Likewise.
9457 (asin_upward_test_data): Likewise.
9458 (asinh_test_data): Likewise.
9459 (atan_test_data): Likewise.
9460 (atanh_test_data): Likewise.
9461 (atan2_test_data): Likewise.
9462 (cabs_test_data): Likewise.
9463 (cacos_test_data): Likewise.
9464 (cacosh_test_data): Likewise.
9465 (carg_test_data): Likewise.
9466 (casin_test_data): Likewise.
9467 (casinh_test_data): Likewise.
9468 (catan_test_data): Likewise.
9469 (catanh_test_data): Likewise.
9470 (cbrt_test_data): Likewise.
9471 (ccos_test_data): Likewise.
9472 (ccosh_test_data): Likewise.
9473 (ceil_test_data): Likewise.
9474 (cexp_test_data): Likewise.
9475 (cimag_test_data): Likewise.
9476 (clog_test_data): Likewise.
9477 (clog10_test_data): Likewise.
9478 (conj_test_data): Likewise.
9479 (copysign_test_data): Likewise.
9480 (cos_test_data): Likewise.
9481 (cos_tonearest_test_data): Likewise.
9482 (cos_towardzero_test_data): Likewise.
9483 (cos_downward_test_data): Likewise.
9484 (cos_upward_test_data): Likewise.
9485 (cosh_test_data): Likewise.
9486 (cosh_tonearest_test_data): Likewise.
9487 (cosh_towardzero_test_data): Likewise.
9488 (cosh_downward_test_data): Likewise.
9489 (cosh_upward_test_data): Likewise.
9490 (cpow_test_data): Likewise.
9491 (cproj_test_data): Likewise.
9492 (creal_test_data): Likewise.
9493 (csin_test_data): Likewise.
9494 (csinh_test_data): Likewise.
9495 (csqrt_test_data): Likewise.
9496 (ctan_test_data): Likewise.
9497 (ctan_tonearest_test_data): Likewise.
9498 (ctan_towardzero_test_data): Likewise.
9499 (ctan_downward_test_data): Likewise.
9500 (ctan_upward_test_data): Likewise.
9501 (ctanh_test_data): Likewise.
9502 (ctanh_tonearest_test_data): Likewise.
9503 (ctanh_towardzero_test_data): Likewise.
9504 (ctanh_downward_test_data): Likewise.
9505 (ctanh_upward_test_data): Likewise.
9506 (erf_test_data): Likewise.
9507 (erfc_test_data): Likewise.
9508 (exp_test_data): Likewise.
9509 (exp_tonearest_test_data): Likewise.
9510 (exp_towardzero_test_data): Likewise.
9511 (exp_downward_test_data): Likewise.
9512 (exp_upward_test_data): Likewise.
9513 (exp10_test_data): Likewise.
9514 (exp2_test_data): Likewise.
9515 (expm1_test_data): Likewise.
9516 (fabs_test_data): Likewise.
9517 (fdim_test_data): Likewise.
9518 (finite_test_data): Likewise.
9519 (floor_test_data): Likewise.
9520 (fma_test_data): Likewise.
9521 (fma_towardzero_test_data): Likewise.
9522 (fma_downward_test_data): Likewise.
9523 (fma_upward_test_data): Likewise.
9524 (fmax_test_data): Likewise.
9525 (fmin_test_data): Likewise.
9526 (fmod_test_data): Likewise.
9527 (fpclassify_test_data): Likewise.
9528 (frexp_test_data): Likewise.
9529 (gamma_test_data): Likewise.
9530 (hypot_test_data): Likewise.
9531 (ilogb_test_data): Likewise.
9532 (isfinite_test_data): Likewise.
9533 (isgreater_test_data): Likewise.
9534 (isgreaterequal_test_data): Likewise.
9535 (isinf_test_data): Likewise.
9536 (isless_test_data): Likewise.
9537 (islessequal_test_data): Likewise.
9538 (islessgreater_test_data): Likewise.
9539 (isnan_test_data): Likewise.
9540 (isnormal_test_data): Likewise.
9541 (issignaling_test_data): Likewise.
9542 (isunordered_test_data): Likewise.
9543 (j0_test_data): Likewise.
9544 (j1_test_data): Likewise.
9545 (jn_test_data): Likewise.
9546 (ldexp_test_data): Likewise.
9547 (lgamma_test_data): Likewise.
9548 (lrint_test_data): Likewise.
9549 (lrint_tonearest_test_data): Likewise.
9550 (lrint_towardzero_test_data): Likewise.
9551 (lrint_downward_test_data): Likewise.
9552 (lrint_upward_test_data): Likewise.
9553 (llrint_test_data): Likewise.
9554 (llrint_tonearest_test_data): Likewise.
9555 (llrint_towardzero_test_data): Likewise.
9556 (llrint_downward_test_data): Likewise.
9557 (llrint_upward_test_data): Likewise.
9558 (log_test_data): Likewise.
9559 (log10_test_data): Likewise.
9560 (log1p_test_data): Likewise.
9561 (log2_test_data): Likewise.
9562 (logb_test_data): Likewise.
9563 (logb_downward_test_data): Likewise.
9564 (lround_test_data): Likewise.
9565 (llround_test_data): Likewise.
9566 (modf_test_data): Likewise.
9567 (nearbyint_test_data): Likewise.
9568 (nextafter_test_data): Likewise.
9569 (nexttoward_test_data): Likewise.
9570 (pow_test_data): Likewise.
9571 (pow_tonearest_test_data): Likewise.
9572 (pow_towardzero_test_data): Likewise.
9573 (pow_downward_test_data): Likewise.
9574 (pow_upward_test_data): Likewise.
9575 (remainder_test_data): Likewise.
9576 (remainder_tonearest_test_data): Likewise.
9577 (remainder_towardzero_test_data): Likewise.
9578 (remainder_downward_test_data): Likewise.
9579 (remainder_upward_test_data): Likewise.
9580 (remquo_test_data): Likewise.
9581 (rint_test_data): Likewise.
9582 (rint_tonearest_test_data): Likewise.
9583 (rint_towardzero_test_data): Likewise.
9584 (rint_downward_test_data): Likewise.
9585 (rint_upward_test_data): Likewise.
9586 (round_test_data): Likewise.
9587 (scalb_test_data): Likewise.
9588 (scalbn_test_data): Likewise.
9589 (scalbln_test_data): Likewise.
9590 (signbit_test_data): Likewise.
9591 (sin_test_data): Likewise.
9592 (sin_tonearest_test_data): Likewise.
9593 (sin_towardzero_test_data): Likewise.
9594 (sin_downward_test_data): Likewise.
9595 (sin_upward_test_data): Likewise.
9596 (sincos_test_data): Likewise.
9597 (sinh_test_data): Likewise.
9598 (sinh_tonearest_test_data): Likewise.
9599 (sinh_towardzero_test_data): Likewise.
9600 (sinh_downward_test_data): Likewise.
9601 (sinh_upward_test_data): Likewise.
9602 (sqrt_test_data): Likewise.
9603 (tan_test_data): Likewise.
9604 (tan_tonearest_test_data): Likewise.
9605 (tan_towardzero_test_data): Likewise.
9606 (tan_downward_test_data): Likewise.
9607 (tan_upward_test_data): Likewise.
9608 (tanh_test_data): Likewise.
9609 (tgamma_test_data): Likewise.
9610 (trunc_test_data): Likewise.
9611 (y0_test_data): Likewise.
9612 (y1_test_data): Likewise.
9613 (yn_test_data): Likewise.
9614 (significand_test_data): Likewise.
9616 * math/gen-libm-test.pl (@functions): Remove variable.
9617 (generate_testfile): Don't handle START and END lines.
9618 * math/libm-test.inc (START): New macro.
9620 (END_COMPLEX): Likewise.
9621 (acos_test): Use END macro without arguments.
9622 (acos_test_tonearest): Likewise.
9623 (acos_test_towardzero): Likewise.
9624 (acos_test_downward): Likewise.
9625 (acos_test_upward): Likewise.
9626 (acosh_test): Likewise.
9627 (asin_test): Likewise.
9628 (asin_test_tonearest): Likewise.
9629 (asin_test_towardzero): Likewise.
9630 (asin_test_downward): Likewise.
9631 (asin_test_upward): Likewise.
9632 (asinh_test): Likewise.
9633 (atan_test): Likewise.
9634 (atanh_test): Likewise.
9635 (atan2_test): Likewise.
9636 (cabs_test): Likewise.
9637 (cacos_test): Use END_COMPLEX macro without arguments.
9638 (cacosh_test): Likewise.
9639 (carg_test): Use END macro without arguments.
9640 (casin_test): Use END_COMPLEX macro without arguments.
9641 (casinh_test): Likewise.
9642 (catan_test): Likewise.
9643 (catanh_test): Likewise.
9644 (cbrt_test): Use END macro without arguments.
9645 (ccos_test): Use END_COMPLEX macro without arguments.
9646 (ccosh_test): Likewise.
9647 (ceil_test): Use END macro without arguments.
9648 (cexp_test): Use END_COMPLEX macro without arguments.
9649 (cimag_test): Use END macro without arguments.
9650 (clog_test): Use END_COMPLEX macro without arguments.
9651 (clog10_test): Likewise.
9652 (conj_test): Likewise.
9653 (copysign_test): Use END macro without arguments.
9654 (cos_test): Likewise.
9655 (cos_test_tonearest): Likewise.
9656 (cos_test_towardzero): Likewise.
9657 (cos_test_downward): Likewise.
9658 (cos_test_upward): Likewise.
9659 (cosh_test): Likewise.
9660 (cosh_test_tonearest): Likewise.
9661 (cosh_test_towardzero): Likewise.
9662 (cosh_test_downward): Likewise.
9663 (cosh_test_upward): Likewise.
9664 (cpow_test): Use END_COMPLEX macro without arguments.
9665 (cproj_test): Likewise.
9666 (creal_test): Use END macro without arguments.
9667 (csin_test): Use END_COMPLEX macro without arguments.
9668 (csinh_test): Likewise.
9669 (csqrt_test): Likewise.
9670 (ctan_test): Likewise.
9671 (ctan_test_tonearest): Likewise.
9672 (ctan_test_towardzero): Likewise.
9673 (ctan_test_downward): Likewise.
9674 (ctan_test_upward): Likewise.
9675 (ctanh_test): Likewise.
9676 (ctanh_test_tonearest): Likewise.
9677 (ctanh_test_towardzero): Likewise.
9678 (ctanh_test_downward): Likewise.
9679 (ctanh_test_upward): Likewise.
9680 (erf_test): Use END macro without arguments.
9681 (erfc_test): Likewise.
9682 (exp_test): Likewise.
9683 (exp_test_tonearest): Likewise.
9684 (exp_test_towardzero): Likewise.
9685 (exp_test_downward): Likewise.
9686 (exp_test_upward): Likewise.
9687 (exp10_test): Likewise.
9688 (exp2_test): Likewise.
9689 (expm1_test): Likewise.
9690 (fabs_test): Likewise.
9691 (fdim_test): Likewise.
9692 (finite_test): Likewise.
9693 (floor_test): Likewise.
9694 (fma_test): Likewise.
9695 (fma_test_towardzero): Likewise.
9696 (fma_test_downward): Likewise.
9697 (fma_test_upward): Likewise.
9698 (fmax_test): Likewise.
9699 (fmin_test): Likewise.
9700 (fmod_test): Likewise.
9701 (fpclassify_test): Likewise.
9702 (frexp_test): Likewise.
9703 (gamma_test): Likewise.
9704 (hypot_test): Likewise.
9705 (ilogb_test): Likewise.
9706 (isfinite_test): Likewise.
9707 (isgreater_test): Likewise.
9708 (isgreaterequal_test): Likewise.
9709 (isinf_test): Likewise.
9710 (isless_test): Likewise.
9711 (islessequal_test): Likewise.
9712 (islessgreater_test): Likewise.
9713 (isnan_test): Likewise.
9714 (isnormal_test): Likewise.
9715 (issignaling_test): Likewise.
9716 (isunordered_test): Likewise.
9717 (j0_test): Likewise.
9718 (j1_test): Likewise.
9719 (jn_test): Likewise.
9720 (ldexp_test): Likewise.
9721 (lgamma_test): Likewise.
9722 (lrint_test): Likewise.
9723 (lrint_test_tonearest): Likewise.
9724 (lrint_test_towardzero): Likewise.
9725 (lrint_test_downward): Likewise.
9726 (lrint_test_upward): Likewise.
9727 (llrint_test): Likewise.
9728 (llrint_test_tonearest): Likewise.
9729 (llrint_test_towardzero): Likewise.
9730 (llrint_test_downward): Likewise.
9731 (llrint_test_upward): Likewise.
9732 (log_test): Likewise.
9733 (log10_test): Likewise.
9734 (log1p_test): Likewise.
9735 (log2_test): Likewise.
9736 (logb_test): Likewise.
9737 (logb_test_downward): Likewise.
9738 (lround_test): Likewise.
9739 (llround_test): Likewise.
9740 (modf_test): Likewise.
9741 (nearbyint_test): Likewise.
9742 (nextafter_test): Likewise.
9743 (nexttoward_test): Likewise.
9744 (pow_test): Likewise.
9745 (pow_test_tonearest): Likewise.
9746 (pow_test_towardzero): Likewise.
9747 (pow_test_downward): Likewise.
9748 (pow_test_upward): Likewise.
9749 (remainder_test): Likewise.
9750 (remainder_test_tonearest): Likewise.
9751 (remainder_test_towardzero): Likewise.
9752 (remainder_test_downward): Likewise.
9753 (remainder_test_upward): Likewise.
9754 (remquo_test): Likewise.
9755 (rint_test): Likewise.
9756 (rint_test_tonearest): Likewise.
9757 (rint_test_towardzero): Likewise.
9758 (rint_test_downward): Likewise.
9759 (rint_test_upward): Likewise.
9760 (round_test): Likewise.
9761 (scalb_test): Likewise.
9762 (scalbn_test): Likewise.
9763 (scalbln_test): Likewise.
9764 (signbit_test): Likewise.
9765 (sin_test): Likewise.
9766 (sin_test_tonearest): Likewise.
9767 (sin_test_towardzero): Likewise.
9768 (sin_test_downward): Likewise.
9769 (sin_test_upward): Likewise.
9770 (sincos_test): Likewise.
9771 (sinh_test): Likewise.
9772 (sinh_test_tonearest): Likewise.
9773 (sinh_test_towardzero): Likewise.
9774 (sinh_test_downward): Likewise.
9775 (sinh_test_upward): Likewise.
9776 (sqrt_test): Likewise.
9777 (tan_test): Likewise.
9778 (tan_test_tonearest): Likewise.
9779 (tan_test_towardzero): Likewise.
9780 (tan_test_downward): Likewise.
9781 (tan_test_upward): Likewise.
9782 (tanh_test): Likewise.
9783 (tgamma_test): Likewise.
9784 (trunc_test): Likewise.
9785 (y0_test): Likewise.
9786 (y1_test): Likewise.
9787 (yn_test): Likewise.
9788 (significand_test): Likewise.
9790 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9793 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9795 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9798 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9799 __ppc_mdoio and __ppc_mdoom.
9800 * manual/platform.texi: Document new functions __ppc_yield,
9801 __ppc_mdoio and __ppc_mdoom.
9803 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9805 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9806 (main): Mention "tls" pseudo-hwcap is legacy.
9807 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9809 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9811 * math/gen-libm-test.pl (parse_args): Output only string of
9812 arguments as text for test name, not full call or descriptions of
9813 tests for extra outputs.
9814 (generate_testfile): Do not pass function name to parse_args.
9815 Generate this_func variable from START.
9816 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9818 (struct test_ff_f_data): Likewise.
9819 (test_ff_f_data_nexttoward): Likewise.
9820 (struct test_fi_f_data): Likewise.
9821 (struct test_fl_f_data): Likewise.
9822 (struct test_if_f_data): Likewise.
9823 (struct test_fff_f_data): Likewise.
9824 (struct test_c_f_data): Likewise.
9825 (struct test_f_f1_data): Likewise. Remove field extra_name.
9826 (struct test_fF_f1_data): Likewise.
9827 (struct test_ffI_f1_data): Likewise.
9828 (struct test_c_c_data): Rename test_name field to arg_str.
9829 (struct test_cc_c_data): Likewise.
9830 (struct test_f_i_data): Likewise.
9831 (struct test_ff_i_data): Likewise.
9832 (struct test_f_l_data): Likewise.
9833 (struct test_f_L_data): Likewise.
9834 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9836 (COMMON_TEST_SETUP): New macro.
9837 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9838 (COMMON_TEST_CLEANUP): Likewise.
9839 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9840 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9842 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9843 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9845 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9846 (RUN_TEST_fff_f): Take argument string. Call new setup and
9848 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9849 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9851 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9852 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9854 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9855 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9857 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9858 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9860 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9861 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9863 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9864 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9866 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9867 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9869 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9870 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9872 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9873 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9875 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9876 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9878 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9879 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9881 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9882 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9884 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9885 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9887 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9888 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9890 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9891 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9893 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9895 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9897 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9898 to _sifields.sigfault.
9899 (si_addr_lsb): Define new macro.
9900 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9901 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9904 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9907 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9909 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9911 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9914 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9916 * math/gen-libm-test.pl (parse_args): Do not include expected
9917 result in test name.
9918 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9920 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9921 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9922 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9925 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9927 * benchtests/Makefile: Sort function entries.
9929 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9930 tanh, asinh, acosh, atanh.
9931 * benchtests/acos-inputs: New file.
9932 * benchtests/acosh-inputs: New file.
9933 * benchtests/asin-inputs: New file.
9934 * benchtests/asinh-inputs: New file.
9935 * benchtests/atanh-inputs: New file.
9936 * benchtests/cosh-inputs: New file.
9937 * benchtests/log-inputs: New file.
9938 * benchtests/sinh-inputs: New file.
9939 * benchtests/tanh-inputs: New file.
9941 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9944 * posix/tst-getaddrinfo4.c: New test.
9945 * posix/Makefile (tests): Add it.
9947 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9950 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9951 when no services were used.
9952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9953 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9955 2013-05-21 Andreas Schwab <schwab@suse.de>
9958 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9959 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9961 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9962 redundant variable declarations and reallocation of buffer when
9963 parsing as IPv6 address. Always set NSS status when called from
9964 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9965 buffer too small. Correct computation of needed size.
9966 * nss/Makefile (tests): Add test-digits-dots.
9967 * nss/test-digits-dots.c: New test.
9969 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9971 * benchtests/Makefile: Remove instructions for adding
9973 * benchtests/README: New file to explain how to execute and
9974 enhance the benchmark tests.
9976 2013-05-21 Andreas Schwab <schwab@suse.de>
9979 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9980 * setjmp/tst-sigsetjmp.c: New test.
9982 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9984 * sysdeps/x86_64/memset.S (memset): New implementation.
9985 (__bzero): Likewise.
9986 (__memset_tail): New function.
9988 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9990 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9991 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9992 __memcpy_sse2_unaligned ifunc selection.
9993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9994 Add memcpy-sse2-unaligned.S.
9995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9996 Add: __memcpy_sse2_unaligned.
9998 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10001 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10002 math_force_eval before restoring floating-point envrionment.
10003 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10006 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10008 (__nearbyintl): Use math_force_eval before restoring
10009 floating-point environment.
10010 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10012 * math/gen-libm-test.pl (special_functions): Remove.
10013 (parse_args): Don't handle TEST_extra. Handle functions with no
10015 * math/libm-test.inc (struct test_sincos_data): Replace with
10016 struct test_fFF_11_data.
10017 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10018 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10019 (sincos_test_data): Change element type to struct
10020 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10021 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10022 RUN_TEST_LOOP_sincos.
10023 * math/README.libm-test: Don't mention special handling of
10024 individual functions.
10025 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10027 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10029 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10032 * math/gen-libm-test.pl (get_variable): Remove function.
10033 (parse_args): Don't show pointer parameters to call in test
10034 names. Use "extra output N" in test names for extra outputs
10035 rather than naming variables.
10037 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10040 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10041 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10042 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10044 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10046 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10049 * math/gen-libm-test.pl (@tests): Remove variable.
10050 ($count): Likewise.
10051 (new_test): Remove function.
10052 (show_exceptions): New function.
10053 (special_functions): Use show_exceptions instead of new_test.
10054 (parse_args): Likewise.
10055 (generate_testfile): Pass only function name in generated call to
10056 print_max_error or print_complex_max_error.
10057 (get_ulps): Do not handle complex tests specially.
10058 (output_test): Rename to ...
10059 (get_all_ulps_for_test): ... this. Return a string rather than
10060 printing to a file. Require ulps to be present.
10061 (output_ulps): Generate arrays rather than #defines.
10062 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10063 (struct ulp_data): New type.
10064 (BUILD_COMPLEX_ULP): Remove macro.
10065 (compare_ulp_data): New function.
10066 (find_ulps): Likewise.
10067 (find_test_ulps): Likewise.
10068 (find_function_ulps): Likewise.
10069 (find_complex_function_ulps): Likewise.
10070 (print_max_error): Determine allowed ulps using
10071 find_function_ulps.
10072 (print_complex_max_error): Determine allowed ulps using
10073 find_complex_function_ulps.
10074 (check_float_internal): Determine max ulps using find_test_ulps.
10075 (check_float): Do not take max_ulp parameter. Update call to
10076 check_float_internal.
10077 (check_complex): Likewise.
10078 (check_int): Do not take max_ulp parameter.
10079 (check_long): Likewise.
10080 (check_bool): Likewise.
10081 (check_longlong): Likewise.
10082 (struct test_f_f_data): Remove max_ulp field.
10083 (struct test_ff_f_data): Likewise.
10084 (struct test_ff_f_data_nexttoward): Likewise.
10085 (struct test_fi_f_data): Likewise.
10086 (struct test_fl_f_data): Likewise.
10087 (struct test_if_f_data): Likewise.
10088 (struct test_fff_f_data): Likewise.
10089 (struct test_c_f_data): Likewise.
10090 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10091 (struct test_fF_f1_data): Likewise.
10092 (struct test_ffI_f1_data): Likewise.
10093 (struct test_c_c_data): Remove max_ulp field.
10094 (struct test_cc_c_data): Likewise.
10095 (struct test_f_i_data): Likewise.
10096 (struct test_ff_i_data): Likewise.
10097 (struct test_f_l_data): Likewise.
10098 (struct test_f_L_data): Likewise.
10099 (struct test_sincos_data): Likewise.
10100 (RUN_TEST_f_f): Do not handle ulps.
10101 (RUN_TEST_LOOP_f_f): Likewise.
10102 (RUN_TEST_2_f): Likewise.
10103 (RUN_TEST_LOOP_2_f): Likewise.
10104 (RUN_TEST_fff_f): Likewise.
10105 (RUN_TEST_LOOP_fff_f): Likewise.
10106 (RUN_TEST_c_f): Likewise.
10107 (RUN_TEST_LOOP_c_f): Likewise.
10108 (RUN_TEST_f_f1): Likewise.
10109 (RUN_TEST_LOOP_f_f1): Likewise.
10110 (RUN_TEST_fF_f1): Likewise.
10111 (RUN_TEST_LOOP_fF_f1): Likewise.
10112 (RUN_TEST_fI_f1): Likewise.
10113 (RUN_TEST_LOOP_fI_f1): Likewise.
10114 (RUN_TEST_ffI_f1): Likewise.
10115 (RUN_TEST_LOOP_ffI_f1): Likewise.
10116 (RUN_TEST_c_c): Likewise.
10117 (RUN_TEST_LOOP_c_c): Likewise.
10118 (RUN_TEST_cc_c): Likewise.
10119 (RUN_TEST_LOOP_cc_c): Likewise.
10120 (RUN_TEST_f_i): Likewise.
10121 (RUN_TEST_LOOP_f_i): Likewise.
10122 (RUN_TEST_f_i_tg): Likewise.
10123 (RUN_TEST_LOOP_f_i_tg): Likewise.
10124 (RUN_TEST_ff_i_tg): Likewise.
10125 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10126 (RUN_TEST_f_b): Likewise.
10127 (RUN_TEST_LOOP_f_b): Likewise.
10128 (RUN_TEST_f_b_tg): Likewise.
10129 (RUN_TEST_LOOP_f_b_tg): Likewise.
10130 (RUN_TEST_f_l): Likewise.
10131 (RUN_TEST_LOOP_f_l): Likewise.
10132 (RUN_TEST_f_L): Likewise.
10133 (RUN_TEST_LOOP_f_L): Likewise.
10134 (RUN_TEST_sincos): Likewise.
10135 (RUN_TEST_LOOP_sincos): Likewise.
10137 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10141 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10142 main case of finite arguments, set rounding mode to FE_TONEAREST
10143 and discard exceptions.
10144 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10146 (remainder_tonearest_test_data): New variable.
10147 (remainder_test_tonearest): New function.
10148 (remainder_towardzero_test_data): New variable.
10149 (remainder_test_towardzero): New function.
10150 (remainder_downward_test_data): New variable.
10151 (remainder_test_downward): New function.
10152 (remainder_upward_test_data): New variable.
10153 (remainder_test_upward): New function.
10154 (main): Call the new test functions.
10156 * math/libm-test.inc (struct test_f_f1_data): Remove field
10158 (struct test_fF_f1_data): Likewise.
10159 (struct test_ffI_f1_data): Likewise.
10160 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10161 based on value of EXTRA_EXPECTED.
10162 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10163 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10164 EXTRA_VAR based on value of EXTRA_EXPECTED.
10165 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10166 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10167 EXTRA_VAR based on value of EXTRA_EXPECTED.
10168 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10169 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10170 EXTRA_VAR based on value of EXTRA_EXPECTED.
10171 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10172 * math/gen-libm-test.pl (parse_args): Don't output initializers
10173 for extra output values.
10175 * math/libm-test.inc (check_int): Expect result to be exactly
10176 equal to expected value and do not handle ulps.
10177 (check_long): Likewise.
10178 (check_longlong): Likewise.
10180 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10182 (cimag_test_data): Likewise.
10183 (conj_test_data): Likewise.
10184 (copysign_test_data): Likewise.
10185 (cproj_test_data): Likewise.
10186 (creal_test_data): Likewise.
10187 (fabs_test_data): Likewise.
10188 (fdim_test_data): Likewise.
10189 (finite_test_data): Likewise.
10190 (floor_test_data): Likewise.
10191 (fmax_test_data): Likewise.
10192 (fmin_test_data): Likewise.
10193 (fmod_test_data): Likewise.
10194 (fpclassify_test_data): Likewise.
10195 (frexp_test_data): Likewise.
10196 (ilogb_test_data): Likewise.
10197 (isfinite_test_data): Likewise.
10198 (isgreater_test_data): Likewise.
10199 (isgreaterequal_test_data): Likewise.
10200 (isinf_test_data): Likewise.
10201 (isless_test_data): Likewise.
10202 (islessequal_test_data): Likewise.
10203 (islessgreater_test_data): Likewise.
10204 (isnan_test_data): Likewise.
10205 (isnormal_test_data): Likewise.
10206 (issignaling_test_data): Likewise.
10207 (isunordered_test_data): Likewise.
10208 (ldexp_test_data): Likewise.
10209 (lrint_test_data): Likewise.
10210 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10211 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10212 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10213 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10214 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10215 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10217 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10218 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10219 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10220 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10222 (lrint_downward_test_data): Test for "inexact" exceptions.
10223 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10224 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10225 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10227 (lrint_upward_test_data): Test for "inexact" exceptions.
10228 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10230 (llrint_test_data): Test for "inexact" exceptions.
10231 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10232 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10233 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10234 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10235 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10236 (llrint_downward_test_data): Test for "inexact" exceptions.
10237 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10238 (llrint_upward_test_data): Test for "inexact" exceptions.
10239 (logb_test_data): Likewise.
10240 (logb_downward_test_data): Likewise.
10241 (nextafter_test_data): Likewise.
10242 (nexttoward_test_data): Likewise.
10243 (remainder_test_data): Likewise.
10244 (remquo_test_data): Likewise.
10245 (scalbn_test_data): Likewise.
10246 (scalbln_test_data): Likewise.
10247 (signbit_test_data): Likewise.
10248 (sqrt_test_data): Likewise.
10249 (significand_test_data): Likewise.
10251 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10254 * benchtests/bench-modf.c (struct args): Mark arg0 as
10256 * scripts/bench.pl: Mark members of struct args as volatile.
10258 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10261 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10262 negative infinity on POWER6 or lower.
10263 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10265 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10268 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10269 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10270 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10271 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10272 (_FP_SETQNAN): New macro.
10273 (_FP_SETQNAN_SEMIRAW): Likewise.
10274 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10275 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10276 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10277 (FP_EXTEND): Use _FP_FRAC_SNANP.
10278 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10279 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10281 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10283 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10286 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10288 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10289 with DIVIDE_BY_ZERO_EXCEPTION.
10290 (gamma_test_data): Likewise.
10291 (lgamma_test_data): Likewise.
10292 (log_test_data): Likewise.
10293 (log10_test_data): Likewise.
10294 (log2_test_data): Likewise.
10295 (tgamma_test_data): Likewise.
10297 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10298 (acos_test_tonearest): Likewise.
10299 (acos_test_towardzero): Likewise.
10300 (acos_test_downward): Likewise.
10301 (acos_test_upward): Likewise.
10302 (acosh_test): Likewise.
10303 (asin_test): Likewise.
10304 (asin_test_tonearest): Likewise.
10305 (asin_test_towardzero): Likewise.
10306 (asin_test_downward): Likewise.
10307 (asin_test_upward): Likewise.
10308 (asinh_test): Likewise.
10309 (atan_test): Likewise.
10310 (atanh_test): Likewise.
10311 (atan2_test): Likewise.
10312 (cabs_test): Likewise.
10313 (cacos_test): Likewise.
10314 (cacosh_test): Likewise.
10315 (casin_test): Likewise.
10316 (casinh_test): Likewise.
10317 (catan_test): Likewise.
10318 (catanh_test): Likewise.
10319 (cbrt_test): Likewise.
10320 (ccos_test): Likewise.
10321 (ccosh_test): Likewise.
10322 (cexp_test): Likewise.
10323 (clog_test): Likewise.
10324 (clog10_test): Likewise.
10325 (cos_test): Likewise.
10326 (cos_test_tonearest): Likewise.
10327 (cos_test_towardzero): Likewise.
10328 (cos_test_downward): Likewise.
10329 (cos_test_upward): Likewise.
10330 (cosh_test): Likewise.
10331 (cosh_test_tonearest): Likewise.
10332 (cosh_test_towardzero): Likewise.
10333 (cosh_test_downward): Likewise.
10334 (cosh_test_upward): Likewise.
10335 (cpow_test): Likewise.
10336 (csin_test): Likewise.
10337 (csinh_test): Likewise.
10338 (csqrt_test): Likewise.
10339 (ctan_test): Likewise.
10340 (ctan_test_tonearest): Likewise.
10341 (ctan_test_towardzero): Likewise.
10342 (ctan_test_downward): Likewise.
10343 (ctan_test_upward): Likewise.
10344 (ctanh_test): Likewise.
10345 (ctanh_test_tonearest): Likewise.
10346 (ctanh_test_towardzero): Likewise.
10347 (ctanh_test_downward): Likewise.
10348 (ctanh_test_upward): Likewise.
10349 (erf_test): Likewise.
10350 (erfc_test): Likewise.
10351 (exp_test): Likewise.
10352 (exp_test_tonearest): Likewise.
10353 (exp_test_towardzero): Likewise.
10354 (exp_test_downward): Likewise.
10355 (exp_test_upward): Likewise.
10356 (exp10_test): Likewise.
10357 (exp2_test): Likewise.
10358 (expm1_test): Likewise.
10359 (fmod_test): Likewise.
10360 (gamma_test): Likewise.
10361 (hypot_test): Likewise.
10362 (j0_test): Likewise.
10363 (j1_test): Likewise.
10364 (jn_test): Likewise.
10365 (lgamma_test): Likewise.
10366 (log_test): Likewise.
10367 (log10_test): Likewise.
10368 (log1p_test): Likewise.
10369 (log2_test): Likewise.
10370 (logb_test_downward): Likewise.
10371 (pow_test): Likewise.
10372 (pow_test_tonearest): Likewise.
10373 (pow_test_towardzero): Likewise.
10374 (pow_test_downward): Likewise.
10375 (pow_test_upward): Likewise.
10376 (remainder_test): Likewise.
10377 (remquo_test): Likewise.
10378 (sin_test): Likewise.
10379 (sin_test_tonearest): Likewise.
10380 (sin_test_towardzero): Likewise.
10381 (sin_test_downward): Likewise.
10382 (sin_test_upward): Likewise.
10383 (sincos_test): Likewise.
10384 (sinh_test): Likewise.
10385 (sinh_test_tonearest): Likewise.
10386 (sinh_test_towardzero): Likewise.
10387 (sinh_test_downward): Likewise.
10388 (sinh_test_upward): Likewise.
10389 (sqrt_test): Likewise.
10390 (tan_test): Likewise.
10391 (tan_test_tonearest): Likewise.
10392 (tan_test_towardzero): Likewise.
10393 (tan_test_downward): Likewise.
10394 (tan_test_upward): Likewise.
10395 (tanh_test): Likewise.
10396 (tgamma_test): Likewise.
10397 (y0_test): Likewise.
10398 (y1_test): Likewise.
10399 (yn_test): Likewise.
10401 * math/gen-libm-test.pl (adjust_arg): Remove function.
10402 (special_function): Remove argument $in_func. Only handle
10403 generating output for tables of tests, not inside functions.
10404 (parse_args): Likewise.
10405 (generate_testfile): Remove variable $in_func. Update call to
10407 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10408 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10409 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10410 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10411 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10412 (MAX_VALUE_INIT): Rename macro to max_value.
10413 (MIN_VALUE_INIT): Rename macro to min_value.
10414 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10415 (plus_zero): Remove variable.
10416 (minus_zero): Likewise.
10417 (plus_infty): Likewise.
10418 (minus_infty): Likewise.
10419 (qnan_value): Likewise.
10420 (max_value): Likewise.
10421 (min_value): Likewise.
10422 (min_subnorm_value): Likewise.
10424 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10426 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10427 uint64_t or uint32_t usage.
10428 * crypt/sha256-block.c: Likewise.
10429 * crypt/sha256-crypt.c: Likewise.
10430 * crypt/sha256.c: Likewise.
10431 * crypt/sha512-block.c: Likewise.
10432 * crypt/sha512-crypt.c: Likewise.
10433 * crypt/sha512.c: Likewise.
10434 * debug/backtrace-tst.c: Likewise.
10435 * debug/pcprofiledump.c: Likewise.
10436 * elf/cache.c: Likewise.
10437 * elf/dl-cache.c: Likewise.
10438 * elf/dl-misc.c: Likewise.
10439 * elf/dl-profile.c: Likewise.
10440 * elf/dl-support.c: Likewise.
10441 * elf/ldconfig.c: Likewise.
10442 * elf/sprof.c: Likewise.
10443 * iconv/dummy-repertoire.c: Likewise.
10444 * iconv/iconv_charmap.c: Likewise.
10445 * iconv/skeleton.c: Likewise.
10446 * iconvdata/8bit-generic.c: Likewise.
10447 * iconvdata/cp737.h: Likewise.
10448 * iconvdata/cp775.h: Likewise.
10449 * iconvdata/ibm1008.h: Likewise.
10450 * iconvdata/ibm1025.h: Likewise.
10451 * iconvdata/ibm1046.h: Likewise.
10452 * iconvdata/ibm1097.h: Likewise.
10453 * iconvdata/ibm1112.h: Likewise.
10454 * iconvdata/ibm1122.h: Likewise.
10455 * iconvdata/ibm1123.h: Likewise.
10456 * iconvdata/ibm1124.h: Likewise.
10457 * iconvdata/ibm1129.h: Likewise.
10458 * iconvdata/ibm1130.h: Likewise.
10459 * iconvdata/ibm1132.h: Likewise.
10460 * iconvdata/ibm1133.h: Likewise.
10461 * iconvdata/ibm1137.h: Likewise.
10462 * iconvdata/ibm1140.h: Likewise.
10463 * iconvdata/ibm1141.h: Likewise.
10464 * iconvdata/ibm1142.h: Likewise.
10465 * iconvdata/ibm1143.h: Likewise.
10466 * iconvdata/ibm1144.h: Likewise.
10467 * iconvdata/ibm1145.h: Likewise.
10468 * iconvdata/ibm1146.h: Likewise.
10469 * iconvdata/ibm1147.h: Likewise.
10470 * iconvdata/ibm1148.h: Likewise.
10471 * iconvdata/ibm1149.h: Likewise.
10472 * iconvdata/ibm1153.h: Likewise.
10473 * iconvdata/ibm1154.h: Likewise.
10474 * iconvdata/ibm1155.h: Likewise.
10475 * iconvdata/ibm1156.h: Likewise.
10476 * iconvdata/ibm1157.h: Likewise.
10477 * iconvdata/ibm1158.h: Likewise.
10478 * iconvdata/ibm1160.h: Likewise.
10479 * iconvdata/ibm1161.h: Likewise.
10480 * iconvdata/ibm1162.h: Likewise.
10481 * iconvdata/ibm1163.h: Likewise.
10482 * iconvdata/ibm1164.h: Likewise.
10483 * iconvdata/ibm1166.h: Likewise.
10484 * iconvdata/ibm1167.h: Likewise.
10485 * iconvdata/ibm12712.h: Likewise.
10486 * iconvdata/ibm1390.h: Likewise.
10487 * iconvdata/ibm1399.h: Likewise.
10488 * iconvdata/ibm16804.h: Likewise.
10489 * iconvdata/ibm4517.h: Likewise.
10490 * iconvdata/ibm4899.h: Likewise.
10491 * iconvdata/ibm4909.h: Likewise.
10492 * iconvdata/ibm4971.h: Likewise.
10493 * iconvdata/ibm5347.h: Likewise.
10494 * iconvdata/ibm803.h: Likewise.
10495 * iconvdata/ibm856.h: Likewise.
10496 * iconvdata/ibm901.h: Likewise.
10497 * iconvdata/ibm902.h: Likewise.
10498 * iconvdata/ibm9030.h: Likewise.
10499 * iconvdata/ibm9066.h: Likewise.
10500 * iconvdata/ibm921.h: Likewise.
10501 * iconvdata/ibm922.h: Likewise.
10502 * iconvdata/ibm9448.h: Likewise.
10503 * iconvdata/isiri-3342.h: Likewise.
10504 * iconvdata/jis0201.h: Likewise.
10505 * include/link.h: Likewise.
10506 * include/netdb.h: Likewise.
10507 * inet/check_native.c: Likewise.
10508 * inet/check_pf.c: Likewise.
10509 * inet/getipv4sourcefilter.c: Likewise.
10510 * inet/getnameinfo.c: Likewise.
10511 * inet/getsourcefilter.c: Likewise.
10512 * inet/htonl.c: Likewise.
10513 * inet/setipv4sourcefilter.c: Likewise.
10514 * inet/setsourcefilter.c: Likewise.
10515 * inet/test-inet6_opt.c: Likewise.
10516 * inet/tst-network.c: Likewise.
10517 * locale/C-collate.c: Likewise.
10518 * locale/C-ctype.c: Likewise.
10519 * locale/C-time.c: Likewise.
10520 * locale/C-translit.h: Likewise.
10521 * locale/loadarchive.c: Likewise.
10522 * locale/programs/3level.h: Likewise.
10523 * locale/programs/charmap.c: Likewise.
10524 * locale/programs/charmap.h: Likewise.
10525 * locale/programs/ld-address.c: Likewise.
10526 * locale/programs/ld-collate.c: Likewise.
10527 * locale/programs/ld-ctype.c: Likewise.
10528 * locale/programs/ld-identification.c: Likewise.
10529 * locale/programs/ld-measurement.c: Likewise.
10530 * locale/programs/ld-messages.c: Likewise.
10531 * locale/programs/ld-monetary.c: Likewise.
10532 * locale/programs/ld-name.c: Likewise.
10533 * locale/programs/ld-numeric.c: Likewise.
10534 * locale/programs/ld-paper.c: Likewise.
10535 * locale/programs/ld-telephone.c: Likewise.
10536 * locale/programs/ld-time.c: Likewise.
10537 * locale/programs/linereader.c: Likewise.
10538 * locale/programs/locale.c: Likewise.
10539 * locale/programs/locarchive.c: Likewise.
10540 * locale/programs/locfile.h: Likewise.
10541 * locale/programs/repertoire.c: Likewise.
10542 * locale/programs/simple-hash.c: Likewise.
10543 * locale/programs/simple-hash.h: Likewise.
10544 * malloc/memusage.c: Likewise.
10545 * malloc/memusagestat.c: Likewise.
10546 * nis/nis_defaults.c: Likewise.
10547 * nis/nis_hash.c: Likewise.
10548 * nis/nis_print.c: Likewise.
10549 * nis/nis_xdr.c: Likewise.
10550 * nscd/connections.c: Likewise.
10551 * nscd/hstcache.c: Likewise.
10552 * nscd/nscd_gethst_r.c: Likewise.
10553 * nscd/nscd_getserv_r.c: Likewise.
10554 * nscd/nscd_helper.c: Likewise.
10555 * nscd/servicescache.c: Likewise.
10556 * nss/makedb.c: Likewise.
10557 * nss/nss_db/db-XXX.c: Likewise.
10558 * nss/nss_db/db-initgroups.c: Likewise.
10559 * nss/nss_db/db-netgrp.c: Likewise.
10560 * nss/nss_files/files-network.c: Likewise.
10561 * nss/nss_files/files-parse.c: Likewise.
10562 * posix/bug-regex5.c: Likewise.
10563 * posix/fnmatch_loop.c: Likewise.
10564 * posix/regcomp.c: Likewise.
10565 * posix/regexec.c: Likewise.
10566 * posix/tst-rfc3484-2.c: Likewise.
10567 * posix/tst-rfc3484-3.c: Likewise.
10568 * posix/tst-rfc3484.c: Likewise.
10569 * resolv/nss_dns/dns-canon.c: Likewise.
10570 * resolv/nss_dns/dns-network.c: Likewise.
10571 * resolv/res_init.c: Likewise.
10572 * resolv/res_mkquery.c: Likewise.
10573 * resolv/tst-aton.c: Likewise.
10574 * stdlib/cxa_atexit.c: Likewise.
10575 * stdlib/cxa_finalize.c: Likewise.
10576 * stdlib/gen-fpioconst.c: Likewise.
10577 * stdlib/strtol_l.c: Likewise.
10578 * string/tst-endian.c: Likewise.
10579 * sunrpc/auth_des.c: Likewise.
10580 * sunrpc/clnt_udp.c: Likewise.
10581 * sunrpc/rtime.c: Likewise.
10582 * sunrpc/svcauth_des.c: Likewise.
10583 * sunrpc/xdr.c: Likewise.
10584 * sunrpc/xdr_intXX_t.c: Likewise.
10585 * sunrpc/xdr_rec.c: Likewise.
10586 * sysdeps/generic/ldconfig.h: Likewise.
10587 * sysdeps/generic/ldsodefs.h: Likewise.
10588 * sysdeps/generic/memusage.h: Likewise.
10589 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10599 * sysdeps/posix/getaddrinfo.c: Likewise.
10600 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10601 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10602 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10604 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10605 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10606 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10607 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10608 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10610 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10611 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10612 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10613 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10615 * sysdeps/x86_64/dl-tls.h: Likewise.
10616 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10617 * time/alt_digit.c: Likewise.
10618 * time/era.c: Likewise.
10619 * wcsmbs/tst-c16c32-1.c: Likewise.
10621 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10623 * math/libm-test.inc (struct test_sincos_data): New type.
10624 (RUN_TEST_LOOP_sincos): New macro.
10625 (sincos_test_data): New variable.
10626 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10628 2013-05-16 Richard Henderson <rth@redhat.com>
10630 * math/atest-exp2.c (LIMB64): New macro.
10631 (CONSTSZ): New macro.
10632 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10634 (print_mpn_fp): ... to function scope.
10635 (read_mpn_hex): Remove.
10636 (get_log2): Remove.
10637 (exp2_mpn): Use mp_log2.
10638 (main): Use mp_exp1.
10640 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10642 * math/libm-test.inc: Remove comment about not testing "inexact"
10644 (INEXACT_EXCEPTION): New macro.
10645 (NO_INEXACT_EXCEPTION): Likewise.
10646 (INVALID_EXCEPTION_OK): Update value.
10647 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10648 (OVERFLOW_EXCEPTION_OK): Likewise.
10649 (UNDERFLOW_EXCEPTION_OK): Likewise.
10650 (IGNORE_ZERO_INF_SIGN): Likewise.
10651 (ERRNO_UNCHANGED): Likewise.
10652 (ERRNO_EDOM): Likewise.
10653 (ERRNO_ERANGE): Likewise.
10654 (test_exceptions): Handle testing "inexact" exceptions.
10655 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10656 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10657 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10658 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10660 (rint_towardzero_test_data): Likewise.
10661 (rint_downward_test_data): Likewise.
10662 (rint_upward_test_data): Likewise.
10664 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10665 with OVERFLOW_EXCEPTION.
10666 (exp10_test_data): Likewise.
10667 (exp2_test_data): Likewise.
10668 (expm1_test_data): Likewise.
10669 (lgamma_test_data): Likewise.
10670 (pow_test_data): Likewise.
10671 (tgamma_test_data): Likewise.
10672 (yn_test_data): Remove duplicate test of overflow.
10674 * math/libm-test.inc (struct test_cc_c_data): New type.
10675 (RUN_TEST_LOOP_cc_c): New macro.
10676 (cpow_test_data): New variable.
10677 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10679 * math/libm-test.inc (struct test_f_L_data): New type.
10680 (RUN_TEST_LOOP_f_L): New macro.
10681 (llrint_test_data): New variable.
10682 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10683 (llrint_tonearest_test_data): New variable.
10684 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10685 (llrint_towardzero_test_data): New variable.
10686 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10687 (llrint_downward_test_data): New variable.
10688 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10689 (llrint_upward_test_data): New variable.
10690 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10691 (llround_test_data): New variable.
10692 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10694 2013-05-13 Peter Collingbourne <pcc@google.com>
10696 * math/atest-exp2.c (get_log2): Remove const attribute.
10698 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10700 * math/libm-test.inc (struct test_f_l_data): New type.
10701 (RUN_TEST_LOOP_f_l): New macro.
10702 (lrint_test_data): New variable.
10703 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10704 (lrint_tonearest_test_data): New variable.
10705 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10706 (lrint_towardzero_test_data): New variable.
10707 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10708 (lrint_downward_test_data): New variable.
10709 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10710 (lrint_upward_test_data): New variable.
10711 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10712 (lround_test_data): New variable.
10713 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10715 2013-05-15 Peter Collingbourne <pcc@google.com>
10717 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10718 (EXTRACT_WORDS64) Use where appropriate.
10719 (INSERT_WORDS64) Likewise.
10721 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10722 constraints with x constraints.
10723 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10725 * malloc/obstack.c (_obstack_compat): Add initializer.
10727 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10730 si_trapno and add si_addr_lsb to _sifields.sigfault.
10731 (si_trapno): Remove macro.
10732 (si_addr_lsb): Define new macro.
10733 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10735 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10737 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10738 instead of TEST_f_l.
10739 (llrint_test_tonearest): Likewise.
10740 (llrint_test_towardzero): Likewise.
10741 (llrint_test_downward): Likewise.
10742 (llrint_test_upward): Likewise.
10743 (llround_test): Likewise.
10745 * math/libm-test.inc (struct test_f_i_data): Add comment.
10746 (RUN_TEST_LOOP_f_b): New macro.
10747 (RUN_TEST_LOOP_f_b_tg): Likewise.
10748 (finite_test_data): New variable.
10749 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10750 (isfinite_test_data): New variable.
10751 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10752 (isinf_test_data): New variable.
10753 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10754 (isnan_test_data): New variable.
10755 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10756 (isnormal_test_data): New variable.
10757 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10758 (issignaling_test_data): New variable.
10759 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10760 (signbit_test_data): New variable.
10761 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10763 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10764 with INVALID_EXCEPTION.
10765 (acosh_test_data): Likewise.
10766 (asin_test_data): Likewise.
10767 (atanh_test_data): Likewise.
10768 (fmod_test_data): Likewise.
10769 (log_test_data): Likewise.
10770 (log10_test_data): Likewise.
10771 (log2_test_data): Likewise.
10772 (pow_test_data): Likewise.
10773 (sqrt_test_data): Likewise.
10774 (y0_test_data): Likewise.
10775 (y1_test_data): Likewise.
10776 (yn_test_data): Likewise.
10778 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10781 * math/libm-test.inc (struct test_ff_i_data): New type.
10782 (RUN_TEST_LOOP_ff_i_tg): New macro.
10783 (isgreater_test_data): New variable.
10784 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10785 (isgreaterequal_test_data): New variable.
10786 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10787 (isless_test_data): New variable.
10788 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10789 (islessequal_test_data): New variable.
10790 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10791 (islessgreater_test_data): New variable.
10792 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10793 (isunordered_test_data): New variable.
10794 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10796 2013-05-14 David S. Miller <davem@davemloft.net>
10798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10800 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10802 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10804 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10806 (struct test_f_i_data): Change type of max_ulp to int.
10808 * math/libm-test.inc (test_ffI_f1_data): New type.
10809 (RUN_TEST_LOOP_ffI_f1): New macro.
10810 (remquo_test_data): New variable.
10811 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10813 * setjmp/tst-setjmp-fp.c: New file.
10814 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10815 (link-libm): New variable.
10816 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10818 * math/libm-test.inc (struct test_f_i_data): New type.
10819 (RUN_TEST_LOOP_f_i): New macro.
10820 (RUN_TEST_LOOP_f_i_tg): Likewise.
10821 (fpclassify_test_data): New variable.
10822 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10823 (ilogb_test_data): New variable.
10824 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10826 * math/libm-test.inc (scalbln_test): Correct function name in END
10829 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10830 (RUN_TEST_LOOP_fI_f1): New macro.
10831 (frexp_test_data): New variable.
10832 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10834 * math/libm-test.inc (struct test_fF_f1_data): New type.
10835 (RUN_TEST_LOOP_fF_f1): New macro.
10836 (modf_test_data): New variable.
10837 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10839 * math/libm-test.inc (struct test_f_f1_data): New type.
10840 (RUN_TEST_LOOP_f_f1): New macro.
10841 (gamma_test_data): New variable.
10842 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10843 (lgamma_test_data): New variable.
10844 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10846 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10848 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10849 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10850 (main): Comment "tls" pseudo-hwcap.
10852 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10854 * math/libm-test.inc (struct test_fl_f_data): New type.
10855 (RUN_TEST_LOOP_fl_f): New variable.
10856 (scalbln_test_data): New variable.
10857 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10859 * math/libm-test.inc (struct test_fi_f_data): New type.
10860 (RUN_TEST_LOOP_fi_f): New macro.
10861 (ldexp_test_data): New variable.
10862 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10863 (scalbn_test_data): New variable.
10864 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10866 * math/libm-test.inc (struct test_c_f_data): New type.
10867 (RUN_TEST_LOOP_c_f): New macro.
10868 (cabs_test_data): New variable.
10869 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10870 (carg_test_data): New variable.
10871 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10872 (cimag_test_data): New variable.
10873 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10874 (creal_test_data): New variable.
10875 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10877 * math/libm-test.inc (struct test_if_f_data): New type.
10878 (RUN_TEST_LOOP_if_f): New macro.
10879 (jn_test_data): New variable.
10880 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10881 (yn_test_data): New variable.
10882 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10884 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10886 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10889 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10891 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10893 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10894 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10895 (bench-deps): Add bench-timing.h.
10896 * benchtests-bench-skeleton.c: Include bench-timing.h.
10897 (main): Use TIMING_* macros instead of clock_gettime.
10898 * benchtests/bench-timing.h: New file.
10901 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10902 Renamed from _LIB_VERSION.
10903 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10905 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10907 * math/libm-test.inc (struct test_fff_f_data): New type.
10908 (RUN_TEST_LOOP_fff_f): New macro.
10909 (fma_test_data): New variable.
10910 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10911 (fma_towardzero_test_data): New variable.
10912 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10913 (fma_downward_test_data): New variable.
10914 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10915 (fma_upward_test_data): New variable.
10916 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10918 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10919 (struct test_c_c_data): New type.
10920 (RUN_TEST_LOOP_c_c): New macro.
10921 (cacos_test_data): New variable.
10922 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10923 (cacosh_test_data): New variable.
10924 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10925 (casin_test_data): New variable.
10926 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10927 (casinh_test_data): New variable.
10928 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10929 (catan_test_data): New variable.
10930 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10931 (catanh_test_data): New variable.
10932 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10933 (ccos_test_data): New variable.
10934 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10935 (ccosh_test_data): New variable.
10936 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10937 (cexp_test_data): New variable.
10938 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10939 (clog_test_data): New variable.
10940 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10941 (clog10_test_data): New variable.
10942 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10943 (conj_test_data): New variable.
10944 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10945 (cproj_test_data): New variable.
10946 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10947 (csin_test_data): New variable.
10948 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10949 (csinh_test_data): New variable.
10950 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10951 (csqrt_test_data): New variable.
10952 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10953 (ctan_test_data): New variable.
10954 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10955 (ctan_tonearest_test_data): New variable.
10956 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10957 (ctan_towardzero_test_data): New variable.
10958 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10959 (ctan_downward_test_data): New variable.
10960 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10961 (ctan_upward_test_data): New variable.
10962 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10963 (ctanh_test_data): New variable.
10964 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10965 (ctanh_tonearest_test_data): New variable.
10966 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10967 (ctanh_towardzero_test_data): New variable.
10968 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10969 (ctanh_downward_test_data): New variable.
10970 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10971 (ctanh_upward_test_data): New variable.
10972 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10973 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10976 * math/libm-test.inc (struct test_ff_f_data): New type.
10977 (struct test_ff_f_data_nexttoward): Likewise.
10978 (RUN_TEST_LOOP_2_f): New macro.
10979 (RUN_TEST_LOOP_ff_f): Likewise.
10980 (atan2_test_data): New variable.
10981 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10982 (copysign_test_data): New variable.
10983 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10984 (fdim_test_data): New variable.
10985 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10986 (fmax_test_data): New variable.
10987 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10988 (fmin_test_data): New variable.
10989 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10990 (fmod_test_data): New variable.
10991 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10992 (hypot_test_data): New variable.
10993 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10994 (nextafter_test_data): New variable.
10995 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10996 (nexttoward_test_data): New variable.
10997 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10998 (pow_test_data): New variable.
10999 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11000 (pow_tonearest_test_data): New variable.
11001 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11002 (pow_towardzero_test_data): New variable.
11003 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11004 (pow_downward_test_data): New variable.
11005 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11006 (pow_upward_test_data): New variable.
11007 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11008 (remainder_test_data): New variable.
11009 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11010 (scalb_test_data): New variable.
11011 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11012 * sysdeps/i386/fpu/libm-test-ulps: Update.
11014 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11016 * math/libm-test.inc (fma_test): Use max_value instead of local
11018 (nextafter_test): Likewise.
11020 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11021 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11022 (acos_downward_test_data): New variable.
11023 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11024 (acos_upward_test_data): New variable.
11025 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11026 (acosh_test_data): New variable.
11027 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11028 (asin_test_data): New variable.
11029 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11030 (asin_tonearest_test_data): New variable.
11031 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11032 (asin_towardzero_test_data): New variable.
11033 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11034 (asin_downward_test_data): New variable.
11035 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11036 (asin_upward_test_data): New variable.
11037 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11038 (asinh_test_data): New variable.
11039 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11040 (atan_test_data): New variable.
11041 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11042 (atanh_test_data): New variable.
11043 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11044 (cbrt_test_data): New variable.
11045 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11046 (ceil_test_data): New variable.
11047 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11048 (cos_test_data): New variable.
11049 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11050 (cos_tonearest_test_data): New variable.
11051 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11052 (cos_towardzero_test_data): New variable.
11053 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11054 (cos_downward_test_data): New variable.
11055 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11056 (cos_upward_test_data): New variable.
11057 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11058 (cosh_test_data): New variable.
11059 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11060 (cosh_tonearest_test_data): New variable.
11061 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11062 (cosh_towardzero_test_data): New variable.
11063 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11064 (cosh_downward_test_data): New variable.
11065 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11066 (cosh_upward_test_data): New variable.
11067 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11068 (erf_test_data): New variable.
11069 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11070 (erfc_test_data): New variable.
11071 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11072 (exp_test_data): New variable.
11073 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11074 (exp_tonearest_test_data): New variable.
11075 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11076 (exp_towardzero_test_data): New variable.
11077 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11078 (exp_downward_test_data): New variable.
11079 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11080 (exp_upward_test_data): New variable.
11081 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11082 (exp10_test_data): New variable.
11083 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11084 (exp2_test_data): New variable.
11085 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11086 (expm1_test_data): New variable.
11087 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11088 (fabs_test_data): New variable.
11089 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11090 (floor_test_data): New variable.
11091 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11092 (j0_test_data): New variable.
11093 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11094 (j1_test_data): New variable.
11095 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11096 (log_test_data): New variable.
11097 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11098 (log10_test_data): New variable.
11099 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11100 (log1p_test_data): New variable.
11101 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11102 (log2_test_data): New variable.
11103 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11104 (logb_test_data): New variable.
11105 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11106 (logb_downward_test_data): New variable.
11107 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11108 (nearbyint_test_data): New variable.
11109 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11110 (rint_test_data): New variable.
11111 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11112 (rint_tonearest_test_data): New variable.
11113 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11114 (rint_towardzero_test_data): New variable.
11115 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11116 (rint_downward_test_data): New variable.
11117 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11118 (rint_upward_test_data): New variable.
11119 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11120 (round_test_data): New variable.
11121 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11122 (sin_test_data): New variable.
11123 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11124 (sin_tonearest_test_data): New variable.
11125 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11126 (sin_towardzero_test_data): New variable.
11127 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11128 (sin_downward_test_data): New variable.
11129 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11130 (sin_upward_test_data): New variable.
11131 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11132 (sinh_test_data): New variable.
11133 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11134 (sinh_tonearest_test_data): New variable.
11135 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11136 (sinh_towardzero_test_data): New variable.
11137 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11138 (sinh_downward_test_data): New variable.
11139 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11140 (sinh_upward_test_data): New variable.
11141 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11142 (sqrt_test_data): New variable.
11143 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11144 (tan_test_data): New variable.
11145 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11146 (tan_tonearest_test_data): New variable.
11147 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11148 (tan_towardzero_test_data): New variable.
11149 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11150 (tan_downward_test_data): New variable.
11151 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11152 (tan_upward_test_data): New variable.
11153 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11154 (tanh_test_data): New variable.
11155 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11156 (tgamma_test_data): New variable.
11157 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11158 (trunc_test_data): New variable.
11159 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11160 (y0_test_data): New variable.
11161 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11162 (y1_test_data): New variable.
11163 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11164 (significand_test_data): New variable.
11165 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11167 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11170 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11172 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11174 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11176 2013-05-10 Andreas Jaeger <aj@suse.de>
11179 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11180 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11182 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11184 * math/gen-libm-test.pl (adjust_arg): New function.
11185 (special_functions): Handle generating output in both functions
11187 (parse_args): Likewise.
11188 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11189 $in_func argument to parse_args.
11190 * math/libm-test.inc (struct test_f_f_data): New type.
11191 (IF_ROUND_INIT_): New macro.
11192 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11193 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11194 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11195 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11196 (ROUND_RESTORE_): Likewise.
11197 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11198 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11199 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11200 (ROUND_RESTORE_FE_UPWARD): Likewise.
11201 (RUN_TEST_LOOP_f_f): New macro.
11202 (acos_test_data): New variable.
11203 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11204 (acos_tonearest_test_data): New variable.
11205 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11207 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11209 * benchtests/bench-skeleton.c (startup): Fix coding style.
11211 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11214 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11215 negative infinity argument.
11216 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11217 negative infinity argument.
11218 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11219 negative infinity argument.
11220 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11223 2013-05-10 Florian Weimer <fweimer@redhat.com>
11225 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11226 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11227 * iconv/iconv_prog.c (main): Likewise.
11228 * locale/programs/charmap-dir.c (charmap_readdir)
11229 (fopen_uncompressed): Likewise.
11230 * locale/programs/locfile.c (siblings_uncached)
11231 (write_locale_data): Use lstat64 instead of lstat.
11232 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11235 2013-05-10 Andreas Jaeger <aj@suse.de>
11238 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11240 Include <locale.h>.
11242 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11244 * elf/dl-close.c (_dl_close_worker): Add comments.
11246 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11249 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11251 (__ieee754_rem_pio2l): Update comments.
11254 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11256 (__ieee754_rem_pio2l): Update comments.
11258 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11259 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11261 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11264 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11265 (M_PI_34_LOG10El): Likewise.
11266 (M_PI2_LOG10El): Likewise.
11267 (M_PI4_LOG10El): Likewise.
11268 (M_PI_LOG10El): Likewise.
11270 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11274 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11276 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11277 (MINUS_ZERO_INIT): Likewise.
11278 (PLUS_INFTY_INIT): Likewise.
11279 (MINUS_INFTY_INIT): Likewise.
11280 (QNAN_VALUE_INIT): Likewise.
11281 (MAX_VALUE_INIT): Likewise.
11282 (MIN_VALUE_INIT): Likewise.
11283 (MIN_SUBNORM_VALUE_INIT): Likewise.
11284 (plus_zero): Initialize with PLUS_ZERO_INIT.
11285 (minus_zero): Initialize with MINUS_ZERO_INIT.
11286 (plus_infty): Initialize with PLUS_INFTY_INIT.
11287 (minus_infty): Initialize with MINUS_INFTY_INIT.
11288 (qnan_value): Initialize with QNAN_VALUE_INIT.
11289 (max_value): Initialize with MAX_VALUE_INIT.
11290 (min_value): Initialize with MIN_VALUE_INIT.
11291 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11293 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11294 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11295 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11296 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11298 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11299 (RUN_TEST_2_f): Likewise.
11300 (RUN_TEST_ff_f): Likewise.
11301 (RUN_TEST_fi_f): Likewise.
11302 (RUN_TEST_fl_f): Likewise.
11303 (RUN_TEST_fff_f): Likewise.
11304 (RUN_TEST_c_f): Likewise.
11305 (RUN_TEST_f_f1): Likewise.
11306 (RUN_TEST_fF_f1): Likewise.
11307 (RUN_TEST_fI_f1): Likewise.
11308 (RUN_TEST_ffI_f1): Likewise.
11309 (RUN_TEST_c_c): Likewise.
11310 (RUN_TEST_cc_c): Likewise.
11311 (RUN_TEST_f_i): Likewise.
11312 (RUN_TEST_f_i_tg): Likewise.
11313 (RUN_TEST_ff_i_tg): Likewise.
11314 (RUN_TEST_f_b): Likewise.
11315 (RUN_TEST_f_b_tg): Likewise.
11316 (RUN_TEST_f_l): Likewise.
11317 (RUN_TEST_f_L): Likewise.
11318 (RUN_TEST_sincos): Likewise.
11319 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11320 whether to show exceptions. Do not include ");\n" in return
11322 (special_functions): Output call to RUN_TEST_sincos instead of
11323 check_float calls. Update calls to new_test.
11324 (parse_args): Output call to single RUN_TEST_* macro instead of
11325 check_* calls and other assignments. Update calls to new_test.
11331 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11332 input to result for tgamma overflow.
11333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11334 (gamma_coeff): New variable.
11335 (NCOEFF): New macro.
11336 (gamma_positive): New function.
11337 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11338 underflow here. Use gamma_positive instead of exp (lgamma) for
11340 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11341 (gamma_coeff): New variable.
11342 (NCOEFF): New macro.
11343 (gammaf_positive): New function.
11344 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11345 underflow here. Use gamma_positive instead of exp (lgamma) for
11347 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11348 (gamma_coeff): New variable.
11349 (NCOEFF): New macro.
11350 (gammal_positive): New function.
11351 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11352 underflow here. Use gamma_positive instead of exp (lgamma) for
11354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11355 (gamma_coeff): New variable.
11356 (NCOEFF): New macro.
11357 (gammal_positive): New function.
11358 (__ieee754_gammal_r): Handle positive infinity, overflow and
11359 underflow here. Handle NaN the same as positive infinity. Remove
11360 check x < 0xffffffff for negative integers. Use gamma_positive
11361 instead of exp (lgamma) for other arguments.
11362 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11363 (gamma_coeff): New variable.
11364 (NCOEFF): New macro.
11365 (gammal_positive): New function.
11366 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11367 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11372 * sysdeps/generic/math_private.h (__gamma_productf): New
11374 (__gamma_product): Likewise.
11375 (__gamma_productl): Likewise.
11376 * math/Makefile (libm-calls): Add gamma_product.
11377 * math/libm-test.inc (tgamma_test): Add more tests.
11378 * sysdeps/i386/fpu/libm-test-ulps: Update.
11379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11381 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11383 * benchtests/bench-skeleton.c (main): Preheat CPU.
11385 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11387 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11389 2013-05-07 Roland McGrath <roland@hack.frob.com>
11391 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11392 and _dl_skip_args_internal.
11394 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11396 * manual/message.texi (Message Translation): Talk about users.
11397 Message to key mapping impacts design.
11399 2013-05-06 Roland McGrath <roland@hack.frob.com>
11401 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11403 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11405 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11406 * sysdeps/wordsize-64/glob64.c: ... here.
11408 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11409 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11412 * debug/getlogin_r_chk.c: Moved to ...
11413 * login/getlogin_r_chk.c: ... here.
11414 * debug/Makefile (routines): Move getlogin_r_chk to ...
11415 * login/Makefile (routines): ... here.
11416 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11417 * login/Versions (libc: GLIBC_2.4): ... here.
11419 * io/poll.c (__poll): Renamed from poll.
11420 Add libc_hidden_def.
11421 (poll): Define as weak alias.
11423 * debug/ptsname_r_chk.c: Moved to ...
11424 * login/ptsname_r_chk.c: ... here.
11425 * debug/Makefile (routines): Move ptsname_r_chk to ...
11426 * login/Makefile (routines): ... here.
11427 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11428 * login/Versions (libc: GLIBC_2.4): ... here.
11430 * posix/getlogin.c: Moved to ...
11431 * login/getlogin.c: ... here.
11432 * posix/getlogin_r.c: Moved to ...
11433 * login/getlogin_r.c: ... here.
11434 * posix/getlogin_r.c: Moved to ...
11435 * login/getlogin_r.c: ... here.
11436 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11437 * login/Makefile (routines): ... here.
11438 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11439 * login/Versions (libc: GLIBC_2.0): ... here.
11441 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11442 (setrlimit): Define as weak alias.
11444 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11445 Call __ names for open, ftruncate, and close.
11446 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11447 (truncate): Define as weak alias.
11449 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11451 * math/gen-libm-test.pl (parse_args): Initialize x before each
11452 test of frexp, modf and remquo.
11454 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11455 test signgam value.
11457 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11461 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11463 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11465 2013-05-06 Roland McGrath <roland@hack.frob.com>
11467 * elf/dl-writev.h: New file.
11468 * elf/dl-misc.c: Include it.
11469 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11470 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11472 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11474 * math/libm-test.inc (noXFails): Remove variable.
11475 (noXPasses): Likewise.
11476 (BUILD_COMPLEX_INT): Remove macro.
11477 (print_screen): Remove xfail argument.
11478 (print_screen_max_error): Likewise.
11479 (update_stats): Likewise.
11480 (print_max_error): Likewise. Update calls to other affected
11482 (print_complex_max_error): Likewise.
11483 (test_single_exception): Update calls to print_screen.
11484 (test_single_errno): Likewise.
11485 (check_float_internal): Remove xfail argument. Update calls to
11486 other affected functions.
11487 (check_float): Likewise.
11488 (check_complex): Likewise.
11489 (check_int): Likewise.
11490 (check_long): Likewise.
11491 (check_bool): Likewise.
11492 (check_longlong): Likewise.
11493 (main): Don't print noXFails and noXPasses.
11494 * math/gen-libm-test.pl (top level): Don't mention expected
11495 failure handling in comment.
11496 (new_test): Don't handle expected failures.
11497 (parse_args): Don't mention expected failure handling in comment.
11498 (generate_testfile): Don't handle expected failures.
11499 (parse_ulps): Likewise.
11500 (print_ulps_file): Likewise.
11501 (get_failure): Remove function.
11502 (output_test): Don't handle expected failures.
11503 * make/README.libm-test: Don't mention expected failure handling.
11505 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11506 (minus_zero): Likewise.
11507 (plus_infty): Likewise.
11508 (minus_infty): Likewise.
11509 (qnan_value): Likewise.
11510 (max_value): Likewise.
11511 (min_value): Likewise.
11512 (min_subnorm_value): Likewise.
11513 (initialize): Do not initialize those variables dynamically.
11515 2013-05-03 Roland McGrath <roland@hack.frob.com>
11517 * io/open.c (__open_2): Moved to ...
11518 * io/open_2.c: ... this new file.
11519 * io/open64.c (__open64_2): Moved to ...
11520 * io/open64_2.c: ... this new file.
11521 * io/openat.c (__openat_2): Moved to ...
11522 * io/openat_2.c: ... this new file.
11523 * io/openat64.c (__openat64_2): Moved to ...
11524 * io/openat64_2.c: ... this new file.
11525 * io/Makefile (routines): Add them.
11526 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11527 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11528 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11529 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11530 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11531 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11532 (__openat64): Add hidden_ver.
11533 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11534 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11536 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11537 Separately conditionalize setting of GLRO(dl_sysinfo) so
11538 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11539 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11541 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11543 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11546 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11547 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11548 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11549 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11550 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11552 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11554 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11555 test signgam value.
11557 * math/libm-test.inc (hypot_test): Do not use
11558 IGNORE_ZERO_INF_SIGN.
11560 2013-05-03 Andreas Jaeger <aj@suse.de>
11562 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11565 (PF_MAX): Adjust for VSOCK change.
11567 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11571 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11574 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11575 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11576 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11578 2013-05-02 David S. Miller <davem@davemloft.net>
11580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11582 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11584 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11586 2013-05-01 Roland McGrath <roland@hack.frob.com>
11588 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11590 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11593 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11594 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11595 Use __attribute__ ((__gnu_inline__)).
11596 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11597 Don't use __attribute__ ((__gnu_inline__)).
11599 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11602 * math/s_catan.c (__catan): Handle small real or imaginary part of
11603 input specially to avoid spurious underflow.
11604 * math/s_catanf.c (__catanf): Likewise.
11605 * math/s_catanh.c (__catanh): Likewise.
11606 * math/s_catanhf.c (__catanhf): Likewise.
11607 * math/s_catanhl.c (__catanhl): Likewise.
11608 * math/s_catanl.c (__catanl): Likewise.
11609 * math/libm-test.inc (catan_test): Add more tests.
11610 (catanh_test): Likewise.
11611 * sysdeps/i386/fpu/libm-test-ulps: Update.
11612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11614 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11618 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11621 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11622 accurately for denominator in atan2.
11623 * math/s_catanf.c (__catanf): Likewise.
11624 * math/s_catanh.c (__catanh): Likewise.
11625 * math/s_catanhf.c (__catanhf): Likewise.
11626 * math/s_catanhl.c (__catanhl): Likewise.
11627 * math/s_catanl.c (__catanl): Likewise.
11628 * math/libm-test.inc (catan_test): Add more tests.
11629 (catanh_test): Likewise.
11630 * sysdeps/i386/fpu/libm-test-ulps: Update.
11631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11633 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11635 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11637 * benchtests/Makefile (bench): Remove slow benchmarks.
11638 * benchtests/atan-inputs: Add slow benchmark inputs.
11639 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11640 (BENCH_FUNC): Accept variant offset.
11642 * benchtests/bench-skeleton.c (main): Run benchmark for each
11644 * benchtests/cos-inputs: Add slow benchmark inputs.
11645 * benchtests/exp-inputs: Likewise.
11646 * benchtests/pow-inputs: Likewise.
11647 * benchtests/sin-inputs: Likewise.
11648 * benchtests/slowatan-inputs: Remove.
11649 * benchtests/slowatan.c: Remove.
11650 * benchtests/slowcos-inputs: Remove.
11651 * benchtests/slowcos.c: Remove.
11652 * benchtests/slowexp-inputs: Remove.
11653 * benchtests/slowexp.c: Remove.
11654 * benchtests/slowpow-inputs: Remove.
11655 * benchtests/slowpow.c: Remove.
11656 * benchtests/slowsin-inputs: Remove.
11657 * benchtests/slowsin.c: Remove.
11658 * benchtests/slowtan-inputs: Remove.
11659 * benchtests/slowtan.c: Remove.
11660 * benchtests/tan-inputs: Add slow benchmark inputs.
11661 * scripts/bench.pl: Parse comments and directives.
11663 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11665 ($(objpfx)bench-%.c): Remove *-ITER.
11666 * benchtests/bench-modf.c: Remove definition of ITER.
11667 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11668 (main): Loop for DURATION seconds instead of fixed number of
11670 * scripts/bench.pl: Don't expect iterations in parameters.
11672 2013-04-29 Roland McGrath <roland@hack.frob.com>
11674 * io/fchdir.c (__fchdir): Renamed from fchdir.
11675 (fchdir): Define as weak alias.
11677 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11679 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11680 (ERRNO_EDOM): Likewise.
11681 (ERRNO_ERANGE): Likewise.
11682 (noErrnoTests): New variable.
11683 (init_max_error): Set errno to 0.
11684 (test_single_errno): New function.
11685 (test_errno): Likewise.
11686 (check_float_internal): Call test_errno. Set errno to 0.
11687 (check_complex): Refer to errno tests in comment.
11688 (check_int): Call test_errno. Set errno to 0.
11689 (check_long): Likewise.
11690 (check_bool): Likewise.
11691 (check_longlong): Likewise.
11692 (cos_test): Use ERRNO_* flags for errno tests instead of
11694 (expm1_test): Likewise.
11695 (fmod_test): Likewise.
11696 (ilogb_test): Likewise.
11697 (lgamma_test): Likewise.
11698 (pow_test): Likewise.
11699 (remainder_test): Likewise.
11700 (sin_test): Likewise.
11701 (tan_test): Likewise.
11702 (yn_test): Likewise.
11703 (initialize): Set errno to 0.
11704 (main): Print number of errno tests.
11705 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11707 2013-04-29 Andreas Jaeger <aj@suse.de>
11710 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11714 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11715 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11719 * stdlib/random.c (__initstate): Return NULL if
11723 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11724 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11727 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11731 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11733 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11734 of individual tests.
11735 (casin_test): Likewise.
11736 (casinh_test): Likewise.
11738 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11741 * math/s_catan.c (__catan): Handle arguments with large real or
11742 imaginary part separately without squaring.
11743 * math/s_catanf.c (__catanf): Likewise.
11744 * math/s_catanh.c (__catanh): Likewise.
11745 * math/s_catanhf.c (__catanhf): Likewise.
11746 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11748 (__catanhl): Handle arguments with large real or imaginary part
11749 separately without squaring.
11750 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11752 (__catanl): Handle arguments with large real or imaginary part
11753 separately without squaring.
11754 * math/libm-test.inc (catan_test): Add more tests.
11755 (catanh_test): Likewise.
11756 * sysdeps/i386/fpu/libm-test-ulps: Update.
11757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11759 2013-04-27 Andreas Jaeger <aj@suse.de>
11762 * stdlib/stdlib.h: Update guards for qecvt.
11763 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11766 2013-04-27 Allan McRae <allan@archlinux.org>
11768 * sysdeps/i386/fpu/libm-test-ulps: Update.
11770 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11773 * math/s_catan.c: Include <float.h>.
11774 (__catan): Ensure underflow exception occurs for underflowed
11776 * math/s_catanf.c: Include <float.h>.
11777 (__catanf): Ensure underflow exception occurs for underflowed
11779 * math/s_catanh.c: Include <float.h>.
11780 (__catanh): Ensure underflow exception occurs for underflowed
11782 * math/s_catanhf.c: Include <float.h>.
11783 (__catanhf): Ensure underflow exception occurs for underflowed
11785 * math/s_catanhl.c: Include <float.h>.
11786 (__catanhl): Ensure underflow exception occurs for underflowed
11788 * math/s_catanl.c: Include <float.h>.
11789 (__catanl): Ensure underflow exception occurs for underflowed
11791 * math/libm-test.inc (catan_test): Add more tests.
11792 (catanh_test): Likewise.
11795 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11796 underflowed result.
11797 * math/s_ccoshf.c (__ccoshf): Likewise.
11798 * math/s_ccoshl.c (__ccoshl): Likewise.
11799 * math/s_csin.c (__csin): Likewise.
11800 * math/s_csinf.c (__csinf): Likewise.
11801 * math/s_csinh.c (__csinh): Likewise.
11802 * math/s_csinhf.c (__csinhf): Likewise.
11803 * math/s_csinhl.c (__csinhl): Likewise.
11804 * math/s_csinl.c (__csinl): Likewise.
11805 * math/libm-test.inc (ccos_test): Add more tests.
11806 (ccosh_test): Likewise.
11807 (csin_test): Likewise.
11808 (csinh_test): Likewise.
11810 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11812 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11813 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11814 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11815 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11816 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11817 powerpc/power5+/fpu folders.
11818 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11821 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11825 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11827 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11828 additions to variable.
11829 [$(config-machine) = x86_64] (modules-names): Likewise.
11830 ($(objpfx)tst-audit3): Remove dependency.
11831 ($(objpfx)tst-audit3.out): Likewise.
11832 ($(objpfx)tst-audit4): Likewise.
11833 ($(objpfx)tst-audit4.out): Likewise.
11834 ($(objpfx)tst-audit5): Likewise.
11835 ($(objpfx)tst-audit5.out): Likewise.
11836 ($(objpfx)tst-audit6): Likewise.
11837 ($(objpfx)tst-audit6.out): Likewise.
11838 ($(objpfx)tst-audit7): Likewise.
11839 ($(objpfx)tst-audit7.out): Likewise.
11840 (tst-audit3-ENV): Remove variable.
11841 (tst-audit4-ENV): Likewise.
11842 (tst-audit5-ENV): Likewise.
11843 (tst-audit6-ENV): Likewise.
11844 (tst-audit7-ENV): Likewise.
11845 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11846 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11847 addition to variable.
11848 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11849 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11850 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11851 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11852 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11853 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11854 tst-audit3, tst-audit4 and tst-audit5.
11855 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11856 tst-audit6 and tst-audit7.
11857 [$(subdir) = elf] (modules-names): Add audit modules for those
11859 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11860 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11861 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11862 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11863 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11864 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11865 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11866 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11867 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11868 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11869 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11870 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11871 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11872 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11873 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11874 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11876 [$(subdir) = elf && $(config-cflags-avx) = yes]
11877 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11878 [$(subdir) = elf && $(config-cflags-avx) = yes]
11879 (CFLAGS-tst-auditmod4a.c): Likewise.
11880 [$(subdir) = elf && $(config-cflags-avx) = yes]
11881 (CFLAGS-tst-auditmod4b.c): Likewise.
11882 [$(subdir) = elf && $(config-cflags-avx) = yes]
11883 (CFLAGS-tst-auditmod6b.c): Likewise.
11884 [$(subdir) = elf && $(config-cflags-avx) = yes]
11885 (CFLAGS-tst-auditmod6c.c): Likewise.
11886 [$(subdir) = elf && $(config-cflags-avx) = yes]
11887 (CFLAGS-tst-auditmod7b.c): Likewise.
11888 * elf/tst-audit3.c: Move to ...
11889 * sysdeps/x86_64/tst-audit3.c: ... here.
11890 * elf/tst-audit4.c: Move to ...
11891 * sysdeps/x86_64/tst-audit4.c: ... here.
11892 * elf/tst-audit5.c: Move to ...
11893 * sysdeps/x86_64/tst-audit5.c: ... here.
11894 * elf/tst-audit6.c: Move to ...
11895 * sysdeps/x86_64/tst-audit6.c: ... here.
11896 * elf/tst-audit7.c: Move to ...
11897 * sysdeps/x86_64/tst-audit7.c: ... here.
11898 * elf/tst-auditmod3a.c: Move to ...
11899 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11900 * elf/tst-auditmod3b.c: Move to ...
11901 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11902 * elf/tst-auditmod4a.c: Move to ...
11903 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11904 * elf/tst-auditmod4b.c: Move to ...
11905 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11906 * elf/tst-auditmod5a.c: Move to ...
11907 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11908 * elf/tst-auditmod5b.c: Move to ...
11909 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11910 * elf/tst-auditmod6a.c: Move to ...
11911 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11912 * elf/tst-auditmod6b.c: Move to ...
11913 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11914 * elf/tst-auditmod6c.c: Move to ...
11915 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11916 * elf/tst-auditmod7a.c: Move to ...
11917 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11918 * elf/tst-auditmod7b.c: Move to ...
11919 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11921 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11924 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11925 define unconditionally.
11926 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11927 define unconditionally.
11928 (INT8_C, INT16_C, etc.): Likewise.
11930 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11932 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11933 __ehdr_start with hidden visibility.
11935 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11937 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11939 * math/libm-test.inc (cos_test): Use accurate hex constants.
11940 (sincost_test): Likewise.
11942 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11944 * math/libm-test.inc (catan_test): Add more tests.
11945 (catanh_test): Likewise.
11947 * math/s_catanf.c (__catanf): Use suffixed floating-point
11949 * math/s_catanhf.c (__catanhf): Likewise.
11950 * math/s_catanhl.c (__catanhl): Likewise.
11951 * math/s_catanl.c (__catanl): Likewise.
11954 * math/s_catan.c (__catan): Calculate imaginary part of result
11955 with log1p not log unless computing log of number close to 0.
11956 * math/s_catanf.c (__catanf): Likewise.
11957 * math/s_catanl.c (__catanl): Likewise.
11958 * math/s_catanh.c (__catanh): Calculate real part of result with
11959 log1p not log unless computing log of number close to 0.
11960 * math/s_catanhf.c (__catanhf): Likewise.
11961 * math/s_catanhl.c (__catanhl): Likewise.
11962 * math/libm-test.inc (catan_test): Add more tests.
11963 (catanh_test): Likewise.
11964 * sysdeps/i386/fpu/libm-test-ulps: Update.
11965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11967 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 * benchtests/Makefile: Mention files in which fast and slow
11970 paths of math functions are implemented.
11972 2013-04-23 Roland McGrath <roland@hack.frob.com>
11974 * sysdeps/posix/timespec_get.c: New file.
11976 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11978 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11980 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11982 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11983 powerpc/power5/fpu folders.
11984 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11985 * benchtests/Makefile: Add modf testcase.
11986 * benchtests/bench-modf.c: New file: Benchmark test for mo
11988 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11991 * time/Makefile (tests): Add tst-strptime-whitespace.
11992 * time/strptime_l.c (get_number): Use ISSPACE.
11993 (__strptime_internal): Likewise.
11994 * time/tst-strptime-whitespace.c: New test case.
11996 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11998 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12000 (_nss_files_init): Set it here.
12002 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12004 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12005 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12008 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12010 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12012 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12017 2013-04-21 David S. Miller <davem@davemloft.net>
12019 * po/ru.po: Update Russion translation from translation project.
12021 2013-04-17 Adam Conrad <adconrad@0c3.net>
12023 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12026 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12028 * configure.in: Remove i386 configure warning. Remove i386 case.
12029 * configure: Regenerate.
12030 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12031 Add example to error message.
12032 * sysdeps/i386/configure: Regenerate.
12034 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12036 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12038 * benchtests/cos-inputs: New file.
12039 * benchtests/slowcos-inputs: New file.
12040 * benchtests/slowcos.c: New file.
12041 * benchtests/slowtan-inputs: New file.
12042 * benchtests/slowtan.c: New file.
12043 * benchtests/tan-inputs: New file.
12045 2013-04-16 Roland McGrath <roland@hack.frob.com>
12047 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12050 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12052 * benchtests/Makefile: Include cppflags-iterator.mk to add
12053 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12055 * Makefile.in (bench-clean): New target.
12056 * benchtests/Makefile (bench-clean): Likewise.
12058 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12060 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12062 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12064 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12066 2013-04-15 Andreas Schwab <schwab@suse.de>
12068 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12070 * nscd/pwdcache.c (cache_addpw): Likewise.
12071 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12074 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12076 * benchtests/Makefile (bench): Write all output to
12077 bench-out.tmp together.
12079 2013-04-15 Andreas Schwab <schwab@suse.de>
12081 * nscd/nscd.c (main): Don't fork again after closing files.
12083 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12085 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12087 * benchtests/Rules (bench-deps): Collect dependencies into a
12088 single variable. Add Makefile to dependencies.
12089 ($(objpfx)bench-%.c): Depend on bench-deps.
12091 2013-04-12 Roland McGrath <roland@hack.frob.com>
12092 Xavier Roche <roche+kml2@exalead.com>
12095 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12096 just that it's a file descriptor.
12097 * manual/llio.texi (Synchronizing AIO Operations): Update description
12098 for EBADF error from aio_fsync.
12100 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 * Rules (bench): Move target definition...
12103 * benchtests/Makefile: ... here.
12105 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12107 * math/libm-test.inc (cos_test): Fix PI/2 test.
12108 (sincos_test): Likewise.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12110 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12112 2013-04-11 Andreas Schwab <schwab@suse.de>
12115 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12116 accept exponent character only when digits were seen.
12117 * stdio-common/Makefile (tests): Add bug26.
12118 * stdio-common/bug26.c: New file.
12121 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12124 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12126 * Makeconfig (rtld-prefix): Define built linker prefix.
12127 * Rules (run-bench): Use it.
12128 * math/Makefile (run-regen-ulps): Likewise.
12130 * Rules (bench): Remove eval.
12132 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12133 Roland McGrath <roland@hack.frob.com>
12134 Ondrej Bilka <neleai@seznam.cz>
12137 * time/getdate.c: Include ctype.h and alloca.h.
12138 (__getdate_r): Trim leading and trailing spaces of input.
12139 * time/tst-getdate.c (tests): Add tests with leading and
12142 2013-04-08 Roland McGrath <roland@hack.frob.com>
12145 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12146 when computing value.
12148 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12150 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12151 Use testrun.sh to run libm tests.
12154 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12156 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12159 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12161 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12163 * Makefile.in (regen-ulps): New target.
12164 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12165 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12166 [ifneq (no,$(PERL)] (regen-ulps): New target.
12167 [ifeq (no,$(PERL)] (regen-ulps): New target.
12168 * math/libm-test.inc (ulps_file_name): Define.
12169 (output_dir): New variable.
12170 (options): Add "output-dir" option.
12171 (parse_opt): Handle 'o' case.
12172 (main): If output_dir is non-NULL use it as a prefix
12174 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12176 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12178 [BZ #10060, #10062]
12179 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12180 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12181 fail configure if __sync_val_compare_and_swap is not inlined.
12182 * sysdeps/i386/configure: Regenerate.
12183 * configure.in: Build for i686 when configured for i386.
12184 * configure: Regenerate.
12185 * README: Remove i386 reference.
12187 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12189 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12190 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12192 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12194 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12195 (lmsnanval): New variables.
12196 (F): Add conversion tests.
12197 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12198 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12200 * stdio-common/tstdiomisc.c (F): Properly collect individual
12203 [BZ #14686, #15336]
12204 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12205 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12206 Instead, use input NaN values or generate a qNaN by arithmetic
12207 operation. Also fix bugs to comply with the standard.
12208 * math/libm-test.inc (remainder_test): Add more tests.
12210 [BZ #15335, #15342]
12211 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12213 input NaN values or generate a qNaN by arithmetic operation.
12215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12218 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12221 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12224 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12225 underflowed result.
12226 * math/s_cexpf.c (__cexpf): Likewise.
12227 * math/s_cexpl.c (__cexpl): Likewise.
12228 * math/libm-test.inc (cexp_test): Add more tests.
12230 2013-04-03 Andreas Schwab <schwab@suse.de>
12233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12234 order arrays from heap if bigger than alloca cutoff.
12236 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12238 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12239 (SNAN_TESTS_double): Refer to GCC PR56831.
12240 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12243 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12245 * Rules (bench): Move bench.out after the run is complete.
12247 * Rules (bench): Echo currently running benchmark.
12249 * benchtests/Makefile (bench): Add atan and slowatan.
12250 * benchtests/atan-inputs: New file.
12251 * benchtests/slowatan-inputs: New file.
12252 * benchtests/slowatan.c: New file.
12254 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12259 * sysdeps/unix/sysv/linux/kernel-features.h
12260 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12261 __ASSUME_XFS_RESTRICTED_CHOWN.
12262 * sysdeps/unix/sysv/linux/pathconf.c
12263 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12264 Save and restore errno.
12266 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12269 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12270 arguments using __kernel_casinh.
12271 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12272 arguments using __kernel_casinhf.
12273 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12274 arguments using __kernel_casinhl.
12275 * math/libm-test.inc (cacosh_test): Add more tests.
12276 * sysdeps/i386/fpu/libm-test-ulps: Update.
12277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12279 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12281 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12284 * bench/Makefile (bench): Add sin and slowsin.
12285 * benchtests/sin-inputs: New file.
12286 * benchtests/slowsin-inputs: New file.
12287 * benchtests/slowsin.c: New file.
12289 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12290 (bench): Add slowexp and slowpow.
12291 (exp-ITER): Increase iterations.
12292 (pow-ITER): Likewise.
12293 * benchtests/exp-inputs: Change input.
12294 * benchtests/pow-inputs: Likewise.
12295 * benchtests/slowexp-inputs: New file.
12296 * benchtests/slowexp.c: New file.
12297 * benchtests/slowpow-inputs: New file.
12298 * benchtests/slowpow.c: New file.
12300 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12302 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12304 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12305 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12306 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12307 * benchtests/Makefile: Add rint benchtest.
12308 * benchtests/rint-inputs: Input for rint benchtest.
12310 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12312 * Versions.def (libm): Add GLIBC_2.18.
12313 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12314 hidden libm prototypes.
12315 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12316 * math/Makefile (libm-calls): Add s_issignaling.
12317 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12318 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12319 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12321 * math/math.h [__USE_GNU] (issignaling): New macro.
12322 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12323 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12328 * manual/arith.texi (issignaling): New section.
12329 * manual/libm-err-tab.pl (@all_functions): Update comment.
12330 * math/gen-libm-test.pl (parse_args): Apply special handling for
12332 * math/libm-test.inc (print_float, issignaling_test): New
12334 (check_float_internal): Add issignaling checks.
12335 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12336 default definition.
12337 * sysdeps/powerpc/math-tests.h: New file.
12338 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12340 * math/test-snan.c (TEST_FUNC): Likewise.
12342 2013-03-30 David S. Miller <davem@davemloft.net>
12344 * po/de.po: Update from translation team.
12346 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12349 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12350 imaginary part less than 1.0 and real part less than 0.5
12352 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12353 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12354 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12355 (cacos_test): Add more tests.
12356 (casin_test): Likewise.
12357 (casinh_test): Likewise.
12358 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12361 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12363 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12364 ONE with its value.
12366 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12367 (__pow_mp): Replace ONE and MONE with their values.
12368 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12371 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12372 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12375 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12377 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12378 (__pow_mp): Replace ZERO and MZERO with their values.
12379 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12380 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12381 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12383 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12384 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12387 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12389 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12391 2013-03-28 Roland McGrath <roland@hack.frob.com>
12393 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12394 Declare with __attribute__ ((weak)).
12395 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12396 Call __call_tls_dtors only if it's not NULL.
12398 2013-03-28 Roland McGrath <roland@hack.frob.com>
12400 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12401 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12402 magic __ehdr_start linker symbol if it's defined.
12403 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12404 them up here if it was already done.
12406 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12407 (_dl_aux_init): Use const in cast when setting it.
12408 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12409 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12410 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12412 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12414 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12415 * csu/libc-tls.c: Nor here.
12416 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12418 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12419 (__libc_message): Never call vsyslog.
12421 2013-03-28 Alan Modra <amodra@gmail.com>
12423 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12425 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12428 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12431 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12435 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12438 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12439 Don't add gid passed as argument.
12441 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12443 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12446 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12447 imaginary part between 1.0 and 1.5 and real part less than 0.5
12449 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12450 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12451 * math/libm-test.inc (cacos_test): Add more tests.
12452 (casin_test): Likewise.
12453 (casinh_test): Likewise.
12454 * sysdeps/i386/fpu/libm-test-ulps: Update.
12455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12457 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12459 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12462 (denorm): Likewise.
12463 (__dbl_mp): Likewise.
12464 (add_magnitudes): Likewise.
12465 (sub_magnitudes): Likewise.
12473 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12475 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12476 (__dubcos): Likewise.
12477 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12478 (__ieee754_acos): Likewise.
12479 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12480 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12481 (__exp1): Likewise.
12482 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12485 (my_log2): Likewise.
12486 (checkint): Likewise.
12487 * sysdeps/ieee754/dbl-64/e_remainder.c
12488 (__ieee754_remainder): Likewise.
12489 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12491 (bsloww): Likewise.
12492 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12494 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12496 MANTISSA_STORE_T to store computations on mantissa. Use
12497 macros for rounding and division.
12498 (denorm): Likewise.
12499 (__dbl_mp): Likewise.
12500 (add_magnitudes): Likewise.
12501 (sub_magnitudes): Likewise.
12504 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12505 powers of two in terms of TWOPOW macro.
12506 (mp_no): Make type of mantissa as MANTISSA_T.
12507 [!RADIXI]: Define RADIXI.
12508 [!TWO52]: Define TWO52.
12509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12511 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12513 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12514 llroundl symbol when building for PPC32.
12516 2013-03-24 Mark H Weaver <mhw@netris.org>
12518 * manual/arith.texi (Normalization Functions): Fix prototypes for
12519 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12521 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12525 high value to check if expl overflow.
12526 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12527 to check for underflow and overflow.
12528 * math/libm-test.inc: Add exp test.
12530 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12533 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12536 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12538 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12541 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12543 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12544 wrap blocks consisting of several statements.
12546 * sysdeps/generic/math-tests.h: New file.
12547 * sysdeps/i386/fpu/math-tests.h: Likewise.
12548 * math/test-snan.c: Include it.
12549 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12551 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12554 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12555 (__ieee754_j0l): Do not improve calculations using cos of twice
12556 input for inputs above LDBL_MAX / 2.0L.
12557 (__ieee754_y0l): Likewise.
12558 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12559 (__ieee754_j1l): Do not improve calculations using cos of twice
12560 input for inputs above LDBL_MAX / 2.0L.
12561 (__ieee754_y1l): Likewise.
12562 * math/libm-test.inc (j0_test): Add another test.
12563 (j1_test): Likewise.
12564 (y0_test): Likewise.
12565 (y1_test): Likewise.
12566 * sysdeps/i386/fpu/libm-test-ulps: Update.
12568 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12570 * Rules ($(objpfx)bench-%.c): Include code from a C source
12573 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12576 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12577 imaginary part 1.0 and real part less than 0.5 specially.
12578 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12579 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12580 * math/libm-test.inc (cacos_test): Add more tests.
12581 (casin_test): Likewise.
12582 (casinh_test): Likewise.
12583 * sysdeps/i386/fpu/libm-test-ulps: Update.
12584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12586 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12588 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12589 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12591 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12593 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12594 * config.make.in (config-cflags-sse4): Remove variable.
12595 (config-cflags-avx): Likewise.
12596 (config-cflags-sse2avx): Likewise.
12597 (config-cflags-novzeroupper): Likewise.
12598 (config-asflags-i686): Likewise.
12599 (have-mfma4): Likewise.
12600 (have-as-vis3): Likewise.
12602 * configure.in (MIG): Do not AC_SUBST.
12603 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12604 (libc_cv_cc_sse4): Do not AC_SUBST.
12605 (libc_cv_cc_avx): Likewise.
12606 (libc_cv_cc_sse2avx): Likewise.
12607 (libc_cv_cc_novzeroupper): Likewise.
12608 (libc_cv_cc_fma4): Likewise.
12609 (libc_cv_as_i686): Likewise.
12610 (libc_cv_sparc_as_vis3): Likewise.
12611 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12613 (config-asflags-i686): Likewise.
12614 (config-cflags-avx): Likewise.
12615 (config-cflags-sse2avx): Likewise.
12616 (have-mfma4): Likewise.
12617 (config-cflags-novzeroupper): Likewise.
12618 * sysdeps/mach/configure.in (MIG): Likewise.
12619 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12620 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12622 (config-cflags-avx): Likewise.
12623 (config-cflags-sse2avx): Likewise.
12624 (have-mfma4): Likewise.
12625 (config-cflags-novzeroupper): Likewise.
12626 * configure: Regenerated.
12627 * sysdeps/i386/configure: Likewise.
12628 * sysdeps/mach/configure: Likewise.
12629 * sysdeps/sparc/configure: Likewise.
12630 * sysdeps/x86_64/configure: Likewise.
12632 2013-03-20 Roland McGrath <roland@hack.frob.com>
12635 * locale/programs/localedef.c (options): Put N_ translation marker
12636 on argument names, not just descriptions.
12638 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12640 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12642 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12645 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12647 2013-03-19 Roland McGrath <roland@hack.frob.com>
12649 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12650 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12651 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12652 [!BEFORE_ABORT] (before_abort): New function.
12653 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12654 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12655 (writev_for_fatal): New function.
12656 (WRITEV_FOR_FATAL): New macro; call that.
12657 (backtrace_and_maps): New function.
12658 (BEFORE_ABORT): New macro; call that.
12659 (struct str_list): Type removed.
12660 (__libc_message, __libc_fatal): Functions removed.
12661 Include <sysdeps/posix/libc_fatal.c> instead.
12663 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12665 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12667 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12670 2013-03-19 Andreas Schwab <schwab@suse.de>
12672 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12673 * sysdeps/gnu/configure: Regenerate.
12675 * configure.in: Substitute libc_cv_rtlddir.
12676 * configure: Regenerate.
12677 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12678 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12679 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12680 * elf/Makefile (install-others, CFLAGS-interp.c)
12681 (ldso_install, common-ldd-rewrite): Likewise.
12682 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12683 $(inst_slibdir)/$(rtld-installed-name).
12684 * scripts/rellns-sh: Add -p option.
12685 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12688 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12690 * manual/nptl.texi: Renamed to ...
12691 * manual/threads.texi: ... this.
12692 * manual/Makefile (chapters): Update.
12694 2013-03-18 Roland McGrath <roland@hack.frob.com>
12697 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12698 on argument names, not just descriptions.
12699 * malloc/memusagestat.c (options): Likewise.
12700 * nss/getent.c (options): Likewise.
12702 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12705 * iconv/iconv_prog.c (options): Put N_ translation marker
12706 on argument names, not just descriptions.
12707 * iconv/iconvconfig.c (options): Likewise.
12709 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12711 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12712 implementation which is faster on all x86_64 architectures.
12713 Tested on AMD, Intel Nehalem, SNB, IVB.
12714 * sysdeps/x86_64/strnlen.S: Likewise.
12716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12717 Remove all multiarch strlen and strnlen versions.
12718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12719 Remove strlen and strnlen related parts.
12721 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12722 Inline strlen part.
12723 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12725 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12726 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12727 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12728 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12729 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12730 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12732 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12734 * manual/memory.texi (Malloc Tunable Parameters):
12735 Sort parameters alphabetically. Add comments for missing entries.
12737 2013-03-17 David S. Miller <davem@davemloft.net>
12739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12741 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12744 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12745 for arguments at most half maximum finite value.
12746 * math/libm-test.inc (j0_test): Add more tests.
12747 (j1_test): Likewise.
12748 (y0_test): Likewise.
12749 (y1_test): Likewise.
12750 * sysdeps/i386/fpu/libm-test-ulps: Update.
12751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12754 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12755 1 / x and functions P and Q for arguments above 0x1p256L.
12756 (__ieee754_y0l): Likewise.
12757 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12758 (__ieee754_y1l): Likewise.
12759 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12760 (j1_test): Likewise.
12761 (y0_test): Likewise.
12762 (y1_test): Likewise.
12764 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12766 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12769 2013-03-15 Roland McGrath <roland@hack.frob.com>
12771 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12772 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12773 zero since it's initialized to EXEC_PAGESIZE.
12775 * sysdeps/unix/sysv/linux/ldsodefs.h
12776 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12777 * sysdeps/generic/ldsodefs.h: ... here.
12779 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12781 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12783 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12785 * math/test-snan.c: Renamed from
12786 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12787 * math/Makefile (tests): Add test-snan.
12788 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12791 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12792 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12794 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12795 __builtin_nan family of functions.
12796 * math/libm-test.inc (initialize): Initialize qnan_value with
12797 __builtin_nan family of functions.
12798 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12800 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12802 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12803 storage class. Initialize qNaN_var and sNaN_var with
12804 __builtin_nan and __builtin_nans families of functions,
12807 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12808 (sqrt_test): Remove duplicate test with qNaN input.
12809 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12810 (round_test, signbit_test, significand_test): Note missing +/-Inf
12811 as well as qNaN tests.
12813 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12814 qNaN_var. Fix a few strings, too.
12815 * math/libm-test.inc (nan_value): Rename to qnan_value.
12816 * math/gen-libm-test.pl (%beautify): Adjust to that.
12817 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12818 * math/test-misc.c (main): Likewise.
12819 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12820 to __qnan_bytes, and __qnan_union, respectively.
12821 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12823 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12824 and lqnanval, respectively.
12825 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12826 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12827 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12828 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12830 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12831 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12834 * math/test-misc.c (main): Fix copy'n'pastos.
12835 * misc/tst-efgcvt.c (special): Likewise.
12837 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12838 Remove declarations.
12840 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12843 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12844 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12845 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12847 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12850 macro to return vdso values correctly in IFUNC implementations.
12851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12852 Optimization by using IFUNC.
12854 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12855 Richard Henderson <rth@redhat.com>
12856 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12858 * Makefile.in (bench): New target.
12859 * NEWS: Mention the benchmark framework.
12860 * Rules (bench): Likewise.
12861 (binaries-bench): Generate binaries for functions to
12863 * benchtests/Makefile: New makefile for benchmark tests.
12864 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12866 * benchtests/exp-inputs: New input file for EXP function.
12867 * benchtests/pow-inputs: New input file for POW function.
12868 * scripts/bench.pl: New script to generate source files for
12869 benchmark programs.
12871 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12873 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12875 computations on mantissa. Use macros for rounding and
12877 (denorm): Likewise.
12878 (__dbl_mp): Likewise.
12879 (add_magnitudes): Likewise.
12880 (sub_magnitudes): Likewise.
12883 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12884 powers of two in terms of TWOPOW macro.
12885 (mp_no): Make type of mantissa as MANTISSA_T.
12886 [!RADIXI]: Define RADIXI.
12887 [!TWO52]: Define TWO52.
12888 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12890 * manual/nptl.texi (cindex): Modify threads to pthreads.
12892 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12894 * sysdeps/x86_64/preconfigure: Regenerated.
12896 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12899 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12901 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12902 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12904 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12905 * math/libm-test.inc (j0_test): Do not allow one spurious
12906 underflow exception.
12907 (y1_test): Likewise.
12909 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12911 * manual/Makefile (chapters): Add nptl.
12912 * manual/debug.texi (Debugging Support): Add link to Threads
12914 * manual/nptl.texi: New file.
12916 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12918 2013-03-14 Petr Baudis <pasky@ucw.cz>
12920 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12921 for non-NULL pointer before the memory validity test. Pointed
12922 out by Holger Brunck <holger.brunck@keymile.com>.
12924 2013-03-13 Andreas Schwab <schwab@suse.de>
12926 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12929 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12931 * timezone/zic.c: Update from tzcode 2013b.
12933 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12935 * manual/install.texi (Configuring and compiling):
12936 Mention i686 and i586.
12937 * INSTALL: Regenerate.
12939 2013-03-12 Roland McGrath <roland@hack.frob.com>
12941 * sysdeps/init_array/elf-init.c: New file.
12943 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12944 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12946 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12947 __gmon_start__ as global, but as static with a .preinit_array pointer.
12948 * sysdeps/init_array/gmon-start.c: New file. Use that.
12949 * sysdeps/init_array/crti.S: New file, empty except for comments.
12950 * sysdeps/init_array/crtn.S: Likewise.
12952 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12954 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12957 Remove Prefer_SSE_for_memop.
12958 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12959 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12960 HAS_PREFER_SSE_FOR_MEMOP.
12961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12964 Remove bzero, memset ifunc support.
12965 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12966 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12967 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12968 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12970 2013-03-11 Andreas Schwab <schwab@suse.de>
12973 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12976 (GLIBC_2.16): Remove pthread_atfork.
12978 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12980 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12981 (ptestcases.h): Likewise.
12983 2013-03-08 Roland McGrath <roland@hack.frob.com>
12985 * Makeconfig ($(common-objpfx)config.status): Depend on
12986 sysdeps/*/preconfigure{,.in} too.
12988 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12990 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12991 (__free_hook): Use void * instead of __malloc_ptr_t.
12992 (__malloc_hook): Likewise.
12993 (__realloc_hook): Likewise.
12994 (__memalign_hook): Likewise.
12995 (__after_morecore_hook): Likewise.
12996 * malloc/arena.c (save_malloc_hook): Likewise.
12997 (save_free_hook): Likewise.
12998 * malloc/hooks.c (malloc_hook_ini): Likewise.
12999 (realloc_hook_ini): Likewise.
13000 (memalign_hook_ini): Likewise.
13001 * malloc/malloc.c (malloc_hook_ini): Likewise.
13002 (realloc_hook_ini): Likewise.
13003 (memalign_hook_ini): Likewise.
13004 (__free_hook): Likewise.
13005 (__malloc_hook): Likewise.
13006 (__realloc_hook): Likewise.
13007 (__memalign_hook): Likewise.
13008 (__libc_malloc): Likewise.
13009 (__libc_free): Likewise.
13010 (__libc_realloc): Likewise.
13011 (__libc_memalign): Likewise.
13012 (__libc_valloc): Likewise.
13013 (__libc_pvalloc): Likewise.
13014 (__libc_calloc): Likewise.
13015 (__posix_memalign): Likewise.
13016 * malloc/morecore.c (__sbrk): Likewise.
13017 (__default_morecore): Likewise.
13019 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13021 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13022 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13023 __malloc_ptrdiff_t.
13025 * malloc/malloc.h (__malloc_size_t): Remove macro.
13026 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13028 (old_memalign_hook): Likewise.
13029 (old_realloc_hook): Likewise.
13030 (struct hdr): Likewise.
13032 (mallochook): Likewise.
13033 (memalignhook): Likewise.
13034 (reallochook): Likewise.
13035 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13036 (tr_old_realloc_hook): Likewise.
13037 (tr_old_memalign_hook): Likewise.
13038 (tr_mallochook): Likewise.
13039 (tr_reallochook): Likewise.
13040 (tr_memalignhook): Likewise.
13042 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13044 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13045 default_ldbl_pack and using as default implementation.
13046 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13048 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13049 redundant definition.
13050 (ldbl_insert_mantissa): Likewise.
13051 (ldbl_canonicalize): Likewise.
13052 (ldbl_nearbyint): Likewise.
13053 (ldbl_pack): Rename to ldbl_pack_ppc.
13054 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13055 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13056 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13058 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13061 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13062 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13063 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13066 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13067 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13069 2013-03-07 Andreas Jaeger <aj@suse.de>
13071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13074 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13076 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13077 Include mpa.h and declare __MPEXP.
13078 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13079 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13080 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13082 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13083 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13084 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13086 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13087 (__slowpow): Use long double EXPL and LOGL functions to
13089 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13090 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13092 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13093 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13097 intermediate variable to calculate exponent.
13099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13103 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13104 [!NO__SQR]: Define __sqr.
13105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13106 and NO__SQR. Remove all code except __mul and __sqr. Include
13107 sysdeps/ieee754/dbl-64/mpa.c.
13108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13111 * posix/Makefile (tests): Add tst-pathconf.
13112 * posix/tst-pathconf.c: New test case.
13113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13115 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13117 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13119 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13121 2013-03-06 Andreas Jaeger <aj@suse.de>
13123 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13124 definition via __MAP_ANONYMOUS.
13126 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13127 it's not part of Linux headers.
13129 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13130 (MAP_HUGE_MASK): Define.
13132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13134 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13137 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13138 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13140 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13143 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13145 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13146 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13147 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13148 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13149 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13150 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13152 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13155 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13156 Handle f2fs and efivarfs.
13158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13161 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13162 (EFIVARFS_MAGIC): Add.
13163 (F2FS_LINK_MAX): Add.
13165 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13167 * stdio-common/vfprintf.c: Replace __builtin_expect with
13170 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13173 * sysdeps/generic/bp-sym.h: Remove file.
13174 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13175 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13176 <bp-sym.h> and <bp-asm.h>.
13177 (__longjmp): Don't use BP_SYM.
13178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13180 (memcpy): Don't use BP_SYM.
13181 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13182 <bp-sym.h> and <bp-asm.h>.
13183 (memcpy): Don't use BP_SYM.
13184 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13186 (memcpy): Don't use BP_SYM.
13187 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13189 (memset): Don't use BP_SYM.
13190 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13191 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13192 (__bzero): Don't use BP_SYM.
13193 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13194 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13196 <bp-sym.h> and <bp-asm.h>.
13197 (memcmp): Don't use BP_SYM. Remove comment about bounded
13199 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13200 <bp-sym.h> and <bp-asm.h>.
13201 (memcpy): Don't use BP_SYM.
13202 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13203 <bp-sym.h> and <bp-asm.h>.
13204 (memset): Don't use BP_SYM.
13205 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13206 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13207 (__bzero): Don't use BP_SYM.
13208 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13209 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13211 <bp-sym.h> and <bp-asm.h>.
13212 (strncmp): Don't use BP_SYM. Remove comment about bounded
13214 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13215 <bp-sym.h> and <bp-asm.h>.
13216 (memcpy): Don't use BP_SYM.
13217 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13218 <bp-sym.h> and <bp-asm.h>.
13219 (memset): Don't use BP_SYM.
13220 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13221 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13222 (__bzero): Don't use BP_SYM.
13223 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13224 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13226 <bp-sym.h> and <bp-asm.h>.
13227 (__memchr): Don't use BP_SYM.
13228 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13229 <bp-sym.h> and <bp-asm.h>.
13230 (memcmp): Don't use BP_SYM. Remove comment about bounded
13232 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13233 <bp-sym.h> and <bp-asm.h>.
13234 (memcpy): Don't use BP_SYM.
13235 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13236 <bp-sym.h> and <bp-asm.h>.
13237 (__mempcpy): Don't use BP_SYM.
13238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13239 <bp-sym.h> and <bp-asm.h>.
13240 (__memrchr): Don't use BP_SYM.
13241 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13242 <bp-sym.h> and <bp-asm.h>.
13243 (memset): Don't use BP_SYM.
13244 (__bzero): Likewise.
13245 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13246 <bp-sym.h> and <bp-asm.h>.
13247 (__rawmemchr): Don't use BP_SYM.
13248 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13249 <bp-sym.h> and <bp-asm.h>.
13250 (__STRCMP): Don't use BP_SYM.
13251 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13252 <bp-sym.h> and <bp-asm.h>.
13253 (strchr): Don't use BP_SYM.
13254 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13255 <bp-sym.h> and <bp-asm.h>.
13256 (__strchrnul): Don't use BP_SYM.
13257 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13258 <bp-sym.h> and <bp-asm.h>.
13259 (strlen): Don't use BP_SYM.
13260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13261 <bp-sym.h> and <bp-asm.h>.
13262 (strncmp): Don't use BP_SYM. Remove comment about bounded
13264 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13265 <bp-sym.h> and <bp-asm.h>.
13266 (__strnlen): Don't use BP_SYM.
13267 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13268 <bp-sym.h> and <bp-asm.h>.
13269 (__GI__setjmp): Don't use BP_SYM.
13270 (_setjmp): Likewise.
13271 (__sigsetjmp): Likewise.
13272 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13273 (L(start_addresses)): Don't use BP_SYM.
13274 (_start): Likewise.
13275 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13277 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13278 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13279 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13280 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13281 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13283 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13284 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13285 about bounded pointers.
13286 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13287 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13288 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13290 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13291 about bounded pointers. Remove GKM FIXME comments.
13292 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13293 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13295 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13296 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13297 Remove GKM FIXME comments.
13298 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13299 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13300 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13302 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13303 about bounded pointers. Remove GKM FIXME comment.
13304 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13306 (strncmp): Don't use BP_SYM. Remove comment about bounded
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13309 <bp-sym.h> and <bp-asm.h>.
13310 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13312 <bp-sym.h> and <bp-asm.h>.
13313 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13316 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13318 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13321 2013-03-05 David S. Miller <davem@davemloft.net>
13323 * po/es.po: Update from translation team.
13325 2013-03-05 Andreas Jaeger <aj@suse.de>
13327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13328 <bits/mman-linux.h>.
13329 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13331 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13332 <bits/mman-linux.h> to end of file.
13333 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13335 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13336 <bits/mman-linux.h> to end of file.
13337 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13340 <bits/mman-linux.h> to end of file.
13342 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13343 (MCL_CURRENT, MCL_FUTURE): Define here.
13345 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13352 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13355 fourth parameter needed for rt_sigprocmask syscall.
13356 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13357 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13358 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13359 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13360 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13361 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13363 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13366 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13367 comment about bounded pointers.
13368 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13369 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13371 2013-03-04 Andreas Jaeger <aj@suse.de>
13373 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13374 common definitions.
13376 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13377 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13378 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13379 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13381 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13383 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13386 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13387 __ieee754_sqrl instead of __sqrl.
13389 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13391 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13392 * sysdeps/powerpc/fpu_control.h: ... here.
13393 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13394 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13395 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13396 * sysdeps/powerpc/bits/mathinline.h: ... here.
13398 2013-03-01 Roland McGrath <roland@hack.frob.com>
13400 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13401 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13402 to just [NEED_DL_SYSINFO_DSO].
13403 * elf/dl-support.c: Likewise.
13404 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13405 * elf/rtld.c (dl_main): Likewise.
13406 * elf/setup-vdso.h (setup_vdso): Likewise.
13407 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13408 * sysdeps/unix/sysv/linux/dl-sysdep.c
13409 (_dl_discover_osversion): Likewise.
13411 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13413 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13414 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13416 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13418 * NEWS: Mention libm performance improvements and non-x86 PI
13421 * csu/libc-start.c (__pthread_initialize_minimal): Change
13422 function arguments.
13423 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13425 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13428 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13429 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13430 <bp-sym.h> and <bp-asm.h>.
13431 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13434 (memcpy): Don't use BP_SYM.
13435 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13437 (__mpn_add_n): Don't use BP_SYM.
13438 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13439 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13441 (__mpn_addmul_1): Don't use BP_SYM.
13442 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13443 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13445 (_setjmp): Don't use BP_SYM.
13446 (__novmx_setjmp): Likewise.
13447 (__GI__setjmp): Likewise.
13448 (__vmx_setjmp): Likewise.
13449 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13451 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13452 (__bzero): Don't use BP_SYM.
13453 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13454 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13455 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13456 <bp-sym.h> and <bp-asm.h>.
13457 (memcpy): Don't use BP_SYM.
13458 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13459 <bp-sym.h> and <bp-asm.h>.
13460 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13462 <bp-sym.h> and <bp-asm.h>.
13463 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13464 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13466 (__mpn_lshift): Don't use BP_SYM.
13467 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13468 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13470 (memset): Don't use BP_SYM.
13471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13473 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13475 (__mpn_mul_1): Don't use BP_SYM.
13476 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13478 <bp-sym.h> and <bp-asm.h>.
13479 (memcmp): Don't use BP_SYM.
13480 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13481 <bp-sym.h> and <bp-asm.h>.
13482 (memcpy): Don't use BP_SYM.
13483 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13484 <bp-sym.h> and <bp-asm.h>.
13485 (memset): Don't use BP_SYM.
13486 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13487 <bp-sym.h> and <bp-asm.h>.
13488 (strncmp): Don't use BP_SYM.
13489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13490 <bp-sym.h> and <bp-asm.h>.
13491 (memcpy): Don't use BP_SYM.
13492 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13493 <bp-sym.h> and <bp-asm.h>.
13494 (memset): Don't use BP_SYM.
13495 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13496 <bp-sym.h> and <bp-asm.h>.
13497 (__memchr): Don't use BP_SYM.
13498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13499 <bp-sym.h> and <bp-asm.h>.
13500 (memcmp): Don't use BP_SYM.
13501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13502 <bp-sym.h> and <bp-asm.h>.
13503 (memcpy): Don't use BP_SYM.
13504 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13505 <bp-sym.h> and <bp-asm.h>.
13506 (__mempcpy): Don't use BP_SYM.
13507 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13508 <bp-sym.h> and <bp-asm.h>.
13509 (__memrchr): Don't use BP_SYM.
13510 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13511 <bp-sym.h> and <bp-asm.h>.
13512 (memset): Don't use BP_SYM.
13513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13514 <bp-sym.h> and <bp-asm.h>.
13515 (__rawmemchr): Don't use BP_SYM.
13516 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13517 <bp-sym.h> and <bp-asm.h>.
13518 (__STRCMP): Don't use BP_SYM.
13519 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13520 <bp-sym.h> and <bp-asm.h>.
13521 (strchr): Don't use BP_SYM.
13522 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13523 <bp-sym.h> and <bp-asm.h>.
13524 (__strchrnul): Don't use BP_SYM.
13525 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13526 <bp-sym.h> and <bp-asm.h>.
13527 (strlen): Don't use BP_SYM.
13528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13529 <bp-sym.h> and <bp-asm.h>.
13530 (strncmp): Don't use BP_SYM.
13531 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13532 <bp-sym.h> and <bp-asm.h>.
13533 (__strnlen): Don't use BP_SYM.
13534 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13536 (__mpn_rshift): Don't use BP_SYM.
13537 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13538 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13539 <bp-sym.h> and <bp-asm.h>.
13540 (__sigsetjmp): Don't use BP_SYM.
13541 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13542 (L(start_addresses)): Don't use BP_SYM.
13543 (_start): Likewise.
13544 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13546 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13547 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13548 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13549 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13551 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13552 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13553 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13554 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13556 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13558 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13559 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13561 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13563 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13564 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13565 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13567 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13569 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13571 (strncmp): Don't use BP_SYM,
13572 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13574 (__mpn_sub_n): Don't use BP_SYM.
13575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13576 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13578 (__mpn_submul_1): Don't use BP_SYM.
13579 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13581 <bp-sym.h> and <bp-asm.h>.
13582 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13584 <bp-sym.h> and <bp-asm.h>.
13585 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13588 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13591 Use ZK to minimize writes to Z.
13592 (sub_magnitudes): Simplify code a bit.
13593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13594 Use ZK to minimize writes to Z.
13595 (sub_magnitudes): Simplify code a bit.
13597 2013-02-27 Roland McGrath <roland@hack.frob.com>
13599 * csu/gmon-start.c: Add special exception to license text.
13601 2013-02-27 Richard Henderson <rth@redhat.com>
13603 * scripts/config.guess: Update from config.git.
13604 * scripts/config.sub: Likewise.
13606 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13608 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13610 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13612 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13614 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13616 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13618 2013-02-26 Roland McGrath <roland@hack.frob.com>
13620 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13621 [$(build-shared = yes].
13623 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13625 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13626 (__mul): Reduce iterations for calculating mantissa.
13628 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13630 (__mpranred): Likewise.
13633 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13634 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13636 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13638 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13639 Define __attribute__.
13641 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13643 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13645 * posix/regex_internal.h (__attribute): Remove.
13646 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13647 (re_string_context_at): Likewise.
13648 (bitset_not): Use __attribute__ and mark function as possibly
13650 (bitset_merge): Likewise.
13651 (bitset_mask): Likewise.
13652 (re_string_char_size_at): Likewise.
13653 (re_string_wchar_at): Likewise.
13654 (re_string_elem_size_at): Likewise.
13656 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13658 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13662 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13666 (denorm): Likewise.
13667 (__dbl_mp): Likewise.
13668 (add_magnitudes): Likewise.
13669 (sub_magnitudes): Likewise.
13673 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13676 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13679 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13683 up changes with default code.
13684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13687 2013-02-24 Allan McRae <allan@archlinux.org>
13689 * manual/socket.texi (The Internet Namespace): Order menu items
13690 to match that in the file.
13692 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13693 node listing of the info page menu.
13695 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13698 * sysdeps/i386/bp-asm.h: Remove file.
13699 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13700 (PARMS): Do not use macros from bp-asm.h.
13704 (__mpn_add_n): Do not use BP_SYM
13705 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13707 (PARMS): Do not use macros from bp-asm.h.
13710 (__mpn_addmul_1): Do not use BP_SYM
13711 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13713 (PARMS): Do not use macros from bp-asm.h.
13714 (SIGMSK): Likewise.
13715 (_setjmp): Likewise. Do not use BP_SYM.
13716 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13718 (PARMS): Do not use macros from bp-asm.h.
13719 (SIGMSK): Likewise.
13720 (setjmp): Likewise. Do not use BP_SYM.
13721 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13723 (PARMS): Do not use macros from bp-asm.h.
13724 (__frexp): Do not use BP_SYM.
13726 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13728 (PARMS): Do not use macros from bp-asm.h.
13729 (__frexpf): Do not use BP_SYM.
13730 (frexpf): Likewise.
13731 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13733 (PARMS): Do not use macros from bp-asm.h.
13734 (__frexpl): Do not use BP_SYM.
13735 (frexpl): Likewise.
13736 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13738 (PARMS): Do not use macros from bp-asm.h.
13739 (__remquo): Do not use BP_SYM.
13740 (remquo): Likewise.
13741 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13743 (PARMS): Do not use macros from bp-asm.h.
13744 (__remquof): Do not use BP_SYM.
13745 (remquof): Likewise.
13746 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13748 (PARMS): Do not use macros from bp-asm.h.
13749 (__remquol): Do not use BP_SYM.
13750 (remquol): Likewise.
13751 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13753 (PARMS): Do not use macros from bp-asm.h.
13756 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13757 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13759 (PARMS): Do not use macros from bp-asm.h.
13760 (strlen): Do not use BP_SYM.
13761 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13763 (PARMS): Do not use macros from bp-asm.h.
13767 (__mpn_add_n): Do not use BP_SYM.
13768 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13770 (PARMS): Do not use macros from bp-asm.h.
13773 (__mpn_addmul_1): Do not use BP_SYM.
13774 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13777 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13779 (PARMS): Do not use macros from bp-asm.h.
13782 (__mpn_lshift): Do not use BP_SYM.
13783 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13785 (PARMS): Do not use macros from bp-asm.h.
13789 (memcpy): Likewise. Do not use BP_SYM.
13790 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13791 libc_hidden_def and weak_alias.
13792 (mempcpy): Do not use BP_SYM in weak_alias.
13793 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13795 (PARMS): Do not use macros from bp-asm.h.
13798 [!BZERO_P] (CHR): Likewise.
13799 (memset): Likewise. Do not use BP_SYM.
13800 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13802 (PARMS): Do not use macros from bp-asm.h.
13805 (__mpn_mul_1): Do not use BP_SYM.
13806 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13808 (PARMS): Do not use macros from bp-asm.h.
13811 (__mpn_rshift): Do not use BP_SYM.
13812 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13814 (PARMS): Do not use macros from bp-asm.h.
13817 (strchr): Likewise. Do not use BP_SYM.
13818 (index): Do not use BP_SYM in weak_alias.
13819 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13821 (PARMS): Do not use macros from bp-asm.h.
13824 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13825 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13827 (PARMS): Do not use macros from bp-asm.h.
13828 (strlen): Do not use BP_SYM.
13829 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13831 (PARMS): Do not use macros from bp-asm.h.
13835 (__mpn_sub_n): Do not use BP_SYM.
13836 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13838 (PARMS): Do not use macros from bp-asm.h.
13841 (__mpn_submul_1): Do not use BP_SYM.
13842 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13844 (PARMS): Do not use macros from bp-asm.h.
13848 (__mpn_add_n): Do not use BP_SYM.
13849 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13852 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13854 (PARMS): Do not use macros from bp-asm.h.
13857 (memcmp): Do not use BP_SYM.
13858 (bcmp): Do not use BP_SYM in weak_alias.
13859 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13861 (PARMS): Do not use macros from bp-asm.h.
13865 (memcpy): Likewise. Do not use BP_SYM.
13866 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13868 (PARMS): Do not use macros from bp-asm.h.
13872 (memmove): Likewise. Do not use BP_SYM.
13873 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13875 (PARMS): Do not use macros from bp-asm.h.
13879 (__mempcpy): Likewise. Do not use BP_SYM.
13880 (mempcpy): Do not use BP_SYM in weak_alias.
13881 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13883 (PARMS): Do not use macros from bp-asm.h.
13886 [!BZERO_P] (CHR): Likewise.
13887 (memset): Likewise. Do not use BP_SYM.
13888 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13890 (PARMS): Do not use macros from bp-asm.h.
13892 (strcmp): Do not use BP_SYM.
13893 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13895 (PARMS): Do not use macros from bp-asm.h.
13898 [USE_AS_STRTOK_R] (SAVE): Likewise.
13899 (FUNCTION): Likewise. Do not use BP_SYM.
13900 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13902 (strtok_r): Likewise.
13903 (__GI___strtok_r): Likewise.
13904 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13905 (PARMS): Do not use macros from bp-asm.h.
13908 (__mpn_lshift): Do not use BP_SYM.
13909 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13910 (PARMS): Do not use macros from bp-asm.h.
13913 (__memchr): Do not use BP_SYM.
13914 (memchr): Do not use BP_SYM in weak_alias.
13915 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13916 (PARMS): Do not use macros from bp-asm.h.
13919 (memcmp): Do not use BP_SYM.
13920 (bcmp): Do not use BP_SYM in weak_alias.
13921 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13922 (PARMS): Do not use macros from bp-asm.h.
13925 (__mpn_mul_1): Do not use BP_SYM.
13926 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13928 (PARMS): Do not use macros from bp-asm.h.
13931 (__rawmemchr): Do not use BP_SYM.
13932 (rawmemchr): Do not use BP_SYM in weak_alias.
13933 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13934 (PARMS): Do not use macros from bp-asm.h.
13937 (__mpn_rshift): Do not use BP_SYM.
13938 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13939 (PARMS): Do not use macros from bp-asm.h.
13940 (SIGMSK): Likewise.
13941 (__sigsetjmp): Likewise. Do not use BP_SYM.
13942 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13943 (_start): Do not use BP_SYM.
13944 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13945 (PARMS): Do not use macros from bp-asm.h.
13948 (__stpcpy): Likewise. Do not use BP_SYM.
13949 (stpcpy): Do not use BP_SYM in weak_alias.
13950 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13952 (PARMS): Do not use macros from bp-asm.h.
13956 (__stpncpy): Likewise. Do not use BP_SYM.
13957 (stpncpy): Do not use BP_SYM in weak_alias.
13958 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13959 (PARMS): Do not use macros from bp-asm.h.
13962 (strchr): Likewise. Do not use BP_SYM.
13963 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13965 (PARMS): Do not use macros from bp-asm.h.
13968 (__strchrnul): Likewise. Do not use BP_SYM.
13969 (strchrnul): Do not use BP_SYM in weak_alias.
13970 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13972 (PARMS): Do not use macros from bp-asm.h.
13974 (strcspn): Do not use BP_SYM.
13975 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13977 (PARMS): Do not use macros from bp-asm.h.
13980 (strpbrk): Likewise. Do not use BP_SYM.
13981 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13983 (PARMS): Do not use macros from bp-asm.h.
13986 (strrchr): Likewise. Do not use BP_SYM.
13987 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13988 (PARMS): Do not use macros from bp-asm.h.
13990 (strspn): Do not use BP_SYM.
13991 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13992 (PARMS): Do not use macros from bp-asm.h.
13996 (FUNCTION): Likewise. Do not use BP_SYM.
13997 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13999 (strtok_r): Likewise.
14000 (__GI___strtok_r): Likewise.
14001 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14002 (PARMS): Do not use macros from bp-asm.h.
14006 (__mpn_sub_n): Do not use BP_SYM.
14007 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14009 (PARMS): Do not use macros from bp-asm.h.
14012 (__mpn_submul_1): Do not use BP_SYM.
14013 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14015 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14017 (PARMS): Do not use macros from bp-asm.h.
14022 (__clone): Do not use BP_SYM.
14023 (clone): Do not use BP_SYM in weak_alias.
14024 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14026 (PARMS): Do not use macros from bp-asm.h.
14028 (__mmap64): Do not use BP_SYM.
14029 (mmap64): Do not use BP_SYM in weak_alias.
14030 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14031 <bp-sym.h> and <bp-asm.h>.
14032 (PARMS): Do not use macros from bp-asm.h.
14033 (__posix_fadvise64_l64): Do not use BP_SYM.
14034 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14035 (PARMS): Do not use macros from bp-asm.h.
14037 (semtimedop): Do not use BP_SYM.
14038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14041 2013-02-21 Allan McRae <allan@archlinux.org>
14043 * manual/message.texi (Charset conversion in gettext):
14044 Move @end statement to beginning of line.
14046 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14053 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14054 (denorm): Likewise.
14055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14058 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14060 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14061 tail-call to the resolved function if pltexit isn't needed.
14063 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14066 or Y being zero as being unlikely.
14067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14070 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14072 * manual/nss.texi (System Databases and Name Service Switch):
14073 Remove frobnicate @pxref.
14075 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14077 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14078 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14080 2013-02-20 Petr Machata <pmachata@redhat.com>
14082 * elf/elf.h (R_ARM_TARGET1): New macro.
14083 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14084 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14085 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14086 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14087 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14088 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14089 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14090 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14091 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14092 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14093 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14094 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14095 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14096 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14097 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14098 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14099 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14100 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14101 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14102 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14103 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14104 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14105 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14106 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14107 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14108 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14109 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14110 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14111 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14112 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14113 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14114 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14115 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14116 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14117 (R_ARM_THM_GOT_BREL12): Likewise.
14118 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14119 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14120 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14121 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14122 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14123 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14124 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14125 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14126 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14128 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14130 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14131 __attribute_used__ to __attribute__ ((unused)).
14133 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14135 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14138 comment formatting.
14139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14141 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14144 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14146 (ENTER): Remove both macro definitions.
14148 (CHECK_BOUNDS_LOW): Likewise.
14149 (CHECK_BOUNDS_HIGH): Likewise.
14150 (CHECK_BOUNDS_BOTH): Likewise.
14151 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14152 (RETURN_BOUNDED_POINTER): Likewise.
14153 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14154 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14155 (POP_ERRNO_LOCATION_RETURN): Likewise.
14156 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14157 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14158 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14160 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14161 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14162 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14163 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14164 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14165 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14166 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14167 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14168 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14169 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14170 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14171 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14172 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14173 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14175 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14176 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14178 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14179 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14180 * sysdeps/i386/i586/memset.S (memset): Likewise.
14181 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14182 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14183 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14185 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14186 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14187 Change uses of L(2) to L(out).
14188 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14189 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14190 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14191 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14192 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14194 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14195 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14197 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14198 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14199 (RETURN): Do not use macro LEAVE.
14200 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14201 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14202 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14203 * sysdeps/i386/i686/memset.S (memset): Likewise.
14204 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14205 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14207 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14209 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14210 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14211 L(1_2) and L(1_3) into L(1).
14212 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14213 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14214 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14215 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14216 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14217 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14218 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14219 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14220 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14222 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14223 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14224 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14225 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14226 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14227 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14228 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14229 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14230 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14231 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14232 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14233 * sysdeps/i386/strspn.S (strspn): Likewise.
14234 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14236 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14237 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14238 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14239 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14240 L(1_3) into L(1_1).
14241 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14242 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14243 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14245 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14247 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14249 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14252 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14254 * math/atest-exp.c (exp_mpn): Remove ROUND.
14255 * math/atest-exp2.c (exp_mpn): Likewise.
14256 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14258 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14259 * stdlib/tst-tls-atexit-lib.c: Likewise.
14260 * stdlib/tst-tls-atexit.c: Likewise.
14262 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14264 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14265 and __attribute_alloc_size__.
14267 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14269 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14270 __attribute_alloc_size__.
14271 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14272 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14274 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14276 * include/programs/xmalloc.h: New file.
14277 * catgets/gencat.c: Include it.
14278 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14279 * elf/pldd.c: Likewise.
14280 * iconv/iconv_charmap.c: Likewise.
14281 * iconv/iconvconfig.c: Likewise.
14282 * iconv/strtab.c: Likewise.
14283 * locale/programs/locale.c: Likewise.
14284 * locale/programs/localedef.h: Likewise.
14285 * locale/programs/simple-hash.c: Likewise.
14286 * nscd/nscd.h: Likewise.
14287 * nss/makedb.c: Likewise.
14288 * sysdeps/generic/ldconfig.h: Likewise.
14290 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14292 * Versions.def: Add GLIBC_2.18.
14293 * include/link.h (struct link_map): New member l_tls_dtor_count.
14294 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14295 (__call_tls_dtors): Likewise.
14296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14297 __cxa_thread_atexit_impl.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14314 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14315 (tests): Add test case tst-tls-atexit.
14316 (modules-names): Add shared library for tst-tls-atexit.
14317 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14318 (GLIBC_PRIVATE): Add __call_tls_dtors.
14319 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14321 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14322 * stdlib/tst-tls-atexit.c: New test case.
14323 * stdlib/tst-tls-atexit-lib.c: New test case.
14325 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14327 * elf/Versions (ld): Add _dl_find_dso_for_object.
14328 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14329 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14330 (dl_open_worker): Use _dl_find_dso_for_object.
14331 * elf/dl-sym.c (do_sym): Likewise.
14332 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14334 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14336 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14337 Syntactic changes only.
14338 (_dl_runtime_profile): Do a tail-call to the resolved function.
14340 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14343 * sysdeps/x86_64/bp-asm.h: Remove file.
14344 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14345 <bp-sym.h> and <bp-asm.h>.
14346 (__clone): Do not use BP_SYM.
14347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14348 <bp-sym.h> and <bp-asm.h>.
14349 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14350 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14352 (_setjmp): Do not use BP_SYM.
14353 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14355 (setjmp): Do not use BP_SYM.
14356 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14358 (mempcpy): Do not use BP_SYM in weak_alias.
14359 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14361 (strchr): Do not use BP_SYM.
14362 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14364 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14365 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14366 (_start): Do not use BP_SYM.
14367 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14369 (strcat): Do not use BP_SYM.
14370 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14372 (STRCMP): Do not use BP_SYM.
14373 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14375 (STRCPY): Do not use BP_SYM.
14376 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14378 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14380 (FUNCTION): Do not use BP_SYM.
14381 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14383 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14385 2013-02-17 Andreas Jaeger <aj@suse.de>
14387 * time/Versions: Sort entries.
14388 * string/Versions: Likewise.
14389 * resolv/Versions: Likewise.
14390 * posix/Versions: Likewise.
14391 * iconv/Versions: Likewise.
14392 * elf/Versions: Likewise.
14393 * wcsmbs/Versions: Likewise.
14395 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14397 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14398 loop termination condition.
14400 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14401 variable to calculate EZ.
14404 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14405 the lower precision input.
14407 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14410 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14411 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14412 (run-via-rtld-prefix): Do not handle %-bp tests.
14413 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14414 (all-object-suffixes): Remove .ob.
14415 (bppfx): Remove variable.
14416 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14417 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14418 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14419 [$(build-bounded) = yes] (libtype.ob): Likewise.
14420 * Makerules (elide-routines.ob): Remove variable.
14421 (do-tests-clean): Do not handle *-bp.out.
14422 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14423 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14424 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14425 (tests): Do not include $(tests-bp.out).
14426 (xtests): Do not include $(xtests-bp.out).
14427 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14428 [$(build-bounded) = yes] ($(addprefix
14429 $(objpfx),$(binaries-bounded))): Remove rule.
14430 ($(objpfx)%-bp.out): Remove rule.
14431 * config.make.in (build-bounded): Remove variable.
14432 * crypt/Makefile [$(build-bounded) = yes]
14433 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14434 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14435 append to variable.
14436 [$(build-bounded) = yes] (install-lib): Likewise.
14437 [$(build-bounded) = yes] (generated): Likewise.
14438 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14440 * intl/Makefile [$(build-bounded) = yes]
14441 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14442 * math/Makefile [$(build-bounded) = yes]
14443 ($(tests:%=$(objpfx)%-bp): Likewise.
14444 * misc/Makefile [$(build-bounded) = yes]
14445 ($(objpfx)tst-tsearch-bp): Likewise.
14446 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14447 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14449 * string/Makefile (o-objects.ob): Remove variable.
14450 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14451 (CFLAGS-.ob): Remove variable.
14452 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14453 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14454 both definitions of variable.
14455 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14456 (ASFLAGS-.ob): Remove variable.
14458 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14461 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14462 Remove __BOUNDED_POINTERS__ from condition.
14463 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14464 * string/bits/string2.h [!__NO_STRING_INLINES &&
14465 !__BOUNDED_POINTERS__]: Likewise.
14466 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14468 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14469 Remove conditional code.
14470 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14471 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14472 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14476 * csu/libc-start.c: Do not include <bp-sym.h>.
14477 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14478 * elf/dl-open.c: Do not include <bp-sym.h>.
14479 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14480 * math/fegetenv.c: Do not include <bp-sym.h>.
14481 (fegetenv): Do not use BP_SYM in versioned symbols.
14482 * nptl/sysdeps/pthread/bits/libc-lockP.h
14483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14486 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14488 (__pthread_mutex_destroy): Likewise.
14489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14490 (__pthread_mutex_lock): Likewise.
14491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14492 (__pthread_mutex_trylock): Likewise.
14493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14494 (__pthread_mutex_unlock): Likewise.
14495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14496 (__pthread_mutexattr_init): Likewise.
14497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14498 (__pthread_mutexattr_destroy): Likewise.
14499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14500 (__pthread_mutexattr_settype): Likewise.
14501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14502 (__pthread_rwlock_init): Likewise.
14503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14504 (__pthread_rwlock_destroy): Likewise.
14505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14506 (__pthread_rwlock_rdlock): Likewise.
14507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14508 (__pthread_rwlock_tryrdlock): Likewise.
14509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14510 (__pthread_rwlock_wrlock): Likewise.
14511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14512 (__pthread_rwlock_trywrlock): Likewise.
14513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14514 (__pthread_rwlock_unlock): Likewise.
14515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14516 (__pthread_key_create): Likewise.
14517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14518 (__pthread_setspecific): Likewise.
14519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14520 (__pthread_getspecific): Likewise.
14521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14524 (_pthread_cleanup_push_defer): Likewise.
14525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14526 (_pthread_cleanup_pop_restore): Likewise.
14527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14528 (pthread_setcancelstate): Likewise.
14529 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14531 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14532 (memchr): Do not use BP_SYM in weak_alias.
14533 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14534 (fegetenv): Do not use BP_SYM in versioned symbols.
14535 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14536 (fesetenv): Do not use BP_SYM in versioned symbols.
14537 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14538 (feupdateenv): Do not use BP_SYM in versioned symbols.
14539 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14540 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14541 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14542 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14543 (open64): Do not use BP_SYM in weak_alias.
14544 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14545 (fegetenv): Do not use BP_SYM in versioned symbols.
14546 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14547 (fesetenv): Do not use BP_SYM in versioned symbols.
14548 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14549 (feupdateenv): Do not use BP_SYM in versioned symbols.
14550 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14551 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14552 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14553 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14554 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14555 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14556 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14558 (__libc_start_main): Do not use BP_SYM.
14560 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14563 redundant return line.
14565 (denorm): Likewise.
14566 (dbl_mp): Likewise.
14567 (sub_magnitudes): Likewise.
14573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14575 (denorm): Likewise.
14576 (dbl_mp): Likewise.
14577 (sub_magnitudes): Likewise.
14584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14586 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14587 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14590 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14591 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14593 of __mul for squares.
14594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14598 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14599 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14601 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14604 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14606 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14607 prototype or function definition. Rename ubp_* variables and
14608 parameters. Remove argv definitions conditional on
14609 [__BOUNDED_POINTERS__].
14610 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14611 * elf/dl-runtime.c (_dl_fixup): Likewise.
14612 * include/set-hooks.h (RUN_HOOK): Likewise.
14613 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14615 * string/strcpy.c (strcpy): Do not use __unbounded.
14616 * sysdeps/generic/frame.h (struct layout): Likewise.
14617 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14618 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14619 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14620 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14621 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14622 (__backtrace): Likewise.
14623 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14625 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14626 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14627 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14629 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14630 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14631 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14632 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14633 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14634 Do not use __unbounded.
14635 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14636 Rename __unboundedrlimits parameter to rlimits in prototype.
14637 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14638 Do not use __unbounded.
14639 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14640 not use __ptrvalue.
14641 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14642 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14643 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14644 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14645 __ptrvalue or __unbounded.
14646 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14647 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14649 (__new_msgctl): Do not use __ptrvalue.
14650 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14652 (__libc_msgrcv): Do not use __ptrvalue.
14653 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14654 startup_info): Do not use __unbounded.
14655 (__libc_start_main): Likewise. Rename ubp_* variables and
14656 parameters. Remove argv definitions conditional on
14657 [__BOUNDED_POINTERS__].
14658 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14660 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14662 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14664 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14666 (__new_shmctl): Do not use __ptrvalue.
14667 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14668 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14670 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14672 (__libc_sigaction): Likewise.
14673 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14674 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14676 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14678 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14680 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14682 * string/mempcpy.c: Implement by calling memcpy.
14684 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14686 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14691 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14692 values in the mantissa.
14694 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14695 minimize writes to Z.
14696 (sub_magnitudes): Simplify code a bit.
14698 2013-02-12 Roland McGrath <roland@hack.frob.com>
14700 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14701 from the message. The linker prefixes all warnings with that already.
14703 2013-02-12 Andreas Schwab <schwab@suse.de>
14706 * posix/regexec.c (extend_buffers): Add parameter min_len.
14707 (check_matching): Pass minimum needed length.
14708 (clean_state_log_if_needed): Likewise.
14709 (get_subexp): Likewise.
14710 * posix/Makefile (tests): Add bug-regex34.
14711 (bug-regex34-ENV): Define.
14712 * posix/bug-regex34.c: New file.
14715 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14716 elements compare against the byte sequence of it, not its name.
14717 * posix/Makefile (tests): Add bug-regex35.
14718 (bug-regex35-ENV): Define.
14719 * posix/bug-regex35.c: New file.
14721 2013-02-11 Tom de Vries <tom@codesourcery.com>
14723 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14725 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14726 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14727 (CHECK_EOL): Add undef.
14729 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14731 * bits/stdlib-bsearch.h: New file.
14732 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14733 * stdlib/stdlib.h: Likewise.
14735 2013-02-11 Roland McGrath <roland@hack.frob.com>
14737 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14738 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14740 * manual/search.texi (Array Search Function): Add missing const in
14742 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14743 declaration to use rlim_t.
14744 (Basic Scheduling Functions): Remove erroneous const from
14745 sched_getparam prototype. Remove erroneous * from
14746 sched_get_priority_max and sched_get_priority_min prototypes.
14747 (Resource Usage): Fix summary @comment on vtimes to refer to
14748 sys/vtimes.h rather than vtimes.h.
14749 Add missing *s in vtimes prototype.
14750 (Limits on Resources): Fix ulimit prototype to return long int.
14751 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14752 prototypes to use long int rather than double.
14753 (BSD Random): Fix initstate and setstate to use char *, not void *.
14754 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14755 prototype to make second argument 'struct aiocb64 *const[]'.
14756 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14757 (Status of AIO Operations): Remove erroneous const in aio_return and
14758 aio_return64 prototypes.
14759 (Synchronizing I/O): Fix sync prototype to return void.
14760 * manual/startup.texi (Suboptions): Remove an erroneous const in
14761 getsubopt prototype.
14762 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14763 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14764 use size_t rather than int.
14765 (Scanning All Users): Likewise for getpwent_r.
14766 (Setting Groups): Add missing const to setgroups prototype.
14767 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14768 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14769 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14770 'const void *' rather than 'const char *'.
14771 (Host Address Functions): Likewise for inet_ntop.
14772 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14773 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14774 ssize_t for return value.
14775 (Sending Data): Likewise for send, sendto, sendmsg.
14776 (Socket Option Functions): Add a missing const in setsockopt prototype.
14777 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14778 use wchar_t for the argument.
14779 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14780 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14782 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14783 double/float/long double for second argument.
14784 Fix return types of significand, significandf, significandl.
14785 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14786 argument in fchmod prototype.
14787 (File Owner): Use uid_t and gid_t in fchown prototype.
14788 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14789 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14790 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14791 use 'const struct dirent **' as argument types to CMP function pointer
14793 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14794 (File Times): Fix summary magic @comment for struct utimbuf and utime
14795 to refer to utime.h, not time.h.
14796 * manual/string.texi (Argz Functions): Add missing const in
14797 argz_extract and argz_next prototypes.
14798 (Finding Tokens in a String): Likewise for basename.
14799 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14800 (Copying and Concatenation): Fix typo in wmemmove prototype.
14801 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14802 (Signal Stack): Remove erroneous const in sigstack prototype.
14803 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14805 (Simple Calendar Time): Likewise for stime.
14806 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14808 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14809 say sys/sysctl.h instead.
14810 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14811 and vsyslog prototypes.
14813 2013-02-11 Tom de Vries <tom@codesourcery.com>
14815 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14818 2013-02-11 Roland McGrath <roland@hack.frob.com>
14820 * misc/sys/mman.h: Fix typo in mremap comment.
14822 2013-02-08 Roland McGrath <roland@hack.frob.com>
14824 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14825 the '\0' terminator.
14827 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14830 * debug/segfault.c: Don't include <bp-checks.h>.
14831 * sysdeps/generic/bp-checks.h: Remove file.
14832 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14833 (__GETDENTS): Don't use CHECK_N.
14834 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14835 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14836 (__getgroups): Don't use CHECK_N.
14837 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14838 (setgroups): Don't use CHECK_N.
14839 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14840 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14841 (__libc_msgrcv): Don't use CHECK_N.
14842 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14843 (__libc_msgsnd): Don't use CHECK_N.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14846 (__libc_pread): Don't use CHECK_N.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14848 include <bp-checks.h>.
14849 (__libc_pread64): Don't use CHECK_N.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14851 include <bp-checks.h>.
14852 (__libc_pwrite): Don't use CHECK_N.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14854 include <bp-checks.h>.
14855 (__libc_pwrite64): Don't use CHECK_N.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14858 (__libc_pread): Don't use CHECK_N.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14860 include <bp-checks.h>.
14861 (__libc_pread64): Don't use CHECK_N.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14863 include <bp-checks.h>.
14864 (__libc_pwrite): Don't use CHECK_N.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14866 include <bp-checks.h>.
14867 (__libc_pwrite64): Don't use CHECK_N.
14868 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14869 (do_pread): Don't use CHECK_N.
14870 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14871 (do_pread64): Don't use CHECK_N.
14872 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14873 (do_pwrite): Don't use CHECK_N.
14874 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14875 (do_pwrite64): Don't use CHECK_N.
14876 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14877 (__libc_readv): Don't use CHECK_N.
14878 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14879 (semop): Don't use CHECK_N.
14880 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14882 (semtimedop): Don't use CHECK_N.
14883 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14884 (__libc_pread): Don't use CHECK_N.
14885 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14887 (__libc_pread64): Don't use CHECK_N.
14888 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14890 (__libc_pwrite): Don't use CHECK_N.
14891 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14893 (__libc_pwrite64): Don't use CHECK_N.
14894 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14896 (__libc_msgrcv): Don't use CHECK_N.
14897 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14898 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14899 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14900 (__libc_writev): Don't use CHECK_N.
14902 2013-02-08 Roland McGrath <roland@hack.frob.com>
14904 * string/strcpy.c: Removed unused variable.
14906 * Makeconfig (+sysdep-includes): Define with := rather than =.
14907 Use an existing include/ subdir of each sysdeps dir before it.
14909 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14911 * nscd/connection.c (register_traced_file): Comment function.
14912 [HAVE_INOTIFY] (union __inev): Define.
14913 [HAVE_INOTIFY] (inotify_check_files): New function.
14914 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14915 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14917 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14919 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14921 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14922 loaded if not already and that a failure is permanent.
14924 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14927 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14928 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14930 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14933 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14934 (CHECK_1_NULL_OK): Likewise.
14935 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14936 (__fxstat): Do not use CHECK_1.
14937 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14939 (___fxstat64): Do not use CHECK_1.
14940 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14942 (__fxstatat): Do not use CHECK_1.
14943 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14945 (__fxstatat64): Do not use CHECK_1.
14946 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14948 (__fxstat): Do not use CHECK_1.
14949 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14951 (__fxstatat): Do not use CHECK_1.
14952 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14954 (__getresgid): Do not use CHECK_1.
14955 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14957 (__getresuid): Do not use CHECK_1.
14958 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14960 (__lxstat): Do not use CHECK_1.
14961 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14963 (__old_msgctl): Do not use CHECK_1.
14964 (__new_msgctl): Likewise.
14965 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14967 (__new_setrlimit): Do not use CHECK_1.
14968 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14970 (__old_shmctl): Do not use CHECK_1.
14971 (__new_shmctl): Likewise.
14972 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14974 (__xstat): Do not use CHECK_1.
14975 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14976 (__lxstat): Do not use CHECK_1.
14977 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14979 (___lxstat64): Do not use CHECK_1.
14980 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14981 (__old_msgctl): Do not use CHECK_1.
14982 (__new_msgctl): Likewise.
14983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14985 (__gettimeofday): Do not use CHECK_1.
14986 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14987 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14988 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14990 (__gettimeofday): Do not use CHECK_1.
14991 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14992 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14993 (__new_shmctl): Do not use CHECK_1.
14994 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14996 (do_sigtimedwait): Do not use CHECK_1.
14997 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14999 (do_sigwaitinfo): Do not use CHECK_1.
15000 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15002 (msgctl): Do not use CHECK_1.
15003 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15005 (shmctl): Do not use CHECK_1.
15006 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15007 (ustat): Do not use CHECK_1.
15008 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15010 (__fxstat): Do not use CHECK_1.
15011 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15013 (__fxstatat): Do not use CHECK_1.
15014 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15016 (__lxstat): Do not use CHECK_1.
15017 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15019 (__xstat): Do not use CHECK_1.
15020 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15021 (__xstat): Do not use CHECK_1.
15022 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15023 (___xstat64): Do not use CHECK_1.
15026 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15028 (CHECK_BOUNDS_HIGH): Likewise.
15029 * string/strcpy.c: Do not include <bp-checks.h>.
15030 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15032 2013-02-07 Roland McGrath <roland@hack.frob.com>
15034 * nscd/nscd-client.h (__nscd_drop_map_ref):
15035 Add __attribute__ ((unused)).
15036 * nis/nss-nisplus.h (niserr2nss): Likewise.
15038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15039 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15041 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15042 Remove inline keyword.
15043 * include/rounding-mode.h (round_away): Likewise.
15044 * libio/wfileops.c (adjust_wide_data): Likewise.
15045 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15046 (__m128i_strloadu_tolower): Likewise.
15047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15048 (__m128i_strloadu_tolower): Likewise.
15049 * time/mktime.c (ydhms_diff): Likewise.
15050 * locale/elem-hash.h (elem_hash): Likewise.
15051 * locale/setlocale.c (setdata): Likewise.
15052 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15053 (re_string_wchar_at): Likewise.
15054 (bitset_not, bitset_merge, bitset_mask): Likewise.
15055 [!(__GNUC__ > 3)] (inline): Remove macro.
15056 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15057 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15058 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15059 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15060 * string/memcmp.c (memcmp_bytes): Likewise.
15061 * locale/programs/locarchive.c (compute_hashval): Likewise.
15062 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15063 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15064 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15065 * nss/getent.c (print_rpc, print_protocols): Likewise.
15066 (print_passwd, print_group, print_aliases): Likewise.
15067 * nis/nss-nisplus.h (niserr2nss): Likewise.
15068 * nscd/connections.c (restart_p): Likewise.
15069 Change return type to bool.
15071 2013-02-05 Roland McGrath <roland@hack.frob.com>
15073 * Makeconfig (all-Depend-files): Add existing
15074 $(sorted-subdirs:=/Depend) files.
15075 (all-subdirs): Remove nss.
15076 * sysdeps/unix/inet/Subdirs: Add it here instead.
15077 * hesiod/Depend: New file.
15079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15080 instead of calling alloca.
15082 * io/lseek.c (__lseek): Rename to __libc_lseek.
15083 Define __lseek as an alias.
15085 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15087 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15089 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15090 else clause and remove check for non-standard endianness.
15092 2013-02-04 David S. Miller <davem@davemloft.net>
15094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15096 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15099 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15100 (__ubp_memchr): Remove prototype.
15101 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15102 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15103 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15104 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15105 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15107 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15108 (__ubp_memchr): Likewise.
15109 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15110 (__ubp_memchr): Likewise.
15111 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15112 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15113 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15114 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15116 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15117 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15118 (__getcwd): Do not use CHECK_STRING.
15119 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15121 (__real_chown): Do not use CHECK_STRING.
15122 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15124 (fchownat): Do not use CHECK_STRING.
15125 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15127 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15129 (__lchown): Do not use CHECK_STRING.
15130 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15131 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15132 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15133 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15135 include <bp-checks.h>.
15136 (truncate64): Do not use CHECK_STRING.
15137 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15139 (__real_chown): Do not use CHECK_STRING.
15140 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15142 (__lchown): Do not use CHECK_STRING.
15143 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15145 (__chown): Do not use CHECK_STRING.
15146 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15148 (truncate64): Do not use CHECK_STRING.
15149 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15151 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15152 (__xmknod): Do not use CHECK_STRING.
15153 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15155 (__xmknodat): Do not use CHECK_STRING.
15156 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15157 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15159 2013-02-04 Andreas Schwab <schwab@suse.de>
15162 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15163 * include/netdb.h: Likewise for h_errno.
15164 * elf/tst-stackguard1.c: Include <tls.h>.
15166 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15168 * elf/link.h (struct link_map): Extend the l_addr comment.
15169 * include/link.h (struct link_map): Likewise.
15171 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15174 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15175 (BOUNDED_1): Remove macro.
15176 * debug/backtrace.c: Don't include <bp-checks.h>.
15177 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15178 (__backtrace): Likewise.
15179 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15181 (__backtrace): Don't use BOUNDED_1.
15182 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15184 (__backtrace): Don't use BOUNDED_1.
15185 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15186 (__backtrace): Don't use BOUNDED_1.
15187 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15188 (shmat): Don't use BOUNDED_N.
15190 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15193 * sysdeps/generic/bp-start.h: Remove file.
15194 * csu/libc-start.c: Don't include <bp-start.h>.
15195 (LIBC_START_MAIN): Set up __environ directly instead of using
15196 INIT_ARGV_and_ENVIRON.
15197 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15201 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15203 (CHECK_FCNTL): Likewise.
15204 (CHECK_N_PAGES): Likewise.
15207 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15209 (CHECK_SIGSET_NULL_OK): Likewise.
15210 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15212 (sigpending): Don't use CHECK_SIGSET.
15213 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15215 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15216 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15218 (do_sigsuspend): Don't use CHECK_SIGSET.
15219 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15221 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15222 (do_sigwait): Don't use CHECK_SIGSET.
15223 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15226 include <bp-checks.h>.
15227 (sigpending): Don't use CHECK_SIGSET.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15229 include <bp-checks.h>.
15230 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15231 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15233 (sigpending): Don't use CHECK_SIGSET.
15234 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15236 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15239 * sysdeps/generic/bp-semctl.h: Remove file.
15240 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15241 <bp-checks.h> and <bp-semctl.h>.
15242 (__old_semctl): Don't use CHECK_SEMCTL.
15243 (__new_semctl): Likewise.
15244 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15246 (__old_semctl): Don't use CHECK_SEMCTL.
15247 (__new_semctl): Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15249 <bp-checks.h> and <bp-semctl.h>.
15250 (__old_semctl): Don't use CHECK_SEMCTL.
15251 (__new_semctl): Likewise.
15252 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15253 <bp-checks.h> and <bp-semctl.h>.
15254 (semctl): Don't use CHECK_SEMCTL.
15257 * Makerules (elide-bp-thunks): Remove variable.
15258 (elide-routines.oS): Don't use $(elide-bp-thunks).
15259 (elide-routines.os): Likewise.
15260 (elide-routines.o): Likewise.
15261 (elide-routines.op): Likewise.
15262 (elide-routines.og): Likewise.
15263 (objects): Don't use $(bp-thunks).
15264 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15266 (common-generated): Do not add s-proto-bp.d.
15267 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15270 Do not generate makefile rules for bounded-pointer thunks.
15271 * sysdeps/generic/bp-thunks.h: Remove file.
15272 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15273 * sysdeps/unix/s-proto-bp.S: Likewise.
15276 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15277 parts of result separately when argument is not close to line from
15278 -i to i and one part of argument is small.
15279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15281 * math/libm-test.inc (cacos_test): Add more tests.
15282 (casin_test): Likewise.
15283 (casinh_test): Likewise.
15284 * sysdeps/i386/fpu/libm-test-ulps: Update.
15285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15287 2013-01-31 David S. Miller <davem@davemloft.net>
15289 * po/de.po: Update from translation team.
15291 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15293 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15295 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15297 * configure.in (_AC_PROG_CC_C89): New definition.
15298 * configure: Regenerate.
15300 * configure.in (AC_PROG_CPP): New definition.
15301 * configure: Regenerate.
15303 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15305 * debug/tst-backtrace.h: New file.
15306 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15307 (ret): Remove variable.
15309 (FAIL): Remove macro.
15310 (NO_INLINE): Likewise.
15311 (fn1): Use match function instead of strstr.
15312 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15313 (ret): Remove variable.
15315 (FAIL): Remove macro.
15316 (NO_INLINE): Likewise.
15317 (fn): Use match function instead of strstr.
15318 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15319 (ret): Remove variable.
15321 (FAIL): Remove macro.
15322 (NO_INLINE): Likewise.
15323 (handle_signal): Use match function instead of strstr.
15324 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15325 (ret): Remove variable.
15327 (FAIL): Remove macro.
15328 (NO_INLINE): Likewise.
15329 (handle_signal): Use match function instead of strstr.
15331 2013-01-23 Roland McGrath <roland@hack.frob.com>
15333 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15335 2013-01-23 David S. Miller <davem@davemloft.net>
15337 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15338 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15339 argument of CAS if possible.
15340 * sysdeps/sparc/sparc64/bits/atomic.h
15341 (__arch_compare_and_exchange_val_32_acq): Likewise.
15342 (__arch_compare_and_exchange_val_64_acq): Likewise.
15344 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15346 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15347 * sysdeps/posix/ulimit.c: ... this.
15348 Include <limits.h>.
15349 * sysdeps/unix/bsd/ulimit.c: Remove file.
15351 2013-01-23 Adam Conrad <adconrad@0c3.net>
15353 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15354 (LDFLAGS-tst-array5): Likewise.
15356 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15359 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15360 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15361 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15362 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15364 2013-01-21 David S. Miller <davem@davemloft.net>
15366 * sysdeps/sparc/backtrace.c: New file.
15367 * sysdeps/sparc/sparc32/backtrace.h: New file.
15368 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15369 * sysdeps/sparc/sparc64/backtrace.h: New file.
15370 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15371 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15374 2013-01-21 Andreas Schwab <schwab@suse.de>
15377 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15380 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15386 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15387 Mark Mitchell <mark@codesourcery.com>
15388 Tom de Vries <tom@codesourcery.com>
15389 Paul Pluzhnikov <ppluzhnikov@google.com>
15391 * debug/tst-backtrace2.c: New file.
15392 * debug/tst-backtrace3.c: Likewise.
15393 * debug/tst-backtrace4.c: Likewise.
15394 * debug/tst-backtrace5.c: Likewise.
15395 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15396 (CFLAGS-tst-backtrace3.c): Likewise.
15397 (CFLAGS-tst-backtrace4.c): Likewise.
15398 (CFLAGS-tst-backtrace5.c): Likewise.
15399 (LDFLAGS-tst-backtrace2): Likewise.
15400 (LDFLAGS-tst-backtrace3): Likewise.
15401 (LDFLAGS-tst-backtrace4): Likewise.
15402 (LDFLAGS-tst-backtrace5): Likewise.
15403 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15404 tst-backtrace4 and tst-backtrace5.
15406 2013-01-18 Anton Blanchard <anton@samba.org>
15407 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15409 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15410 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15411 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15412 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15414 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15415 "+r" and remove output regs list as redundant. Add explicit inline
15416 asm to specify register of return val to work around compiler codegen
15417 bug. Remove (int) cast on return value. Add return type parameter to
15418 use in macro so that this macro does not truncate return value for
15420 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15421 pass to INTERNAL_VSYSCALL_NCS.
15422 (INLINE_VSYSCALL): Add 'long int' as return type to
15423 INTERNAL_VSYSCALL_NCS macro invocation.
15424 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15425 INTERNAL_VSYSCALL_NCS macro invocation.
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15428 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15431 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15432 Fix application of SIMD FP exception mask.
15434 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15435 mp_no from a power of two.
15436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15437 __mpexp_twomm1. Use __pow_mp.
15439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15442 2013-01-17 David S. Miller <davem@davemloft.net>
15444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15446 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15449 * include/complex.h: Condition contents on [!_COMPLEX_H].
15450 (__kernel_casinhf): New prototype.
15451 (__kernel_casinh): Likewise.
15452 (__kernel_casinhl): Likewise.
15453 * math/Makefile (libm_calls): Add k_casinh.
15454 * math/k_casinh.c: New file.
15455 * math/k_casinhf.c: Likewise.
15456 * math/k_casinhl.c: Likewise.
15457 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15458 finite nonzero arguments.
15459 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15460 finite nonzero arguments.
15461 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15462 finite nonzero arguments.
15463 * math/s_casinh.c: Do not include <float.h>.
15464 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15465 * math/s_casinhf.c: Do not include <float.h>.
15466 (__casinhf): Move code for finite nonzero arguments to
15468 * math/s_casinhl.c: Do not include <float.h>.
15469 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15471 (__casinhl): Move code for finite nonzero arguments to
15473 * math/libm-test.inc (cacos_test): Add more tests.
15474 * sysdeps/i386/fpu/libm-test-ulps: Update.
15475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15477 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15479 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15480 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15481 [!HAVE_MREMAP]: Remove [defined linux] case.
15482 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15484 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15486 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15488 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15490 * elf/elf.h (R_386_SIZE32): New relocation.
15491 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15493 (elf_machine_rela): Likewise.
15494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15495 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15497 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15499 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15500 (FP_FAST_FMA): Do not define.
15501 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15502 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15503 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15504 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15505 !_SOFT_FLOAT]: Likewise.
15506 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15507 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15509 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15510 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15511 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15512 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15513 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15514 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15517 2013-01-16 Andreas Schwab <schwab@suse.de>
15520 * include/stdlib.h (__mktemp): Add declaration.
15521 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15522 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15524 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15526 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15528 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15529 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15530 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15532 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15533 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15535 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15537 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15538 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15539 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15541 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15542 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15544 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15546 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15548 2013-01-15 David S. Miller <davem@davemloft.net>
15550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15551 trunc{,f} to libm-sysdep_routes.
15552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15562 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15563 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15564 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15565 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15566 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15567 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15570 nearbyint{,f} to libm-sysdep_routes.
15571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15585 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15587 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15588 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15589 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15591 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15592 libc_feholdexcept and libc_fesetenv.
15594 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15596 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15598 2013-01-14 David S. Miller <davem@davemloft.net>
15600 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15601 (SPARC_ASM_VIS2_IFUNC): Likewise.
15602 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15604 use of 'siam' instruction.
15605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15638 routines to libm-sysdep_routines.
15639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15642 fdim/fdimf to libm-sysdep_routines.
15643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15651 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15652 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15653 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15654 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15656 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15659 to optimize copies.
15661 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15666 local variable MPTWO.
15667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15670 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15672 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15675 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15677 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15679 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15681 * manual/pattern.texi (glob_t): Document gl_flags.
15682 (glob64_t): Likewise.
15684 2013-01-11 David S. Miller <davem@davemloft.net>
15686 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15687 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15688 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15689 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15690 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15691 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15692 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15693 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15694 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15695 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15696 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15697 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15698 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15701 sparc V9 rather than using V8 code.
15702 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15703 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15707 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15710 2013-01-11 Roland McGrath <roland@hack.frob.com>
15712 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15713 not in the main loop.
15714 * configure: Regenerated.
15716 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15718 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15719 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15721 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15722 [!__GLIBC_HAVE_LONG_LONG] case.
15723 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15724 condition to just #else.
15725 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15726 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15727 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15728 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15730 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15731 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15732 #elif condition to just #else.
15733 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15734 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15735 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15736 #elif condition to just #else.
15738 2013-01-11 Steve Ellcey <sellcey@mips.com>
15740 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15741 (EF_MIPS_ARCH_64): Fix value.
15742 (EF_MIPS_ARCH_32R2): New.
15743 (EF_MIPS_ARCH_64R2): New.
15745 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15747 * Makeconfig (+link-pie-before-libc): New.
15748 (+link-pie-after-libc): Likewise.
15749 (+link-pie-tests): Likewise.
15750 (+link-pie): Rewritten.
15751 (link-before-libc): Remove $(config-LDFLAGS).
15752 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15753 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15754 (config-LDFLAGS): Renamed to ...
15755 (rtld-LDFLAGS): This.
15756 (rtld-tests-LDFLAGS): New macro.
15757 (link-libc-rpath-link): Likewise.
15758 (link-libc-tests-rpath-link): Likewise.
15759 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15760 (link-libc): Prepand $(link-libc-rpath-link).
15761 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15762 (test-program-prefix): New macro.
15763 (test-via-rtld-prefix): Likewise.
15764 (test-program-cmd): Likewise.
15765 (host-test-program-cmd): Likewise.
15766 * Makefile ($(common-objpfx)testrun.sh): Replace
15767 $(run-program-prefix) with $(test-program-prefix).
15768 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15770 ($(common-objpfx)shlib.lds): Likewise.
15771 (build-module-helper): Likewise.
15772 ($(common-objpfx)format.lds): Likewise.
15773 * Rules (binaries-pie-tests): New.
15774 (binaries-pie-notests): Likewise.
15775 (binaries-pie): Rewritten.
15776 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15777 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15778 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15779 (make-test-out): Replace $(host-built-program-cmd) with
15780 $(host-test-program-cmd).
15781 * config.make.in (build-hardcoded-path-in-tests): New variable.
15782 * configure.in (--enable-hardcoded-path-in-tests): New configure
15784 (hardcoded_path_in_tests): New AC_SUBST.
15785 * configure: Regenerated.
15786 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15787 $(built-program-cmd) with $(test-program-cmd).
15788 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15789 (test_program_cmd): This.
15790 * elf/Makefile ($(objpfx)order.out): Run test with
15791 $(test-program-prefix).
15792 ($(objpfx)order2.out): Likewise.
15793 ($(objpfx)tst-initorder.out): Likewise.
15794 ($(objpfx)tst-initorder2.out): Likewise.
15795 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15796 $(test-program-cmd).
15797 ($(objpfx)tst-array1-static.out): Likewise.
15798 ($(objpfx)tst-array2.out): Likewise.
15799 ($(objpfx)tst-array3.out): Likewise.
15800 ($(objpfx)tst-array4.out): Likewise.
15801 ($(objpfx)tst-array5.out): Likewise.
15802 ($(objpfx)tst-array5-static.out): Likewise.
15803 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15804 $(test-program-cmd).
15805 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15806 $(run-program-prefix) with $(test-program-prefix).
15807 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15808 (test_program_prefix): This.
15809 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15810 $(run-program-prefix) with $(test-program-prefix).
15811 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15812 (test_program_prefix): This.
15813 * iconvdata/tst-tables.sh: Likewise.
15814 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15815 $(run-program-prefix) with $(test-program-prefix).
15816 ($(objpfx)tst-translit.out): Likewise.
15817 ($(objpfx)tst-gettext2.out): Likewise.
15818 ($(objpfx)tst-gettext4.out): Likewise.
15819 ($(objpfx)tst-gettext6.out): Likewise.
15820 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15821 (test_program_prefix): This.
15822 * intl/tst-gettext2.sh: Likewise.
15823 * intl/tst-gettext4.sh Likewise.
15824 * intl/tst-gettext6.sh: Likewise.
15825 * intl/tst-translit.sh: Likewise.
15826 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15827 with $(test-program-cmd).
15828 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15829 $(run-program-prefix) with $(test-program-prefix).
15830 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15831 (test_program_prefix): This.
15832 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15833 $(run-program-prefix) with $(test-program-prefix).
15834 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15835 (test_program_prefix): This.
15836 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15837 * posix/Makefile ($(objpfx)globtest.out): Replace
15838 $(run-via-rtld-prefix) and $(test-wrapper) with
15839 $(test-program-prefix) and $(test-via-rtld-prefix).
15840 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15841 $(test-program-prefix).
15842 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15843 $(host-test-program-cmd).
15844 (tst-spawn-ARGS): Likewise.
15845 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15846 $(test-program-prefix).
15847 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15848 (test_via_rtld_prefix): This.
15849 (test_wrapper): Renamed to ...
15850 (test_program_prefix): This.
15851 (run_program_prefix): Replaced by test_program_prefix.
15852 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15853 (test_program_prefix): This.
15854 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15855 with $(host-test-program-cmd).
15856 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15857 $(run-program-prefix) with $(test-program-prefix).
15858 ($(objpfx)tst-printf.out): Likewise.
15859 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15860 $(test-program-cmd).
15861 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15862 (test_program_prefix): This.
15863 * stdio-common/tst-unbputc.sh: Likewise.
15864 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15865 $(run-program-prefix) with $(test-program-prefix).
15866 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15867 (test_program_prefix): This.
15868 * string/Makefile ($(objpfx)tst-svc.out): Replace
15869 $(built-program-cmd) with $(test-program-cmd).
15871 2013-01-11 Andreas Jaeger <aj@suse.de>
15874 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15875 value. Sync with Linux 3.7.
15877 2013-01-10 David S. Miller <davem@davemloft.net>
15879 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15880 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15881 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15883 2013-01-10 Roland McGrath <roland@hack.frob.com>
15885 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15887 * configure: Regenerated.
15889 2013-01-10 David S. Miller <davem@davemloft.net>
15891 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15892 sparc V9 rather than using V8 code.
15893 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15894 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15896 2013-01-10 Roland McGrath <roland@hack.frob.com>
15898 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15899 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15900 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15901 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15902 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15903 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15904 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15905 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15906 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15907 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15908 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15909 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15910 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15911 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15912 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15913 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15914 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15915 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15916 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15917 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15918 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15919 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15920 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15921 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15922 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15923 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15924 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15926 2013-01-10 David S. Miller <davem@davemloft.net>
15928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15930 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15932 * posix/Makefile (tests-static): New variable.
15933 (tests): Add $(tests-static).
15934 (tst-exec-static-ARGS): New variable.
15935 (tst-spawn-static-ARGS): Likewise.
15936 * posix/tst-exec-static.c: New file.
15937 * posix/tst-spawn-static.c: Likewise.
15938 * posix/tst-exec.c: Support run directly.
15939 * posix/tst-spawn.c: Likewise.
15941 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15943 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15945 * math/bits/mathcalls.h (llrint): Likewise.
15946 (llround): Likewise.
15947 * stdlib/stdlib.h (struct drand48_data): Likewise.
15948 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15949 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15952 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15954 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15955 (elf_greg_t): Likewise.
15956 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15957 (__jmp_buf): Likewise.
15958 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15960 (llrint): Likewise, for all definitions.
15961 (llrintl): Likewise.
15963 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15964 Remove [__GNUC__] condition.
15965 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15966 condition to just [__USE_ISOC99].
15967 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15969 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15972 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15973 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15975 (_POSIX_V6_ILP32_OFF32): Likewise.
15976 (_XBS5_ILP32_OFF32): Likewise.
15977 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15978 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15980 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15982 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15985 doubles __mpexp_twomm1. Adjust usage.
15986 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15989 2013-01-10 Andreas Schwab <schwab@suse.de>
15992 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15993 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15995 2013-01-09 David S. Miller <davem@davemloft.net>
15998 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15999 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16000 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16001 TCP_FASTOPEN): Define.
16002 (tcp_repair_opt): New structure.
16003 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16005 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16006 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16007 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16008 (tcp_cookie_transactions): New structure.
16010 2013-01-09 Anton Blanchard <anton@samba.org>
16012 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16013 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16014 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16017 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16019 * include/features.h (__USE_ANSI): Remove.
16021 2013-01-09 Roland McGrath <roland@hack.frob.com>
16023 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16025 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16027 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16029 * sysdeps/s390/fpu/libm-test-ulps: Update.
16031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16033 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16037 (denorm): Likewise.
16038 (__mp_dbl): Likewise.
16039 (__dbl_mp): Likewise.
16040 (add_magnitudes): Likewise.
16041 (sub_magnitudes): Likewise.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16051 (denorm): Likewise.
16052 (__mp_dbl): Likewise.
16053 (__dbl_mp): Likewise.
16054 (add_magnitudes): Likewise.
16055 (sub_magnitudes): Likewise.
16061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16065 (denorm): Likewise.
16066 (__mp_dbl): Likewise.
16067 (__dbl_mp): Likewise.
16068 (add_magnitudes): Likewise.
16069 (sub_magnitudes): Likewise.
16076 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16078 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16079 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16080 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16081 2 && __USE_EXTERN_INLINES]: Likewise.
16083 2013-01-08 Andreas Jaeger <aj@suse.de>
16086 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16088 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16089 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16091 2013-01-07 Anton Blanchard <anton@samba.org>
16093 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16094 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16095 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16096 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16097 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16098 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16099 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16100 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16116 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16117 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16118 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16119 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16120 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16122 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16123 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16126 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16127 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16128 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16129 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16130 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16132 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16133 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16135 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16137 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16139 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16140 (__MALLOC_PMT): Likewise.
16141 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16142 [__GNUC__], only on [_LIBC].
16143 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16144 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16145 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16146 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16147 forward declaration.
16148 (realloc_hook_ini): Likewise.
16149 (memalign_hook_ini): Likewise.
16150 (__libc_memalign): Do not use __MALLOC_PMT in variable
16152 (__libc_valloc): Likewise.
16153 (__libc_pvalloc): Likewise.
16154 (__libc_calloc): Likewise.
16155 (__posix_memalign): Likewise.
16158 * math/s_casinh.c: Include <float.h>.
16159 (__casinh): Do not do computation with squaring and square root
16160 for large arguments.
16161 * math/s_casinhf.c: Include <float.h>.
16162 (__casinhf): Do not do computation with squaring and square root
16163 for large arguments.
16164 * math/s_casinhl.c: Include <float.h>.
16165 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16166 (__casinhl): Do not do computation with squaring and square root
16167 for large arguments.
16168 * math/libm-test.inc (casin_test): Add more tests.
16169 (casinh_test): Likewise.
16170 * sysdeps/i386/fpu/libm-test-ulps: Update.
16171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16173 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16175 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16176 (__x86_64_raw_data_cache_size): Likewise.
16177 (__x86_64_data_cache_size_half): Likewise.
16178 (__x86_64_raw_data_cache_size_half): Likewise.
16179 (__x86_64_shared_cache_size): Likewise.
16180 (__x86_64_raw_shared_cache_size): Likewise.
16181 (__x86_64_shared_cache_size_half): Likewise.
16182 (__x86_64_raw_shared_cache_size_half): Likewise.
16183 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16185 (__x86_data_cache_size): This.
16186 (__x86_64_raw_data_cache_size): Renamed to ...
16187 (__x86_raw_data_cache_size): This.
16188 (__x86_64_data_cache_size_half): Renamed to ...
16189 (__x86_data_cache_size_half): This.
16190 (__x86_64_raw_data_cache_size_half): Renamed to ...
16191 (__x86_raw_data_cache_size_half): This.
16192 (__x86_64_shared_cache_size): Renamed to ...
16193 (__x86_shared_cache_size): This.
16194 (__x86_64_raw_shared_cache_size): Renamed to ...
16195 (__x86_raw_shared_cache_size): This.
16196 (__x86_64_shared_cache_size_half): Renamed to ...
16197 (__x86_shared_cache_size_half): This.
16198 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16199 (__x86_raw_shared_cache_size_half): This.
16200 * sysdeps/x86_64/memcpy.S: Updated.
16201 * sysdeps/x86_64/memset.S: Likewise.
16202 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16206 2013-01-04 David S. Miller <davem@davemloft.net>
16208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16210 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16212 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16213 1 to avoid redefinition warning.
16214 (__USE_GNU): Don't define.
16215 (init_signaling_nan): Protoize.
16217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16219 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16221 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16223 (__cpymn): Likewise.
16224 (norm): Remove commented code.
16225 (denorm): Likewise.
16226 (__mp_dbl): Likewise.
16228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16229 (__cpymn): Likewise.
16230 (norm): Remove commented code.
16231 (denorm): Likewise.
16232 (__mp_dbl): Likewise.
16235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16236 mp_no value for 1.0 and 2.0.
16237 (norm): Use RADIXI instead of radixi.d.
16238 (denorm): Likewise.
16239 (__mul): Use 0.0 instead of zero.d.
16240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16241 mp_no value for 1.0 and 2.0.
16242 (norm): Use RADIXI instead of radixi.d.
16243 (denorm): Likewise.
16244 (__mul): Use 0.0 instead of zero.d.
16246 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16249 * math/s_casinh.c (__casinh): Reduce finite argument to first
16250 quadrant then set signs of results at the end.
16251 * math/s_casinhf.c (__casinhf): Likewise.
16252 * math/s_casinhl.c (__casinhl): Likewise.
16253 * math/libm-test.inc (casin_test): Add more tests.
16254 (casinh_test): Likewise.
16255 * sysdeps/i386/fpu/libm-test-ulps: Update.
16256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16260 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16262 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16264 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16266 (denorm): Likewise.
16267 (__mp_dbl): Likewise.
16270 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16271 and adjust the header comment.
16273 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16274 variable name from declaration.
16276 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16279 Initialize COMMON_CPUID_INDEX_7 element.
16280 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16281 (CPUID_RTM): Likewise.
16282 (HAS_RTM): Likewise.
16283 (COMMON_CPUID_INDEX_7): New enum.
16285 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16288 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16289 size is zero, record memory as freed.
16291 2013-01-03 Andreas Jaeger <aj@suse.de>
16293 * po/ia.po: Add new Interlingua translation.
16295 2012-01-03 Allan McRae <allan@archlinux.org>
16297 * locale/programs/localedef.c: Fix description of '--posix' flag.
16299 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16301 * NEWS: Update dates in second copyright notice.
16302 * README: Update copyright dates in example.
16303 * manual/libc.texinfo: Update copyright dates.
16304 * scripts/test-installation.pl: Update copyright date in --version
16307 * hurd/ctty-input.c: Fix copyright notice formatting.
16308 * hurd/ctty-output.c: Likewise.
16309 * hurd/dtable.c: Likewise.
16310 * hurd/hurd-raise.c: Likewise.
16311 * hurd/hurdprio.c: Likewise.
16312 * hurd/msgportdemux.c: Likewise.
16313 * misc/sys/file.h: Likewise.
16314 * misc/sys/ioctl.h: Likewise.
16315 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16316 * sysdeps/mach/hurd/chdir.c: Likewise.
16317 * sysdeps/mach/hurd/fchdir.c: Likewise.
16318 * sysdeps/mach/hurd/rename.c: Likewise.
16319 * sysdeps/mach/hurd/rmdir.c: Likewise.
16320 * sysdeps/mach/hurd/seekdir.c: Likewise.
16321 * sysdeps/mach/hurd/setsid.c: Likewise.
16322 * sysdeps/posix/wait3.c: Likewise.
16324 * All files with FSF copyright notices: Update copyright dates
16325 using scripts/update-copyrights.
16326 * intl/plural.c: Regenerated.
16327 * locale/programs/charmap-kw.h: Likewise.
16328 * locale/programs/locfile-kw.h: Likewise.
16330 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16332 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16336 calculation loop and add branch prediction.
16338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16339 check access beyond bounds of m1np.
16341 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16343 (__inv): Remove local variable MPTWO to use the global
16345 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16348 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16349 MP3HALFS static const.
16351 2013-01-01 David S. Miller <davem@davemloft.net>
16353 * po/ca.po: Update from translation team.
16355 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16357 * scripts/update-copyrights: New file.
16358 * Makeconfig: Reformat copyright notice.
16359 * ctype/ctype.h: Likewise.
16360 * debug/swprintf_chk.c: Likewise.
16361 * elf/dl-cache.c: Likewise.
16362 * elf/dl-debug.c: Likewise.
16363 * elf/dl-object.c: Likewise.
16364 * grp/initgroups.c: Likewise.
16365 * hurd/Makefile: Likewise.
16366 * hurd/hurd/signal.h: Likewise.
16367 * hurd/hurdfault.c: Likewise.
16368 * hurd/hurdioctl.c: Likewise.
16369 * hurd/hurdlookup.c: Likewise.
16370 * hurd/intr-msg.c: Likewise.
16371 * iconv/gconv_open.c: Likewise.
16372 * libio/swprintf.c: Likewise.
16373 * locale/lc-ctype.c: Likewise.
16374 * locale/nl_langinfo.c: Likewise.
16375 * mach/Machrules: Likewise.
16376 * mach/Makefile: Likewise.
16377 * malloc/obstack.h: Likewise.
16378 * manual/Makefile: Likewise.
16379 * manual/tsort.awk: Likewise.
16380 * misc/bits/stab.def: Likewise.
16381 * nis/nis_print_group_entry.c: Likewise.
16382 * nis/nis_table.c: Likewise.
16383 * nis/nss_compat/compat-pwd.c: Likewise.
16384 * nis/nss_compat/compat-spwd.c: Likewise.
16385 * po/Makefile: Likewise.
16386 * posix/fnmatch.c: Likewise.
16387 * posix/regex.h: Likewise.
16388 * resolv/Makefile: Likewise.
16389 * resolv/nss_dns/dns-network.c: Likewise.
16390 * resolv/res_hconf.c: Likewise.
16391 * scripts/gen-sorted.awk: Likewise.
16392 * soft-fp/soft-fp.h: Likewise.
16393 * stdio-common/printf.h: Likewise.
16394 * stdlib/monetary.h: Likewise.
16395 * stdlib/random.c: Likewise.
16396 * stdlib/random_r.c: Likewise.
16397 * sysdeps/generic/Makefile: Likewise.
16398 * sysdeps/gnu/Makefile: Likewise.
16399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16406 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16407 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16409 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16410 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16413 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16415 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16422 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16423 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16427 * sysdeps/mach/hurd/errnos.awk: Likewise.
16428 * sysdeps/mach/hurd/fork.c: Likewise.
16429 * sysdeps/mach/hurd/getcwd.c: Likewise.
16430 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16431 * sysdeps/mach/hurd/mmap.c: Likewise.
16432 * sysdeps/mach/hurd/utimes.c: Likewise.
16433 * sysdeps/mach/hurd/xmknod.c: Likewise.
16434 * sysdeps/posix/profil.c: Likewise.
16435 * sysdeps/posix/readdir_r.c: Likewise.
16436 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16437 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16438 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16439 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16441 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16443 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16447 * sysdeps/pthread/lio_listio.c: Likewise.
16448 * sysdeps/sparc/dl-procinfo.h: Likewise.
16449 * sysdeps/unix/i386/sysdep.S: Likewise.
16450 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16451 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16452 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16453 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16455 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16456 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16457 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16458 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16459 * sysdeps/wordsize-32/divdi3.c: Likewise.
16460 * time/sys/time.h: Likewise.
16461 * wcsmbs/Makefile: Likewise.
16463 2013-01-01 David S. Miller <davem@davemloft.net>
16465 * po/fr.po: Update from translation team.
16467 * catgets/gencat.c: Update copyright year.
16468 * csu/version.c: Likewise.
16469 * debug/catchsegv.sh: Likewise.
16470 * debug/pcprofiledump.c: Likewise.
16471 * debug/xtrace.sh: Likewise.
16472 * elf/ldconfig.c: Likewise.
16473 * elf/ldd.bash.in: Likewise.
16474 * elf/pldd.c: Likewise.
16475 * elf/sotruss.ksh: Likewise.
16476 * elf/sprof.c: Likewise.
16477 * iconv/iconv_prog.c: Likewise.
16478 * iconv/iconvconfig.c: Likewise.
16479 * locale/programs/locale.c: Likewise.
16480 * locale/programs/localedef.c: Likewise.
16481 * login/programs/pt_chown.c: Likewise.
16482 * malloc/memusage.sh: Likewise.
16483 * malloc/memusagestat.c: Likewise.
16484 * malloc/mtrace.pl: Likewise.
16485 * nscd/nscd.c: Likewise.
16486 * nss/getent.c: Likewise.
16487 * nss/makedb.c: Likewise.
16488 * posix/getconf.c: Likewise.
16490 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16492 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16495 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16497 * math/bits/mathcalls.h (modf): Use __nonnull.
16499 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16501 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16502 (split): Use macro CN instead of the bare value.
16503 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16506 instead of the bare value.
16507 (power1): Likewise.
16509 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16513 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16515 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16517 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16519 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16520 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16522 2012-12-28 Andreas Jaeger <aj@suse.de>
16524 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16525 values are from Linux 3.7.
16527 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16528 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16530 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16532 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16535 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16537 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16538 variables with preprocessor constants.
16539 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16540 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16541 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16543 2012-12-27 Bruno Haible <bruno@clisp.org>
16546 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16549 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16552 and use variable directly.
16553 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16555 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16557 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16562 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16563 include directive. Remove local variable MPONE.
16564 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16565 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16566 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16568 2012-12-25 David S. Miller <davem@davemloft.net>
16570 * version.h (RELEASE): Set to "development".
16571 (VERSION): Set to "2.17.90".
16572 * NEWS: Add 2.18 section.
16574 2012-12-21 David S. Miller <davem@davemloft.net>
16576 * po/hr.po: Update from translation team.
16578 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16580 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16582 2012-12-19 Steve Ellcey <sellcey@mips.com>
16584 * NEWS: Mention new memcpy for MIPS.
16586 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16588 * manual/contrib.texi (Contributors): Spelling correction.
16590 2012-12-15 David S. Miller <davem@davemloft.net>
16592 * po/ru.po: Update from translation team.
16594 2012-12-13 David S. Miller <davem@davemloft.net>
16596 * NEWS: Mention IFUNC testsuite enhancements.
16598 * po/pl.po: Update from translation team.
16599 * po/bg.po: Likewise.
16601 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16602 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16604 2012-12-11 David S. Miller <davem@davemloft.net>
16606 * po/sv.po: Update from translation team.
16608 * po/vi.po: Update from translation team.
16610 * po/cs.po: Update from translation team.
16612 * po/de.po: Update from translation team.
16613 * po/eo.po: Likewise.
16614 * po/nl.po: Likewise.
16616 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * manual/argp.texi (Argp Helper Functions): Move node to follow
16620 Argp Parsing State.
16623 * manual/conf.texi (Limits on File System Capacity): Mention if
16624 terminating null is included in the max size.
16626 2012-12-10 Andreas Jaeger <aj@suse.de>
16628 * po/cs.po: Update from translation team.
16630 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16632 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16633 void pointer and cast to uintptr_t.
16634 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16636 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16637 * sysdeps/s390/s390-64/memset.S: Likewise.
16639 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16642 * menual/message.texi (Message Translation): Fix typos.
16643 (Helper programs for gettext): Likewise.
16645 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16648 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16651 2012-12-07 David S. Miller <davem@davemloft.net>
16653 * po/libc.pot: Update.
16655 2012-12-07 Richard Henderson <rth@redhat.com>
16658 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16659 normal/normal case to before the switch.
16660 (_FP_DIV): Likewise.
16662 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16663 Mike Frysinger <vapier@gentoo.org>
16665 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16666 check for __NR_fadvise64_64.
16668 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16670 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16671 0, not just to plain "0" as a statement.
16672 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16675 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16677 * NEWS: Use sourceware.org in Bugzilla URL.
16679 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16682 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16684 * stdio-common/tst-put-error.c (do_test): Add newline to the
16685 padded test to ensure flush.
16687 2012-12-05 Jeff Law <law@redhat.com>
16689 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16691 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16693 * README: Don't refer to ports add-on as distributed separately.
16694 Mention AArch64 in list of systems supported in the ports add-on.
16696 * LICENSES: Add more non-FSF copyright and license notices.
16698 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16701 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16703 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16704 10000 as width of padded output.
16706 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16708 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16711 variable LX with __attribute__ ((unused)).
16712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16714 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16717 with __attribute__ ((unused)).
16719 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16721 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16723 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16725 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16726 (CFLAGS-nldbl-acos.c): New variable.
16727 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16728 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16729 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16730 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16731 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16732 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16733 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16734 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16735 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16736 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16737 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16738 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16739 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16740 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16741 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16742 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16743 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16744 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16745 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16746 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16747 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16748 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16749 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16750 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16751 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16752 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16753 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16754 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16755 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16756 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16757 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16758 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16759 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16760 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16761 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16762 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16763 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16764 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16765 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16766 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16767 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16768 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16769 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16770 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16771 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16772 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16773 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16774 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16775 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16776 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16777 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16778 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16779 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16780 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16781 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16782 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16783 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16784 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16785 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16786 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16787 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16788 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16789 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16790 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16791 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16792 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16793 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16794 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16795 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16796 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16797 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16798 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16799 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16800 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16801 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16802 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16803 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16804 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16805 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16806 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16807 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16808 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16809 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16810 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16811 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16812 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16813 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16814 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16815 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16816 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16817 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16818 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16819 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16820 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16821 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16822 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16823 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16826 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16829 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16830 whole low double instead of just low 47 bits when splitting values
16833 2012-12-03 Allan McRae <allan@archlinux.org>
16835 * manual/stdio.texi (Predefined Printf Handlers): Remove
16836 @hsep and @vsep usage.
16838 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16840 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16841 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16843 2012-12-03 Jeff Law <law@redhat.com>
16845 * time/sys/time.h (settimeofday): Do not mark TV argument
16848 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16850 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16851 when currently writing and seek to current position when not.
16852 * libio/Makefile (tests): Remove bug-fclose1.
16853 * libio/bug-fclose1.c: Delete.
16855 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16857 * manual/arith.texi (feenableexcept): Fix typo.
16858 (fedisableexcept): Likewise.
16860 2012-11-30 Roland McGrath <roland@hack.frob.com>
16862 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16863 second, differently-typed declaration, rather than a cast.
16865 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16867 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16868 * include/rpc/svc.h: ... here.
16870 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16873 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16874 depending n and resplen2 to catch cases where answer
16877 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16880 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16882 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16886 2012-11-29 Roland McGrath <roland@hack.frob.com>
16888 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16890 2012-11-28 Jeff Law <law@redhat.com>
16893 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16894 dataset_temporary. Track alloca usage into alloca_used.
16895 If dataset is large allocate and release it via malloc/free.
16897 2012-06-04 Florian Weimer <fweimer@redhat.com>
16900 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16902 2012-11-28 David S. Miller <davem@davemloft.net>
16904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16906 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16909 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16910 of pi/2 rounded to nearest to 64 bits.
16911 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16912 nearest to 64 bits.
16913 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16916 2012-11-28 Jeff Law <law@redhat.com>
16917 Martin Osvald <mosvald@redhat.com>
16920 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16921 * sunrpc/svc.c: Include time.h.
16922 (__svc_accept_failed): New function.
16923 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16924 any reason other than EINTR, call __svc_accept_failed.
16925 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16926 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16928 2012-11-28 Andreas Schwab <schwab@suse.de>
16930 * scripts/abilist.awk: Also handle indirect functions in .opd
16933 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16936 * sysdeps/x86/fpu/powl_helper.c: New file.
16937 * sysdeps/x86/fpu/Makefile: Likewise.
16938 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16940 (__ieee754_powl): Use __powl_helper for finite arguments except
16941 integer exponents below 8.
16942 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16944 (__ieee754_powl): Use __powl_helper for finite arguments except
16945 integer exponents below 8.
16946 * math/libm-test.inc (pow_test): Add more tests and enable some
16947 previously disabled tests.
16948 * sysdeps/i386/fpu/libm-test-ulps: Update.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16952 Carlos O'Donell <carlos_odonell@mentor.com>
16954 * nss/makedb.c (is_prime): Assert that input is odd and greater
16955 than 4. Note that fact in a comment too.
16956 (next_prime): Add 4 to input.
16958 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16961 * libio/Makefile (tests): Add test case tst-fwrite-error.
16962 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16963 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16964 * libio/tst-fwrite-error.c: New test case.
16966 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16968 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16969 before casting to void *.
16970 * include/libc-internal.h (__pointer_type): New macro.
16971 (__integer_if_pointer_type_sub): Likewise.
16972 (__integer_if_pointer_type): Likewise.
16973 (cast_to_integer): Likewise.
16974 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16975 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16976 before casting to atomic64_t.
16977 (atomic_exchange_acq): Likewise.
16978 (__arch_exchange_and_add_body): Likewise.
16979 (__arch_add_body): Likewise.
16980 (atomic_add_negative): Likewise.
16981 (atomic_add_zero): Likewise.
16983 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16985 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16986 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16987 (add_fdes): Likewise.
16988 (linear_search_fdes): Likewise.
16989 (binary_search_unencoded_fdes): Likewise.
16991 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16993 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16995 2012-11-24 Adam Conrad <adconrad@0c3.net>
16997 * configure.in: Autodetect C++ header directories.
16998 * configure: Regenerated.
17000 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17002 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17004 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17008 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17010 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17011 LDBL_MANT_DIG == 106]: Disable some tests.
17012 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17014 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17019 input for small inputs. Return +/- pi/2 for large inputs.
17020 * math/libm-test.inc (atan_test): Add more tests.
17022 * sysdeps/generic/unwind-dw2-fde-glibc.c
17023 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17024 __attribute__ ((unused)).
17027 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17028 x * y if x and y are nonzero and z is zero.
17031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17032 nonzero exponents with absolute value below 0x1p-117 to +/-
17036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17037 up arguments below 2**-450, not just those below 2**-500.
17038 * math/libm-test.inc (hypot_test): Add another test.
17041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17042 Return a+b for ratio over 2**120, not 2**60.
17043 * math/libm-test.inc (hypot_test): Add another test.
17045 * math/libm-test.inc (clog_test): Use
17046 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17047 (clog10_test): Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17052 2012-11-22 Andreas Schwab <schwab@suse.de>
17054 * sysdeps/i386/fpu/libm-test-ulps: Update.
17056 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17058 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17059 printf output with newline.
17061 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17064 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17065 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17066 -z nodlopen, -z initfirst and -z execstack support.
17067 * configure: Regenerated.
17069 * elf/elf.h (DF_1_NODIRECT): New macro.
17070 (DF_1_IGNMULDEF): Likewise.
17071 (DF_1_NOKSYMS): Likewise.
17072 (DF_1_NOHDR): Likewise.
17073 (DF_1_EDITED): Likewise.
17074 (DF_1_NORELOC): Likewise.
17075 (DF_1_SYMINTPOSE): Likewise.
17076 (DF_1_GLOBAUDIT): Likewise.
17077 (DF_1_SINGLETON): Likewise.
17078 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17079 DT_1_SUPPORTED_MASK bits.
17080 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17082 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17084 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17086 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17088 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17091 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17092 (sendmmsg): Move declarations...
17093 * socket/sys/socket.h: ... here.
17094 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17095 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17097 * socket/recvmmsg.c: ... this new file.
17098 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17099 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17100 definition of __sendmmsg hidden.
17101 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17102 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17103 Move ENOSYS stub into and include it from...
17104 * socket/sendmmsg.c: ... this new file.
17105 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17106 (sysdep_routines): Move recvmmsg and sendmmsg...
17107 * socket/Makefile (routines): ... here.
17108 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17109 (GLIBC_PRIVATE): Add __sendmmsg.
17110 * include/sys/socket.h (__sendmmsg): Add declarations.
17111 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17114 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17116 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17117 variable I1 with __attribute__ ((unused)).
17118 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17120 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17122 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17123 DUMMY variables with __attribute__ ((unused)).
17125 * bits/byteswap.h: Include <bits/types.h>.
17126 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17128 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17130 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17131 string_t. Do not manually set errno.
17132 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17133 length with __strnlen. Make sure to both set errno and return it on
17136 2012-11-19 David S. Miller <davem@davemloft.net>
17138 With help from Joseph Myers.
17139 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17140 very large arguments properly.
17141 * math/libm-test.inc (atan_test): New tests.
17142 (atan2_test): New tests.
17143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17146 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17149 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17152 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17153 [POSIX] (EADDRNOTAVAIL): Likewise.
17154 [POSIX] (EAFNOSUPPORT): Likewise.
17155 [POSIX] (EALREADY): Likewise.
17156 [POSIX] (ECONNABORTED): Likewise.
17157 [POSIX] (ECONNREFUSED): Likewise.
17158 [POSIX] (ECONNRESET): Likewise.
17159 [POSIX] (EDESTADDRREQ): Likewise.
17160 [POSIX] (EDQUOT): Likewise.
17161 [POSIX] (EHOSTUNREACH): Likewise.
17162 [POSIX] (EIDRM): Likewise.
17163 [POSIX] (EISCONN): Likewise.
17164 [POSIX] (ELOOP): Likewise.
17165 [POSIX] (EMULTIHOP): Likewise.
17166 [POSIX] (ENETDOWN): Likewise.
17167 [POSIX] (ENETUNREACH): Likewise.
17168 [POSIX] (ENOBUFS): Likewise.
17169 [POSIX] (ENODATA): Likewise.
17170 [POSIX] (ENOLINK): Likewise.
17171 [POSIX] (ENOMSG): Likewise.
17172 [POSIX] (ENOPROTOOPT): Likewise.
17173 [POSIX] (ENOSR): Likewise.
17174 [POSIX] (ENOSTR): Likewise.
17175 [POSIX] (ENOTCONN): Likewise.
17176 [POSIX] (ENOTSOCK): Likewise.
17177 [POSIX] (EOPNOTSUPP): Likewise.
17178 [POSIX] (EOVERFLOW): Likewise.
17179 [POSIX] (EPROTO): Likewise.
17180 [POSIX] (EPROTONOSUPPORT): Likewise.
17181 [POSIX] (EPROTOTYPE): Likewise.
17182 [POSIX] (ESTALE): Likewise.
17183 [POSIX] (ETIME): Likewise.
17184 [POSIX] (ETXTBSY): Likewise.
17185 [POSIX] (EWOULDBLOCK): Likewise.
17186 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17187 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17188 [POSIX] (SEEK_CUR): Likewise.
17189 [POSIX] (SEEK_END): Likewise.
17190 [POSIX || UNIX98] (mode_t): Do not require.
17191 [POSIX] (off_t): Likewise.
17192 [POSIX] (pid_t): Likewise.
17193 [POSIX] (sys/stat.h): Do not allow header.
17194 [POSIX] (unistd.h): Likewise.
17195 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17196 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17197 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17198 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17200 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17201 sigevent): Specify elements.
17202 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17204 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17205 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17207 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17208 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17209 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17210 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17211 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17212 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17213 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17214 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17215 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17216 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17217 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17218 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17219 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17220 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17222 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17224 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17226 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17228 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17229 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17230 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17231 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17232 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17233 Specify lower bound on value.
17234 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17235 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17236 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17237 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17238 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17239 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17240 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17241 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17243 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17245 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17246 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17247 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17248 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17249 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17250 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17251 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17252 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17253 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17254 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17255 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17256 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17257 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17258 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17259 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17260 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17262 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17264 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17265 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17266 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17267 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17268 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17269 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17271 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17272 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17273 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17274 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17275 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17276 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17277 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17279 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17280 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17281 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17282 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17283 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17284 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17285 specify as optional.
17286 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17287 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17288 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17289 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17290 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17291 [XPG3] (NL_LANGMAX): Likewise.
17292 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17293 [POSIX || XPG3] (NL_NMAX): Likewise.
17294 [POSIX || XPG3] (NL_SETMAX): Likewise.
17295 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17296 [XPG3] (NZERO): Likewise.
17297 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17298 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17299 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17300 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17301 (REG_ERANGE): Expect.
17302 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17304 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17305 Use (void) in prototype.
17306 [POSIX] (*_t): Allow.
17307 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17308 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17309 (WRDE_BADVAL): Expect.
17311 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17313 [XPG3 || XPG4] (O_RSYNC): Likewise.
17314 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17316 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17317 [XPG3 || XPG4] (sigqueue): Likewise.
17318 [XPG3 || XPG4] (sigtimedwait): Likewise.
17319 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17320 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17321 [XPG3 || XPG4] (vsnprintf): Likewise.
17322 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17324 [XPG3 || XPG4] (blksize_t): Likewise.
17325 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17327 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17328 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17329 [XPG3 || XPG4] (struct itimerspec): Likewise.
17330 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17331 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17332 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17333 [XPG3 || XPG4] (clockid_t): Likewise.
17334 [XPG3 || XPG4] (timer_t): Likewise.
17335 [XPG3 || XPG4] (clock_getres): Likewise.
17336 [XPG3 || XPG4] (clock_gettime): Likewise.
17337 [XPG3 || XPG4] (clock_settime): Likewise.
17338 [XPG3 || XPG4] (nanosleep): Likewise.
17339 [XPG3 || XPG4] (timer_create): Likewise.
17340 [XPG3 || XPG4] (timer_delete): Likewise.
17341 [XPG3 || XPG4] (timer_gettime): Likewise.
17342 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17343 [XPG3 || XPG4] (timer_settime): Likewise.
17344 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17345 [XPG3 || XPG4] (getlogin_r): Likewise.
17346 [XPG3 || XPG4] (pread): Likewise.
17347 [XPG3 || XPG4] (pthread_atfork): Likewise.
17348 [XPG3 || XPG4] (pwrite): Likewise.
17351 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17354 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17356 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17357 finalizing MALLSTREAM.
17359 * sysdeps/mach/hurd/syncfs.c: New file.
17361 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17364 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17365 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17366 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17367 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17368 (_nss_dns_gethostbyname4_r): Likewise.
17369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17370 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17372 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17375 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17377 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17379 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17380 * elf/cache.c (print_entry): Print ",AArch64" for
17383 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17384 * elf/cache.c (print_entry): Print ",hard-float" for
17387 2012-11-18 David S. Miller <davem@davemloft.net>
17389 With help from Joseph Myers.
17390 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17392 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17394 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17395 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17397 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17398 * math/libm-test.inc (y0_test): New tests.
17399 (y1_test): New tests.
17400 * sysdeps/i386/fpu/libm-test-ulps: Update.
17401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17404 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17406 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17408 * configure: Regenerated.
17410 2012-11-17 David S. Miller <davem@davemloft.net>
17413 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17414 nonzero exponents with absolute value below 0x1p-128 to +/-
17417 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17419 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17421 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17423 * posix/getconf-speclist.c: New file.
17424 * posix/posix-envs.def: Likewise.
17425 * posix/confstr.c (START_ENV_GROUP): New macro.
17426 (END_ENV_GROUP): Likewise.
17427 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17428 (KNOWN_PRESENT_ENV_STRING): Likewise.
17429 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17430 (UNKNOWN_ENVIRONMENT): Likewise.
17431 (confstr): Include posix-envs.def instead of handling
17432 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17433 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17434 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17435 (END_ENV_GROUP): Likewise.
17436 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17437 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17438 (UNKNOWN_ENVIRONMENT): Likewise.
17439 (__sysconf): Include posix-envs.def instead of handling associated
17440 cases directly here.
17441 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17442 preprocessing getconf-speclist.c rather than running getconf or
17443 generating empty file.
17445 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17447 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17449 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17452 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17454 2012-11-16 David S. Miller <davem@davemloft.net>
17456 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17457 smaller than LDBL_EPSILON/2.0L, just return xm1.
17459 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17461 * elf/tst-array1.c (init): Set constructor priority to 1000.
17462 (fini): Set destructor priority to 1000.
17463 * elf/tst-array2dep.c: Likewise.
17465 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17468 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17469 (_IO_new_file_xsputn): Also return EOF if none of the input
17470 data was written when overflow failed.
17471 * libio/iopadn.c (_IO_padn): Likewise.
17472 * libio/iowpadn.c (_IO_wpadn): Likewise.
17473 * stdio-common/tst-put-error.c: Add copyright notice.
17474 (do_test): Add case for printing padded string.
17475 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17476 _IO_padn returned error.
17477 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17478 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17481 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17483 * libio/libioP.h: Add comment note that the references to C++
17484 bits are now obsolete.
17486 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17488 * math/libm-test.inc (check_complex): Use asprintf.
17490 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17492 * debug/pcprofiledump.c (print_version): Update copyright year.
17493 * malloc/memusagestat.c (print_version): Likewise.
17495 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17498 * elf/Makefile (tests): Add tst-audit8.
17499 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17500 ($(objpfx)tst-audit8.out): New target.
17501 (tst-audit8-ENV): New variable.
17502 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17503 audit if l_reloc_result is NULL.
17504 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17505 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17506 * elf/tst-audit8.c: New file.
17508 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17510 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17511 * misc/Makefile (CFLAGS-select.c): Define.
17512 * posix/Makefile (CFLAGS-pause.c): Define.
17514 2012-11-13 David S. Miller <davem@davemloft.net>
17516 * crypt/Makefile: Move test targets after toplevel Rules
17517 inclusion. Grab any necessary sysdep routines when linking.
17518 * crypt/md5.c (md5_process_block): Remove define, we will always
17519 name it __md5_process_block.
17520 (md5_finish_ctx): Update md5_process_block call.
17521 (md5_stream): Likewise.
17522 (md5_process_bytes): Likewise.
17523 (md5_process_block): Rename to __md5_process_block and move to ...
17524 * crypt/md5-block.c: ... here.
17525 * crypt/sha256.c (sha256_process_block): Move to ...
17526 * crypt/sha256-block.c: ... here.
17527 * crypt/sha512.c (sha512_process_block): Move to ...
17528 * crypt/sha512-block.c: ... here.
17529 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17531 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17532 * sysdeps/sparc/sparc64/multiarch/Makefile
17533 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17535 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17538 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17539 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17540 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17541 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17542 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17543 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17544 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17545 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17546 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17549 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17551 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17553 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17555 * timezone/tzselect.ksh: Update from tzcode git revision
17556 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17557 * timezone/zdump.c: Likewise.
17558 * timezone/zic.c: Likewise.
17559 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17560 in TZVERSION setting, not $(PKGVERSION).
17561 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17562 REPORT_BUGS_TO settings.
17565 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17568 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17570 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17571 detection to immediately after _FP_ROUND().
17572 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17575 2012-11-11 David S. Miller <davem@davemloft.net>
17577 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17579 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17580 __close rather than their public counterparts.
17582 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17584 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17586 [UNIX98] (sem_timedwait): Do not expect.
17587 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17588 [XPG4 || UNIX98] (sockatmark): Do not expect.
17589 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17590 (clock_getcpuclockid): Do not expect.
17591 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17592 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17594 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17595 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17596 [UNIX98] (vwscanf): Likewise.
17597 [UNIX98] (vswscanf): Likewise.
17599 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17601 * timezone/version.h: Remove file.
17602 * timezone/README: Do not refer to version.h.
17603 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17604 $(objpfx)version.h.
17605 ($(objpfx)zdump.o): Likewise.
17606 ($(objpfx)version.h): New target.
17608 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17610 * timezone/README: Don't mention modification to tzselect.ksh.
17611 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17612 work on unmodified tzselect.ksh. Substitute version numbers in
17615 * Makefile (format-me): Remove.
17616 (INSTALL): Adjust indentation. Use commands directly instead of
17617 using $(format-me).
17619 * aclocal.m4 (ACX_PKGVERSION): New macro.
17620 (ACX_BUGURL): Likewise.
17621 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17622 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17623 (REPORT_BUGS_TO): Likewise.
17624 * configure: Regenerated.
17625 * config.h.in (PKGVERSION): New macro.
17626 (REPORT_BUGS_TO): Likewise.
17627 * config.make.in (PKGVERSION): New variable.
17628 (PKGVERSION_TEXI): Likewise.
17629 (REPORT_BUGS_TO): Likewise.
17630 (REPORT_BUGS_TEXI): Likewise.
17631 * Makefile (format-me): Use -I$(common-objpfx)manual.
17632 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17633 ($(common-objpfx)manual/%): New target.
17634 (manual/%): Remove target.
17635 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17636 (print_version): Use PKGVERSION.
17637 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17638 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17639 and REPORT_BUGS_TO.
17640 ($(objpfx)xtrace): Likewise.
17641 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17642 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17643 (print_version): Use PKGVERSION.
17644 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17645 (do_version): Use PKGVERSION.
17646 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17648 (common-ldd-rewrite): Likewise.
17649 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17650 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17651 (print_version): Use PKGVERSION.
17652 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17653 * elf/pldd.c (argp_program_bug_address): Remove variable.
17654 (more_help): New function.
17655 (argp): Use more_help.
17656 (print_version): Use PKGVERSION.
17657 * elf/sln.c (main): Use PKGVERSION.
17658 (usage): Use REPORT_BUGS_TO.
17659 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17660 (top level): Use PKGVERSION.
17661 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17662 (print_version): Use PKGVERSION.
17663 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17664 (print_version): Use PKGVERSION.
17665 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17666 (print_version): Use PKGVERSION.
17667 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17668 (print_version): Use PKGVERSION.
17669 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17670 (print_version): Use PKGVERSION.
17671 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17672 (print_version): Use PKGVERSION.
17673 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17675 ($(objpfx)memusage): Likewise.
17676 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17677 (do_version): Use PKGVERSION.
17678 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17679 (print_version): Use PKGVERSION.
17680 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17681 ($PKGVERSION): New variable.
17682 ($REPORT_BUGS_TO): Likewise.
17683 (usage): Use $REPORT_BUGS_TO.
17684 (top level): Use $PKGVERSION.
17685 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17686 ($(objpfx)pkgvers.texi): New rule.
17687 ($(objpfx)stamp-pkgvers): Likewise.
17688 * manual/install.texi: Include pkgvers.texi.
17689 (--with-pkgversion): Document new configure option.
17690 (--with-bugurl): Likewise.
17691 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17692 than necessarily for this particular distribution. Use
17693 REPORT_BUGS_TO for where to report bugs.
17694 * INSTALL: Regenerated.
17695 * manual/libc.texinfo: Include pkgvers.texi.
17696 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17697 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17698 (print_version): Use PKGVERSION.
17699 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17700 (print_version): Use PKGVERSION.
17701 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17702 (print_version): Use PKGVERSION.
17703 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17704 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17706 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17707 (print_version): Use PKGVERSION.
17708 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17709 (print_version): Use PKGVERSION.
17710 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17713 * timezone/checktab.awk: Update from tzcode 2012i.
17714 * timezone/ialloc.c: Likewise.
17715 * timezone/private.h: Likewise.
17716 * timezone/scheck.c: Likewise.
17717 * timezone/tzfile.h: Likewise.
17718 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17719 (TZVERSION): Hardcode tzcode version number.
17720 * timezone/zdump.c: Update from tzcode 2012i.
17721 * timezone/zic.c: Likewise.
17722 * timezone/version.h: New file.
17723 * timezone/README: Describe version.h. Update upstream location.
17726 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17727 (mktemp): Enable declaration.
17728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17731 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17733 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17745 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17746 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17747 for copies of such integer values.
17748 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17749 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17751 2012-11-09 Andreas Jaeger <aj@suse.de>
17753 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17754 definitions and declarations that are provided by
17755 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17757 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17759 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17760 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17761 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17764 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17766 * elf/elf.h: Update comment before AArch64 relocations.
17768 2012-11-07 David S. Miller <davem@davemloft.net>
17770 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17771 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17772 (__start_context): Declare.
17773 (__makecontext_ret): Delete.
17774 (__makecontext): Hook up __start_context instead of
17776 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17777 (sysdep_routines): Add __start_context when in stdlib.
17779 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17781 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17782 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17783 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17785 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17786 (READELF): New variable. Use it instead of hardcoded "readelf".
17788 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17790 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17791 * sysdeps/x86/Makefile: Here.
17792 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17793 * sysdeps/x86/tst-xmmymm.sh: This.
17795 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17797 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17799 [UNIX98] (pthread_barrier_t): Do not expect.
17800 [UNIX98] (pthread_barrierattr_t): Likewise.
17801 [UNIX98] (pthread_spinlock_t): Likewise.
17802 [UNIX98] (pthread_barrier_destroy): Likewise.
17803 [UNIX98] (pthread_barrier_init): Likewise.
17804 [UNIX98] (pthread_barrier_wait): Likewise.
17805 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17806 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17807 [UNIX98] (pthread_barrierattr_init): Likewise.
17808 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17809 [UNIX98] (pthread_getcpuclockid): Likewise.
17810 [UNIX98] (pthread_mutex_timedlock): Likewise.
17811 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17812 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17813 [UNIX98] (pthread_sigmask): Likewise.
17814 [UNIX98] (pthread_spin_destroy): Likewise.
17815 [UNIX98] (pthread_spin_init): Likewise.
17816 [UNIX98] (pthread_spin_lock): Likewise.
17817 [UNIX98] (pthread_spin_trylock): Likewise.
17818 [UNIX98] (pthread_spin_unlock): Likewise.
17819 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17821 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17822 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17823 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17824 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17825 [XPG3 || XPG4] (pthread_key_t): Likewise.
17826 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17827 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17828 [XPG3 || XPG4] (pthread_once_t): Likewise.
17829 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17830 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17831 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17832 [XPG3 || XPG4] (pthread_t): Likewise.
17834 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17836 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17838 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17839 Change function return type to int.
17841 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17842 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17843 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17844 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17845 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17846 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17847 [!POSIX] (posix_madvise): Likewise.
17848 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17850 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17851 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17852 (mode_t): Likewise.
17853 (posix_mem_offset): Likewise.
17854 (posix_typed_mem_get_info): Likewise.
17855 (posix_typed_mem_open): Likewise.
17857 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17858 Change condition to [XOPEN2K8].
17860 * conform/conformtest.pl: Preprocess allow-header data with -x c
17861 instead of from stdin.
17862 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17863 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17864 [C99-based standards] (cerfc): Likewise.
17865 [C99-based standards] (cexp2): Likewise.
17866 [C99-based standards] (cexpm1): Likewise.
17867 [C99-based standards] (clog10): Likewise.
17868 [C99-based standards] (clog1p): Likewise.
17869 [C99-based standards] (clog2): Likewise.
17870 [C99-based standards] (clgamma): Likewise.
17871 [C99-based standards] (ctgamma): Likewise.
17872 [C99-based standards] (cerff): Likewise.
17873 [C99-based standards] (cerfcf): Likewise.
17874 [C99-based standards] (cexp2f): Likewise.
17875 [C99-based standards] (cexpm1f): Likewise.
17876 [C99-based standards] (clog10f): Likewise.
17877 [C99-based standards] (clog1pf): Likewise.
17878 [C99-based standards] (clog2f): Likewise.
17879 [C99-based standards] (clgammaf): Likewise.
17880 [C99-based standards] (ctgammaf): Likewise.
17881 [C99-based standards] (cerfl): Likewise.
17882 [C99-based standards] (cerfcl): Likewise.
17883 [C99-based standards] (cexp2l): Likewise.
17884 [C99-based standards] (cexpm1l): Likewise.
17885 [C99-based standards] (clog10l): Likewise.
17886 [C99-based standards] (clog1pl): Likewise.
17887 [C99-based standards] (clog2l): Likewise.
17888 [C99-based standards] (clgammal): Likewise.
17889 [C99-based standards] (ctgammal): Likewise.
17890 * conform/data/inttypes.h-data [C99-based standards]: Include
17891 stdint.h-data. Remove all expectations for stdint.h contents.
17892 [C99-based standards] (PRI*): Do not allow.
17893 [C99-based standards] (SCN*): Likewise.
17894 [C99-based standards] (*_t): Likewise.
17895 [C99-based-standards] (PRId8): Expect macro.
17896 [C99-based-standards] (PRIi8): Likewise.
17897 [C99-based-standards] (PRIo8): Likewise.
17898 [C99-based-standards] (PRIu8): Likewise.
17899 [C99-based-standards] (PRIx8): Likewise.
17900 [C99-based-standards] (PRIX8): Likewise.
17901 [C99-based-standards] (SCNd8): Likewise.
17902 [C99-based-standards] (SCNi8): Likewise.
17903 [C99-based-standards] (SCNo8): Likewise.
17904 [C99-based-standards] (SCNu8): Likewise.
17905 [C99-based-standards] (SCNx8): Likewise.
17906 [C99-based-standards] (PRIdLEAST8): Likewise.
17907 [C99-based-standards] (PRIiLEAST8): Likewise.
17908 [C99-based-standards] (PRIoLEAST8): Likewise.
17909 [C99-based-standards] (PRIuLEAST8): Likewise.
17910 [C99-based-standards] (PRIxLEAST8): Likewise.
17911 [C99-based-standards] (PRIXLEAST8): Likewise.
17912 [C99-based-standards] (SCNdLEAST8): Likewise.
17913 [C99-based-standards] (SCNiLEAST8): Likewise.
17914 [C99-based-standards] (SCNoLEAST8): Likewise.
17915 [C99-based-standards] (SCNuLEAST8): Likewise.
17916 [C99-based-standards] (SCNxLEAST8): Likewise.
17917 [C99-based-standards] (PRIdFAST8): Likewise.
17918 [C99-based-standards] (PRIiFAST8): Likewise.
17919 [C99-based-standards] (PRIoFAST8): Likewise.
17920 [C99-based-standards] (PRIuFAST8): Likewise.
17921 [C99-based-standards] (PRIxFAST8): Likewise.
17922 [C99-based-standards] (PRIXFAST8): Likewise.
17923 [C99-based-standards] (SCNdFAST8): Likewise.
17924 [C99-based-standards] (SCNiFAST8): Likewise.
17925 [C99-based-standards] (SCNoFAST8): Likewise.
17926 [C99-based-standards] (SCNuFAST8): Likewise.
17927 [C99-based-standards] (SCNxFAST8): Likewise.
17928 [C99-based-standards] (PRId16): Likewise.
17929 [C99-based-standards] (PRIi16): Likewise.
17930 [C99-based-standards] (PRIo16): Likewise.
17931 [C99-based-standards] (PRIu16): Likewise.
17932 [C99-based-standards] (PRIx16): Likewise.
17933 [C99-based-standards] (PRIX16): Likewise.
17934 [C99-based-standards] (SCNd16): Likewise.
17935 [C99-based-standards] (SCNi16): Likewise.
17936 [C99-based-standards] (SCNo16): Likewise.
17937 [C99-based-standards] (SCNu16): Likewise.
17938 [C99-based-standards] (SCNx16): Likewise.
17939 [C99-based-standards] (PRIdLEAST16): Likewise.
17940 [C99-based-standards] (PRIiLEAST16): Likewise.
17941 [C99-based-standards] (PRIoLEAST16): Likewise.
17942 [C99-based-standards] (PRIuLEAST16): Likewise.
17943 [C99-based-standards] (PRIxLEAST16): Likewise.
17944 [C99-based-standards] (PRIXLEAST16): Likewise.
17945 [C99-based-standards] (SCNdLEAST16): Likewise.
17946 [C99-based-standards] (SCNiLEAST16): Likewise.
17947 [C99-based-standards] (SCNoLEAST16): Likewise.
17948 [C99-based-standards] (SCNuLEAST16): Likewise.
17949 [C99-based-standards] (SCNxLEAST16): Likewise.
17950 [C99-based-standards] (PRIdFAST16): Likewise.
17951 [C99-based-standards] (PRIiFAST16): Likewise.
17952 [C99-based-standards] (PRIoFAST16): Likewise.
17953 [C99-based-standards] (PRIuFAST16): Likewise.
17954 [C99-based-standards] (PRIxFAST16): Likewise.
17955 [C99-based-standards] (PRIXFAST16): Likewise.
17956 [C99-based-standards] (SCNdFAST16): Likewise.
17957 [C99-based-standards] (SCNiFAST16): Likewise.
17958 [C99-based-standards] (SCNoFAST16): Likewise.
17959 [C99-based-standards] (SCNuFAST16): Likewise.
17960 [C99-based-standards] (SCNxFAST16): Likewise.
17961 [C99-based-standards] (PRId32): Likewise.
17962 [C99-based-standards] (PRIi32): Likewise.
17963 [C99-based-standards] (PRIo32): Likewise.
17964 [C99-based-standards] (PRIu32): Likewise.
17965 [C99-based-standards] (PRIx32): Likewise.
17966 [C99-based-standards] (PRIX32): Likewise.
17967 [C99-based-standards] (SCNd32): Likewise.
17968 [C99-based-standards] (SCNi32): Likewise.
17969 [C99-based-standards] (SCNo32): Likewise.
17970 [C99-based-standards] (SCNu32): Likewise.
17971 [C99-based-standards] (SCNx32): Likewise.
17972 [C99-based-standards] (PRIdLEAST32): Likewise.
17973 [C99-based-standards] (PRIiLEAST32): Likewise.
17974 [C99-based-standards] (PRIoLEAST32): Likewise.
17975 [C99-based-standards] (PRIuLEAST32): Likewise.
17976 [C99-based-standards] (PRIxLEAST32): Likewise.
17977 [C99-based-standards] (PRIXLEAST32): Likewise.
17978 [C99-based-standards] (SCNdLEAST32): Likewise.
17979 [C99-based-standards] (SCNiLEAST32): Likewise.
17980 [C99-based-standards] (SCNoLEAST32): Likewise.
17981 [C99-based-standards] (SCNuLEAST32): Likewise.
17982 [C99-based-standards] (SCNxLEAST32): Likewise.
17983 [C99-based-standards] (PRIdFAST32): Likewise.
17984 [C99-based-standards] (PRIiFAST32): Likewise.
17985 [C99-based-standards] (PRIoFAST32): Likewise.
17986 [C99-based-standards] (PRIuFAST32): Likewise.
17987 [C99-based-standards] (PRIxFAST32): Likewise.
17988 [C99-based-standards] (PRIXFAST32): Likewise.
17989 [C99-based-standards] (SCNdFAST32): Likewise.
17990 [C99-based-standards] (SCNiFAST32): Likewise.
17991 [C99-based-standards] (SCNoFAST32): Likewise.
17992 [C99-based-standards] (SCNuFAST32): Likewise.
17993 [C99-based-standards] (SCNxFAST32): Likewise.
17994 [C99-based-standards] (PRId64): Likewise.
17995 [C99-based-standards] (PRIi64): Likewise.
17996 [C99-based-standards] (PRIo64): Likewise.
17997 [C99-based-standards] (PRIu64): Likewise.
17998 [C99-based-standards] (PRIx64): Likewise.
17999 [C99-based-standards] (PRIX64): Likewise.
18000 [C99-based-standards] (SCNd64): Likewise.
18001 [C99-based-standards] (SCNi64): Likewise.
18002 [C99-based-standards] (SCNo64): Likewise.
18003 [C99-based-standards] (SCNu64): Likewise.
18004 [C99-based-standards] (SCNx64): Likewise.
18005 [C99-based-standards] (PRIdLEAST64): Likewise.
18006 [C99-based-standards] (PRIiLEAST64): Likewise.
18007 [C99-based-standards] (PRIoLEAST64): Likewise.
18008 [C99-based-standards] (PRIuLEAST64): Likewise.
18009 [C99-based-standards] (PRIxLEAST64): Likewise.
18010 [C99-based-standards] (PRIXLEAST64): Likewise.
18011 [C99-based-standards] (SCNdLEAST64): Likewise.
18012 [C99-based-standards] (SCNiLEAST64): Likewise.
18013 [C99-based-standards] (SCNoLEAST64): Likewise.
18014 [C99-based-standards] (SCNuLEAST64): Likewise.
18015 [C99-based-standards] (SCNxLEAST64): Likewise.
18016 [C99-based-standards] (PRIdFAST64): Likewise.
18017 [C99-based-standards] (PRIiFAST64): Likewise.
18018 [C99-based-standards] (PRIoFAST64): Likewise.
18019 [C99-based-standards] (PRIuFAST64): Likewise.
18020 [C99-based-standards] (PRIxFAST64): Likewise.
18021 [C99-based-standards] (PRIXFAST64): Likewise.
18022 [C99-based-standards] (SCNdFAST64): Likewise.
18023 [C99-based-standards] (SCNiFAST64): Likewise.
18024 [C99-based-standards] (SCNoFAST64): Likewise.
18025 [C99-based-standards] (SCNuFAST64): Likewise.
18026 [C99-based-standards] (SCNxFAST64): Likewise.
18027 [C99-based-standards] (PRIdMAX): Likewise.
18028 [C99-based-standards] (PRIiMAX): Likewise.
18029 [C99-based-standards] (PRIoMAX): Likewise.
18030 [C99-based-standards] (PRIuMAX): Likewise.
18031 [C99-based-standards] (PRIxMAX): Likewise.
18032 [C99-based-standards] (PRIXMAX): Likewise.
18033 [C99-based-standards] (SCNdMAX): Likewise.
18034 [C99-based-standards] (SCNiMAX): Likewise.
18035 [C99-based-standards] (SCNoMAX): Likewise.
18036 [C99-based-standards] (SCNuMAX): Likewise.
18037 [C99-based-standards] (SCNxMAX): Likewise.
18038 [C99-based-standards] (PRIdPTR): Likewise.
18039 [C99-based-standards] (PRIiPTR): Likewise.
18040 [C99-based-standards] (PRIoPTR): Likewise.
18041 [C99-based-standards] (PRIuPTR): Likewise.
18042 [C99-based-standards] (PRIxPTR): Likewise.
18043 [C99-based-standards] (PRIXPTR): Likewise.
18044 [C99-based-standards] (SCNdPTR): Likewise.
18045 [C99-based-standards] (SCNiPTR): Likewise.
18046 [C99-based-standards] (SCNoPTR): Likewise.
18047 [C99-based-standards] (SCNuPTR): Likewise.
18048 [C99-based-standards] (SCNxPTR): Likewise.
18049 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18051 * conform/data/stdint.h-data: Update comments to clarify
18053 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18055 [C99-based standards] (INT8_MAX): Likewise.
18056 [C99-based standards] (INT16_MIN): Likewise.
18057 [C99-based standards] (INT16_MAX): Likewise.
18058 [C99-based standards] (INT32_MIN): Likewise.
18059 [C99-based standards] (INT32_MAX): Likewise.
18060 [C99-based standards] (INT64_MIN): Likewise.
18061 [C99-based standards] (INT64_MAX): Likewise.
18062 [C99-based standards] (UINT8_MAX): Likewise.
18063 [C99-based standards] (UINT16_MAX): Likewise.
18064 [C99-based standards] (UINT32_MAX): Likewise.
18065 [C99-based standards] (UINT64_MAX): Likewise.
18066 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18067 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18068 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18069 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18070 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18071 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18072 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18073 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18074 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18075 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18076 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18077 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18078 [C99-based standards] (INT_FAST8_MIN): Likewise.
18079 [C99-based standards] (INT_FAST8_MAX): Likewise.
18080 [C99-based standards] (INT_FAST16_MIN): Likewise.
18081 [C99-based standards] (INT_FAST16_MAX): Likewise.
18082 [C99-based standards] (INT_FAST32_MIN): Likewise.
18083 [C99-based standards] (INT_FAST32_MAX): Likewise.
18084 [C99-based standards] (INT_FAST64_MIN): Likewise.
18085 [C99-based standards] (INT_FAST64_MAX): Likewise.
18086 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18087 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18088 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18089 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18090 [C99-based standards] (INTPTR_MIN): Likewise.
18091 [C99-based standards] (INTPTR_MAX): Likewise.
18092 [C99-based standards] (UINTPTR_MAX): Likewise.
18093 [C99-based standards] (INTMAX_MIN): Likewise.
18094 [C99-based standards] (INTMAX_MAX): Likewise.
18095 [C99-based standards] (UINTMAX_MAX): Likewise.
18096 [C99-based standards] (PTRDIFF_MIN): Likewise.
18097 [C99-based standards] (PTRDIFF_MAX): Likewise.
18098 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18099 [C99-based standards] (SIZE_MAX): Likewise.
18100 [C99-based standards] (WCHAR_MAX): Likewise.
18101 [C99-based standards] (WINT_MAX): Likewise.
18102 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18103 constraint on value.
18104 [C99-based standards] (WCHAR_MIN): Likewise.
18105 [C99-based standards] (WINT_MIN): Likewise.
18106 [C99-based standards] (*_t): Allow.
18107 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18108 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18109 Include math.h-data and complex.h-data. Remove all expectations
18110 of math.h and complex.h contents.
18111 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18113 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18114 (struct tm): Expect tag.
18115 [C99-based-standards] (wcstof): Expect function.
18116 [C99-based-standards] (wcstold): Likewise.
18117 [C99-based-standards] (wcstoll): Likewise.
18118 [C99-based-standards] (wcstoull): Likewise.
18119 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18120 macro-int-constant. Specify type.
18121 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18122 constraint on value.
18123 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18125 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18127 [ISO C standards]: Do not allow headers.
18128 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18129 wcs[abcdefghijklmnopqrstuvwxyz]*.
18130 [ISO C standards] (*_t): Do not allow.
18131 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18133 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18134 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18136 [ISO C standards]: Do not allow headers.
18137 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18138 is[abcdefghijklmnopqrstuvwxyz]*.
18139 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18140 to[abcdefghijklmnopqrstuvwxyz]*.
18141 [ISO C standards] (*_t): Do not allow.
18142 * conform/data/stdalign.h-data: New file.
18143 * conform/data/stdbool.h-data: Likewise.
18144 * conform/data/stdnoreturn.h-data: Likewise.
18146 2012-11-07 Roland McGrath <roland@hack.frob.com>
18149 * manual/filesys.texi (Directory Entries): Typo fix.
18150 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18152 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18154 * elf/elf.h (EM_AARCH64): New macro.
18155 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18156 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18157 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18158 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18159 (R_AARCH64_TLSDESC): Likewise.
18160 (NT_ARM_TLS): Likewise.
18161 (NT_ARM_HW_BREAK): Likewise.
18162 (NT_ARM_HW_WATCH): Likewise.
18164 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18167 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18168 (__ieee754_powl): Saturate nonzero exponents with absolute value
18169 below 0x1p-79 to +/- 0x1p-79.
18170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18171 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18172 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18173 nonzero exponents with absolute value below 0x1p-32 to +/-
18175 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18176 (__ieee754_powl): Saturate nonzero exponents with absolute value
18177 below 0x1p-79 to +/- 0x1p-79.
18178 * math/libm-test.inc (pow_test): Add more tests.
18180 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18182 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18183 _dl_s390_cap_flags with kernel. Increase string length.
18184 (_dl_s390_platforms): Add z196 and zEC12.
18186 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18188 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18189 Change XOPEN21K to XOPEN2K.
18191 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18193 * string/memmove.c: Use memcpy when possible.
18195 2012-11-06 Andreas Jaeger <aj@suse.de>
18197 * po/eo.po: Update from translation team.
18199 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18203 exponent and small x and y exponents, scale x or y up. Increase
18204 by 2 the exponent used in scaling up.
18205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18207 * math/libm-test.inc (fma_test): Add more tests.
18208 (fma_test_towardzero): Likewise.
18209 (fma_test_downward): Likewise.
18210 (fma_test_upward): Likewise.
18212 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18215 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18219 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18220 namespace for names of struct fields.
18221 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18223 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18224 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18226 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18229 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18231 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18233 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18237 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18240 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18244 definitely overflow as x * y not x * y + z.
18245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18247 * math/libm-test.inc (fma_test): Add more tests.
18248 (fma_test_towardzero): Likewise.
18249 (fma_test_downward): Likewise.
18250 (fma_test_upward): Likewise.
18252 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18256 * include/stub-tag.h: Remove file.
18257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18259 * manual/maint.texi (Porting): Don't reference it.
18260 * Makerules ($(objpfx)stubs): Likewise.
18261 * dirent/closedir.c: Don't include <stub-tag.h>.
18262 * dirent/dirfd.c: Likewise.
18263 * dirent/fdopendir.c: Likewise.
18264 * dirent/getdents.c: Likewise.
18265 * dirent/getdents64.c: Likewise.
18266 * dirent/opendir.c: Likewise.
18267 * dirent/readdir.c: Likewise.
18268 * dirent/readdir64.c: Likewise.
18269 * dirent/readdir64_r.c: Likewise.
18270 * dirent/readdir_r.c: Likewise.
18271 * dirent/rewinddir.c: Likewise.
18272 * dirent/seekdir.c: Likewise.
18273 * dirent/telldir.c: Likewise.
18274 * gmon/profil.c: Likewise.
18275 * grp/setgroups.c: Likewise.
18276 * inet/if_index.c: Likewise.
18277 * io/access.c: Likewise.
18278 * io/chdir.c: Likewise.
18279 * io/chmod.c: Likewise.
18280 * io/chown.c: Likewise.
18281 * io/close.c: Likewise.
18282 * io/dup.c: Likewise.
18283 * io/dup2.c: Likewise.
18284 * io/dup3.c: Likewise.
18285 * io/euidaccess.c: Likewise.
18286 * io/faccessat.c: Likewise.
18287 * io/fchdir.c: Likewise.
18288 * io/fchmod.c: Likewise.
18289 * io/fchmodat.c: Likewise.
18290 * io/fchown.c: Likewise.
18291 * io/fchownat.c: Likewise.
18292 * io/fcntl.c: Likewise.
18293 * io/flock.c: Likewise.
18294 * io/fstatfs.c: Likewise.
18295 * io/fstatfs64.c: Likewise.
18296 * io/fstatvfs.c: Likewise.
18297 * io/fstatvfs64.c: Likewise.
18298 * io/futimens.c: Likewise.
18299 * io/fxstat.c: Likewise.
18300 * io/fxstat64.c: Likewise.
18301 * io/fxstatat.c: Likewise.
18302 * io/fxstatat64.c: Likewise.
18303 * io/getcwd.c: Likewise.
18304 * io/isatty.c: Likewise.
18305 * io/lchmod.c: Likewise.
18306 * io/lchown.c: Likewise.
18307 * io/link.c: Likewise.
18308 * io/linkat.c: Likewise.
18309 * io/lseek.c: Likewise.
18310 * io/lseek64.c: Likewise.
18311 * io/lxstat64.c: Likewise.
18312 * io/mkdir.c: Likewise.
18313 * io/mkdirat.c: Likewise.
18314 * io/mkfifo.c: Likewise.
18315 * io/mkfifoat.c: Likewise.
18316 * io/open.c: Likewise.
18317 * io/open64.c: Likewise.
18318 * io/openat.c: Likewise.
18319 * io/openat64.c: Likewise.
18320 * io/pipe.c: Likewise.
18321 * io/pipe2.c: Likewise.
18322 * io/poll.c: Likewise.
18323 * io/posix_fadvise.c: Likewise.
18324 * io/posix_fadvise64.c: Likewise.
18325 * io/posix_fallocate.c: Likewise.
18326 * io/posix_fallocate64.c: Likewise.
18327 * io/read.c: Likewise.
18328 * io/readlink.c: Likewise.
18329 * io/readlinkat.c: Likewise.
18330 * io/rmdir.c: Likewise.
18331 * io/sendfile.c: Likewise.
18332 * io/sendfile64.c: Likewise.
18333 * io/statfs.c: Likewise.
18334 * io/statfs64.c: Likewise.
18335 * io/statvfs.c: Likewise.
18336 * io/statvfs64.c: Likewise.
18337 * io/symlink.c: Likewise.
18338 * io/symlinkat.c: Likewise.
18339 * io/ttyname.c: Likewise.
18340 * io/ttyname_r.c: Likewise.
18341 * io/umask.c: Likewise.
18342 * io/unlink.c: Likewise.
18343 * io/unlinkat.c: Likewise.
18344 * io/utime.c: Likewise.
18345 * io/utimensat.c: Likewise.
18346 * io/write.c: Likewise.
18347 * io/xmknod.c: Likewise.
18348 * io/xmknodat.c: Likewise.
18349 * io/xstat.c: Likewise.
18350 * io/xstat64.c: Likewise.
18351 * login/getpt.c: Likewise.
18352 * login/grantpt.c: Likewise.
18353 * login/unlockpt.c: Likewise.
18354 * math/e_acoshl.c: Likewise.
18355 * math/e_acosl.c: Likewise.
18356 * math/e_asinl.c: Likewise.
18357 * math/e_atan2l.c: Likewise.
18358 * math/e_atanhl.c: Likewise.
18359 * math/e_coshl.c: Likewise.
18360 * math/e_expl.c: Likewise.
18361 * math/e_fmodl.c: Likewise.
18362 * math/e_gammal_r.c: Likewise.
18363 * math/e_hypotl.c: Likewise.
18364 * math/e_j0l.c: Likewise.
18365 * math/e_j1l.c: Likewise.
18366 * math/e_jnl.c: Likewise.
18367 * math/e_lgammal_r.c: Likewise.
18368 * math/e_log10l.c: Likewise.
18369 * math/e_log2l.c: Likewise.
18370 * math/e_logl.c: Likewise.
18371 * math/e_powl.c: Likewise.
18372 * math/e_rem_pio2l.c: Likewise.
18373 * math/e_sinhl.c: Likewise.
18374 * math/e_sqrtl.c: Likewise.
18375 * math/fclrexcpt.c: Likewise.
18376 * math/fedisblxcpt.c: Likewise.
18377 * math/feenablxcpt.c: Likewise.
18378 * math/fegetenv.c: Likewise.
18379 * math/fegetexcept.c: Likewise.
18380 * math/fegetround.c: Likewise.
18381 * math/feholdexcpt.c: Likewise.
18382 * math/fesetenv.c: Likewise.
18383 * math/fesetround.c: Likewise.
18384 * math/feupdateenv.c: Likewise.
18385 * math/fgetexcptflg.c: Likewise.
18386 * math/fraiseexcpt.c: Likewise.
18387 * math/fsetexcptflg.c: Likewise.
18388 * math/ftestexcept.c: Likewise.
18389 * math/k_cosl.c: Likewise.
18390 * math/k_rem_pio2l.c: Likewise.
18391 * math/k_sinl.c: Likewise.
18392 * math/k_tanl.c: Likewise.
18393 * math/s_asinhl.c: Likewise.
18394 * math/s_atanl.c: Likewise.
18395 * math/s_cbrtl.c: Likewise.
18396 * math/s_erfl.c: Likewise.
18397 * math/s_expm1l.c: Likewise.
18398 * math/s_log1pl.c: Likewise.
18399 * math/s_tanhl.c: Likewise.
18400 * misc/acct.c: Likewise.
18401 * misc/brk.c: Likewise.
18402 * misc/chflags.c: Likewise.
18403 * misc/chroot.c: Likewise.
18404 * misc/fchflags.c: Likewise.
18405 * misc/fgetxattr.c: Likewise.
18406 * misc/flistxattr.c: Likewise.
18407 * misc/fremovexattr.c: Likewise.
18408 * misc/fsetxattr.c: Likewise.
18409 * misc/fsync.c: Likewise.
18410 * misc/ftruncate.c: Likewise.
18411 * misc/futimes.c: Likewise.
18412 * misc/futimesat.c: Likewise.
18413 * misc/getdomain.c: Likewise.
18414 * misc/getdtsz.c: Likewise.
18415 * misc/gethostid.c: Likewise.
18416 * misc/gethostname.c: Likewise.
18417 * misc/getloadavg.c: Likewise.
18418 * misc/getpagesize.c: Likewise.
18419 * misc/getsysstats.c: Likewise.
18420 * misc/getxattr.c: Likewise.
18421 * misc/gtty.c: Likewise.
18422 * misc/ioctl.c: Likewise.
18423 * misc/lgetxattr.c: Likewise.
18424 * misc/listxattr.c: Likewise.
18425 * misc/llistxattr.c: Likewise.
18426 * misc/lremovexattr.c: Likewise.
18427 * misc/lsetxattr.c: Likewise.
18428 * misc/lutimes.c: Likewise.
18429 * misc/madvise.c: Likewise.
18430 * misc/mincore.c: Likewise.
18431 * misc/mlock.c: Likewise.
18432 * misc/mlockall.c: Likewise.
18433 * misc/mmap.c: Likewise.
18434 * misc/mprotect.c: Likewise.
18435 * misc/msync.c: Likewise.
18436 * misc/munlock.c: Likewise.
18437 * misc/munlockall.c: Likewise.
18438 * misc/munmap.c: Likewise.
18439 * misc/preadv.c: Likewise.
18440 * misc/preadv64.c: Likewise.
18441 * misc/ptrace.c: Likewise.
18442 * misc/pwritev.c: Likewise.
18443 * misc/pwritev64.c: Likewise.
18444 * misc/readv.c: Likewise.
18445 * misc/reboot.c: Likewise.
18446 * misc/remap_file_pages.c: Likewise.
18447 * misc/removexattr.c: Likewise.
18448 * misc/revoke.c: Likewise.
18449 * misc/select.c: Likewise.
18450 * misc/setdomain.c: Likewise.
18451 * misc/setegid.c: Likewise.
18452 * misc/seteuid.c: Likewise.
18453 * misc/sethostid.c: Likewise.
18454 * misc/sethostname.c: Likewise.
18455 * misc/setregid.c: Likewise.
18456 * misc/setreuid.c: Likewise.
18457 * misc/setxattr.c: Likewise.
18458 * misc/sstk.c: Likewise.
18459 * misc/stty.c: Likewise.
18460 * misc/swapoff.c: Likewise.
18461 * misc/swapon.c: Likewise.
18462 * misc/sync.c: Likewise.
18463 * misc/syncfs.c: Likewise.
18464 * misc/syscall.c: Likewise.
18465 * misc/truncate.c: Likewise.
18466 * misc/ualarm.c: Likewise.
18467 * misc/usleep.c: Likewise.
18468 * misc/ustat.c: Likewise.
18469 * misc/utimes.c: Likewise.
18470 * misc/vhangup.c: Likewise.
18471 * misc/writev.c: Likewise.
18472 * posix/_exit.c: Likewise.
18473 * posix/alarm.c: Likewise.
18474 * posix/execve.c: Likewise.
18475 * posix/fexecve.c: Likewise.
18476 * posix/fork.c: Likewise.
18477 * posix/fpathconf.c: Likewise.
18478 * posix/getaddrinfo.c: Likewise.
18479 * posix/getegid.c: Likewise.
18480 * posix/geteuid.c: Likewise.
18481 * posix/getgid.c: Likewise.
18482 * posix/getgroups.c: Likewise.
18483 * posix/getlogin.c: Likewise.
18484 * posix/getlogin_r.c: Likewise.
18485 * posix/getpgid.c: Likewise.
18486 * posix/getpid.c: Likewise.
18487 * posix/getppid.c: Likewise.
18488 * posix/getresgid.c: Likewise.
18489 * posix/getresuid.c: Likewise.
18490 * posix/getsid.c: Likewise.
18491 * posix/getuid.c: Likewise.
18492 * posix/glob64.c: Likewise.
18493 * posix/nanosleep.c: Likewise.
18494 * posix/pathconf.c: Likewise.
18495 * posix/pause.c: Likewise.
18496 * posix/posix_madvise.c: Likewise.
18497 * posix/pread.c: Likewise.
18498 * posix/pread64.c: Likewise.
18499 * posix/pwrite.c: Likewise.
18500 * posix/pwrite64.c: Likewise.
18501 * posix/sched_getaffinity.c: Likewise.
18502 * posix/sched_getp.c: Likewise.
18503 * posix/sched_gets.c: Likewise.
18504 * posix/sched_primax.c: Likewise.
18505 * posix/sched_primin.c: Likewise.
18506 * posix/sched_rr_gi.c: Likewise.
18507 * posix/sched_setaffinity.c: Likewise.
18508 * posix/sched_setp.c: Likewise.
18509 * posix/sched_sets.c: Likewise.
18510 * posix/sched_yield.c: Likewise.
18511 * posix/setgid.c: Likewise.
18512 * posix/setlogin.c: Likewise.
18513 * posix/setpgid.c: Likewise.
18514 * posix/setresgid.c: Likewise.
18515 * posix/setresuid.c: Likewise.
18516 * posix/setsid.c: Likewise.
18517 * posix/setuid.c: Likewise.
18518 * posix/sleep.c: Likewise.
18519 * posix/spawni.c: Likewise.
18520 * posix/sysconf.c: Likewise.
18521 * posix/times.c: Likewise.
18522 * posix/wait.c: Likewise.
18523 * posix/wait3.c: Likewise.
18524 * posix/wait4.c: Likewise.
18525 * posix/waitpid.c: Likewise.
18526 * resolv/gai_sigqueue.c: Likewise.
18527 * resource/getpriority.c: Likewise.
18528 * resource/getrlimit.c: Likewise.
18529 * resource/getrusage.c: Likewise.
18530 * resource/nice.c: Likewise.
18531 * resource/setpriority.c: Likewise.
18532 * resource/setrlimit.c: Likewise.
18533 * resource/ulimit.c: Likewise.
18534 * rt/aio_cancel.c: Likewise.
18535 * rt/aio_fsync.c: Likewise.
18536 * rt/aio_read.c: Likewise.
18537 * rt/aio_sigqueue.c: Likewise.
18538 * rt/aio_suspend.c: Likewise.
18539 * rt/aio_write.c: Likewise.
18540 * rt/clock_getres.c: Likewise.
18541 * rt/clock_gettime.c: Likewise.
18542 * rt/clock_nanosleep.c: Likewise.
18543 * rt/clock_settime.c: Likewise.
18544 * rt/lio_listio.c: Likewise.
18545 * rt/mq_close.c: Likewise.
18546 * rt/mq_getattr.c: Likewise.
18547 * rt/mq_notify.c: Likewise.
18548 * rt/mq_open.c: Likewise.
18549 * rt/mq_receive.c: Likewise.
18550 * rt/mq_send.c: Likewise.
18551 * rt/mq_setattr.c: Likewise.
18552 * rt/mq_timedreceive.c: Likewise.
18553 * rt/mq_timedsend.c: Likewise.
18554 * rt/mq_unlink.c: Likewise.
18555 * rt/shm_open.c: Likewise.
18556 * rt/shm_unlink.c: Likewise.
18557 * rt/timer_create.c: Likewise.
18558 * rt/timer_delete.c: Likewise.
18559 * rt/timer_getoverr.c: Likewise.
18560 * rt/timer_gettime.c: Likewise.
18561 * rt/timer_settime.c: Likewise.
18562 * setjmp/__longjmp.c: Likewise.
18563 * setjmp/setjmp.c: Likewise.
18564 * signal/kill.c: Likewise.
18565 * signal/killpg.c: Likewise.
18566 * signal/raise.c: Likewise.
18567 * signal/sigaction.c: Likewise.
18568 * signal/sigaltstack.c: Likewise.
18569 * signal/sigblock.c: Likewise.
18570 * signal/sigignore.c: Likewise.
18571 * signal/sigintr.c: Likewise.
18572 * signal/signal.c: Likewise.
18573 * signal/sigpause.c: Likewise.
18574 * signal/sigpending.c: Likewise.
18575 * signal/sigqueue.c: Likewise.
18576 * signal/sigreturn.c: Likewise.
18577 * signal/sigset.c: Likewise.
18578 * signal/sigsetmask.c: Likewise.
18579 * signal/sigstack.c: Likewise.
18580 * signal/sigsuspend.c: Likewise.
18581 * signal/sigtimedwait.c: Likewise.
18582 * signal/sigvec.c: Likewise.
18583 * signal/sigwait.c: Likewise.
18584 * signal/sigwaitinfo.c: Likewise.
18585 * signal/sysv_signal.c: Likewise.
18586 * socket/accept.c: Likewise.
18587 * socket/accept4.c: Likewise.
18588 * socket/bind.c: Likewise.
18589 * socket/connect.c: Likewise.
18590 * socket/getpeername.c: Likewise.
18591 * socket/getsockname.c: Likewise.
18592 * socket/getsockopt.c: Likewise.
18593 * socket/isfdtype.c: Likewise.
18594 * socket/listen.c: Likewise.
18595 * socket/recv.c: Likewise.
18596 * socket/recvfrom.c: Likewise.
18597 * socket/recvmsg.c: Likewise.
18598 * socket/send.c: Likewise.
18599 * socket/sendmsg.c: Likewise.
18600 * socket/sendto.c: Likewise.
18601 * socket/setsockopt.c: Likewise.
18602 * socket/shutdown.c: Likewise.
18603 * socket/sockatmark.c: Likewise.
18604 * socket/socket.c: Likewise.
18605 * socket/socketpair.c: Likewise.
18606 * stdio-common/ctermid.c: Likewise.
18607 * stdio-common/cuserid.c: Likewise.
18608 * stdio-common/remove.c: Likewise.
18609 * stdio-common/rename.c: Likewise.
18610 * stdio-common/renameat.c: Likewise.
18611 * stdio-common/tempname.c: Likewise.
18612 * stdlib/getcontext.c: Likewise.
18613 * stdlib/makecontext.c: Likewise.
18614 * stdlib/setcontext.c: Likewise.
18615 * stdlib/swapcontext.c: Likewise.
18616 * stdlib/system.c: Likewise.
18617 * streams/fattach.c: Likewise.
18618 * streams/fdetach.c: Likewise.
18619 * streams/getmsg.c: Likewise.
18620 * streams/getpmsg.c: Likewise.
18621 * streams/putmsg.c: Likewise.
18622 * streams/putpmsg.c: Likewise.
18623 * sysdeps/unix/bsd/getpt.c: Likewise.
18624 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18625 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18626 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18629 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18630 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18631 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18632 * sysvipc/msgctl.c: Likewise.
18633 * sysvipc/msgget.c: Likewise.
18634 * sysvipc/msgrcv.c: Likewise.
18635 * sysvipc/msgsnd.c: Likewise.
18636 * sysvipc/semctl.c: Likewise.
18637 * sysvipc/semget.c: Likewise.
18638 * sysvipc/semop.c: Likewise.
18639 * sysvipc/semtimedop.c: Likewise.
18640 * sysvipc/shmat.c: Likewise.
18641 * sysvipc/shmctl.c: Likewise.
18642 * sysvipc/shmdt.c: Likewise.
18643 * sysvipc/shmget.c: Likewise.
18644 * termios/tcdrain.c: Likewise.
18645 * termios/tcflow.c: Likewise.
18646 * termios/tcflush.c: Likewise.
18647 * termios/tcgetattr.c: Likewise.
18648 * termios/tcgetpgrp.c: Likewise.
18649 * termios/tcsendbrk.c: Likewise.
18650 * termios/tcsetattr.c: Likewise.
18651 * termios/tcsetpgrp.c: Likewise.
18652 * time/adjtime.c: Likewise.
18653 * time/clock.c: Likewise.
18654 * time/getitimer.c: Likewise.
18655 * time/gettimeofday.c: Likewise.
18656 * time/setitimer.c: Likewise.
18657 * time/settimeofday.c: Likewise.
18658 * time/stime.c: Likewise.
18659 * time/time.c: Likewise.
18661 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18663 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18666 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18668 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18670 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18674 FE_TONEAREST before applying Dekker multiplication and Knuth
18675 addition. Clear inexact exceptions and check for exact zero
18676 results afterwards.
18677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18680 * math/libm-test.inc (fma_test): Add more tests.
18681 (fma_test_towardzero): Likewise.
18682 (fma_test_downward): Likewise.
18683 (fma_test_upward): Likewise.
18684 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18686 (libc_fesetround): New macro.
18687 (libc_fesetroundf): Likewise.
18688 (libc_fesetroundl): Likewise.
18689 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18691 (libc_fesetround_387): Likewise.
18692 (libc_fesetroundf): New macro.
18693 (libc_fesetround): Likewise.
18694 (libc_fesetroundl): Likewise.
18695 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18697 (libc_fesetroundf): New macro.
18698 (libc_fesetround): Likewise.
18699 (libc_fesetroundl): Likewise.
18700 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18701 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18702 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18704 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18705 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18707 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18708 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18710 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18714 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18715 integer constant usable in #if and use that to give value to enum
18717 (FE_DIVBYZERO): Likewise.
18718 (FE_UNDERFLOW): Likewise.
18719 (FE_OVERFLOW): Likewise.
18720 (FE_INVALID): Likewise.
18721 (FE_INVALID_SNAN): Likewise.
18722 (FE_INVALID_ISI): Likewise.
18723 (FE_INVALID_IDI): Likewise.
18724 (FE_INVALID_ZDZ): Likewise.
18725 (FE_INVALID_IMZ): Likewise.
18726 (FE_INVALID_COMPARE): Likewise.
18727 (FE_INVALID_SOFTWARE): Likewise.
18728 (FE_INVALID_SQRT): Likewise.
18729 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18730 (FE_TONEAREST): Likewise.
18731 (FE_TOWARDZERO): Likewise.
18732 (FE_UPWARD): Likewise.
18733 (FE_DOWNWARD): Likewise.
18734 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18735 (FE_DIVBYZERO): Likewise.
18736 (FE_OVERFLOW): Likewise.
18737 (FE_UNDERFLOW): Likewise.
18738 (FE_INEXACT): Likewise.
18739 (FE_TONEAREST): Likewise.
18740 (FE_DOWNWARD): Likewise.
18741 (FE_UPWARD): Likewise.
18742 (FE_TOWARDZERO): Likewise.
18743 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18744 (FE_UNDERFLOW): Likewise.
18745 (FE_OVERFLOW): Likewise.
18746 (FE_DIVBYZERO): Likewise.
18747 (FE_INVALID): Likewise.
18748 (FE_TONEAREST): Likewise.
18749 (FE_TOWARDZERO): Likewise.
18750 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18751 (FE_OVERFLOW): Likewise.
18752 (FE_UNDERFLOW): Likewise.
18753 (FE_DIVBYZERO): Likewise.
18754 (FE_INEXACT): Likewise.
18755 (FE_TONEAREST): Likewise.
18756 (FE_TOWARDZERO): Likewise.
18757 (FE_UPWARD): Likewise.
18758 (FE_DOWNWARD): Likewise.
18759 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18760 (FE_DIVBYZERO): Likewise.
18761 (FE_OVERFLOW): Likewise.
18762 (FE_UNDERFLOW): Likewise.
18763 (FE_INEXACT): Likewise.
18764 (FE_TONEAREST): Likewise.
18765 (FE_DOWNWARD): Likewise.
18766 (FE_UPWARD): Likewise.
18767 (FE_TOWARDZERO): Likewise.
18769 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18771 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18773 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18775 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18776 commands. Quote $PWD.
18777 (blacklist_exports): Don't use remove_newlines. Replace "declare
18779 (remove_newlines): Remove.
18781 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18783 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18784 * stdlib/stdlib.h (atof): Moved to ...
18785 * include/bits/stdlib-float.h: Here. New file.
18786 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18787 * stdlib/bits/stdlib-float.h: New file.
18788 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18790 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18793 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18795 * conform/conformtest.pl (@headers): Add fenv.h.
18796 * conform/data/fenv.h-data: New file.
18797 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18798 include of <math/fenv.h>.
18800 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18801 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18802 && !UNIX98]. Enables tests for XOPEN2K8.
18803 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18804 POSIX2008]: Likewise.
18806 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18807 (struct rusage): Do not expect type or its members.
18810 * math/math.h (FP_NAN): Define macro to integer constant usable in
18811 #if and use that to give value to enum constant.
18812 (FP_INFINITE): Likewise.
18813 (FP_ZERO): Likewise.
18814 (FP_SUBNORMAL): Likewise.
18815 (FP_NORMAL): Likewise.
18817 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18819 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18820 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18823 2012-11-02 Roland McGrath <roland@hack.frob.com>
18825 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18826 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18827 autoconf-time if not.
18828 * configure.in: Remove AC_PREREQ.
18830 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18832 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18833 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18834 of the internal implementation.
18836 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18838 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18839 except include of <misc/sys/syslog.h>.
18841 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18844 function returns with a NULL context exit with zero.
18846 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18848 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18850 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18852 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18853 (run_program_cmd): This.
18854 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18855 (tst_langinfo): New variable. Use it.
18857 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18859 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18860 floating point opcodes.
18862 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18864 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18867 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18869 * sysdeps/mach/hurd/powerpc: Remove directory.
18870 * sysdeps/mach/powerpc: Likewise.
18872 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18874 * scripts/check-local-headers.sh: Ignore c++ headers.
18876 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18878 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18879 __libc_cleanup_region_start argument.
18881 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18886 x * y using scaling, not as x * y + z.
18887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18889 * math/libm-test.inc (fma_test): Add more tests.
18890 (fma_test_towardzero): Likewise.
18891 (fma_test_downward): Likewise.
18892 (fma_test_upward): Likewise.
18894 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18896 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18898 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18900 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18903 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18905 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18907 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18914 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18917 Fix the order of the list for glibc 2.17.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18921 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18925 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18929 for low part of x being zero before using __atanl (y).
18930 * math/libm-test.inc (atan2_test): Add another test.
18932 * manual/install.texi (Configuring and compiling): Document
18933 general use of test-wrapper and test-wrapper-env.
18934 * INSTALL: Regenerated.
18936 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18937 (__fma): Do not extract and scale down low bits on after-rounding
18938 systems when result rounded to normal precision would have normal
18940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18941 (__fmal): Do not extract and scale down low bits on after-rounding
18942 systems when result rounded to normal precision would have normal
18944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18945 (__fmal): Do not extract and scale down low bits on after-rounding
18946 systems when result rounded to normal precision would have normal
18948 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18950 (fma_test): Add more tests.
18951 (fma_test_towardzero): Likewise.
18952 (fma_test_downward): Likewise.
18953 (fma_test_upward): Likewise.
18955 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18957 * sysdeps/i386/tininess.h: Renamed to ...
18958 * sysdeps/x86/tininess.h: This.
18959 * sysdeps/x86_64/tininess.h: Removed.
18961 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18963 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18964 input. Use $(build-program-cmd).
18965 ($(objpfx)tst-array1-static.out): Likewise.
18966 ($(objpfx)tst-array2.out): Likewise.
18967 ($(objpfx)tst-array3.out): Likewise.
18968 ($(objpfx)tst-array4.out): Likewise.
18969 ($(objpfx)tst-array5.out): Likewise.
18970 ($(objpfx)tst-array5-static.out): Likewise.
18972 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18974 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18977 * nss/nsswitch.h (nss_interface_function): Provide new
18978 macro for use with NSS functions.
18979 * grp/initgroups.c: Use new macro.
18980 * nss/getXXbyYY.c: Likewise.
18981 * nss/getXXbyYY_r.c: Likewise.
18982 * nss/getXXent.c: Likewise.
18983 * nss/getXXent_r.c: Likewise.
18984 * sysdeps/posix/getaddrinfo.c: Likewise.
18986 2012-10-30 Andreas Jaeger <aj@suse.de>
18988 * po/ru.po: Update Russion translation from translation project.
18990 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18995 result and shift together with sticky bit instead of replicating
18996 round-to-nearest rounding.
18997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18999 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19000 missing underflow exceptions.
19001 (fma_test_towardzero): Add more tests.
19002 (fma_test_downward): Likewise.
19003 (fma_test_upward): Likewise.
19006 * sysdeps/generic/tininess.h: New file.
19007 * sysdeps/i386/tininess.h: Likewise.
19008 * sysdeps/sh/tininess.h: Likewise.
19009 * sysdeps/x86_64/tininess.h: Likewise.
19010 * stdlib/tst-strtod-underflow.c: Likewise.
19011 * stdlib/tst-tininess.c: Likewise.
19012 * stdlib/strtod_l.c: Include <tininess.h>.
19013 (round_and_return): Do not set errno for exact underflow cases.
19014 Force an underflow exception when setting errno for underflow.
19015 Determine underflow based on rounding to normal precision if
19016 TININESS_AFTER_ROUNDING.
19017 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19018 ERANGE for exact underflow cases.
19019 * stdlib/Makefile (tests): Add tst-tininess and
19020 tst-strtod-underflow.
19021 ($(objpfx)tst-tininess): Use $(link-libm).
19022 ($(objpfx)tst-strtod-underflow): Likewise.
19024 2012-10-30 Andreas Jaeger <aj@suse.de>
19027 * elf/Makefile (tests): Remove conditional for have-initfini-array
19028 since this is now always required and the variable does not exist
19030 (tests-static): Likewise.
19031 (modules-names): Likewise.
19033 * po/eo.po: Add Esperanto translation from translation project.
19035 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19036 merged with constructor/destructor.
19037 (init_array): Likewise.
19038 * elf/tst-array2dep.c (fini_array): Likewise.
19039 (init_array): Likewise.
19041 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19043 * manual/message.texi: Delete @cartouche tags.
19045 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19047 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19049 * sysdeps/mach/hurd/fsync.c: Likewise.
19051 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19052 [_POSIX_REALTIME_SIGNALS]: Change condition to
19053 [_POSIX_REALTIME_SIGNALS > 0].
19055 2012-10-27 Andreas Jaeger <aj@suse.de>
19057 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19058 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19060 [__WORDSIZE != 64]: Likewise.
19062 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19064 * iconvdata/tst-table.sh: Remove ${SHELL}.
19065 * iconvdata/tst-tables.sh: Likewise.
19067 2012-10-25 David S. Miller <davem@davemloft.net>
19069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19070 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19075 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19076 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19077 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19080 2012-10-25 Roland McGrath <roland@hack.frob.com>
19082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19083 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19086 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19087 Jim Blandy <jimb@codesourcery.com>
19089 * scripts/cross-test-ssh.sh: New file.
19090 * manual/install.texi (Configuring and compiling): Document use of
19092 * INSTALL: Regenerated.
19094 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19096 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19099 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19101 * Makeconfig (run-program-prefix): Fix comment.
19103 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19104 Jim Blandy <jimb@codesourcery.com>
19106 * Makeconfig (test-wrapper): New variable,
19107 (test-wrapper-env): Likewise.
19108 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19109 (run-built-tests): Define to yes.
19110 (run-program-prefix): Use $(test-wrapper).
19111 (built-program-cmd): Likewise.
19112 * Rules (make-test-out): Use $(test-wrapper-env) and
19113 $(host-built-program-cmd).
19114 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19115 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19117 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19118 $(test-wrapper-env) to tst-rtld-load-self.sh.
19119 ($(objpfx)order2.out): Use $(test-wrapper).
19120 ($(objpfx)tst-initorder.out): Likewise.
19121 ($(objpfx)tst-initorder2.out): Likewise.
19122 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19123 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19124 (test_wrapper_env): New variable. Use it to run ld.so.
19125 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19126 Use it to run ld.so.
19127 (test_wrapper_env): Likewise.
19128 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19129 $(test-wrapper) to run-iconv-test.sh.
19130 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19131 (ICONV): Use $test_wrapper.
19132 * posix/Makefile ($(objpfx)globtest.out): Pass
19133 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19134 globtest.sh, not $(run-program-prefix).
19135 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19136 (test_wrapper): Likewise.
19137 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19138 set together with run_via_rtld_prefix.
19139 (run_program_prefix): Define in terms of test_wrapper and
19140 run_via_rtld_prefix.
19142 2012-10-24 Roland McGrath <roland@hack.frob.com>
19144 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19145 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19149 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19150 Declare __clock_getres, __clock_gettime, __clock_settime,
19151 __clock_nanosleep, and __clock_getcpuclockid.
19152 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19153 Remove librt_hidden_def (clock_gettime).
19154 * sysdeps/unix/clock_gettime.c: Likewise.
19155 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19157 * rt/clock_getres.c: Define __clock_getres as an alias.
19158 * sysdeps/posix/clock_getres.c: Likewise.
19159 * rt/clock_settime.c: Define __clock_settime as an alias.
19160 * sysdeps/unix/clock_settime.c: Likewise.
19161 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19162 * sysdeps/unix/clock_nanosleep.c: Likewise.
19163 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19164 * rt/clock-compat.c: New file.
19165 * rt/Makefile (librt-routines): Add clock-compat and move
19166 $(clock-routines) to ...
19167 (routines): ... here, new variable.
19168 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19169 Don't add get_clockfreq here.
19170 * rt/Versions (libc: GLIBC_2.17): New version set.
19171 Add clock_* symbols here.
19172 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19174 (GLIBC_2.17): Add clock_* symbols.
19175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19186 * NEWS: Mention the move.
19188 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19189 Use __open, __read, __close rather than their public counterparts.
19190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19191 (__get_clockfreq_via_cpuinfo): Likewise.
19192 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19193 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19195 * config.h.in (HAVE_IFUNC): New #undef.
19196 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19198 * configure: Regenerated.
19200 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19202 * configure.in: Move READELF check to start of file.
19203 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19204 libc_cv_asm_gnu_indirect_function in the process.
19205 * configure: Regenerated.
19207 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19209 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19210 send the output to /dev/null.
19211 (libc_cv_cc_with_libunwind): Likewise.
19212 (libc_cv_as_noexecstack): Likewise.
19213 * configure: Regenerate.
19215 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19217 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19219 * posix/globtest.sh (TMPDIR): Do not set.
19220 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19221 (testout): Likewise.
19223 2012-10-24 Andreas Jaeger <aj@suse.de>
19225 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19226 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19227 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19228 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19229 posix_fadvise64, posix_fallocate64.
19231 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19232 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19233 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19235 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19237 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19240 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19241 <bits/fcntl-linux.h>.
19242 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19245 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19246 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19247 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19248 [__WORDSIZE != 64]: Likewise.
19250 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19252 * Makeconfig (run-built-tests): New variable.
19253 * Rules [$(cross-compiling) = yes]: Change condition to
19254 [$(run-built-tests) = no].
19255 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19256 to [$(run-built-tests) = yes].
19257 * elf/Makefile [$(cross-compiling) = no]: Likewise
19258 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19259 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19260 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19261 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19262 * io/Makefile [$(cross-compiling) = no]: Likewise.
19263 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19264 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19265 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19266 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19267 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19268 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19269 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19270 * string/Makefile [$(cross-compiling) = no]: Likewise.
19272 * posix/Makefile ($(objpfx)globtest.out): Pass
19273 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19274 $(rtld-installed-name).
19275 * posix/globtest.sh (elf_objpfx): Remove variable.
19276 (rtld_installed_name): Likewise.
19277 (library_path): Likewise.
19278 (run_program_prefix): New variable. Use for running globtest
19281 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19282 Joseph Myers <joseph@codesourcery.com>
19284 * Makeconfig (host-built-program-cmd): New variable.
19285 * elf/Makefile (tst-stackguard1-ARGS): Use
19286 $(host-built-program-cmd).
19287 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19288 (tst-spawn-ARGS): Likewise.
19289 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19291 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19292 Jim Blandy <jimb@codesourcery.com>
19294 * Makeconfig (run-via-rtld-prefix): New variable.
19295 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19296 (built-program-cmd): Likewise.
19298 2012-10-22 Andreas Jaeger <aj@suse.de>
19300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19301 __O_RSYNC if it exists, otherwise to O_SYNC.
19303 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19304 Joseph Myers <joseph@codesourcery.com>
19306 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19308 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19310 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19313 2012-10-22 Andreas Jaeger <aj@suse.de>
19315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19320 bits/fcntl-linux.h.
19322 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19323 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19330 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19331 Joseph Myers <joseph@codesourcery.com>
19333 * config.make.in (NM): New variable.
19335 2012-10-21 Andreas Jaeger <aj@suse.de>
19337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19338 definitions and declarations that are provided by
19339 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19341 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19344 * elf/Makefile (tests-static): Add tst-leaks1-static.
19345 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19346 ($(objpfx)tst-leaks1-static): New rule.
19347 ($(objpfx)tst-leaks1-static-mem): Likewise.
19348 (tst-leaks1-static-ENV): New macro.
19349 * elf/dl-open.c (dl_open_worker): Check the main application
19350 only if SHARED is defined.
19351 * elf/tst-leaks1-static.c: New file.
19353 2012-10-20 Andreas Jaeger <aj@suse.de>
19355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19356 generic values for Linux.
19357 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19358 and declarations that are provided by <bits/fcntl-linux.h> and
19359 include <bits/fcntl-linux.h>.
19360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19363 2012-10-20 Roland McGrath <roland@hack.frob.com>
19365 * io/fcntl.h: Move include of <bits/types.h> to the top and
19366 include it unconditionally.
19368 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19370 * wcsmbs/Makefile (tests-ifunc): New variable.
19371 (tests): Add $(tests-ifunc).
19372 * wcsmbs/test-wcschr-ifunc.c: New file.
19373 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19374 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19375 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19376 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19377 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19379 * string/Makefile (tests-ifunc): New variable.
19380 (tests): Add $(tests-ifunc).
19381 * string/test-memccpy.c (TEST_NAME): New macro.
19382 * string/test-memchr.c (TEST_NAME): Likewise.
19383 * string/test-memcmp.c (TEST_NAME): Likewise.
19384 * string/test-memcpy.c (TEST_NAME): Likewise.
19385 * string/test-memmem.c (TEST_NAME): Likewise.
19386 * string/test-memmove.c (TEST_NAME): Likewise.
19387 * string/test-memset.c (TEST_NAME): Likewise.
19388 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19389 * string/test-stpcpy.c (TEST_NAME): Likewise.
19390 * string/test-stpncpy.c (TEST_NAME): Likewise.
19391 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19392 * string/test-strcasestr.c (TEST_NAME): Likewise.
19393 * string/test-strcat.c (TEST_NAME): Likewise.
19394 * string/test-strchr.c (TEST_NAME): Likewise.
19395 * string/test-strcmp.c(TEST_NAME): Likewise.
19396 * string/test-strcpy.c (TEST_NAME): Likewise.
19397 * string/test-strcspn.c (TEST_NAME): Likewise.
19398 * string/test-strlen.c (TEST_NAME): Likewise.
19399 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19400 * string/test-strncmp.c (TEST_NAME): Likewise.
19401 * string/test-strncpy.c (TEST_NAME): Likewise.
19402 * string/test-strnlen.c (TEST_NAME): Likewise.
19403 * string/test-strpbrk.c (TEST_NAME): Likewise.
19404 * string/test-strrchr.c (TEST_NAME): Likewise.
19405 * string/test-strspn.c (TEST_NAME): Likewise.
19406 * string/test-strstr.c (TEST_NAME): Likewise.
19407 * string/test-bcopy-ifunc.c: New file.
19408 * string/test-bzero-ifunc.c: Likewise.
19409 * string/test-memccpy-ifunc.c: Likewise.
19410 * string/test-memchr-ifunc.c: Likewise.
19411 * string/test-memcmp-ifunc.c: Likewise.
19412 * string/test-memcpy-ifunc.c: Likewise.
19413 * string/test-memmem-ifunc.c: Likewise.
19414 * string/test-memmove-ifunc.c: Likewise.
19415 * string/test-mempcpy-ifunc.c: Likewise.
19416 * string/test-memset-ifunc.c: Likewise.
19417 * string/test-rawmemchr-ifunc.c: Likewise.
19418 * string/test-stpcpy-ifunc.c: Likewise.
19419 * string/test-stpncpy-ifunc.c: Likewise.
19420 * string/test-strcasecmp-ifunc.c: Likewise.
19421 * string/test-strcasestr-ifunc.c: Likewise.
19422 * string/test-strcat-ifunc.c: Likewise.
19423 * string/test-strchr-ifunc.c: Likewise.
19424 * string/test-strchrnul-ifunc.c: Likewise.
19425 * string/test-strcmp-ifunc.c: Likewise.
19426 * string/test-strcpy-ifunc.c: Likewise.
19427 * string/test-strcspn-ifunc.c: Likewise.
19428 * string/test-strlen-ifunc.c: Likewise.
19429 * string/test-strncasecmp-ifunc.c: Likewise.
19430 * string/test-strncat-ifunc.c: Likewise.
19431 * string/test-strncmp-ifunc.c: Likewise.
19432 * string/test-strncpy-ifunc.c: Likewise.
19433 * string/test-strnlen-ifunc.c: Likewise.
19434 * string/test-strpbrk-ifunc.c: Likewise.
19435 * string/test-strrchr-ifunc.c: Likewise.
19436 * string/test-strspn-ifunc.c: Likewise.
19437 * string/test-strstr-ifunc.c: Likewise.
19439 * debug/Makefile (tests-ifunc): New variable.
19440 (tests): Add $(tests-ifunc).
19441 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19442 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19443 * debug/test-stpcpy_chk-ifunc.c: New file.
19444 * debug/test-strcpy_chk-ifunc.c: Likewise.
19446 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19449 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19450 header is not read in.
19452 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19454 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19455 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19456 directly. Pass built executable to script as
19457 $(built-program-cmd).
19458 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19459 $testprogram without using LD_LIBRARY_PATH and $ldso.
19461 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19462 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19463 $(rtld-installed-name).
19464 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19465 (rtld_installed_name): Likewise.
19466 (library_path): Likewise.
19467 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19468 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19469 $(run-program-prefix) to tst-tables.sh.
19470 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19471 it to run tst-table-from and tst-table-to.
19472 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19473 Pass it to tst-table.sh.
19474 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19475 $(run-program-prefix) to tst-gettext.sh.
19476 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19478 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19480 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19481 to run tst-gettext.
19482 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19483 to run tst-gettext2.
19484 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19485 to run tst-translit.
19486 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19487 $(run-program-prefix) to tst-mtrace.sh.
19488 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19490 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19491 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19492 $(rtld-installed-name).
19493 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19494 (rtld_installed_name): Likewise.
19495 (run_program_prefix): New variable. Use it to run wordexp-test.
19497 * Makeconfig (ARCH): Remove all definitions.
19498 (machine): Likewise.
19499 [ARCH]: Remove conditional code.
19500 [!objdir]: Give error.
19501 [!objdir] (objpfx): Remove.
19502 [!objdir] (common-objpfx): Likewise.
19503 [!objdir] (common-objdir): Likewise.
19504 * configure.in (config_makefile): Remove. Hardcode Makefile in
19505 AC_CONFIG_FILES call.
19506 * configure: Regenerated.
19509 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19511 (testout): Likewise.
19513 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19514 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19515 $(rtld-installed-name).
19516 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19517 (rtld_installed_name): Likwise.
19518 (runit): Remove function.
19519 (run_getconf): New variable, Use it for running getconf binary.
19521 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19524 * string/test-memmem.c (check_result): New function.
19525 (do_one_test): Use it.
19526 (check1): New function.
19527 (test_main): Use it.
19529 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19531 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19533 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19535 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19536 (_G_LSEEK64): Likewise.
19537 (_G_MMAP64): Likewise.
19538 (_G_FSTAT64): Likewise.
19539 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19540 (_G_LSEEK64): Likewise.
19541 (_G_MMAP64): Likewise.
19542 (_G_FSTAT64): Likewise.
19543 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19544 unconditional. Call __mmap64 directly.
19545 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19546 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19547 __lseek64 directly.
19548 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19549 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19551 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19552 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19553 __lseek64 directly.
19554 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19555 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19556 __lseek64 directly.
19557 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19558 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19559 __lseek64 directly.
19560 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19561 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19562 __fxstat64 directly.
19563 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19564 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19566 (freopen64) [!_G_OPEN64]: Remove conditional code.
19567 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19569 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19570 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19572 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19573 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19575 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19576 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19578 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19579 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19581 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19582 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19584 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19585 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19587 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19589 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19592 * manual/memory.texi (Malloc Tunable Parameters): Add note
19593 about free list pointers overwriting some perturb bytes.
19594 Wording suggested by Roland McGrath.
19596 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19598 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19599 (lgamma_test): Likewise.
19600 (tgamma_test): Likewise.
19602 2012-10-16 Florian Weimer <fweimer@redhat.com>
19605 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19606 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19608 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19610 * NEWS: Mention BZ #14716.
19611 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19612 when removing AVAILABLE1_USES_J macro.
19614 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19616 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19617 (__bswap_64): __uint64_t for unsigned 64-bit int.
19619 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19621 * include/string.h (memmem): Declare libc hidden alias.
19622 * string/memmem.c (memmem): Define libc hidden alias.
19623 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19624 __read, __close instead of open, read, close.
19626 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19629 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19631 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19632 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19633 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19635 (__rawmemchr_sse2): Likewise.
19636 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19637 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19638 (__strchr_sse2): Likewise.
19639 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19640 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19641 (__strcasecmp_sse2): Likewise.
19642 (__strncasecmp_sse2): Likewise.
19643 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19644 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19645 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19646 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19647 (__strrchr_sse2): Likewise.
19648 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19650 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19651 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19652 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19653 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19654 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19656 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19657 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19658 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19659 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19660 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19661 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19662 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19663 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19664 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19665 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19666 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19667 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19668 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19669 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19670 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19671 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19672 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19673 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19674 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19675 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19676 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19677 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19678 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19679 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19681 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19683 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19684 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19685 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19686 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19688 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19690 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19691 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19692 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19693 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19695 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19696 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19697 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19698 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19699 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19700 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19701 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19702 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19703 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19704 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19705 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19706 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19707 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19708 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19709 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19710 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19711 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19712 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19713 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19714 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19715 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19716 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19717 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19718 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19719 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19720 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19721 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19722 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19723 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19724 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19725 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19726 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19727 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19728 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19729 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19730 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19731 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19732 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19733 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19734 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19735 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19737 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19738 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19739 * include/ifunc-impl-list.h: New file.
19740 * misc/ifunc-impl-list.c: Likewise.
19741 * misc/Makefile (routines): Add ifunc-impl-list.
19742 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19743 * string/test-string.h: Include <ifunc-impl-list.h>.
19744 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19745 impl_array): New variables.
19746 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19748 (test_init): Call __libc_ifunc_impl_list to initialize
19749 func_list if TEST_IFUNC and TEST_NAME are defined.
19751 * string/Makefile (strop-tests): Add bcopy and bzero.
19752 * string/test-bcopy.c: New file.
19753 * string/test-bzero.c: Likewise.
19754 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19756 * string/test-memset.c: Support bzero test if TEST_BZERO is
19758 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19760 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19762 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19765 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19767 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19768 * configure: Regenerated.
19770 * Makeconfig (+link-static-before-libc): Don't include
19771 $(link-static-libc).
19773 * libio/libio.h (_IO_pos_t): Remove.
19775 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19777 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19780 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19782 * crypt/crypt-entry.c: Include fips-private.h.
19783 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19784 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19785 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19786 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19788 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19790 * crypt/crypt-private.h: Include stdbool.h.
19791 (_ufc_setup_salt_r): Return bool.
19792 * crypt/crypt-entry.c: Include errno.h.
19793 (__crypt_r): Return NULL with EINVAL for bad salt.
19794 * crypt/crypt_util.c (bad_for_salt): New.
19795 (_ufc_setup_salt_r): Check that salt is long enough and within
19796 the specified alphabet.
19797 * crypt/badsalttest.c: New file.
19798 * crypt/Makefile (tests): Add it.
19799 ($(objpfx)badsalttest): New.
19801 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19803 * NEWS: Add entry for BZ #14602.
19805 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19807 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19809 * math/libm-test.inc: Update comment listing what functions and
19811 (isgreater_test): New function.
19812 (isgreaterequal_test): Likewise.
19813 (isless_test): Likewise.
19814 (islessequal_test): Likewise.
19815 (islessgreater_test): Likewise.
19816 (isunordered_test): Likewise.
19817 (main): Call the new functions.
19819 2012-10-09 Roland McGrath <roland@hack.frob.com>
19821 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19822 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19823 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19824 * sysdeps/i386/configure: Regenerated.
19825 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19826 * sysdeps/mach/configure: Regenerated.
19827 * sysdeps/mach/hurd/configure: Regenerated.
19828 * sysdeps/powerpc/configure: Regenerated.
19829 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19830 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19831 * sysdeps/s390/s390-32/configure: Regenerated.
19832 * sysdeps/s390/s390-64/configure: Regenerated.
19833 * sysdeps/sh/configure: Regenerated.
19834 * sysdeps/sparc/configure: Regenerated.
19835 * sysdeps/unix/sysv/linux/configure: Regenerated.
19836 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19837 * sysdeps/x86_64/configure: Regenerated.
19839 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19840 defined. Don't check if MAP is NULL.
19842 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19844 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19845 (_G_stat64): Likewise.
19846 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19847 (_G_stat64): Likewise.
19848 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19849 instead of struct _G_stat64.
19850 * libio/fileops.c (mmap_remap_check): Likewise.
19851 (decide_maybe_mmap): Likewise.
19852 (_IO_new_file_seekoff): Likewise.
19853 (_IO_file_stat): Likewise.
19854 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19856 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19857 instead of struct _G_stat64.
19858 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19860 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19863 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19865 (CHECK_EOL): New macro.
19866 (two_way_short_needle): Check beginning of haystack for EOL. Use
19868 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19869 Replace with CHECK_EOL.
19870 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19871 Replace with CHECK_EOL.
19873 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19875 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19877 * math/libm-test.inc: Update comment listing what functions and
19879 (finite_test): New function.
19880 (isinf_test): Likewise.
19881 (isnan_test): Likewise.
19882 (fpclassify_test): Test subnormal input.
19883 (isfinite_test): Likewise.
19884 (isnormal_test): Likewise.
19885 (main): Call the new functions.
19887 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19890 * Makerules (%.dynsym): Force C locale when running
19891 $(OBJDUMP) --dynamic-syms.
19893 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19895 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19898 2012-10-06 David S. Miller <davem@davemloft.net>
19900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19901 upper 32-bits of the length value in %o2 since we use branch-on-register
19902 tests which consider the entire 64-bit register.
19904 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19906 * string/test-strstr.c (check2): Add a test for page boundary.
19908 2012-10-05 David S. Miller <davem@davemloft.net>
19910 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19911 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19913 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19915 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19916 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19917 and bzero when HWCAP_SPARC_CRYPTO is present.
19919 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19922 * string/test-strstr.c (check2): New function.
19923 (test_main): Call check2.
19925 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19927 * string/bug-strcasestr1.c (do_test): Moved to ...
19928 * string/test-strcasestr.c (check1): Here. New function.
19929 (do_one_test): Break out result checking code into ...
19930 (check_result): This. New function.
19931 (do_one_test): Call check_result.
19932 (test_main): Call check1.
19933 * string/bug-strchr1.c (do_test): Moved to ...
19934 * string/test-strchr.c (check1): Here. New function.
19935 (do_one_test): Break out result checking code into ...
19936 (check_result): This. New function.
19937 (do_one_test): Call check_result.
19938 (test_main): Call check1.
19939 * string/bug-strstr1.c (main): Moved to ...
19940 * string/test-strstr.c (check1): Here. New function.
19941 (do_one_test): Break out result checking code into ...
19942 (check_result): This. New function.
19943 (do_one_test): Call check_result.
19944 (test_main): Call check1.
19945 * string/bug-strcasestr1.c: Removed.
19946 * string/bug-strchr1.c: Likewise.
19947 * string/bug-strstr1.c: Likewise.
19949 * elf/Makefile (dl-routines): Add hwcaps.
19950 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19951 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19952 (_dl_important_hwcaps): Moved to ...
19953 * elf/dl-hwcaps.c: Here. New file.
19954 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19957 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19958 if IS_IN_rtld isn't defined.
19960 * elf/dl-support.c (_dl_sysinfo_map): New.
19961 Include "get-dynamic-info.h" and "setup-vdso.h".
19962 (_dl_non_dynamic_init): Call setup_vdso.
19963 * elf/dynamic-link.h: Don't include <assert.h>.
19964 (elf_get_dynamic_info): Moved to ...
19965 * elf/get-dynamic-info.h: Here. New file.
19966 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19967 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19968 * elf/setup-vdso.h: Here. New file.
19969 * elf/rtld.c: Include "setup-vdso.h".
19970 (dl_main): Call setup_vdso.
19972 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19974 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19975 creal in comment listing functions tested. List finite, isinf,
19976 isnan, isless, islessequal, isgreater, isgreaterequal,
19977 islessgreater, isunordered, lgamma_r and pow10 as functions and
19978 macros not tested. Mention which functions not tested are aliases
19979 for other functions. Fix typo. Note that signs of NaNs are not
19982 * scripts/config.guess: Update from config.git.
19983 * scripts/config.sub: Likewise.
19985 2012-10-04 Roland McGrath <roland@hack.frob.com>
19987 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19988 * misc/madvise.c (madvise): Renamed to __madvise.
19989 Make madvise a weak alias.
19990 * include/sys/mman.h: Declare __madvise.
19991 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19992 * sysdeps/unix/syscalls.list
19993 (madvise): Make __madvise the strong name, and madvise a weak alias.
19994 * sysdeps/unix/sysv/linux/syscalls.list
19995 (madvise, mmap): Remove redundant entries.
19996 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19997 * malloc/malloc.c (mtrim): Likewise.
19998 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20000 2012-10-03 Roland McGrath <roland@hack.frob.com>
20002 * sysdeps/mach/hurd/dl-cache.c: File removed.
20003 * config.h.in (USE_LDCONFIG): New #undef.
20004 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20005 * configure: Regenerated.
20006 * elf/Makefile (dl-routines): Add dl-cache only under
20007 [$(use-ldconfig) = yes].
20008 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20009 cache on [USE_LDCONFIG].
20010 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20012 * elf/rtld.c (dl_main): Likewise.
20014 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20016 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20017 _SC_LEVEL4_CACHE_LINESIZE.
20019 2012-10-03 Roland McGrath <roland@hack.frob.com>
20021 * sysdeps/unix/bsd/confstr.h: File removed.
20023 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20025 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20028 2012-10-02 Roland McGrath <roland@hack.frob.com>
20030 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20031 Make 'mapoff' field ElfW(Off) rather than off_t.
20033 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20035 * nscd/Makefile: Remove nscd-cflags and all its users.
20036 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20037 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20040 * malloc.c (malloc_printerr): Clarify error message.
20042 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20046 Set bit_FMA_Usable if FMA is supported.
20047 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20049 (bit_FMA4_Usable): Updated.
20050 (index_FMA_Usable): New macro.
20051 (CPUID_FMA): Likewise
20052 (HAS_FMA): Defined with bit_FMA_Usable.
20054 2012-10-01 Roland McGrath <roland@hack.frob.com>
20056 * bits/types.h (__swblk_t): Type removed.
20057 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20058 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20060 (__SWBLK_T_TYPE): Likewise.
20061 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20062 (__SWBLK_T_TYPE): Likewise.
20063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20064 (__SWBLK_T_TYPE): Likewise.
20065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20066 (__SWBLK_T_TYPE): Likewise.
20068 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20069 Honza Horak <hhorak@redhat.com>
20071 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20072 (xdr_mapname): Use YPMAXMAP as maxsize.
20073 (xdr_peername): Use YPMAXPEER as maxsize.
20074 (xdr_keydat): Use YPAXRECORD as maxsize.
20075 (xdr_valdat): Use YPMAXRECORD as maxsize.
20077 2012-10-01 Roland McGrath <roland@hack.frob.com>
20079 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20081 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20082 * csu/init-first.c: ... here.
20083 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20084 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20087 * sysdeps/i386/init-first.c: File removed.
20088 * sysdeps/sh/init-first.c: File removed.
20090 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20094 if x * y might underflow to zero and z is zero.
20095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20096 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20097 * math/libm-test.inc (min_subnorm_value): New variable.
20098 (fma_test): Add more tests.
20099 (fma_test_towardzero): Likewise.
20100 (fma_test_downward): Likewise
20101 (fma_test_upward): Likewise.
20102 (initialize): Set min_subnorm_value.
20104 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20109 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20110 mode for addition resulting in exact zero.
20111 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20114 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20116 * math/libm-test.inc (fma_test): Add more tests.
20117 (fma_test_towardzero): New function.
20118 (fma_test_downward): Likewise.
20119 (fma_test_upward): Likewise.
20120 (main): Call the new functions.
20122 2012-09-28 David S. Miller <davem@davemloft.net>
20124 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20126 2012-09-28 Roland McGrath <roland@hack.frob.com>
20128 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20129 instead of SIGALRM.
20131 * sysdeps/gnu/_G_config.h: Moved to ...
20132 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20133 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20134 * sysdeps/generic/_G_config.h: ... here.
20136 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20138 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20140 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20141 Conditionalize target on [libnss_test1.so-version].
20143 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20145 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20146 (elfobjdir): Move out of conditionals.
20148 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20149 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20150 (__nss_lookup_function): Conditionalize label remove_from_tree on
20151 [!DO_STATIC_NSS || SHARED], matching its only use.
20153 2012-09-28 David S. Miller <davem@davemloft.net>
20155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20156 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20158 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20160 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20162 when HWCAP_SPARC_CRYPTO is present.
20164 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20166 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20168 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20171 * stdio-common/vfprintf.c (process_string_arg): Revert
20174 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20176 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20178 * stdio-common/tst-sprintf.c: Include <locale.h>
20179 (main): Test sprintf's handling of incomplete multibyte
20182 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20184 * elf/dl-runtime.c (VERSYMIDX): Removed.
20185 * elf/dl-version.c (VERSYMIDX): Likewise.
20186 * elf/do-rel.h (VERSYMIDX): Likewise.
20187 (VALIDX): Likewise.
20188 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20189 * elf/rtld.c (VALIDX): Likewise.
20190 (ADDRIDX): Likewise.
20191 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20192 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20193 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20194 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20195 (VALIDX): Likewise.
20196 (ADDRIDX): Likewise.
20198 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20200 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20202 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20205 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20207 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20208 addresses are in the same scope as 192.0.2/24.
20209 * posix/gai.conf: Document new scope table defaults.
20211 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20214 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20215 for ftell. Compute offsets from write pointers instead.
20216 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20218 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20221 * libio/Makefile (tests): New test case tst-fseek.
20222 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20223 combination works in wide mode.
20224 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20225 state when the external buffer state changes.
20227 2012-09-27 David S. Miller <davem@davemloft.net>
20230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20231 pass reloc->r_addend in as the 'high' argument to
20232 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20236 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20238 * rt/tst-aio2.c: Include <pthread.h>.
20239 * rt/tst-aio3.c: Likewise.
20241 2012-09-27 Steve Ellcey <sellcey@mips.com>
20243 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20245 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20247 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20248 contents on [SHARED].
20250 2012-09-26 Marek Polacek <polacek@redhat.com>
20254 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20255 for C++ and GCC <4.3 as well as for non GCC compilers.
20257 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20261 2012-09-25 Roland McGrath <roland@hack.frob.com>
20263 * Makefile.in (all, install): Declare with .PHONY.
20264 Reported by Michael Hope <michael.hope@linaro.org>.
20266 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20268 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20269 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20271 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20273 (sydep_routines): Add the new and the internal functions.
20274 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20275 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20277 (GLIBC_2.17): Add the new function.
20278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20279 (GLIBC_2.17): Likewise.
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20281 (GLIBC_2.17): Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20283 (GLIBC_2.17): Likewise.
20284 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20286 2012-09-25 Alan Modra <amodra@gmail.com>
20288 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20289 Add release barrier before setting once_control to say
20290 initialisation is done. Add hints on lwarx. Use macro in
20292 (clear_once_control): Add release barrier.
20294 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20297 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20299 * math/s_clog10.c (__clog10): Likewise.
20300 * math/s_clog10f.c (__clog10f): Likewise.
20301 * math/s_clog10l.c (__clog10l): Likewise.
20302 * math/s_clogf.c (__clogf): Likewise.
20303 * math/s_clogl.c (__clogl): Likewise.
20304 * math/Makefile (libm-calls): Add x2y2m1.
20305 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20306 (__x2y2m1): Likewise.
20307 (__x2y2m1l): Likewise.
20308 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20309 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20310 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20311 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20312 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20313 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20314 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20315 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20319 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20320 int as type of variable DEPTH.
20321 (glob): Use size_t instead of int as type of variables NEWCOUNT
20324 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20326 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20327 Add s_sincosf-sse2.
20328 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20329 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20330 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20331 macros for using routine as __sincosf_ia32.
20332 Use macro for function declaration and weak_alias.
20333 * sysdeps/i386/fpu/libm-test-ulps: Update.
20335 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20338 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20339 subnormal argument.
20340 * math/s_cexpf.c (__cexpf): Likewise.
20341 * math/s_csinf.c (__csinf): Likewise.
20342 * math/s_csinhf.c (__csinhf): Likewise.
20343 * math/s_ctanf.c (__ctanf): Likewise.
20344 * math/s_ctanhf.c (__ctanhf): Likewise.
20345 * math/s_ccosh.c (__ccoshf): Likewise.
20346 * math/s_cexp.c (__cexpl): Likewise.
20347 * math/s_csin.c (__csin): Likewise.
20348 * math/s_csinh.c (__csinh): Likewise.
20349 * math/s_ctan.c (__ctan): Likewise.
20350 * math/s_ctanh.c (ctanh): Likewise.
20351 * math/s_ccoshl.c (__ccoshl): Likewise.
20352 * math/s_cexpl.c (__cexpl): Likewise.
20353 * math/s_csinl.c (__csinl): Likewise.
20354 * math/s_csinhl.c (__csinhl): Likewise.
20355 * math/s_ctanl.c (__ctanl): Likewise.
20356 * math/s_ctanhl.c (__ctanhl): Likewise.
20358 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20360 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20361 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20362 (_IO_off_t): Define to __off_t, not _G_off_t.
20363 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20364 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20365 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20366 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20367 type of __dummy and __dummy2 fields.
20368 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20369 (_G_ssize_t): Likewise.
20370 (_G_off_t): Likewise.
20371 (_G_pid_t): Likewise.
20372 (_G_uid_t): Likewise.
20373 (_G_wchar_t): Likewise.
20374 (_G_wint_t): Likewise.
20375 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20376 (_G_ssize_t): Likewise.
20377 (_G_off_t): Likewise.
20378 (_G_pid_t): Likewise.
20379 (_G_uid_t): Likewise.
20380 (_G_wchar_t): Likewise.
20381 (_G_wint_t): Likewise.
20382 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20383 (_G_ssize_t): Likewise.
20384 (_G_off_t): Likewise.
20385 (_G_pid_t): Likewise.
20386 (_G_uid_t): Likewise.
20387 (_G_wchar_t): Likewise.
20388 (_G_wint_t): Likewise.
20390 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20392 * malloc/arena.c: Include malloc-sysdep.h.
20393 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20394 is sufficient to shrink the heap or an unmap is needed.
20395 * sysdeps/generic/malloc-sysdep.h: New file. Define
20396 new function check_may_shrink_heap.
20397 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20398 new function check_may_shrink_heap.
20400 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20402 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20405 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20407 * catgets/test-gencat.sh: Add "set -e".
20408 * elf/tst-pathopt.sh: Likewise.
20409 * grp/tst_fgetgrent.sh: Likewise.
20410 * iconvdata/run-iconv-test.sh: Likewise.
20411 * intl/tst-gettext.sh: Likewise.
20412 * intl/tst-gettext2.sh: Likewise.
20413 * intl/tst-gettext4.sh: Likewise.
20414 * intl/tst-gettext6.sh: Likewise.
20415 * intl/tst-translit.sh: Likewise.
20416 * io/ftwtest-sh: Likewise.
20417 * libio/test-freopen.sh: Likewise.
20418 * malloc/tst-mtrace.sh: Likewise.
20419 * posix/globtest.sh: Likewise.
20420 * posix/tst-getconf.sh: Likewise.
20421 * posix/wordexp-tst.sh: Likewise.
20422 * stdio-common/tst-printf.sh: Likewise.
20423 * stdio-common/tst-unbputc.sh: Likewise.
20424 * stdlib/tst-fmtmsg.sh: Likewise.
20425 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20426 * catgets/Makefile: Do not specify -e option when running
20427 testsuite shell scripts.
20428 * elf/Makefile: Likewise.
20429 * grp/Makefile: Likewise.
20430 * iconvdata/Makefile: Likewise.
20431 * intl/Makefile: Likewise.
20432 * io/Makefile: Likewise.
20433 * libio/Makefile: Likewise.
20434 * malloc/Makefile: Likewise.
20435 * posix/Makefile: Likewise.
20436 * stdio-common/Makefile: Likewise.
20437 * stdlib/Makefile: Likewise.
20438 * sysdeps/x86_64/Makefile: Likewise.
20440 * io/ftwtest-sh: Add copyright header.
20441 * posix/globtest.sh: Likewise.
20442 * posix/tst-getconf.sh: Likewise.
20443 * posix/wordexp-tst.sh: Likewise.
20444 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20446 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20449 * Makeconfig (+link): Defined as $(+link-static) if
20450 $(build-shared) isn't yes.
20451 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20453 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20455 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20458 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20459 new chunk size with MALLOC_ALIGN_MASK.
20461 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20464 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20466 (__printf_fphex): Determine rounding using get_rounding_mode and
20468 * stdio-common/tst-printf-round.c (struct hex_test): New
20470 (hex_tests): New variable.
20471 (test_hex_in_one_mode): New function.
20472 (do_test): Also run tests for hex float output.
20474 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20476 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20477 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20478 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20479 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20480 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20481 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20482 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20483 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20485 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20487 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20488 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20489 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20490 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20492 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20495 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20497 * elf/tst-rtld-load-self.sh: New test.
20498 * elf/Makefile: Run it.
20500 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20503 (tst-writev-ENV): Remove.
20504 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20506 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20508 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20510 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20512 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20514 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20516 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20517 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20518 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20521 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20524 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20525 * config.make.in (have-cpp-asm-debuginfo): Removed.
20526 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20527 * configure: Regenerated.
20529 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20532 * stdio-common/printf_fp.c: Include <stdbool.h> and
20534 (___printf_fp): Determine rounding using get_rounding_mode and
20536 * stdio-common/tst-printf-round.c: New file.
20537 * stdio-common/Makefile (tests): Add tst-printf-round.
20538 (link-libm): New variable.
20539 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20541 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20544 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20545 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20547 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20550 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20552 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20553 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20554 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20555 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20557 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20560 * include/rounding-mode.h: New file.
20561 * sysdeps/generic/get-rounding-mode.h: Likewise.
20562 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20563 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20564 (MAX_VALUE): New macro.
20565 (MIN_VALUE): Likewise.
20566 (overflow_value): New function.
20567 (underflow_value): Likewise.
20568 (round_and_return): Use overflow_value and underflow_value to
20569 determine return values in overflow and underflow cases. Use
20570 round_away to determine rounding depending on rounding mode.
20571 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20572 determine return values in overflow and underflow cases.
20573 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20574 (struct test_results): New structure.
20575 (struct test): Use struct test_results to store expected results
20576 for all rounding modes.
20577 (TEST): Include expected results for all rounding modes.
20578 (test_in_one_mode): New function.
20579 (do_test): Use test_in_one_mode to compute and check results.
20580 Check results for all rounding modes.
20581 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20584 2012-12-09 Allan McRae <allan@archlinux.org>
20586 * sysdeps/i386/fpu/libm-test-ulps: Update
20588 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20590 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20591 (_G_int32_t): Likewise.
20592 (_G_uint16_t): Likewise.
20593 (_G_uint32_t): Likewise.
20594 (_G_HAVE_BOOL): Likewise.
20595 (_G_HAVE_ATEXIT): Likewise.
20596 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20597 (_G_HAVE_IO_FILE_OPEN): Likewise.
20598 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20599 (_G_int32_t): Likewise.
20600 (_G_uint16_t): Likewise.
20601 (_G_uint32_t): Likewise.
20602 (_G_HAVE_BOOL): Likewise.
20603 (_G_HAVE_ATEXIT): Likewise.
20604 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20605 (_G_HAVE_IO_FILE_OPEN): Likewise.
20606 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20607 (_G_int32_t): Likewise.
20608 (_G_uint16_t): Likewise.
20609 (_G_uint32_t): Likewise.
20610 (_G_HAVE_BOOL): Likewise.
20611 (_G_HAVE_ATEXIT): Likewise.
20612 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20613 (_G_HAVE_IO_FILE_OPEN): Likewise.
20615 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20617 * csu/libc-tls.c: Update copyright years.
20619 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20621 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20622 [!_G_USING_THUNKS]: Remove conditional code.
20623 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20624 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20626 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20627 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20628 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20629 (_G_VTABLE_LABEL_PREFIX): Likewise.
20630 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20631 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20632 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20633 (_G_VTABLE_LABEL_PREFIX): Likewise.
20634 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20635 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20636 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20637 (_G_VTABLE_LABEL_PREFIX): Likewise.
20638 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20640 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20642 * libio/Makefile: Include ../Makeconfig before tests.
20643 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20644 only if $(build-shared) is yes.
20646 * iconv/gconv_db.c: Update copyright years.
20648 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20650 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20651 unwind info if defined PIC. Fix special cases description.
20652 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20654 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20656 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20658 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20660 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20662 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20665 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20666 (LDLIBS-tst-chk4): This.
20667 (LDFLAGS-tst-chk5): Renamed to ...
20668 (LDLIBS-tst-chk5): This.
20669 (LDFLAGS-tst-chk6): Renamed to ...
20670 (LDLIBS-tst-chk6): This.
20671 (LDFLAGS-tst-lfschk4): Renamed to ...
20672 (LDLIBS-tst-lfschk4): This.
20673 (LDFLAGS-tst-lfschk5): Renamed to ...
20674 (LDLIBS-tst-lfschk5): This.
20675 (LDFLAGS-tst-lfschk6): Renamed to ...
20676 (LDLIBS-tst-lfschk6): This.
20678 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20679 on $(common-objpfx)soversions.mk.
20681 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20684 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20687 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20689 * malloc/arena.c (arena_get_retry): New function that gets
20690 another arena for the caller to try its request on.
20691 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20692 current arena cannot fulfill the request.
20693 (__libc_memalign): Likewise.
20694 (__libc_memalign): Likewise.
20695 (__libc_pvalloc): Likewise.
20696 (__libc_calloc): Likewise.
20698 2012-09-05 John Tobey <john.tobey@gmail.com>
20701 * manual/arith.texi (Operations on Complex): Fix description
20702 of carg branch cut.
20704 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20707 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20711 * manual/memory.texi (Memory): Make order of menu items match
20714 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20716 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20717 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20718 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20720 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20722 * csu/libc-tls.c (static_dtv): Renamed to ...
20723 (_dl_static_dtv): This. Make it global.
20724 (_dl_initial_dtv): Removed.
20725 (__libc_setup_tls): Updated.
20726 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20727 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20730 2012-09-06 Petr Machata <pmachata@redhat.com>
20732 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20733 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20734 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20735 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20737 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20740 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20741 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20744 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20747 * Makeconfig (link-static-before-libc): Replace $(+prector)
20749 (link-static-after-libc): Replace $(+postctor) with
20751 (link-bounded): Replace $(+prector)/$(+postctor) with
20752 $(+prectorT)/$(+postctorT).
20753 (+prectorT): New macro.
20754 (+postctorT): Likewise.
20756 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20758 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20759 (round_str): Handle values above the maximum for IBM long double
20761 * stdlib/tst-strtod-round.c (tests): Regenerated.
20763 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20765 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20767 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20768 zarch_nohighgprs around the zarch optimized routines.
20769 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20770 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20771 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20774 2012-09-05 David S. Miller <davem@davemloft.net>
20776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20778 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20779 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20780 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20781 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20784 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20786 * malloc/arena.c: Fold copyright years.
20787 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20789 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20791 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20793 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20795 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20797 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20799 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20800 change internal state upon failure.
20802 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20804 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20805 * malloc/memusage.c (mmap): Likewise.
20806 (mmap64, mremap): Likewise. Adjust name in comment.
20808 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20810 * libio/fileops.c: Fix typos in comments.
20811 * libio/oldfileops.c: Likewise.
20812 * libio/wfileops.c: Likewise.
20814 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20817 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20818 (tst-malloc-usable-ENV): Set environment for test case.
20819 * malloc/hooks.c (malloc_check_get_size): New function to get
20821 * malloc/malloc.c (musable): Use malloc_check_get_size.
20822 * malloc/tst-malloc-usable.c: New test case.
20824 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20826 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20828 2012-09-05 Allan McRae <allan@archlinux.org>
20831 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20832 determine header location.
20833 * configure: Regenerated.
20835 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20837 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20839 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20840 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20842 (test): Regenerate.
20844 2012-09-04 David S. Miller <davem@davemloft.net>
20846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20850 2012-09-04 Florian Weimer <fweimer@redhat.com>
20852 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20855 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20857 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20860 * libio/iogetdelim.c: Include <limits.h>.
20861 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20862 + len + 1 would overflow.
20864 2012-09-03 Andreas Jaeger <aj@suse.de>
20866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20867 * sysdeps/i386/fpu/libm-test-ulps: Update.
20869 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20871 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20872 Add s_sinf-sse2, s_conf-sse2.
20874 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20875 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20876 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20877 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20879 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20880 for using routine as __sinf_ia32.
20881 Use macro for function declaration and weak_alias.
20882 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20883 for using routine as __cosf_ia32.
20884 Use macro for function declaration and weak_alias.
20886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20887 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20889 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20890 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20893 * math/libm-test.inc (cos_test): Add more test cases.
20894 (sin_test): Likewise.
20895 (sincos_test): Likewise.
20897 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20900 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20902 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20904 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20907 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20908 first element of the GOT.
20909 (elf_machine_load_address): Return the difference between
20910 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20912 2012-09-01 Allan McRae <allan@archlinux.org>
20915 * configure.in (AWK): Require gawk version 3.0 or later.
20916 * configure: Regenerated.
20918 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20920 * sysdeps/unix/sysv/linux/kernel-features.h
20921 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20922 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20923 [__NR_clock_getres]: Make code unconditional.
20924 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20925 (clock_getcpuclockid): Remove code left unreachable by removal of
20927 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20928 code unconditional.
20929 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20930 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20931 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20932 Make code unconditional.
20933 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20934 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20935 * sysdeps/unix/sysv/linux/clock_settime.c
20936 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20938 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20939 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20941 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20944 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20945 scripts/test-installation.pl.
20947 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20948 and $ld_so_version if it is set.
20950 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20953 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20954 failure if reading from procfs failed.
20955 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20957 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20959 * sysdeps/unix/sysv/linux/kernel-features.h
20960 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20961 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20962 Remove conditional code.
20963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20964 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20965 Remove conditional code.
20966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20967 * sysdeps/unix/sysv/linux/i386/fxstat.c
20968 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20969 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20970 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20971 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20973 * sysdeps/unix/sysv/linux/i386/lxstat.c
20974 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20976 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20977 Remove conditional code.
20978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20979 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20980 Remove conditional code.
20981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20982 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20983 <kernel-features.h>.
20984 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20986 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20987 Remove conditional code.
20988 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20989 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20990 Remove conditional.
20992 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20995 * NEWS: Add fixed bug number.
20997 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21000 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21001 underflowing exponent in case of negative sign.
21002 * stdlib/tst-strtod-round-data: Add more tests.
21003 * stdlib/tst-strtod-round.c (tests): Regenerated.
21006 * stdlib/strtod_l.c (NDIG): Remove.
21007 (HEXNDIG): Likewise.
21008 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21009 smallest representable value.
21010 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21011 lie within an exact representation of 1/2 ulp of the result.
21012 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21014 (TENS_P9_IDX): Define unconditionally.
21015 (TENS_P9_SIZE): Likewise.
21016 (TENS_P10_IDX): Likewise.
21017 (TENS_P10_SIZE): Likewise.
21018 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21019 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21020 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21021 entries for 10^2^13 and 10^2^14.
21022 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21023 (TENS_P13_IDX): Define.
21024 (TENS_P13_SIZE): Likewise.
21025 (TENS_P14_IDX): Likewise.
21026 (TENS_P14_SIZE): Likewise.
21027 (_fpioconst_pow10): Change array size to
21028 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21030 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21031 1024]: Add entries for 10^2^13 and 10^2^14.
21032 [LAST_POW10 > _LAST_POW10]: Remove #error.
21033 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21034 (_fpioconst_pow10): Change array size to
21035 FPIOCONST_POW10_ARRAY_SIZE.
21036 * stdlib/gen-fpioconst.c: New file.
21037 * stdlib/gen-tst-strtod-round.c: Likewise.
21038 * stdlib/tst-strtod-round-data: Likewise.
21039 * stdlib/tst-strtod-round.c: Likewise.
21040 * stdlib/Makefile (tests): Add tst-strtod-round.
21043 * stdlib/strtod_l.c: Include <stdint.h>.
21044 (NDEBUG): Do not define.
21045 (round_and_return): Change EXPONENT parameter to type intmax_t.
21046 Rearrange calculations to avoid internal overflow possibilities.
21047 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21048 Rearrange calculations to avoid internal overflow possibilities.
21049 Assert that number fits inside MPNSIZE limbs.
21050 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21051 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21052 calculations and add assertions to avoid internal overflow
21053 possibilities. Add casts to avoid signed/unsigned operations.
21054 * stdlib/tst-strtod-overflow.c: New file.
21055 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21057 2012-08-25 Marek Polacek <polacek@redhat.com>
21059 * time/time.h: Fix some typos in comments.
21061 2012-08-23 Roland McGrath <roland@hack.frob.com>
21063 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21064 * posix/tst-rfc3484-2.c: Likewise.
21065 * posix/tst-rfc3484-3.c: Likewise.
21067 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21069 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21070 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21072 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21074 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21075 #include of fxstatat64.c.
21077 2012-08-22 Roland McGrath <roland@hack.frob.com>
21079 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21080 * shadow/getspent_r.c: Likewise.
21081 * shadow/getspnam.c: Likewise.
21082 * shadow/getspnam_r.c: Likewise.
21083 * gshadow/getsgent.c: Likewise.
21084 * gshadow/getsgent_r.c: Likewise.
21085 * gshadow/getsgnam.c: Likewise.
21086 * gshadow/getsgnam_r.c: Likewise.
21087 * inet/getnetbyad.c: Likewise.
21088 * inet/getnetbyad_r.c: Likewise.
21089 * inet/getnetbynm.c: Likewise.
21090 * inet/getnetbynm_r.c: Likewise.
21091 * inet/getnetent.c: Likewise.
21092 * inet/getnetent_r.c: Likewise.
21093 * inet/getproto.c: Likewise.
21094 * inet/getproto_r.c: Likewise.
21095 * inet/getprtent.c: Likewise.
21096 * inet/getprtent_r.c: Likewise.
21097 * inet/getprtname.c: Likewise.
21098 * inet/getprtname_r.c: Likewise.
21099 * inet/getrpcbyname.c: Likewise.
21100 * inet/getrpcbyname_r.c: Likewise.
21101 * inet/getrpcbynumber.c: Likewise.
21102 * inet/getrpcbynumber_r.c: Likewise.
21103 * inet/getrpcent.c: Likewise.
21104 * inet/getrpcent_r.c: Likewise.
21105 * inet/getaliasent.c: Likewise.
21106 * inet/getaliasent_r.c: Likewise.
21107 * inet/getaliasname.c: Likewise.
21108 * inet/getaliasname_r.c: Likewise.
21109 * nscd/getgrgid_r.c: Likewise.
21110 * nscd/getgrnam_r.c: Likewise.
21111 * nscd/gethstbyad_r.c: Likewise.
21112 * nscd/gethstbynm3_r.c: Likewise.
21113 * nscd/getpwnam_r.c: Likewise.
21114 * nscd/getpwuid_r.c: Likewise.
21115 * nscd/getsrvbynm_r.c: Likewise.
21116 * nscd/getsrvbypt_r.c: Likewise.
21117 * nscd/gai.c: Likewise.
21119 * configure.in (build_nscd): New substituted variable, set
21120 by --disable-build-nscd and defaults to $use_nscd.
21121 * configure: Regenerated.
21122 * config.make.in (build-nscd): New substituted variable.
21123 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21124 Change conditional to require [$(build-nscd) = yes] as well.
21125 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21128 * configure.in (use_nscd): New substituted variable, set by
21129 --disable-nscd. If enabled, define USE_NSCD.
21130 * configure: Regenerated.
21131 * config.h.in: Add USE_NSCD.
21132 * config.make.in (use-nscd): New substituted variable.
21133 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21134 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21135 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21136 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21137 (CFLAGS-getgrnam_r.c): Likewise.
21138 (CFLAGS-initgroups.c): Likewise.
21139 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21140 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21142 * inet/getnetgrent_r.c
21143 (nscd_setnetgrent): New function, broken out of ...
21144 (setnetgrent): ... here. Call it.
21145 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21146 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21147 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21148 * nscd/Makefile (routines, aux): Move definitions after include of
21149 Makeconfig. Conditionalize on [$(use-nscd) != no].
21150 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21151 Conditionalize on [USE_NSCD].
21152 (is_nscd, nscd_init_cb): Likewise.
21153 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21154 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21155 * nss/nss_db/db-init.c: Likewise.
21156 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21158 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21159 (make_request): Use it.
21160 (cache_valid_p): New function.
21161 (__check_pf): Use it.
21162 * NEWS: Add item for --disable-nscd.
21164 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21166 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21167 to support sed >= 4.2.1-20-ga9bf076.
21168 * configure: Regenerated.
21170 2012-08-22 Roland McGrath <roland@hack.frob.com>
21172 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21173 Conditionalize whole body on [IREL].
21175 2012-08-22 Jeff Law <law@redhat.com>
21178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21179 if the family is PF_UNSPEC.
21181 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21183 * Makerules (lib-version): Rename from V.
21184 (install-lib-nosubdir): Change V to lib-version.
21186 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21189 * powerpc32/power6/wcschr.c: New file.
21190 * powerpc32/power6/wcscpy.c: New file.
21191 * powerpc32/power6/wcsrchr.c: New file.
21192 * powerpc64/power6/wcschr.c: New file.
21193 * powerpc64/power6/wcscpy.c: New file.
21194 * powerpc64/power6/wcsrchr.c: New file.
21196 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21198 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21199 (two_way_short_needle): Use it.
21200 * string/strstr.c (AVAILABLE1_USES_J): Define.
21201 * string/strcasestr.c: Likewise.
21203 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21205 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21208 * NEWS: Add an entry.
21209 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21210 define their defaults.
21211 (two_way_short_needle): Detect end-of-string on-the-fly.
21212 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21213 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21214 * string/bug-strcasestr1.c: New test.
21215 * string/Makefile: Run it.
21217 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21220 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21221 the first character.
21223 2012-08-21 Roland McGrath <roland@hack.frob.com>
21225 * csu/elf-init.c (__libc_csu_irel): Function removed.
21226 * csu/libc-start.c (apply_irel): New function.
21227 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21229 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21231 * sysdeps/unix/sysv/linux/kernel-features.h
21232 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21233 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21234 <kernel-features.h>.
21235 [__NR_fadvise64_64]: Make code unconditional.
21236 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21237 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21238 !__NR_fadvise64_64)]: Likewise.
21239 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21240 !__NR_fadvise64_64))]: Likewise.
21241 [__NR_fadvise64]: Make code unconditional.
21242 [!__NR_fadvise64]: Remove conditional code.
21243 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21244 <kernel-features.h>.
21245 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21247 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21250 not include <kernel-features.h>.
21251 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21253 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21255 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21256 include <kernel-features.h>.
21257 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21259 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21262 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21264 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21265 slight instruction rearrangements per scrollpipe analysis.
21266 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21268 2012-08-20 Roland McGrath <roland@hack.frob.com>
21270 * manual/syslog.texi (syslog; vsyslog, closelog):
21271 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21272 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21274 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21275 DSOCAPS to match condition on defining it.
21277 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21279 * sysdeps/unix/sysv/linux/kernel-features.h
21280 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21282 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21283 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21285 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21286 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21288 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21289 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21291 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21292 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21294 * sysdeps/unix/sysv/linux/kernel-features.h
21295 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21296 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21298 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21299 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21300 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21301 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21302 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21303 Make code unconditional.
21304 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21305 (__mmap64) [!__NR_mmap2]: Likewise.
21306 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21307 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21308 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21309 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21310 [__NR_mmap2]: Make code unconditional.
21311 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21312 (__mmap64) [!__NR_mmap2]: Likewise.
21314 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21316 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21318 2012-08-18 Andreas Jaeger <aj@suse.de>
21320 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21322 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21324 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21325 * include/unistd.h (__have_sock_cloexec): Likewise.
21326 (__have_pipe2): Likewise.
21327 (__have_dup3): Likewise.
21329 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21332 * include/unistd.h (__have_pipe2): Change define into an extern int.
21333 (__have_dup3): Likewise.
21334 * socket/have_sock_cloexec.c: Include fcntl.h.
21335 (__have_pipe2): New variable.
21336 (__have_dup3): Likewise.
21338 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21340 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21342 2012-08-17 Marek Polacek <polacek@redhat.com>
21344 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21345 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21347 2012-08-17 Roland McGrath <roland@hack.frob.com>
21349 * configure.in: Add AC_SUBST for sysheaders.
21350 * configure: Regenerated.
21351 * config.make.in (sysheaders): New substituted variable.
21353 * sysdeps/unix/mkfifo.c: Moved ...
21354 * sysdeps/posix/mkfifo.c: ... here.
21355 * sysdeps/unix/mkfifoat.c: Moved ...
21356 * sysdeps/posix/mkfifoat.c: ... here.
21358 * sysdeps/unix/utime.c: Moved ...
21359 * sysdeps/posix/utime.c: ... here.
21361 * sysdeps/unix/time.c: Moved ...
21362 * sysdeps/posix/time.c: ... here.
21363 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21366 * sysdeps/unix/nice.c: Moved ...
21367 * sysdeps/posix/nice.c: ... here.
21369 * sysdeps/unix/alarm.c: Moved ...
21370 * sysdeps/posix/alarm.c: ... here.
21372 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21374 2012-08-17 Jeff Law <law@redhat.com>
21376 * intl/Makefile (codeset_mo): New variable.
21377 ($(codeset_mo)): New target.
21378 (tst-codeset.out): Depend on that. Remove explicit rule.
21379 (tst-gettext3.out, tst-gettext5.out): Likewise.
21380 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21381 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21382 * intl/tst-codeset.sh: Remove.
21383 * intl/tst-gettext3.sh: Likewise.
21384 * intl/tst-gettext5.sh: Likewise.
21386 2012-08-17 Roland McGrath <roland@hack.frob.com>
21388 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21389 * sysdeps/unix/syscalls.list: ... here.
21391 * sysdeps/posix/getaddrinfo.c
21392 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21393 (gaiconf_init, gaiconf_reload): Use them.
21394 [!_STATBUF_ST_NSEC]
21395 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21396 Define using time_t rather than struct timespec.
21398 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21399 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21401 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21403 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21404 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21407 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21408 __libc_cleanup_push argument.
21410 * bits/param.h: New file.
21411 * misc/sys/param.h: New file.
21412 * include/sys/param.h: New file.
21413 * misc/Makefile (headers): Add bits/param.h.
21414 * sysdeps/generic/sys/param.h: File removed.
21415 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21416 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21417 * sysdeps/mach/hurd/bits/param.h: New file.
21418 * sysdeps/mach/hurd/sys/param.h: File removed.
21420 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21423 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21425 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21426 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21429 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21430 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21431 rather than -D_IO_MTSAFE_IO conditionally.
21432 * stdio-common/Makefile (CPPFLAGS): Likewise.
21433 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21434 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21435 Use $(libio-mtsafe).
21436 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21437 of -D_IO_MTSAFE_IO.
21438 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21439 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21440 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21441 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21442 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21443 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21444 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21445 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21446 (CFLAGS-fread_u_chk.c): Likewise.
21447 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21448 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21449 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21450 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21451 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21452 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21453 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21454 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21455 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21457 * libio/Makefile: Test [$(libc-reentrant) = yes]
21458 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21461 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21462 * sysdeps/pthread/configure: File removed.
21463 * sysdeps/pthread/Makeconfig: New file.
21464 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21465 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21467 2012-08-16 Gary Benson <gbenson@redhat.com>
21469 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21470 unmapping the first object in a namespace.
21472 2012-08-16 Roland McGrath <roland@hack.frob.com>
21474 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21475 (__internal_setnetgrent): ... this. Add internal_function to
21476 definition. Add libc_hidden_def.
21477 (setnetgrent): Update caller.
21478 (internal_endnetgrent): Renamed to ...
21479 (__internal_endnetgrent): ... this. Add internal_function to
21480 definition. Add libc_hidden_def.
21481 (endnetgrent): Update caller.
21482 (internal_getnetgrent_r): Renamed to ...
21483 (__internal_getnetgrent_r): ... this. Add internal_function to
21484 definition. Add libc_hidden_def.
21485 (__getnetgrent_r): Update caller.
21486 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21488 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21490 * stdlib/longlong.h: Update from GCC.
21492 2012-08-16 Roland McGrath <roland@hack.frob.com>
21494 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21495 on _QL, which is set by umul_ppmm but never used.
21496 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21497 variables, which are set by GMP macros but never used.
21498 * stdio-common/_itowa.c (_itowa): Likewise.
21499 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21500 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21502 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21504 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21505 struct La_sh_regs is not constant.
21506 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21507 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21508 and struct La_sparc64_regs are not constant.
21510 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21512 * sysdeps/unix/sysv/linux/kernel-features.h
21513 (__ASSUME_POSIX_TIMERS): Remove.
21514 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21515 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21516 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21517 Make code unconditional.
21518 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21519 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21520 Make code unconditional.
21521 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21522 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21523 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21525 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21526 Make code unconditional.
21527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21528 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21529 (__libc_missing_posix_timers): Remove.
21531 2012-08-15 Roland McGrath <roland@hack.frob.com>
21533 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21534 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21536 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21538 * elf/dl-sym.c: Include <stdlib.h>.
21540 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21541 constants, which avoids warnings in 32-bit builds.
21543 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21544 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21546 * misc/lseek.c: File moved to ...
21547 * io/lseek.c: ... here.
21549 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21551 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21552 shifting LEN more than 31 bits at once.
21554 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21557 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21558 segmentation fault for a case of two empty input strings.
21559 * string/test-strncasecmp.c (check1): Renamed to...
21560 (bz12205): ...this.
21561 (bz14195): Add new testcase for two empty input strings and N > 0.
21562 (test_main): Call new testcase, adapt for renamed function.
21564 2012-08-15 Andreas Jaeger <aj@suse.de>
21567 * crypt/md5test2.c: New test, based on test supplied by Serge
21568 Belyshev <belyshev@depni.sinp.msu.ru>.
21569 * crypt/Makefile (xtests): Add md5test-giant..
21570 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21572 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21575 * crypt/md5.c (md5_process_block): Don't assume the buffer
21576 length is less than 2**32.
21577 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21578 length is less than 2**64.
21580 2012-08-15 Roland McGrath <roland@hack.frob.com>
21582 * string/str-two-way.h: Include <sys/param.h>.
21583 (MAX): Macro removed.
21585 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21586 Move #define and #undef of memmove to just before and after
21587 including <string.h>.
21589 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21590 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21591 and after including <string.h>. Move declarations of
21592 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21593 to before #include "string/memmove.c".
21595 * include/dirent.h: Declare __getdirentries.
21597 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21598 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21600 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21602 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21603 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21604 * sysdeps/i386/configure: Regenerated.
21605 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21606 STABS_CURRENT_FILE, and STABS_FUN.
21607 (END): Remove call to STABS_FUN_END.
21608 (STABS_CURRENT_FILE1): Delete.
21609 (STABS_CURRENT_FILE): Likewise.
21610 (STABS_FUN): Likewise.
21611 (STABS_FUN_END): Likewise.
21612 (STABS_FUN2): Likewise.
21613 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21614 * sysdeps/x86_64/configure: Regenerated.
21616 2012-08-14 Roland McGrath <roland@hack.frob.com>
21618 * elf/dl-open.c: Include <atomic.h>.
21619 * elf/dl-lookup.c: Likewise.
21621 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21623 * sysdeps/unix/sysv/linux/kernel-features.h
21624 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21625 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21627 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21629 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21630 condition on __ASSUME_CLONE_THREAD_FLAGS.
21632 2012-08-14 Andreas Jaeger <aj@suse.de>
21634 * sysdeps/i386/fpu/libm-test-ulps: Update.
21636 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21638 * include/atomic.h (atomic_exchange_and_add): Split into ...
21639 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21642 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21646 2012-08-13 Jeff Law <law@redhat.com>
21648 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21649 null byte in the output string.
21651 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21653 * sysdeps/unix/sysv/linux/kernel-features.h
21654 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21655 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21656 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21657 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21658 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21659 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21660 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21662 2012-08-09 Jeff Law <law@redhat.com>
21665 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21666 When avoid_arena is set, don't retry in the that arena. Pick the
21667 next one, whatever it might be.
21668 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21669 (arena_lock): Pass in new parameter to arena_get2.
21670 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21672 (__libc_malloc): Unify retrying after main arena failure with
21673 __libc_memalign version.
21674 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21676 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21679 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21680 to __redirect_strstr.
21681 (__strstr_sse42): Use typeof __redirect_strstr.
21682 (__strstr_ia32): Likewise.
21683 (__libc_strstr): New prototype.
21684 (strstr): Renamed to ...
21685 (__libc_strstr): This.
21686 (strstr): New strong alias of __libc_strstr.
21687 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21688 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21691 (__libc_time): New prototype.
21692 (time_ifunc): Replace time with __libc_time.
21693 (time): New strong alias and hidden definition of __libc_time.
21694 (__GI_time): Remove strong alias.
21695 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21696 Include <stddef.h>.
21697 (memmove): Redefined to __redirect_memmove.
21698 (__memmove_sse2): Use typeof __redirect_memmove.
21699 (__memmove_ssse3): Likewise.
21700 (__memmove_ssse3_back): Likewise.
21701 (__libc_memmove): New prototype.
21702 (memmove): Renamed to ...
21703 (__libc_memmove): This.
21704 (memmove): New strong alias of __libc_memmove.
21706 2012-08-08 Mark Salter <msalter@redhat.com>
21709 (R_MN10300_TLS_GD): Define.
21710 (R_MN10300_TLS_LD): Likewise.
21711 (R_MN10300_TLS_LDO): Likewise.
21712 (R_MN10300_TLS_GOTIE): Likewise.
21713 (R_MN10300_TLS_IE): Likewise.
21714 (R_MN10300_TLS_LE): Likewise.
21715 (R_MN10300_TLS_DTPMOD): Likewise.
21716 (R_MN10300_TLS_DTPOFF): Likewise.
21717 (R_MN10300_TLS_TPOFF): Likewise.
21718 (R_MN10300_SYM_DIFF): Likewise.
21719 (R_MN10300_ALIGN): Likewise.
21720 (R_MN10300_NUM): Update.
21722 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21724 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21727 2012-08-08 Roland McGrath <roland@hack.frob.com>
21729 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21731 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21732 sysdeps/unix -> sysdeps/posix move.
21733 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21735 2012-08-07 Allan McRae <allan@archlinux.org>
21738 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21739 (SUNOS_CPP): Likewise.
21740 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21742 (open_input): Call CPP using execvp.
21744 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21746 * sysdeps/unix/sysv/linux/kernel-features.h
21747 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21748 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21749 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21750 (__ASSUME_WAITID_SYSCALL): Likewise.
21751 * sysdeps/unix/sysv/linux/dl-execstack.c
21752 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21753 code unconditional.
21754 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21756 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21757 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21758 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21760 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21762 [__ASSUME_WAITID_SYSCALL]: Likewise.
21763 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21765 2012-08-07 Roland McGrath <roland@hack.frob.com>
21767 * sysdeps/unix/closedir.c: Renamed to ...
21768 * sysdeps/posix/closedir.c: ... here.
21769 * sysdeps/unix/dirfd.c: Renamed to ...
21770 * sysdeps/posix/dirfd.c: ... here.
21771 * sysdeps/unix/dirstream.h: Renamed to ...
21772 * sysdeps/posix/dirstream.h: ... here.
21773 * sysdeps/unix/fdopendir.c: Renamed to ...
21774 * sysdeps/posix/fdopendir.c: ... here.
21775 * sysdeps/unix/opendir.c: Renamed to ...
21776 * sysdeps/posix/opendir.c: ... here.
21777 * sysdeps/unix/readdir.c: Renamed to ...
21778 * sysdeps/posix/readdir.c: ... here.
21779 * sysdeps/unix/readdir_r.c: Renamed to ...
21780 * sysdeps/posix/readdir_r.c: ... here.
21781 * sysdeps/unix/rewinddir.c: Renamed to ...
21782 * sysdeps/posix/rewinddir.c: ... here.
21783 * sysdeps/unix/seekdir.c: Renamed to ...
21784 * sysdeps/posix/seekdir.c: ... here.
21785 * sysdeps/unix/telldir.c: Renamed to ...
21786 * sysdeps/posix/telldir.c: ... here.
21787 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21788 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21789 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21790 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21792 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21793 * bits/fcntl.h: ... here.
21795 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21797 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21798 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21799 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21800 (struct flock): Move l_start, l_len to the beginning.
21801 Use __pid_t for l_pid.
21802 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21803 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21804 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21805 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21806 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21807 [__USE_LARGEFILE64] (struct flock64): New type.
21808 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21810 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21811 * bits/dirent.h: ... here.
21813 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21814 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21816 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21819 Change from 2.6.0 to 2.6.16.
21820 * sysdeps/unix/sysv/linux/configure: Regenerated.
21821 * sysdeps/unix/sysv/linux/kernel-features.h
21822 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21823 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21825 (__ASSUME_UTIMES): Likewise.
21826 (__ASSUME_CLONE_STOPPED): Remove.
21827 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21828 architectures, not kernel version.
21829 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21830 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21831 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21832 (__ASSUME_WAITID_SYSCALL): Likewise.
21833 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21834 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21835 * README: State 2.6.16 as minimum Linux kernel version. Do not
21836 refer to older versions.
21838 2012-08-06 Roland McGrath <roland@hack.frob.com>
21840 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21841 Define alphasort64 as an alias.
21842 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21843 Define versionsort64 as an alias.
21844 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21845 Define scandir64 as an alias.
21846 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21847 Define scandirat64 as an alias.
21848 * dirent/alphasort64.c (alphasort64):
21849 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21850 * dirent/versionsort64.c: Likewise.
21851 * dirent/scandir64.c: Likewise.
21852 * dirent/scandirat64.c: Likewise.
21853 * sysdeps/wordsize-64/alphasort.c: File removed.
21854 * sysdeps/wordsize-64/alphasort64.c: File removed.
21855 * sysdeps/wordsize-64/scandir.c: File removed.
21856 * sysdeps/wordsize-64/scandir64.c: File removed.
21857 * sysdeps/wordsize-64/scandirat.c: File removed.
21858 * sysdeps/wordsize-64/scandirat64.c: File removed.
21859 * sysdeps/wordsize-64/versionsort.c: File removed.
21860 * sysdeps/wordsize-64/versionsort64.c: File removed.
21861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21864 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21866 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21867 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21870 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21872 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21874 [defined __arch64__ || defined __sparcv9]
21875 (__INO_T_MATCHES_INO64_T): New macro.
21876 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21877 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21878 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21879 * sysdeps/unix/sysv/linux/bits/dirent.h
21880 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21881 (_DIRENT_MATCHES_DIRENT64): New macro.
21883 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21884 Define lockf64 as an alias.
21885 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21886 Define fseeko64 as an alias.
21887 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21888 Define ftello64 as an alias.
21889 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21890 Define _IO_fgetpos64 and fgetpos64 as aliases.
21891 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21892 Define _IO_fsetpos64 and fsetpos64 as aliases.
21893 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21894 Conditionalize body on this.
21895 * libio/fseeko64.c: Likewise.
21896 * libio/ftello64.c: Likewise.
21897 * libio/iofgetpos64.c: Likewise.
21898 * libio/iofsetpos64.c: Likewise.
21899 * sysdeps/wordsize-64/lockf.c: File removed.
21900 * sysdeps/wordsize-64/lockf64.c: File removed.
21901 * sysdeps/wordsize-64/fseeko.c: File removed.
21902 * sysdeps/wordsize-64/fseeko64.c: File removed.
21903 * sysdeps/wordsize-64/ftello.c: File removed.
21904 * sysdeps/wordsize-64/ftello64.c: File removed.
21905 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21906 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21907 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21908 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21909 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21910 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21911 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21912 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21913 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21914 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21916 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21920 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21922 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21924 [defined __arch64__ || defined __sparcv9]
21925 (__OFF_T_MATCHES_OFF64_T): New macro.
21926 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21927 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21929 (__OFF_T_MATCHES_OFF64_T): New macro.
21931 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21933 * stdlib/secure-getenv.c (__secure_getenv): Replace
21934 GLIBC_2_16 with GLIBC_2_17.
21936 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21939 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21941 2012-08-03 David S. Miller <davem@davemloft.net>
21943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21945 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21947 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21949 (__ASSUME_CORRECT_SI_PID): Likewise.
21950 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21951 (__ASSUME_TMPFS_NAME): Likewise.
21952 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21953 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21954 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21955 (HAVE_AUX_SECURE): Make definition unconditional.
21956 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21957 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21959 2012-08-03 Roland McGrath <roland@hack.frob.com>
21961 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21962 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21963 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21965 __eloop_threshold instead of SYMLOOP_MAX.
21967 * sysdeps/generic/eloop-threshold.h: New file.
21968 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21970 * elf/chroot_canon.c (chroot_canon): Likewise.
21972 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21975 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21976 Change to 2.6.0 everywhere.
21977 * sysdeps/unix/sysv/linux/configure: Regenerated.
21978 * sysdeps/unix/sysv/linux/kernel-features.h
21979 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21980 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21982 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21983 (__ASSUME_FUTEX_REQUEUE): Remove.
21984 (__ASSUME_STATFS64): Define unconditionally.
21985 (__ASSUME_AT_SECURE): Likewise.
21986 (__ASSUME_CORRECT_SI_PID): Likewise.
21987 (__ASSUME_TGKILL): Define without depending on kernel version for
21989 (__ASSUME_UTIMES): Likewise.
21990 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21992 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21993 (__ASSUME_TMPFS_NAME): Likewise.
21994 * README: Update reference to Linux kernel versions.
21996 2012-08-02 Marek Polacek <polacek@redhat.com>
21999 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22000 libc_cv_asm_type_prefix with %.
22001 * configure: Regenerated.
22002 * include/libc-symbols.h: Remove comment about
22003 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22004 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22005 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22006 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22007 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22008 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22009 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22010 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22011 * elf/tst-unique2mod1.c: Likewise.
22012 * elf/tst-unique1mod2.c: Likewise.
22013 * elf/tst-unique1mod1.c: Likewise.
22014 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22015 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22016 Replace ASM_TYPE_DIRECTIVE with .type.
22017 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22018 * sysdeps/i386/sysdep.h: Likewise.
22019 * sysdeps/x86_64/sysdep.h: Likewise.
22020 * sysdeps/sh/sysdep.h: Likewise.
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22022 Do not define ASM_TYPE_DIRECTIVE.
22023 * sysdeps/powerpc/sysdep.h: Likewise.
22024 * sysdeps/powerpc/powerpc32/sysdep.h:
22025 Replace ASM_TYPE_DIRECTIVE with .type.
22026 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22027 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22028 * sysdeps/i386/fpu/e_powf.S: Likewise.
22029 * sysdeps/i386/fpu/e_expl.S: Likewise.
22030 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22031 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22032 * sysdeps/i386/fpu/e_pow.S: Likewise.
22033 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22034 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22035 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22036 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22037 * sysdeps/i386/fpu/e_log2.S: Likewise.
22038 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22039 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22040 * sysdeps/i386/fpu/e_powl.S: Likewise.
22041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22042 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22043 * sysdeps/i386/fpu/e_logl.S: Likewise.
22044 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22045 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22046 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22047 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22048 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22049 * sysdeps/i386/fpu/e_log.S: Likewise.
22050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22051 * sysdeps/i386/fpu/e_logf.S: Likewise.
22052 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22053 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22054 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22055 * sysdeps/i386/fpu/e_log10.S: Likewise.
22056 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22057 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22058 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22059 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22060 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22061 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22062 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22063 * sysdeps/i386/i686/strtok.S: Likewise.
22064 * sysdeps/i386/i386-mcount.S: Likewise.
22065 * sysdeps/i386/strtok.S: Likewise.
22066 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22067 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22068 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22069 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22070 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22071 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22072 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22073 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22074 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22075 * sysdeps/x86_64/_mcount.S: Likewise.
22076 * sysdeps/x86_64/strtok.S: Likewise.
22077 * sysdeps/sh/_mcount.S: Likewise.
22079 2012-08-01 Roland McGrath <roland@hack.frob.com>
22081 * libio/iofopen.c: Include <fcntl.h>.
22082 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22083 (_IO_fopen64, fopen64): Define as aliases.
22084 * libio/iofopen64.c: Include <fcntl.h>.
22085 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22086 Conditionalize body on this.
22087 * sysdeps/wordsize-64/iofopen.c: File removed.
22088 * sysdeps/wordsize-64/iofopen64.c: File removed.
22090 2012-08-01 Marek Polacek <polacek@redhat.com>
22092 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22093 Use dlfcn directly instead of a variable.
22094 (binfmt-subdir): Do not define.
22097 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22100 Remove all definitions.
22101 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22102 <kernel-features.h>.
22103 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22104 (miss_F_GETOWN_EX): Remove all definitions.
22105 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22107 [!__ASSUME_FCNTL64]: Remove conditional code.
22108 [__ASSUME_FCNTL64]: Make code unconditional.
22109 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22110 <kernel-features.h>.
22111 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22112 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22113 (lockf64) [__NR_fcntl64]: Make code unconditional.
22114 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22116 * sysdeps/unix/sysv/linux/kernel-features.h
22117 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22118 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22119 Make code unconditional.
22120 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22121 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22123 [__NR_vfork]: Make code unconditional.
22124 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22125 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22127 [__NR_vfork]: Make code unconditional.
22128 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22129 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22131 2012-08-01 Roland McGrath <roland@hack.frob.com>
22133 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22134 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22136 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22137 Define mkstemp64 as an alias.
22138 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22139 Define mkstemps64 as an alias.
22140 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22141 Define mkostemp64 as an alias.
22142 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22143 Define mkostemps64 as an alias.
22144 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22145 Conditionalize body on this.
22146 * misc/mkostemp64.c: Likewise.
22147 * misc/mkostemps64.c: Likewise.
22148 * misc/mkstemps64.c: Likewise.
22149 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22150 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22151 * sysdeps/wordsize-64/mkostemp.c: File removed.
22152 * sysdeps/wordsize-64/mkstemp.c: File removed.
22153 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22159 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22160 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22161 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22162 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22164 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22165 compat_symbol macros from <shlib-compat.h> rather than the underlying
22166 default_symbol_version and symbol_version macros, so that DEFAULT
22167 lines in shlib-versions are respected.
22168 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22170 2012-08-01 Florian Weimer <fweimer@redhat.com>
22172 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22173 Declare with warn_unused_result.
22174 (setgid, setregid, setegid, setresgid): Likewise.
22175 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22177 * WUR-REPORT: Remove set*id functions.
22179 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22181 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22183 2012-07-31 Roland McGrath <roland@hack.frob.com>
22186 * include/sys/socket.h (__libc_accept, __libc_accept4):
22187 Add attribute_hidden.
22188 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22190 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22192 * inet/getnetgrent_r.c (setup): Likewise.
22194 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22196 2012-07-31 David S. Miller <davem@davemloft.net>
22198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22200 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22203 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22204 value between 1.0 and 2.0 and smaller part has absolute value less
22206 * math/s_clog10.c (__clog10): Likewise.
22207 * math/s_clog10f.c (__clog10f): Likewise.
22208 * math/s_clog10l.c (__clog10l): Likewise.
22209 * math/s_clogf.c (__clogf): Likewise.
22210 * math/s_clogl.c (__clogl): Likewise.
22211 * math/libm-test.inc (clog_test): Add more tests.
22212 (clog10_test): Likewise.
22213 * sysdeps/i386/fpu/libm-test-ulps: Update.
22214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22216 2012-07-31 Florian Weimer <fweimer@redhat.com>
22218 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22219 Exit with zero in case no suitable GID is found, and write a
22220 message to standard error.
22222 2012-07-30 Roland McGrath <roland@hack.frob.com>
22224 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22226 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22227 (MAXPATHLEN): Removed.
22228 (NOGROUP, NODEV): New macros.
22229 (setbit, clrbit, isset, isclr): New macros.
22230 (howmany, roundup, powerof2): New macros.
22231 (DEV_BSIZE): New macro.
22233 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22234 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22236 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22237 definition on [!__NO_LONG_DOUBLE_MATH].
22239 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22240 PTR_MANGLE and PTR_DEMANGLE.
22242 * socket/accept4.c (accept4): Rename to __libc_accept4.
22243 Define accept4 as a weak alias.
22245 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22246 on [_DIRENT_HAVE_D_TYPE].
22247 * io/ftw.c (ftw_dir): Likewise.
22249 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22251 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22253 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22254 Use the BSD numbers rather than the arbitrary ones we had.
22255 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22256 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22257 (SIGXCPU, SIGXFSZ): New macros.
22260 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22261 initializer on [_LIBC_REENTRANT].
22263 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22264 definitions inside [_POSIX_MAPPED_FILES].
22266 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22268 * dirent/opendir.c: Include <fcntl.h>.
22270 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22271 (__libc_getspecific): Likewise.
22272 (__libc_key_create): Likewise.
22274 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22275 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22276 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22277 (tmpfile64): Define as alias.
22278 * sysdeps/wordsize-64/tmpfile.c: File removed.
22279 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22281 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22283 * stdio-common/vfscanf.c: Include <stdbool.h>.
22284 * nss/makedb.c: Likewise.
22285 * stdio-common/_i18n_number.h: Likewise.
22286 * argp/argp-help.c: Likewise.
22287 * posix/wordexp.c: Likewise.
22288 * sysdeps/posix/spawni.c: Likewise.
22289 * nss/nss_files/files-initgroups.c: Likewise.
22290 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22291 * nss/nss_files/files-initgroups.c: Likewise.
22292 * nss/nss_db/db-netgrp.c: Likewise.
22293 * nss/nss_db/db-initgroups.c: Likewise.
22294 * io/fchmodat.c: Include <sys/stat.h>.
22296 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22297 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22299 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22302 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22303 Add multiple inclusion protection.
22305 2012-07-27 David S. Miller <davem@davemloft.net>
22307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22309 2012-07-27 Gary Benson <gbenson@redhat.com>
22312 * elf/rtld.c: Include <stap-probe.h>.
22313 (dl_main): Added static probes "init_start" and "init_complete".
22314 * elf/dl-load.c: Include <stap-probe.h>.
22315 (lose): Take new parameter "nsid".
22316 Added static probe "map_failed".
22317 (_dl_map_object_from_fd): Pass namespace id to lose.
22318 Added static probe "map_start".
22319 (open_verify): Pass namespace id to lose.
22320 * elf/dl-open.c: Include <stap-probe.h>.
22321 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22322 and "reloc_complete".
22323 * elf/dl-close.c: Include <stap-probe.h>.
22324 (_dl_close_worker): Added static probes "unmap_start" and
22326 * elf/rtld-debugger-interface.txt: New file documenting the above.
22328 2012-07-26 Roland McGrath <roland@hack.frob.com>
22330 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22331 rather than a string variable.
22332 * sunrpc/rpc_main.c (h_output): Likewise.
22333 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22335 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22337 * inet/check_native.c: New file.
22339 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22342 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22343 if larger part has absolute value 1.0.
22344 * math/s_clog10.c (__clog10): Likewise.
22345 * math/s_clog10f.c (__clog10f): Likewise.
22346 * math/s_clog10l.c (__clog10l): Likewise.
22347 * math/s_clogf.c (__clogf): Likewise.
22348 * math/s_clogl.c (__clogl): Likewise.
22349 * math/libm-test.inc (clog_test): Add more tests.
22350 (clog10_test): Likewise.
22351 * sysdeps/i386/fpu/libm-test-ulps: Update.
22352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22354 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22355 (pltexit): Likewise.
22356 (La_regs): Likewise.
22357 (La_retval): Likewise.
22358 (int_retval): Likewise.
22359 Update #error for removed macros to refer only to definitions in
22361 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22363 (pltexit): Likewise.
22364 (La_regs): Likewise.
22365 (La_retval): Likewise.
22366 (int_retval): Likewise.
22367 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22369 (pltexit): Likewise.
22370 (La_regs): Likewise.
22371 (La_retval): Likewise.
22372 (int_retval): Likewise.
22373 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22375 (pltexit): Likewise.
22376 (La_regs): Likewise.
22377 (La_retval): Likewise.
22378 (int_retval): Likewise.
22379 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22381 (pltexit): Likewise.
22382 (La_regs): Likewise.
22383 (La_retval): Likewise.
22384 (int_retval): Likewise.
22385 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22387 (pltexit): Likewise.
22388 (La_regs): Likewise.
22389 (La_retval): Likewise.
22390 (int_retval): Likewise.
22391 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22393 (pltexit): Likewise.
22394 (La_regs): Likewise.
22395 (La_retval): Likewise.
22396 (int_retval): Likewise.
22397 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22398 macro definitions in tst-audit.h.
22399 * sysdeps/i386/tst-audit.h: New file.
22400 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22401 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22402 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22403 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22404 * sysdeps/sh/tst-audit.h: Likewise.
22405 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22406 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22407 * sysdeps/x86_64/tst-audit.h: Likewise.
22409 2012-07-26 Andreas Jaeger <aj@suse.de>
22411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22414 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22415 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22416 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22418 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22420 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22422 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22425 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22427 (si_call_addr, si_syscall, si_arch): Define new macro.
22428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22430 (si_call_addr, si_syscall, si_arch): Define new marcro.
22431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22433 (si_call_addr, si_syscall, si_arch): Define new macro.
22434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22436 (si_call_addr, si_syscall, si_arch): Define new macro.
22438 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22441 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22442 Change to 2.4.21 where previously 2.4.1.
22443 * sysdeps/unix/sysv/linux/configure: Regenerated.
22444 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22445 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22446 Linux kernel version.
22447 (__ASSUME_STD_AUXV): Remove.
22448 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22450 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22451 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22452 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22453 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22454 (__ASSUME_NETLINK_SUPPORT): Likewise.
22455 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22456 (__no_netlink_support): Remove conditional definition.
22457 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22459 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22460 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22461 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22462 (if_nameindex_ioctl): Remove.
22463 (if_nameindex_netlink): Do not handle __no_netlink_support.
22464 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22466 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22467 Remove conditional code.
22468 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22470 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22472 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22473 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22474 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22476 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22477 [!__ASSUME_STD_AUXV]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22479 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22480 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22482 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22483 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22485 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22487 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22488 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22490 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22492 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22495 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22498 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22499 code unconditional.
22500 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22502 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22504 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22507 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22509 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22512 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22513 code unconditional.
22514 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22516 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22518 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22521 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22522 code unconditional.
22523 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22525 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22527 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22530 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22532 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22533 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22534 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22535 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22536 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22537 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22538 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22539 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22540 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22541 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22542 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22543 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22544 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22545 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22546 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22548 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22549 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22552 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22556 2012-07-25 Florian Weimer <fweimer@redhat.com>
22558 * Versions.def: Add GLIBC_2.17.
22559 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22560 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22561 Introduce __libc_secure_getenv.
22562 * stdlib/Versions (2.17): Add secure_getenv
22563 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22564 * stdlib/secure-getenv.c: Rename __secure_getenv to
22565 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22566 symbol __secure_getenv for GLIBC_2.0.
22567 * stdlib/tst-secure-getenv.c: New.
22568 * stdlib/Makefile (tests): Add testcase.
22569 * manual/startup.texi (Environment Access): Document
22571 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22572 __libc_secure_getenv.
22573 * inet/ruserpass.c (ruserpass): Likewise.
22574 * malloc/mtrace.c (mtrace): Likewise.
22575 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22576 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22577 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22578 * sysdeps/posix/tempname.c: Likewise. Evaluate
22579 HAVE_SECURE_GETENV.
22580 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22581 __secure_getenv to __libc_secure_getenv.
22582 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22595 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22597 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22598 (struct La_i86_retval): Likewise.
22599 (struct La_x86_64_regs): Likewise.
22600 (struct La_x86_64_retval): Likewise.
22601 (struct La_x32_regs): Likewise.
22602 (struct La_x32_retval): Likewise.
22603 (struct La_ppc32_regs): Likewise.
22604 (struct La_ppc32_retval): Likewise.
22605 (struct La_ppc64_regs): Likewise.
22606 (struct La_ppc64_retval): Likewise.
22607 (struct La_sh_regs): Likewise.
22608 (struct La_sh_retval): Likewise.
22609 (struct La_s390_32_regs): Likewise.
22610 (struct La_s390_32_retval): Likewise.
22611 (struct La_s390_64_regs): Likewise.
22612 (struct La_s390_64_retval): Likewise.
22613 (struct La_sparc32_regs): Likewise.
22614 (struct La_sparc32_retval): Likewise.
22615 (struct La_sparc64_regs): Likewise.
22616 (struct La_sparc64_retval): Likewise.
22617 (struct audit_ifaces): Remove architecture-specific pltenter and
22619 * sysdeps/i386/ldsodefs.h: New file.
22620 * sysdeps/powerpc/ldsodefs.h: Likewise.
22621 * sysdeps/s390/ldsodefs.h: Likewise.
22622 * sysdeps/sh/ldsodefs.h: Likewise.
22623 * sysdeps/sparc/ldsodefs.h: Likewise.
22624 * sysdeps/x86_64/ldsodefs.h: Likewise.
22626 2012-07-25 Marek Polacek <polacek@redhat.com>
22629 * math/libm-test.inc (yn_test): Add another test.
22630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22631 to ERANGE when the result is +-Inf.
22632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22633 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22634 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22635 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22637 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22639 * conform/data/time.h-data (NULL): Use macro-constant. Require
22641 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22643 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22645 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22647 * configure.in <sysdeps resolving>: Correct printing
22649 * configure: Regenerate.
22651 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22653 * math/w_ilogb.c: Include <limits.h>.
22654 * math/w_ilogbl.c: Likewise.
22656 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22658 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22659 va_copy. Document allowing for unavailable va_copy only as
22660 pre-C99 compatibility.
22661 * manual/string.texi (Copying and Concatenation): Use va_copy
22662 instead of __va_copy in concat example.
22664 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22666 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22667 (__sendto): Use create_address_port. Initialize APORT and deallocate
22670 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22671 with O_NOLINK passed to __file_name_lookup.
22673 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22674 with O_NOLINK passed to __file_name_lookup.
22676 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22677 negative N or less than NGIDS.
22679 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22680 type to string_t. Set ERANGE as errno and return it if NAME is not big
22681 enough. Use memcpy instead of strncpy.
22683 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22685 * elf/Makefile (check-data): Remove.
22686 (localplt.data): New vpath directive.
22687 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22688 instead of $(check-data).
22689 * scripts/data/localplt-generic.data: Move to ...
22690 * sysdeps/generic/localplt.data: ... here.
22691 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22692 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22693 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22696 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22699 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22702 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22705 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22708 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22712 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22714 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22715 PPC32 and PPC64 files.
22716 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22717 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22719 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22721 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22722 __makecontext_ret to ...
22723 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22724 ... here and call exit if uc_link is NULL. New file.
22725 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22726 __makecontext_ret.S.
22727 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22728 __makecontext_ret to ...
22729 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22730 ... here and call exit if uc_link is NULL. New file.
22731 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22732 __makecontext_ret.S.
22734 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22736 * elf/elf.h (R_390_IRELATIVE): New definition.
22737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22738 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22739 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22741 (elf_machine_lazy_rel): Likewise.
22742 * sysdeps/s390/dl-irel.h: New file.
22743 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22744 * sysdeps/s390/s390-64/memset.S: New asm code.
22745 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22746 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22747 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22748 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22749 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22750 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22751 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22752 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22753 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22754 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22755 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22756 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22757 * sysdeps/s390/s390-32/memset.S: New asm code.
22758 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22760 2012-07-17 Marek Polacek <polacek@redhat.com>
22763 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22764 * sysdeps/s390/s390-64/configure.in: Likewise.
22765 * sysdeps/sparc/configure.in: Likewise.
22766 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22767 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22768 * sysdeps/i386/configure.in: Likewise.
22769 * sysdeps/x86_64/configure.in: Likewise.
22770 * sysdeps/sh/configure.in: Likewise.
22771 * sysdeps/s390/s390-32/configure: Regenerated.
22772 * sysdeps/s390/s390-64/configure: Likewise.
22773 * sysdeps/x86_64/configure: Likewise.
22774 * sysdeps/sh/configure: Likewise.
22775 * sysdeps/powerpc/powerpc64/configure: Likewise.
22776 * sysdeps/powerpc/powerpc32/configure: Likewise.
22777 * sysdeps/sparc/configure: Likwise.
22778 * sysdeps/i386/configure: Likewise.
22780 * elf/dl-open.c: Comment fixes.
22782 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22784 * Makefile [CXX] (check-data): Remove.
22785 [CXX] (c++-types.data): New vpath directive.
22786 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22787 vpath. Do not allow for C++ type data being missing.
22788 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22789 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22790 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22791 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22792 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22793 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22794 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22797 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22800 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22803 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22806 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22809 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22812 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22815 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22818 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22819 definitions to architecture-specific files.
22820 (TLS_IE): Likewise.
22821 (TLS_LD): Likewise.
22822 (TLS_GD): Likewise.
22823 * sysdeps/i386/tls-macros.h: New file.
22824 * sysdeps/powerpc/tls-macros.h: Likewise.
22825 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22826 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22827 * sysdeps/sh/tls-macros.h: Likewise.
22828 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22829 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22830 * sysdeps/x86_64/tls-macros.h: Likewise.
22832 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22834 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22835 zero value for regular exit case.
22837 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22838 (__start_context): Preserve zero value for regular exit case.
22840 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22841 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22843 * manual/setjmp.texi (setcontext): Clarify normal process
22844 termination when uc_link is the null pointer.
22845 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22848 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22850 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22851 preprocessor. Test for each exception mask separately.
22853 2012-07-16 Andreas Jaeger <aj@suse.de>
22855 * po/ru.po: Update from translation team.
22857 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22859 * conform/data/string.h-data (NULL): Use macro-constant. Require
22861 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22862 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22863 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22864 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22867 2012-07-13 Andreas Jaeger <aj@suse.de>
22869 * po/fr.po: Update from translation team.
22871 2012-07-12 Marek Polacek <polacek@redhat.com>
22874 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22878 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22881 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22882 Change to 2.4.1 where previously 2.4.0.
22883 * sysdeps/unix/sysv/linux/configure: Regenerated.
22884 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22885 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22887 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22888 (__ASSUME_AT_CLKTCK): Remove.
22889 (__ASSUME_AT_PAGESIZE): Likewise.
22890 (__ASSUME_AT_XID): Likewise.
22891 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22892 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22893 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22895 (HAVE_AUX_PAGESIZE): Likewise.
22896 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22897 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22898 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22900 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22904 the temporary buffer used to invoke __gethostbyname2_r,
22905 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22906 host_data / struct gaih_addrtuple.
22907 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22908 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22909 header file nss/nsswitch.h.
22910 * nss/nsswitch.h (global scope): Add definition of implementation
22911 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22912 resolv/nss_dns/dns-host.c).
22914 2012-07-11 Andreas Jaeger <aj@suse.de>
22916 * po/fr.po: Update from translation team.
22918 * po/sv.po: Update from translation team
22919 * po/fr.po: Another update from translation team.
22921 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22923 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22924 for subnormals or multiply small sinh result by itself.
22925 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22928 2012-07-11 David S. Miller <davem@davemloft.net>
22930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22932 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22935 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22936 (INTERNAL_MARK): Shift it here.
22938 2012-07-10 Marek Polacek <polacek@redhat.com>
22941 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22942 libc_cv_asm_global_directive with .globl.
22943 * configure: Regenerated.
22944 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22946 * sysdeps/i386/configure: Regenerated.
22947 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22949 * sysdeps/x86_64/configure: Regenerated.
22950 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22951 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22952 * elf/tst-unique2mod2.c: Likewise.
22953 * elf/tst-unique2mod1.c: Likewise.
22954 * elf/tst-unique1mod2.c: Likewise.
22955 * elf/tst-unique1mod1.c: Likewise.
22956 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22957 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22958 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22960 * sysdeps/mach/sysdep.h: Likewise.
22961 * sysdeps/i386/sysdep.h: Likewise.
22962 * sysdeps/i386/i386-mcount.S: Likewise.
22963 * sysdeps/x86_64/_mcount.S: Likewise.
22964 * sysdeps/x86_64/sysdep.h: Likewise.
22965 * sysdeps/sh/_mcount.S: Likewise.
22966 * sysdeps/sh/sysdep.h: Likewise.
22967 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22968 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22969 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22970 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22971 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22972 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22973 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22974 * locale/localeinfo.h: Likewise.
22975 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22976 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22978 2012-07-09 Roland McGrath <roland@hack.frob.com>
22981 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22983 * manual/message.texi (The Uniforum approach): Likewise.
22984 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22985 (glibc iconv Implementation): Likewise.
22987 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22990 * math/s_clog.c (__clog): Avoid scaling a value down where that
22991 could result in underflow.
22992 * math/s_clog10.c (__clog10): Likewise.
22993 * math/s_clog10f.c (__clog10f): Likewise.
22994 * math/s_clog10l.c (__clog10l): Likewise.
22995 * math/s_clogf.c (__clogf): Likewise.
22996 * math/s_clogl.c (__clogl): Likewise.
22997 * math/libm-test.inc (clog_test): Add more tests.
22998 (clog10_test): Likewise.
22999 * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23002 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23005 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23006 by 7 not 8 to examine high bit of fractional part.
23009 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23010 for call to __mcount_internal.
23011 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23012 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23013 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23015 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23018 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23019 approximation for values within 0x1p-13f of an odd multiple of
23021 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23022 exception. Add more tests.
23023 * sysdeps/i386/fpu/libm-test-ulps: Update.
23026 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23027 inputs and return -1 for them. Do not check for +Inf in case not
23028 reachable for +Inf.
23029 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23030 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23031 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23032 and return -1 for them. Do not check for +Inf in case not
23033 reachable for +Inf.
23034 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23037 and return -1 for them. Do not check for +Inf in case not
23038 reachable for +Inf.
23039 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23040 spurious underflow.
23041 * sysdeps/i386/fpu/libm-test-ulps: Update.
23042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23044 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23046 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23048 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23052 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23053 could result in spurious underflow. Scale down values above
23054 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23055 * math/s_csqrtf.c (__csqrtf): Likewise.
23056 * math/s_csqrtl.c (__csqrtl): Likewise.
23057 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23058 spurious underflow.
23059 * sysdeps/i386/fpu/libm-test-ulps: Update.
23060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23062 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23064 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23066 * catgets/xopen-msg.awk: New file.
23067 * catgets/xopen-msg.sed: Removed.
23069 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23071 * intl/po2test.awk: New file.
23072 * intl/po2test.sed: Removed.
23074 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23077 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23078 or multiply small sinh result by itself.
23079 * math/s_ctanf.c (__ctanf): Likewise.
23080 * math/s_ctanh.c (__ctanh): Likewise.
23081 * math/s_ctanhf.c (__ctanhf): Likewise.
23082 * math/s_ctanhl.c (__ctanhl): Likewise.
23083 * math/s_ctanl.c (__ctanl): Likewise.
23084 * math/libm-test.inc (ctan_test_tonearest): New function.
23085 (ctan_test_towardzero): Likewise.
23086 (ctan_test_downward): Likewise.
23087 (ctan_test_upward): Likewise.
23088 (ctanh_test_tonearest): Likewise.
23089 (ctanh_test_towardzero): Likewise.
23090 (ctanh_test_downward): Likewise.
23091 (ctanh_test_upward): Likewise.
23092 (main): Call these new functions.
23093 * sysdeps/i386/fpu/libm-test-ulps: Update.
23094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23096 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23098 * .gitignore: Delete /ports entry.
23100 2012-07-03 Andreas Jaeger <aj@suse.de>
23102 * po/bg.po: Update from translation team.
23103 * po/cs.po: Likewise.
23104 * po/de.po: Likewise.
23105 * po/hr.po: Likewise.
23106 * po/nl.pl: Likewise.
23107 * po/pl.po: Likewise.
23108 * po/vi.po: Likewise.
23110 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23112 * Makeconfig [!+link] (+link-before-libc): New variable.
23113 [!+link] (+link-after-libc): Likewise.
23114 [!+link] (+link-tests): Likewise.
23115 [!+link] (+link): Define in terms of $(+link-before-libc) and
23116 $(+link-after-libc).
23117 [!+link-static] (+link-static-before-libc): New variable.
23118 [!+link-static] (+link-static-after-libc): Likewise.
23119 [!+link-static] (+link-static-tests): Likewise.
23120 [!+link-static] (+link-static): Define in terms of
23121 $(+link-static-before-libc) and $(+link-static-after-libc).
23122 [build-shared] (link-libc-before-gnulib): New variable.
23123 [build-shared] (link-libc-tests): Likewise.
23124 [build-shared] (link-libc): Define in terms of
23125 $(link-libc-before-gnulib).
23126 [!build-shared] (link-libc-tests): New variable.
23127 (link-libc-static-tests): New variable.
23128 [!gnulib] (gnulib-arch): New variable.
23129 [!gnulib] (gnulib-tests): Likewise.
23130 [!gnulib] (static-gnulib-arch): Likewise.
23131 [!gnulib] (static-gnulib-tests): Likewise.
23132 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23133 Define with "=" instead of ":=".
23134 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23135 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23136 * Rules (binaries-all-notests): New variable.
23137 (binaries-all-tests): Likewise.
23138 (binaries-static-notests): Likewise.
23139 (binaries-static-tests): Likewise.
23140 (binaries-all): Define using $(binaries-all-notests) and
23141 $(binaries-all-tests).
23142 (binaries-static): Define using $(binaries-static-notests) and
23143 $(binaries-static-tests).
23144 (binaries-shared-tests): New variable.
23145 (binaries-shared-notests): Likewise.
23146 (binaries-shared): Remove variable.
23147 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23148 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23149 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23150 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23151 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23152 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23153 * elf/Makefile (sln-modules): New variable.
23154 (extra-objs): Add $(sln-modules:=.o).
23155 (ldconfig-modules): Add static-stubs.
23156 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23157 * elf/static-stubs.c: New file.
23160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23161 by 7 not 8 to examine high bit of fractional part. Use volatile
23162 variables when splitting into final array of floats if
23163 __FLT_EVAL_METHOD__ != 0.
23164 * math/libm-test.inc (cos_test): Add another test.
23165 (sin_test): Likewise.
23166 * sysdeps/i386/fpu/libm-test-ulps: Update.
23169 * math/libm-test.inc (cosh_test): Add more tests.
23171 * version.h (RELEASE): Set to "development".
23172 (VERSION): Set to "2.16.90".
23174 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23176 * NEWS: Update copyright. Remove last-updated date.
23177 Mention math library bug fixes and timezone data changes.
23178 * README: Mention GNU/Hurd, x32, and HPPA support status.
23180 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23182 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23184 2012-06-27 Andreas Jaeger <aj@suse.de>
23186 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23188 2012-06-25 Andreas Jaeger <aj@suse.de>
23190 * sysdeps/s390/fpu/libm-test-ulps: Update.
23192 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23193 Thomas Schwinge <thomas@codesourcery.com>
23195 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23196 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23200 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23202 * sysdeps/mach/start.c: Remove file.
23203 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23204 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23205 * sysdeps/sh/init-first.c: Likewise.
23207 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23208 registers for frame unwinding purposes, add CFI directives.
23209 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23211 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23214 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23215 __fortify_fail returning.
23216 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23218 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23219 sysdeps/sh/____longjmp_chk.S.
23220 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23221 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23222 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23223 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23225 * sysdeps/sh/abort-instr.h: New file.
23226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23227 process in case exit returns.
23229 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23230 initialize the GOT register before use.
23232 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23233 calculation of ARGC > 4.
23235 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23236 meaningful names to some local labels.
23238 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23239 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23242 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23243 (__arch_compare_and_exchange_val_16_acq): Likewise.
23244 (__arch_compare_and_exchange_val_32_acq): Likewise.
23245 (atomic_exchange_and_add): Fix gUSA sequence.
23246 (atomic_add): Likewise.
23247 (atomic_add_negative): Likewise.
23248 (atomic_add_zero): Likewise.
23249 (atomic_bit_test_set): Likewise.
23251 2012-06-22 Andreas Schwab <schwab@redhat.com>
23254 * include/link.h (struct link_map): Add l_free_initfini.
23255 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23257 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23258 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23259 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23262 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23264 * configure.in: Use AC_LANG_SOURCE.
23265 * configure: Regenerate.
23267 2012-06-22 Roland McGrath <roland@hack.frob.com>
23269 * configure.in (libc_cv_localstatedir): New substituted variable.
23270 * configure: Regenerated.
23271 * config.make.in (localstatedir): New variable, substituted from
23272 libc_cv_localstatedir.
23273 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23274 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23275 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23276 * sysdeps/gnu/configure: Regenerated.
23278 2012-06-21 Jeff Law <law@redhat.com>
23281 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23282 free. Simplify list management for _LIBC case.
23284 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23287 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23288 Clear sign bit of 64-bit integer value before comparing against
23291 * sysdeps/mach/configure: Regenerated.
23293 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23296 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23298 2012-06-21 Jeff Law <law@redhat.com>
23301 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23302 uint16_t for elements in the "seen" array to avoid char overflows.
23303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23304 * elf/dl-open.c (dl_open_worker): Likewise.
23306 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23308 * scripts/list-sources.sh: Scan PORTS for translations.
23309 * po/libc.pot: Regenerated.
23311 2012-06-21 Andreas Jaeger <aj@suse.de>
23314 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23316 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23317 * bits/byteswap-16.h (__bswap_16): Likewise.
23318 * bits/byteswap.h (__bswap_constant_16): Likewise.
23320 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23323 * sysdeps/i386/fpu_control.h: Removed.
23324 * sysdeps/x86_64/fpu_control.h: Moved to ...
23325 * sysdeps/x86/fpu_control.h: Here.
23327 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23328 (_FPU_SETCW): Likewise.
23330 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23333 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23334 * sysdeps/x86/fpu/bits/mathinline.h: This.
23335 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23339 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23340 functions if __x86_64__ is defined.
23342 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23344 * string/endian.h: Add !__ASSEMBLER__ condition for including
23345 conversion interfaces.
23347 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23351 of ABS(x) in calculating zero to negative powers other than odd
23353 * math/libm-test.inc (pow_test): Add more tests.
23355 2012-06-15 Andreas Jaeger <aj@suse.de>
23357 * manual/contrib.texi (Contributors): Update entry of Liubov
23358 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23361 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23363 * string/string.h: Add __wur to GNU version of strerror_r.
23365 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23368 * string/Makefile (tests): Add tst-strtok_r.
23369 * string/tst-strtok_r.c: New file.
23370 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23371 RAX_LP/RDX_LP on SAVE_PTR.
23373 2012-06-14 Roland McGrath <roland@hack.frob.com>
23375 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23377 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23379 * libm_test.inc (csqrt_test): Allow more spurious underflow
23381 (j0_test): Likewise.
23382 (j1_test): Likewise.
23383 (y0_test): Likewise.
23384 (y1_test): Likewise.
23386 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23388 * po/Makefile (libc.pot): Use UTF-8 charset.
23390 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23393 Suppress sign-conversion warning from FD_SET.
23394 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23395 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23396 not unsigned long int.
23397 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23399 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23403 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23404 __extern_always_inline instead of __extern_inline.
23405 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23406 (__signbit): Likewise.
23407 (__signbitl): Support C++ namespace.
23408 (lrintf): New inline function.
23410 (llrintf): Likewise.
23411 (llrint): Likewise.
23421 (floorf): Likewise.
23422 (nearbyint): Likewise.
23423 (nearbyintf): Likewise.
23425 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23427 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23428 non-default versions.
23430 2012-06-11 Roland McGrath <roland@hack.frob.com>
23433 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23435 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23437 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23438 (FE_UPWARD, FE_DOWNWARD): Don't define.
23439 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23442 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23444 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23445 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23447 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23449 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23451 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23452 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23454 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23457 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23458 * sysdeps/i386/fpu/Implies: New file.
23459 * sysdeps/x86_64/fpu/Implies: Likewise.
23460 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23461 * sysdeps/x86/fpu/bits/fenv.h: This.
23463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23466 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23469 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23470 character 0xffff that matches the last element of the
23473 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23478 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23481 values higher than 25.6283.
23483 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23486 subnormal exponent extraction and add some __builtin_expect.
23487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23488 Fix for subnormal mantissa calculation.
23490 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23492 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23493 cpu2 is -1 and errno is not ENOSYS.
23495 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23498 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23499 * sysdeps/x86/bits/string.h: This.
23500 * sysdeps/x86_64/bits/string.h: Removed.
23502 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23503 if not compiling for x86-64, but compiling for >= i486.
23505 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23506 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23509 New macro from Linux kernel 3.4.0.
23510 (FP_XSTATE_MAGIC2): Likewise.
23511 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23512 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23513 (struct _fpx_sw_bytes): New struct.
23514 (struct _xsave_hdr): Likewise.
23515 (struct _ymmh_state): Likewise.
23516 (struct _xstate): Likewise.
23518 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23519 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23521 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23522 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23523 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23525 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23526 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23527 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23528 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23529 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23530 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23532 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23535 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23536 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23537 (sysdep_headers): Include sys/platform/ppc.h.
23538 * sysdeps/powerpc/test-gettimebase.c: Test for
23539 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23540 * manual/Makefile (appendices): Include platform.texi.
23541 * manual/contrib.texi (Contributors): Update @node pointers.
23542 * manual/maint.texi (Maintenance): Likewise.
23543 (Platform): New node.
23544 * manual/platform.texi: New file. Document the new features.
23546 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23547 Jakub Jelinek <jakub@redhat.com>
23550 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23551 where __builtin_expect is unavailable.
23553 2012-06-03 David S. Miller <davem@davemloft.net>
23555 * stdlib/longlong.h: Updated from GCC.
23557 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23560 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23561 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23564 (GLIBC_2.16): Likewise.
23566 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23568 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23570 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23573 (default-abi): New variable.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23575 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23577 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23579 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23581 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23584 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23585 definition. Document in comment.
23587 2012-06-01 David S. Miller <davem@davemloft.net>
23589 * stdlib/longlong.h: Updated from GCC.
23591 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23594 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23595 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23596 sys/debugreg.h sys/io.h here.
23597 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23598 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23600 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23601 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23602 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23603 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23604 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23605 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23608 Define only if __x86_64__ is defined.
23610 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23614 Use int64_t for variable i.
23615 * math/libm-test.inc (fmod_test): Add more tests.
23617 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23618 z computation is not scheduled after fetestexcept.
23619 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23620 Use math_force_eval instead of asm to ensure calculation scheduled
23621 before exception test.
23622 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23623 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23625 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23628 computation is not scheduled after fetestexcept.
23630 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23633 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23634 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23636 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23638 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23639 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23641 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23644 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23646 (__WCHAR_MIN): Support __WORDSIZE == 64.
23647 (__WCHAR_MAX): Likewise.
23649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23650 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23654 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23657 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23660 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23661 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23663 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23664 Defined to 1 if __x86_64__ isn't defined.
23665 (_STAT_VER_LINUX_OLD): New.
23666 (st_atime): Remove duplicate.
23667 (st_mtime): Likewise.
23668 (st_ctime): Likewise.
23670 2012-05-31 David S. Miller <davem@davemloft.net>
23672 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23675 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23677 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23681 * elf/dl-reloc.c: Include <_itoa.h>.
23682 (_dl_reloc_bad_type): Remove use of INTUSE.
23683 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23684 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23685 * stdio-common/psiginfo.c (psiginfo): Likewise.
23686 * stdio-common/psignal.c (psignal): Likewise.
23687 * string/strsignal.c (strsignal): Likewise.
23688 * include/signal.h (_sys_siglist): Declare hidden proto.
23689 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23690 INTVARDEF with libc_hidden_data_def.
23691 * stdio-common/itoa-udigits.c: Likewise.
23692 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23693 (_itoa_lower_digits_internal): Remove declaration.
23694 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23695 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23696 (_sys_sigabbrev_internal): Remove aliases.
23697 (_sys_siglist): Define hidden alias.
23699 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23704 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23707 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23708 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23710 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23712 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23713 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23714 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23715 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23717 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23718 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23719 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23721 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23729 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23733 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23734 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23736 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23737 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23738 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23740 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23741 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23743 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23750 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23751 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23753 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23755 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23756 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23757 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23759 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23761 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23763 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23765 * math/math.h (M_El): Use two more decimal places.
23766 (M_LOG2El): Likewise.
23767 (M_LOG10El): Likewise.
23768 (M_LN2l): Likewise.
23769 (M_LN10l): Likewise.
23771 (M_PI_2l): Likewise.
23772 (M_PI_4l): Likewise.
23773 (M_1_PIl): Likewise.
23774 (M_2_PIl): Likewise.
23775 (M_2_SQRTPIl): Likewise.
23776 (M_SQRT2l): Likewise.
23777 (M_SQRT1_2l): Likewise.
23779 2012-05-31 David S. Miller <davem@davemloft.net>
23781 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23782 values between float registers.
23783 * sysdeps/sparc/sparc64/memset.S: Likewise.
23784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23786 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23788 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23789 -D_FORTIFY_SOURCE=1.
23790 (CPPFLAGS-tst-longjmp_chk.c): Define.
23791 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23792 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23793 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23794 CFLAGS-tst-wchar-h.c.
23796 2012-05-31 Marek Polacek <polacek@redhat.com>
23799 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23800 __endmntent_internal): Remove declaration.
23801 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23802 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23803 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23805 2012-05-30 David S. Miller <davem@davemloft.net>
23807 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23808 (___Q_simulate_exceptions): Use real FP ops rather than writing
23810 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23816 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23817 * sysdeps/x86/bits/xtitypes.h: This.
23819 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23820 * sysdeps/x86/bits/wordsize.h: This.
23822 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23823 * sysdeps/x86/bits/huge_vall.h: This.
23825 * sysdeps/i386/bits/select.h: Removed.
23826 * sysdeps/x86_64/bits/select.h: Renamed to ...
23827 * sysdeps/x86/bits/select.h: This.
23829 * sysdeps/i386/bits/setjmp.h: Removed.
23830 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23831 * sysdeps/x86/bits/setjmp.h: This.
23833 * sysdeps/i386/bits/mathdef.h: Removed.
23834 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23835 * sysdeps/x86/bits/mathdef.h: This.
23837 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23840 * include/sys/socket.h (__connect_internal)
23841 (__libc_sa_len_internal): Remove declaration.
23842 (__connect, __libc_sa_len): Declare hidden_proto.
23843 (SA_LEN): Remove use of INTUSE.
23844 * socket/connect.c: Add libc_hidden_def.
23845 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23846 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23847 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23849 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23850 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23851 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23852 of adding _internal alias.
23854 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23857 * sysdeps/i386/bits/link.h: Removed.
23858 * sysdeps/i386/bits/linkmap.h: Likewise.
23859 * sysdeps/x86_64/bits/link.h: Renamed to ...
23860 * sysdeps/x86/bits/link.h: This.
23861 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23862 * sysdeps/x86/bits/linkmap.h: This.
23864 * sysdeps/i386/bits/endian.h: Removed.
23865 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23866 * sysdeps/x86/bits/endian.h: This.
23868 * sysdeps/i386/bits/byteswap.h: Removed.
23869 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23870 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23871 * sysdeps/x86/bits/byteswap.h: This.
23872 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23873 * sysdeps/x86/bits/byteswap-16.h: This.
23874 * sysdeps/i386/Implies: Add x86.
23875 * sysdeps/x86_64/Implies: Likewise.
23877 2012-05-30 David S. Miller <davem@davemloft.net>
23879 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23880 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23881 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23882 (FP_TRAPPING_EXCEPTIONS): Define.
23883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23884 (FP_TRAPPING_EXCEPTIONS): Define.
23885 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23886 subnormals only when inexact has been signalled or underflow
23887 exceptions are enabled.
23888 (_FP_PACK_CANONICAL): Likewise.
23890 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23894 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23896 2012-05-30 Richard Henderson <rth@twiddle.net>
23898 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23899 with #ifndef NOT_IN_libc.
23901 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23902 marked to avoid plt entry.
23904 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23907 * Makeconfig (default-abi): New macro.
23908 (abi-includes): Likewise.
23909 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23910 $(abi-$(default-abi)-lib-soname) for soname if defined.
23911 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23913 * Makefile (installed-stubs): Likewise.
23914 * include/stubs-biarch.h: Removed.
23915 * scripts/lib-names.awk: Only handle one library at a time.
23916 * scripts/soversions.awk: Remove WORDSIZE support.
23917 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23919 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23921 (syscall-list-default-condition): Likewise.
23922 (syscall-list-default-condition): Likewise.
23923 (syscall-list-includes): Likewise.
23924 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23925 syscall-list-* with abi-*. Handle undefined abi-variants.
23926 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23927 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23928 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23929 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23930 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23931 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23933 (syscall-list-32-options): Likewise.
23934 (syscall-list-32-condition): Likewise.
23935 (syscall-list-64-options): Likewise.
23936 (syscall-list-64-condition): Likewise.
23937 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23939 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23942 (abi-64-ld-soname): New macro.
23943 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23944 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23947 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23948 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23950 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23952 * sysdeps/unix/sysv/linux/kernel-features.h
23953 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23954 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23955 include <kernel-features.h>.
23956 [!__NR_ftruncate64]: Remove conditional code.
23957 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23958 [__NR_ftruncate64]: Make code unconditional.
23959 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23960 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23961 include <kernel-features.h>.
23962 [!__NR_ftruncate64]: Remove conditional code.
23963 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23964 [__NR_ftruncate64]: Make code unconditional.
23965 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23967 include <kernel-features.h>.
23968 [!__NR_ftruncate64]: Remove conditional code.
23969 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23970 [__NR_ftruncate64]: Make code unconditional.
23971 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23973 include <kernel-features.h>.
23974 [!__NR_ftruncate64]: Remove conditional code.
23975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23976 [__NR_ftruncate64]: Make code unconditional.
23977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23979 * configure.in (libc_cv_fpie): Weaken to a compile test using
23980 LIBC_TRY_CC_OPTION.
23981 * configure: Regenerated.
23983 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23998 2012-05-27 David S. Miller <davem@davemloft.net>
24000 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24002 (__Q_simulate_exceptions): Return void. Change to simulate
24003 exceptions by writing into the %fsr.
24004 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24005 (__Qp_handle_exceptions): Likewise.
24007 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24008 __Qp_handle_exceptions.
24009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24010 __Qp_handle_exceptions.
24011 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24012 as unused and give dummy FP_RND_NEAREST initializer.
24013 (FP_INHIBIT_RESULTS): Define.
24014 (___Q_simulate_exceptions): Update declaration.
24015 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24018 as unused and give dummy FP_RND_NEAREST initializer.
24019 (__Qp_handle_exceptions): Update declaration.
24020 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24023 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24025 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24026 the temporary FPU control word.
24027 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24028 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24029 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24030 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24032 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24033 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24034 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24035 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24036 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24037 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24039 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24041 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24044 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24046 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24047 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24048 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24049 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24051 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24052 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24055 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24057 * po/h.po: Update from translation team.
24059 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24061 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24063 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24064 handling of denormals.
24065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24066 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24067 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24068 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24074 2012-05-26 Marek Polacek <polacek@redhat.com>
24077 * math/libm-test.inc (fma_test): Don't always expect underflow
24080 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24083 * elf/tst-execstack.c: Include stackinfo.h.
24084 (do_test): Adjust test case to ensure that pthread_getattr_np
24085 behaviour remains the same after marking stack executable.
24087 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24089 * sysdeps/unix/sysv/linux/kernel-features.h
24090 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24091 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24093 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24094 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24095 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24097 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24098 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24100 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24102 * configure.in: Define the default includes to being none.
24103 * configure: Regenerated.
24105 2012-05-25 Roland McGrath <roland@hack.frob.com>
24107 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24108 * sysdeps/x86_64/setjmp.S: Likewise.
24109 * sysdeps/i386/bsd-setjmp.S: Likewise.
24110 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24111 * sysdeps/i386/setjmp.S: Likewise.
24112 * sysdeps/i386/__longjmp.S: Likewise.
24113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24114 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24116 * include/stap-probe.h: New file.
24117 * configure.in: Handle --enable-systemtap.
24118 * configure: Regenerated.
24119 * config.h.in (USE_STAP_PROBE): New #undef.
24120 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24121 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24122 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24124 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24128 to 2.4.0 where earlier.
24129 * sysdeps/unix/sysv/linux/configure: Regenerated.
24130 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24131 <kernel-features.h>.
24132 [__ASSUME_32BITUIDS]: Make code unconditional.
24133 [!__ASSUME_32BITUIDS]: Remove conditional code.
24134 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24135 <kernel-features.h>.
24136 [__ASSUME_32BITUIDS]: Make code unconditional.
24137 [!__ASSUME_32BITUIDS]: Remove conditional code.
24138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24139 [__ASSUME_32BITUIDS]: Make code unconditional.
24140 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24141 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24142 <kernel-features.h>.
24143 [__ASSUME_32BITUIDS]: Make code unconditional.
24144 [!__ASSUME_32BITUIDS]: Remove conditional code.
24145 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24146 <kernel-features.h>.
24147 [__ASSUME_32BITUIDS]: Make code unconditional.
24148 [!__ASSUME_32BITUIDS]: Remove conditional code.
24149 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24150 <kernel-features.h>.
24151 [__ASSUME_32BITUIDS]: Make code unconditional.
24152 [!__ASSUME_32BITUIDS]: Remove conditional code.
24153 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24154 <kernel-features.h>.
24155 [__ASSUME_32BITUIDS]: Make code unconditional.
24156 [!__ASSUME_32BITUIDS]: Remove conditional code.
24157 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24158 <kernel-features.h>.
24159 [__ASSUME_32BITUIDS]: Make code unconditional.
24160 [!__ASSUME_32BITUIDS]: Remove conditional code.
24161 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24162 <kernel-features.h>.
24163 [__ASSUME_32BITUIDS]: Make code unconditional.
24164 [!__ASSUME_32BITUIDS]: Remove conditional code.
24165 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24166 <kernel-features.h>.
24167 [__ASSUME_32BITUIDS]: Make code unconditional.
24168 [!__ASSUME_32BITUIDS]: Remove conditional code.
24169 * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.c: Do not include
24174 <kernel-features.h>.
24175 [__ASSUME_32BITUIDS]: Make code unconditional.
24176 [!__ASSUME_32BITUIDS]: Remove conditional code.
24177 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24178 <kernel-features.h>.
24179 [__ASSUME_32BITUIDS]: Make code unconditional.
24180 [!__ASSUME_32BITUIDS]: Remove conditional code.
24181 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24182 <kernel-features.h>.
24183 [__NR_setresgid] (__setresgid): Do not declare.
24184 [__ASSUME_32BITUIDS]: Make code unconditional.
24185 [!__ASSUME_32BITUIDS]: Remove conditional code.
24186 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24187 <kernel-features.h>.
24188 [__NR_setresuid] (__setresuid): Do not declare.
24189 [__ASSUME_32BITUIDS]: Make code unconditional.
24190 [!__ASSUME_32BITUIDS]: Remove conditional code.
24191 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24192 <kernel-features.h>.
24193 [__ASSUME_32BITUIDS]: Make code unconditional.
24194 [!__ASSUME_32BITUIDS]: Remove conditional code.
24195 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24196 <kernel-features.h>.
24197 [__ASSUME_32BITUIDS]: Make code unconditional.
24198 [!__ASSUME_32BITUIDS]: Remove conditional code.
24199 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24200 <kernel-features.h>.
24201 [__ASSUME_32BITUIDS]: Make code unconditional.
24202 [!__ASSUME_32BITUIDS]: Remove conditional code.
24203 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24204 <kernel-features.h>.
24205 [__ASSUME_32BITUIDS]: Make code unconditional.
24206 [!__ASSUME_32BITUIDS]: Remove conditional code.
24207 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24208 <kernel-features.h>.
24209 [__ASSUME_32BITUIDS]: Make code unconditional.
24210 [!__ASSUME_32BITUIDS]: Remove conditional code.
24211 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24212 <kernel-features.h>.
24213 [__ASSUME_32BITUIDS]: Make code unconditional.
24214 [!__ASSUME_32BITUIDS]: Remove conditional code.
24215 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24216 <kernel-features.h>.
24217 [__ASSUME_32BITUIDS]: Make code unconditional.
24218 [!__ASSUME_32BITUIDS]: Remove conditional code.
24219 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24220 <kernel-features.h>.
24221 [__ASSUME_32BITUIDS]: Make code unconditional.
24222 [!__ASSUME_32BITUIDS]: Remove conditional code.
24223 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24224 <kernel-features.h>.
24225 [__ASSUME_32BITUIDS]: Make code unconditional.
24226 [!__ASSUME_32BITUIDS]: Remove conditional code.
24227 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24228 <kernel-features.h>.
24229 [__ASSUME_32BITUIDS]: Make code unconditional.
24230 [!__ASSUME_32BITUIDS]: Remove conditional code.
24231 * sysdeps/unix/sysv/linux/kernel-features.h
24232 (__ASSUME_SETRESUID_SYSCALL): Remove.
24233 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24234 (__ASSUME_32BITUIDS): Likewise.
24235 (__ASSUME_LDT_WORKS): Likewise.
24236 (__ASSUME_O_DIRECTORY): Likewise.
24237 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24238 architecture but not kernel version.
24239 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24240 (__ASSUME_MMAP2_SYSCALL): Likewise.
24241 (__ASSUME_STAT64_SYSCALL): Likewise.
24242 (__ASSUME_IPC64): Likewise.
24243 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24244 <kernel-features.h>.
24245 [__ASSUME_32BITUIDS]: Make code unconditional.
24246 [!__ASSUME_32BITUIDS]: Remove conditional code.
24247 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24248 <kernel-features.h>.
24249 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24250 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24251 132096]: Remove conditional code.
24252 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24253 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24254 <kernel-features.h>.
24255 [__ASSUME_32BITUIDS]: Make code unconditional.
24256 [!__ASSUME_32BITUIDS]: Remove conditional code.
24257 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24258 <kernel-features.h>.
24259 [__ASSUME_32BITUIDS]: Make code unconditional.
24260 [!__ASSUME_32BITUIDS]: Remove conditional code.
24261 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24262 <kernel-features.h>.
24263 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24265 (__setresgid): Do not declare.
24266 [__ASSUME_32BITUIDS]: Make code unconditional.
24267 [!__ASSUME_32BITUIDS]: Remove conditional code.
24268 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24269 <kernel-features.h>.
24270 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24272 (__setresuid): Do not declare.
24273 [__ASSUME_32BITUIDS]: Make code unconditional.
24274 [!__ASSUME_32BITUIDS]: Remove conditional code.
24275 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24276 <kernel-features.h>.
24277 [__ASSUME_32BITUIDS]: Make code unconditional.
24278 [!__ASSUME_32BITUIDS]: Remove conditional code.
24279 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24280 <kernel-features.h>.
24281 [__ASSUME_32BITUIDS]: Make code unconditional.
24282 [!__ASSUME_32BITUIDS]: Remove conditional code.
24284 2012-05-25 Richard Henderson <rth@twiddle.net>
24286 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24287 dl_hwcap to ifunc resolver.
24288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24290 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24291 dl_hwcap to ifunc resolver.
24292 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24294 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24297 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24298 for |x| <= 2**-26, not 2**-57.
24299 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24302 2012-05-24 Jeff Law <law@redhat.com>
24304 * stdio-common/Makefile (tests): Add bug25.
24305 * stdio-common/bug25.c: New test.
24307 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24310 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24311 multiple of MALLOC_ALIGNMENT in size.
24312 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24314 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24316 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24318 (FILENAME_MAX): Use macro-int-constant.
24319 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24320 (_IOFBF): Use macro-int-constant.
24321 (_IOLBF): Likewise.
24322 (_IONBF): Likewise.
24323 (SEEK_CUR): Likewise.
24324 (SEEK_END): Likewise.
24325 (SEEK_SET): Likewise.
24326 (TMP_MAX): Likewise.
24327 (EOF): Use macro-int-constant. Require < 0.
24328 (NULL): Use macro-constant. Require == 0.
24329 (stdin): Require type to be FILE *.
24330 (stdout): Likewise.
24331 (stderr): Likewise.
24332 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24333 macro-int-constant.
24334 (EXIT_SUCCESS): Likewise.
24335 (NULL): Use macro-constant. Require == 0.
24336 (RAND_MAX): Use macro-int-constant.
24337 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24338 [C99-based standards] (strtof): Require function.
24339 [C99-based standards] (strtold): Likewise.
24340 [C99-based standards] (strtoll): Likewise.
24341 [C99-based standards] (strtoull): Likewise.
24342 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24343 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24344 [ISO || ISO99 || ISO11] (math.h): Likewise.
24345 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24346 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24349 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24352 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24353 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24354 * intl/dgettext.c (DCGETTEXT): Likewise.
24355 * intl/gettext.c (DCGETTEXT): Likewise.
24356 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24357 * posix/regex_internal.h (gettext): Likewise.
24358 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24359 Remove declaration.
24360 * include/argz.h (__argz_count_internal)
24361 (__argz_stringify_internal): Remove declaration.
24362 (__argz_count, __argz_stringify): Declare hidden proto.
24363 * intl/dcgettext.c: Remove use of INTDEF.
24364 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24365 * string/argz-stringify.c: Likewise.
24366 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24367 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24368 Declare hidden proto.
24369 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24370 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24371 Declare hidden proto.
24372 * include/stdio.h (__asprintf_internal): Don't declare.
24373 (__asprintf): Don't define as macro. Declare hidden proto.
24374 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24375 (__fsetlocking): Declare hidden proto.
24376 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24377 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24379 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24380 (_IO_setlinebuf): Remove use of INTUSE.
24381 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24382 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24383 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24384 Remove declaration.
24385 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24386 (_IO_do_flush): Remove use of INTUSE.
24387 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24388 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24389 (_IO_adjust_column, _IO_least_wmarker)
24390 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24391 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24392 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24393 (_IO_default_doallocate, _IO_wdefault_doallocate)
24394 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24395 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24396 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24397 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24398 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24399 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24400 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24401 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24402 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24403 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24404 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24405 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24406 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24408 (_IO_flush_all_internal, _IO_adjust_column_internal)
24409 (_IO_default_uflow_internal, _IO_default_finish_internal)
24410 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24411 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24412 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24413 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24414 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24415 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24416 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24417 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24418 (_IO_file_close_internal, _IO_file_close_it_internal)
24419 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24420 (_IO_file_init_internal, _IO_file_attach_internal)
24421 (_IO_file_fopen_internal, _IO_file_read_internal)
24422 (_IO_file_sync_internal, _IO_file_seek_internal)
24423 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24424 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24425 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24426 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24427 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24428 (_IO_list_all_internal, _IO_link_in_internal)
24429 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24430 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24431 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24432 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24433 (_IO_do_write_internal, _IO_padn_internal)
24434 (_IO_getline_info_internal, _IO_getline_internal)
24435 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24436 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24437 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24438 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24439 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24440 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24441 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24442 with libc_hidden_ver, remove use of INTUSE.
24443 * libio/genops.c: Likewise.
24444 * libio/freopen.c: Likewise.
24445 * libio/freopen64.c: Likewise.
24446 * libio/iofclose.c: Likewise.
24447 * libio/iofdopen.c: Likewise.
24448 * libio/iofflush.c: Likewise.
24449 * libio/iofflush_u.c: Likewise.
24450 * libio/iofgets.c: Likewise.
24451 * libio/iofgets_u.c: Likewise.
24452 * libio/iofopen.c: Likewise.
24453 * libio/iofopncook.c: Likewise.
24454 * libio/iofread.c: Likewise.
24455 * libio/iofread_u.c: Likewise.
24456 * libio/ioftell.c: Likewise.
24457 * libio/iofwrite.c: Likewise.
24458 * libio/iogetline.c: Likewise.
24459 * libio/iogets.c: Likewise.
24460 * libio/iogetwline.c: Likewise.
24461 * libio/iopadn.c: Likewise.
24462 * libio/iopopen.c: Likewise.
24463 * libio/ioseekoff.c: Likewise.
24464 * libio/ioseekpos.c: Likewise.
24465 * libio/iosetbuffer.c: Likewise.
24466 * libio/iosetvbuf.c: Likewise.
24467 * libio/ioungetc.c: Likewise.
24468 * libio/ioungetwc.c: Likewise.
24469 * libio/iovdprintf.c: Likewise.
24470 * libio/iovsprintf.c: Likewise.
24471 * libio/iovsscanf.c: Likewise.
24472 * libio/memstream.c: Likewise.
24473 * libio/obprintf.c: Likewise.
24474 * libio/oldfileops.c: Likewise.
24475 * libio/oldiofclose.c: Likewise.
24476 * libio/oldiofdopen.c: Likewise.
24477 * libio/oldiofopen.c: Likewise.
24478 * libio/oldiopopen.c: Likewise.
24479 * libio/oldstdfiles.c: Likewise.
24480 * libio/putc.c: Likewise.
24481 * libio/setbuf.c: Likewise.
24482 * libio/setlinebuf.c: Likewise.
24483 * libio/stdfiles.c: Likewise.
24484 * libio/strops.c: Likewise.
24485 * libio/vasprintf.c: Likewise.
24486 * libio/vscanf.c: Likewise.
24487 * libio/vsnprintf.c: Likewise.
24488 * libio/vswprintf.c: Likewise.
24489 * libio/wfiledoalloc.c: Likewise.
24490 * libio/wfileops.c: Likewise.
24491 * libio/wgenops.c: Likewise.
24492 * libio/wmemstream.c: Likewise.
24493 * libio/wstrops.c: Likewise.
24494 * libio/__fpurge.c: Likewise.
24495 * libio/__fsetlocking.c: Likewise.
24496 * assert/assert.c: Likewise.
24497 * debug/fgets_chk.c: Likewise.
24498 * debug/fgets_u_chk.c: Likewise.
24499 * debug/fread_chk.c: Likewise.
24500 * debug/fread_u_chk.c: Likewise.
24501 * debug/gets_chk.c: Likewise.
24502 * debug/obprintf_chk.c: Likewise.
24503 * debug/vasprintf_chk.c: Likewise.
24504 * debug/vdprintf_chk.c: Likewise.
24505 * debug/vsnprintf_chk.c: Likewise.
24506 * debug/vsprintf_chk.c: Likewise.
24507 * malloc/mtrace.c: Likewise.
24508 * misc/error.c: Likewise.
24509 * misc/syslog.c: Likewise.
24510 * stdio-common/asprintf.c: Likewise.
24511 * stdio-common/fxprintf.c: Likewise.
24512 * stdio-common/getw.c: Likewise.
24513 * stdio-common/isoc99_fscanf.c: Likewise.
24514 * stdio-common/isoc99_scanf.c: Likewise.
24515 * stdio-common/isoc99_vfscanf.c: Likewise.
24516 * stdio-common/isoc99_vscanf.c: Likewise.
24517 * stdio-common/isoc99_vsscanf.c: Likewise.
24518 * stdio-common/printf-prs.c: Likewise.
24519 * stdio-common/printf_fp.c: Likewise.
24520 * stdio-common/printf_fphex.c: Likewise.
24521 * stdio-common/printf_size.c: Likewise.
24522 * stdio-common/putw.c: Likewise.
24523 * stdio-common/scanf.c: Likewise.
24524 * stdio-common/sprintf.c: Likewise.
24525 * stdio-common/tmpfile.c: Likewise.
24526 * stdio-common/vfprintf.c: Likewise.
24527 * stdio-common/vfscanf.c: Likewise.
24528 * stdlib/strfmon_l.c: Likewise.
24529 * sunrpc/openchild.c: Likewise.
24530 * sunrpc/xdr_stdio.c: Likewise.
24531 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24532 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24534 2012-05-24 Roland McGrath <roland@hack.frob.com>
24536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24538 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24539 in the third column, to generate for the shared library an IFUNC
24540 that uses _dl_vdso_vsym.
24541 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24542 * Makeconfig (object-suffixes-noshared): New variable.
24544 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24545 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24546 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24547 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24550 * include/sys/time.h (__gettimeofday): Remove macro.
24551 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24552 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24554 (__gettimeofday): Add libc_hidden_def.
24555 (gettimeofday): Add libc_hidden_weak.
24556 * sysdeps/mach/gettimeofday.c: Likewise.
24557 * sysdeps/posix/gettimeofday.c: Likewise.
24558 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24559 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24561 (__gettimeofday_internal): Remove strong_alias.
24562 (__gettimeofday): Add libc_hidden_def.
24563 (gettimeofday): Add libc_hidden_weak.
24564 * sysdeps/unix/syscalls.list (gettimeofday):
24565 Remove __gettimeofday_internal alias.
24567 2012-05-24 Daniel Jacobowitz <drow@false.org>
24568 H.J. Lu <hongjiu.lu@intel.com>
24571 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24572 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24573 (largebin_index_32_big): New.
24574 (largebin_index): Use it for 16-byte alignment.
24575 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24576 correction with front_misalign.
24578 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24606 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24607 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24609 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24613 * math/libm-test.inc (exp_test): Add test from bug 14036.
24614 (pow_test): Add test from bug 10846.
24616 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24618 (special_function): Do not include flags in test name.
24619 (parse_args): Likewise.
24620 * sysdeps/i386/fpu/libm-test-ulps: Update.
24621 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24622 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24623 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24626 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24628 * math/libm-test.inc ("Philosophy"): Update comment about
24630 (UNDERFLOW_EXCEPTION): New macro.
24631 (UNDERFLOW_EXCEPTION_OK): Likewise.
24632 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24633 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24634 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24635 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24636 (INVALID_EXCEPTION_OK): Update value.
24637 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24638 (OVERFLOW_EXCEPTION_OK): Likewise.
24639 (IGNORE_ZERO_INF_SIGN): Likewise.
24640 (test_exceptions): Handle underflow exceptions.
24641 (acos_test): Update for underflow exception expectations.
24642 (cexp_test): Likewise.
24643 (clog_test): Likewise.
24644 (clog10_test): Likewise.
24645 (csqrt_test): Likewise.
24646 (ctan_test): Likewise.
24647 (ctanh_test): Likewise.
24648 (exp_test): Likewise.
24649 (exp10_test): Likewise.
24650 (exp2_test): Likewise.
24651 (expm1_test): Likewise.
24652 (fma_test): Likewise.
24653 (j0_test): Likewise.
24654 (jn_test): Likewise.
24655 (nexttoward_test): Likewise.
24656 (pow_test): Likewise.
24657 (scalbn_test): Likewise.
24658 (scalbln_test): Likewise.
24659 (tan_test): Likewise.
24660 (y1_test): Likewise.
24661 * sysdeps/i386/fpu/libm-test-ulps: Update.
24662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24664 2012-05-23 David S. Miller <davem@davemloft.net>
24666 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24667 (__libc_sigaction): Remove unused local variables.
24669 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24671 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24673 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24675 mktime: avoid signed integer overflow
24676 * time/mktime.c (__mktime_internal): Do not mishandle the case
24677 where diff == INT_MIN.
24679 mktime: simplify computation of average
24680 * time/mktime.c (ranged_convert): Use new time_t_avg function
24681 instead of rolling our own (probably-slower) code.
24683 mktime: do not assume signed right shift propagates sign bit
24684 * time/mktime.c (isdst_differ): New static function.
24685 (__mktime_internal): No need to normalize tm_isdst now.
24686 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24689 mktime: merge another wrapv change from gnulib
24690 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24691 from some compilers.
24693 mktime: remove incorrect attempt at unusual arithmetics
24694 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24695 The code didn't really work on such machines anyway.
24696 (TYPE_MINIMUM): Assume two's complement.
24697 (twos_complement_arithmetic): Verify that long_int and time_t
24698 are two's complement (or unsigned, in the latter case).
24700 mktime: check signed shifts on long_int and time_t, too
24701 * time/mktime.c (SHR): Check that shifts work as desired
24702 on the types long_int and time_t too, as SHR is used on
24705 mktime: do not assume 'long' is wide enough
24706 * time/mktime.c (verify): Move decl up.
24707 (long_int): New type.
24708 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24709 to remove assumption in the code that 'long' is wide enough to
24710 store year values. This assumption is not true on x32 and on
24711 some non-glibc platforms.
24713 mktime: merge wrapv change from gnulib
24714 * time/mktime.c (WRAPV): New macro.
24715 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24716 (guess_time_tm, __mktime_internal): Do not assume that signed
24717 integer overflow wraps around; modern compilers generate code
24718 where this assumption is no longer valid.
24720 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24722 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24723 Replace "jmp L(pseudo_end)" with "ret".
24724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24727 2012-05-23 Andreas Jaeger <aj@suse.de>
24729 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24730 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24732 2012-05-23 Andreas Jaeger <aj@suse.de>
24733 Maximilian Attems <max@stro.at>
24735 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24740 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24741 code so that pseudo_end is just ret and the stack pointer is
24742 correct also for static library in error case.
24744 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24746 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24747 move to syscalls.list.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24753 * manual/install.texi (Running make install): Do not mention Linux
24754 kernel version for which pt_chown is not needed.
24755 (Linux): Do not mention problems with nscd with 2.0 kernels.
24756 * INSTALL: Regenerated.
24758 2012-05-23 Andreas Jaeger <aj@suse.de>
24760 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24761 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24763 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24764 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24765 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24766 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24767 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24773 * sysdeps/unix/sysv/linux/bits/in.h
24774 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24776 2012-05-22 Roland McGrath <roland@hack.frob.com>
24778 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24779 (PREPARE_VERSION): Just use assert instead, it will be elided
24780 under [NDEBUG] anyway.
24782 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24784 * sysdeps/unix/sysv/linux/Makefile: Include
24785 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24786 (sysdep_routines): Remove sysctl.
24787 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24788 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24789 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24790 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24791 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24793 2012-05-22 Andreas Jaeger <aj@suse.de>
24795 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24796 that pseudo_end is just ret and the stack pointer is correct also
24797 for static library in error case.
24799 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24802 * nss/nsswitch.c (defconfig_entries): New variable.
24803 (__nss_database_lookup): Don't leak defconfig entries.
24804 (nss_parse_service_list): Don't leak on error paths.
24805 (free_database_entries): New function.
24806 (free_defconfig): New function.
24807 (free_mem): Move common code to free_database_entries.
24809 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24811 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24813 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24815 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24816 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24819 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24820 (INTERNAL_SYSCALL_TYPES): Likewise.
24821 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24822 (LOAD_REGS_TYPES_[1-6]): Likewise.
24823 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24824 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24826 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24828 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24829 copysignl for GLIBC_2_0.
24830 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24831 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24833 logbl for GLIBC_2_0.
24834 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24835 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24837 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24840 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24842 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24845 * time/mktime.c: Update copyright years.
24847 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24849 mktime: merge comment-quoting-style change from gnulib
24850 * time/mktime.c: Quote 'like this' in comments.
24851 The GNU coding standards suggest that we no longer quote `like this',
24852 as "`" and "'" are typically rendered asymmetrically nowadays.
24853 The typical gnulib style is to quote 'like this' when quoting
24854 code, and "like this" when quoting English.
24856 * time/mktime.c (compile-command): Add "-I.".
24858 mktime: merge mktime-internal.h change from gnulib
24859 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24861 mktime: merge time_r change from gnulib
24862 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24864 mktime: merge DEBUG change from gnulib
24865 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24866 case system <time.h> has a #define.
24868 mktime: merge <sys/types.h> change from gnulib
24869 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24870 since <time.t> is now guaranteed to define time_t.
24872 mktime: merge HAVE_CONFIG_H change from gnulib
24873 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24875 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24880 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24882 (struct rusage): Use anonymous union to pad each field to
24885 2012-05-21 David S. Miller <davem@davemloft.net>
24887 * Makefules (o-iterator): Remove .s cases.
24888 (compile-command.s): Delete.
24889 (COMPILE.s): Delete.
24890 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24892 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24894 * configure.in (libc_cv_predef_stack_protector): Only consider
24895 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24896 * configure: Regenerated.
24898 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24901 New macro. Use R*LP on int and pointer.
24902 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24903 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24904 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24905 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24907 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24908 [__WORDSIZE_TIME64_COMPAT32] instead of
24909 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24910 (struct utmp): Likewise.
24911 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24912 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24914 (__WORDSIZE_TIME64_COMPAT32): This.
24915 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24916 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24917 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24918 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24919 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24920 (__WORDSIZE_TIME64_COMPAT32): New macro.
24922 2012-05-21 Andreas Jaeger <aj@suse.de>
24924 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24925 only if [SHARED]. Add prototype for __wcschr_ia32.
24927 2012-05-21 Roland McGrath <roland@hack.frob.com>
24929 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24930 of %rbp unmolested in the jmp_buf while mangling the low bits.
24931 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24932 unmolested high bits of %rbp while demangling the low bits.
24933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24935 2012-05-21 Andreas Jaeger <aj@suse.de>
24937 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24938 * sunrpc/svc_simple.c: Use it for registerrpc.
24939 * sunrpc/xcrypt.c: Use it for passwd2des.
24941 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24943 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24945 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24946 Don't define if [__SYSCALL_WORDSIZE != 32].
24947 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24950 2012-05-21 Bruno Haible <bruno@clisp.org>
24951 Andreas Jaeger <aj@suse.de>
24953 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24954 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24955 inptr and inend for must_buffer_ch.
24956 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24957 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24958 * stdio-common/Makefile (tests): Remove bug15.
24959 (bug15-ENV): Remove macro.
24960 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24963 2012-05-19 Andreas Jaeger <aj@suse.de>
24964 Roland McGrath <roland@hack.frob.com>
24966 * manual/contrib.texi: Completely rewritten. It contains now an
24967 alphabetical list of contributors and their contributions.
24969 2012-05-21 Richard Henderson <rth@twiddle.net>
24971 * misc/getauxval.c (__getauxval): Use unsigned long int.
24972 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24973 (getauxval): Use unsigned long int.
24975 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24977 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24979 2012-05-21 Roland McGrath <roland@hack.frob.com>
24981 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24982 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24983 __alignof__ (long double).
24985 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24989 2012-05-20 Richard Henderson <rth@twiddle.net>
24991 * misc/getauxval.c: New file.
24992 * misc/sys/auxv.h: New file.
24993 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24994 (routines): Add getauxval.
24995 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24996 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24997 * elf/dl-sysdep.c (_dl_auxv): Remove.
24998 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24999 * elf/dl-support.c (_dl_auxv): New variable.
25000 (_dl_aux_init): Initialize it.
25001 * manual/startup.texi (Auxiliary Vector): New node.
25002 * sysdeps/generic/bits/hwcap.h: New file.
25003 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25004 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25005 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25006 * sysdeps/sparc/sysdep.h: ... here. Include it.
25007 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25020 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25024 2012-05-19 David S. Miller <davem@davemloft.net>
25026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25028 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25031 * math/s_ccosh.c: Include <float.h>
25032 (__ccosh): Avoid internal overflow calculating sinh and cosh
25033 values before multiplying by sin and cos values.
25034 * math/s_ccoshf.c: Likewise.
25035 * math/s_ccoshl.c: Likewise.
25036 * math/s_csin.c: Likewise.
25037 * math/s_csinf.c: Likewise.
25038 * math/s_csinl.c: Likewise.
25039 * math/s_csinh.c: Likewise.
25040 * math/s_csinhf.c: Likewise.
25041 * math/s_csinhl.c: Likewise.
25042 * math/libm-test.inc (ccos_test): Add more tests.
25043 (ccosh_test): Likewise.
25044 (csin_test): Likewise.
25045 (csinh_test): Likewise.
25046 * sysdeps/i386/fpu/libm-test-ulps: Update.
25047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25049 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25051 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25052 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25054 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25056 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25058 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25059 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25060 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25061 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25062 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25063 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25064 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25065 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25066 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25067 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25068 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25069 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25070 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25071 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25072 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25073 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25074 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25075 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25076 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25077 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25078 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25079 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25080 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25081 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25082 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25083 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25084 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25085 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25086 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25087 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25088 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25090 2012-05-18 Andreas Jaeger <aj@suse.de>
25092 * csu/.gitignore: Delete.
25094 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25096 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25097 (timex): Use __syscall_slong_t.
25099 2012-05-18 Andreas Jaeger <aj@suse.de>
25100 Carlos O'Donell <carlos_odonell@mentor.com>
25102 * manual/install.texi (Configuring and compiling): Update
25103 description about files modified in the source directory.
25104 * INSTALL: Regenerated.
25106 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25108 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25109 value. Use "or" to set return value to -1.
25110 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25111 negate return value.
25113 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25115 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25116 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25117 failure if the compiler has Graphite support disabled.
25118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25120 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25121 CFLAGS-memmove.c): Likewise.
25122 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25125 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25127 * sysdeps/x86_64/x32/_itoa.h: New file.
25129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25130 getdents system call only if kernel and user dirents have the
25131 same d_ino and d_off.
25133 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25134 LLONG_MAX != LONG_MAX.
25135 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25136 (_fitoa_word): Likewise.
25138 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25145 include <bits/wordsize.h>. Check __x86_64__ instead of
25147 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25148 if __x86_64__ is defined. Use anonymous union on fpstate.
25150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25153 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25155 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25156 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25158 Refer to _rtld_local_ro instead of _rtld_global_ro.
25159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25161 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25163 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25165 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25166 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25167 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25169 * sysdeps/powerpc/powerpc32/dl-machine.c
25170 (__elf_machine_runtime_setup) [PROF]: Don't reference
25173 2012-05-18 Andreas Jaeger <aj@suse.de>
25175 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25176 function only available for GCCs before 3.4 since GCC 3.4
25177 introduced a builtin.
25179 (llrintf): Likewise.
25180 (llrint): Likewise.
25187 (nearbyint): Likewise.
25188 (nearbyintf): Likewise.
25192 (floorf): Likewise.
25194 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25197 on both fields and cast pointer to __syscall_ulong_t.
25199 * bits/types.h (__fsword_t): New type.
25200 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25201 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25203 (__FSWORD_T_TYPE): Likewise.
25204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25205 (__FSWORD_T_TYPE): Likewise.
25206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25207 (__FSWORD_T_TYPE): Likewise.
25208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25209 (__FSWORD_T_TYPE): Likewise.
25210 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25211 __SWORD_TYPE with __fsword_t.
25212 (statfs64): Likewise.
25214 2012-05-17 David S. Miller <davem@davemloft.net>
25216 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25218 2012-05-17 Andreas Jaeger <aj@suse.de>
25220 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25223 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25225 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25227 2012-05-17 Andreas Jaeger <aj@suse.de>
25229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25232 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25234 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25236 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25238 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25239 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25241 2012-05-17 Andreas Jaeger <aj@suse.de>
25242 Carlos O'Donell <carlos_odonell@mentor.com>
25245 * sysdeps/x86_64/multiarch/init-arch.h
25246 (bit_YMM_Usable): Rename to...
25247 (bit_AVX_Usable): ... this.
25248 (bit_FMA4_Usable): New macro.
25249 (bit_XMM_state): New macro.
25250 (bit_YMM_state): New macro.
25251 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25252 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25253 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25254 (CPUID_OSXSAVE): New macro.
25255 (CPUID_AVX): New macro.
25256 (CPUID_FMA4): New macro.
25257 (index_YMM_Usable): Rename to...
25258 (index_AVX_Usable): ... this.
25259 (HAS_AVX): Use HAS_ARCH_FEATURE.
25260 (HAS_FMA4): Likewise.
25261 (HAS_YMM_USABLE): Remove.
25262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25263 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25265 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25266 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25267 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25268 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25269 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25271 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25273 * math/libm-test.c: Support platforms without multiple rounding modes.
25274 * math/bug-nextafter.c: Support platforms without FP exceptions.
25275 * math/bug-nexttoward.c: Likewise.
25276 * math/test-fenv.c: Likewise.
25277 * math/test-misc.c: Likewise.
25278 * stdlib/bug-getcontext.c: Likewise.
25280 2012-05-17 Andreas Jaeger <aj@suse.de>
25282 * manual/examples/search.c (critter_cmp): Change signature to
25284 * manual/string.texi (Collation Functions): Likewise.
25286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25288 * bits/types.h: Fold copyright years.
25289 * bits/typesizes.h: Likewise.
25290 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25294 * time/time.h: Likewise.
25296 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25299 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25300 in instead of returning them. Return void.
25301 (__libc_mallinfo): Accumulate over all arenas.
25302 (__malloc_stats): Adjust for change in int_mallinfo interface.
25304 2012-05-16 Roland McGrath <roland@hack.frob.com>
25307 * configure.in (NM): Add AC_CHECK_TOOL for it.
25308 (libc_extra_cflags): New substituted variable.
25309 Check for -fstack-protector being used implicitly.
25310 * configure: Regenerated.
25311 * config.make.in (config-extra-cflags): New variable,
25312 gets @libc_extra_cflags@.
25313 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25316 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25317 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25318 * configure: Regenerated.
25319 * config.make.in (CPPUNDEFS): New substituted variable.
25320 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25321 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25322 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25324 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25326 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25327 (mq_attr): Use __syscall_slong_t.
25329 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25331 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25332 Check __x86_64__ instead of __WORDSIZE.
25333 (_STAT_VER_LINUX): Likewise.
25334 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25335 __syscall_ulong_t and __syscall_slong_t.
25336 (stat64): Likewise.
25338 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25340 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25344 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25348 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25351 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25352 include <bits/wordsize.h>. Check __x86_64__ instead of
25354 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25356 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25359 include <bits/wordsize.h>. Check __x86_64__ instead of
25361 (user_regs_struct): Use "__extension__ unsigned long long"
25362 instead of "unsigned long" if __x86_64__ is defined.
25363 (user): Likewise. Pad after pointer field if __ILP32__ is
25366 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25368 * configure.in (makeinfo): Require version 4.5 or later. Allow
25370 * configure: Regenerated.
25371 * manual/install.texi (texinfo): Increase version requirement to
25373 * INSTALL: Regenerated.
25375 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25377 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25379 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25381 * sysdeps/x86_64/x32/ffs.c: New file.
25383 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25385 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25386 defined. Use __syscall_ulong_t.
25387 (shminfo): Use __syscall_ulong_t.
25388 (shm_info): Likewise.
25390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25393 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25395 (msgqnum_t): Use __syscall_ulong_t.
25396 (msglen_t): Likewise.
25397 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25400 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25403 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25405 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25406 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25408 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25411 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25412 include <bits/wordsize.h>. Check __x86_64__ instead of
25415 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25416 "unsigned long long int" if __x86_64__ is defined.
25417 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25419 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25420 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25421 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25423 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25425 (GET_PC): Cast to uintptr_t first.
25426 (GET_FRAME): Likewise.
25427 (GET_STACK): Likewise.
25429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25430 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25434 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25436 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25437 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25438 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25439 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25441 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25442 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25443 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25444 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25445 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25446 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25449 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25450 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25451 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25452 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25453 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25455 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25457 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25459 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25461 * Makerules (+depfiles): Also collect depfiles from .oS in
25463 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25464 .oS, $(libnldbl-routines)).
25466 * Makerules (native-compile-mkdep-flags): Define.
25467 * sunrpc/Makefile (extra-objs): Add $(addprefix
25468 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25469 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25470 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25471 calling $(make-target-directory).
25473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25475 * bits/types.h (__snseconds_t): Removed.
25476 * time/time.h (struct timespec): Replace __snseconds_t with
25478 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25479 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25482 (__SNSECONDS_T_TYPE): Likewise.
25483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25484 (__SNSECONDS_T_TYPE): Likewise.
25485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25486 (__SNSECONDS_T_TYPE): Likewise.
25488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25490 * sysdeps/mach/hurd/bits/typesizes.h
25491 (__SYSCALL_SLONG_TYPE): New macro.
25492 (__SYSCALL_ULONG_TYPE): Likewise.
25494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25496 * bits/types.h (__syscall_slong_t): New type.
25497 (__syscall_ulong_t): Likewise.
25499 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25500 (__SYSCALL_ULONG_TYPE): Likewise.
25501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25502 (__SYSCALL_SLONG_TYPE): Likewise.
25503 (__SYSCALL_ULONG_TYPE): Likewise.
25504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25505 (__SYSCALL_SLONG_TYPE): Likewise.
25506 (__SYSCALL_ULONG_TYPE): Likewise.
25507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25508 (__SYSCALL_SLONG_TYPE): Likewise.
25509 (__SYSCALL_ULONG_TYPE): Likewise.
25511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25513 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25514 Add sigaltstack-offsets.sym.
25515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25516 <sigaltstack-offsets.h>.
25517 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25518 longjmp_msg pointer.
25519 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25520 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25522 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25524 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25526 * elf/stackguard-macros.h: Remove file.
25527 * sysdeps/generic/stackguard-macros.h: New file.
25528 * sysdeps/i386/stackguard-macros.h: Likewise.
25529 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25530 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25531 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25532 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25533 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25534 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25535 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25536 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25537 <elf/stackguard-macros.h>.
25540 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25541 __aligned__ in attribute.
25542 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25543 (gregset_t): Likewise.
25545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25547 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25548 * sysdeps/x86_64/64/Implies-after: Here. New file.
25549 * sysdeps/x86_64/x32/Implies-after: New file.
25551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25553 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25554 and access return value for _dl_profile_fixup. Use R10_LP to
25557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25559 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25563 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25564 * sysdeps/x86_64/x32/sysdep.h: New file.
25566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25568 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25569 * sysdeps/x86_64/setjmp.S: Likewise.
25571 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25574 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25575 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25577 remove unused global constant.
25579 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25581 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25582 include of <not-cancel.h>.
25584 2012-05-15 Roland McGrath <roland@hack.frob.com>
25586 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25588 2012-05-15 Jeff Law <law@redhat.com>
25589 Andreas Jaeger <aj@suse.de>
25592 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25594 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25595 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25597 code changing __hst_map_handle.map.
25599 2012-05-15 Roland McGrath <roland@hack.frob.com>
25601 * configure.in (sysnames): Look for Implies-before and Implies-after
25603 * configure: Regenerated.
25605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25607 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25608 8-byte data alignment with LP_SIZE alignment.
25610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25617 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25621 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25622 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25625 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25629 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25630 (stackinfo_sub_sp): Likewise.
25632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25649 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25653 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25654 into R11_LP and load __x86_64_shared_cache_size_half into
25657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25662 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25671 powerpc32/power7/fpu/s_logb.c via #include.
25672 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25673 powerpc32/power7/fpu/s_logbf.c via #include.
25674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25675 powerpc32/power7/fpu/s_logbl.c via #include.
25677 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25679 * README.libm: Remove file.
25681 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25683 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25684 count for x32. Use R*_LP and omit operand-size suffix.
25686 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25688 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25689 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25690 * sysdeps/x86_64/x32/shlib-versions: New file.
25692 2012-05-14 Roland McGrath <roland@hack.frob.com>
25694 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25695 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25696 Use _dl_fatal_printf instead.
25698 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25700 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25701 set if not set by the user. Do not allow for being unset.
25702 * sysdeps/unix/sysv/linux/configure: Regenerated.
25704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25706 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25707 the `q' suffix from lea and replace .quad with ASM_ADDR.
25709 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25712 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25714 (PTR_DEMANGLE): Likewise.
25716 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25718 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25720 (ASM_ADDR): Likewise.
25721 (RAX_LP): Likewise.
25722 (RBP_LP): Likewise.
25723 (RBX_LP): Likewise.
25724 (RCX_LP): Likewise.
25725 (RDI_LP): Likewise.
25726 (RSI_LP): Likewise.
25727 (RSP_LP): Likewise.
25730 (R10_LP): Likewise.
25731 (R10_LP): Likewise.
25732 (R11_LP): Likewise.
25733 (R12_LP): Likewise.
25734 (R13_LP): Likewise.
25735 (R14_LP): Likewise.
25736 (R15_LP): Likewise.
25738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25740 * sysdeps/x86_64/x32/dl-machine.h: New file.
25742 2012-05-14 Andreas Jaeger <aj@suse.de>
25744 * manual/Makefile (subdir): Remove export of subdir.
25745 (all): Remove target.
25746 (.PHONY): Remove all from list.
25747 (mkinstalldirs): Remove.
25748 (.PHONY): Remove installdirs from list.
25749 ($(inst_infodir)/libc.info): Use make-target-directory.
25750 (installdirs): Remove.
25751 (subdir_%): Remove.
25752 (glibc-targets): Remove.
25755 ($(objpfx)stubs ../po/manual.pot): Remove.
25756 ($(objpfx)stamp%): Remove.
25757 (make-target-directory): Remove.
25758 (subdir_install): Remove.
25759 (routines): Remove.
25766 * manual/.gitignore: Remove, it's not needed anymore.
25767 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25769 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25771 (texis): Renamed to $(objpfx)texis.
25772 (texis-path): New, contains path to generated files.
25773 (chapters.%): Use texis-path for complete path, add extra argument
25775 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25776 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25777 (summary,texi, stamp-summary): Use complete path of
25778 files. Generate files in build dir.
25779 (dir-add.texi): Build in build dir.
25780 (libm-err.texi,stamp-libm-err): Likewise.
25781 (version.texi, stamp-version): Likewise.
25782 (.%c.texi): Likewise.
25783 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25784 (mostlyclean): Remove target.
25785 (realclean): Remove target.
25786 (generated): Add new variable with contents from mostlyclean and
25787 realclean, remove entries duplicated in common-mostlyclean, add
25788 stamp-libm-err and stamp-version.
25789 (generated-dirs): Add libc directory.
25790 ($(inst_infodir)/libc.info): Install files from build dir.
25792 * manual/install.texi (Configuring and compiling): Adjust since
25793 the info files are not part of the tar ball anymore.
25795 2012-05-14 Andreas Jaeger <aj@suse.de>
25797 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25800 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25804 to 2.2.0 where earlier.
25805 * sysdeps/unix/sysv/linux/configure: Regenerated.
25806 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25807 Remove conditional code.
25808 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25809 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25810 Remove conditional code.
25811 [!__NR_lchown]: Likewise.
25812 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25813 [__NR_lchown]: Likewise.
25814 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25815 comment referencing __ASSUME_LCHOWN_SYSCALL.
25816 * sysdeps/unix/sysv/linux/i386/sigaction.c
25817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25819 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25820 Remove conditional code.
25821 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25822 (__protocol_available): Remove #if 0 code.
25823 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25825 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25826 * sysdeps/unix/sysv/linux/kernel-features.h
25827 (__ASSUME_GETCWD_SYSCALL): Don't define.
25828 (__ASSUME_REALTIME_SIGNALS): Likewise.
25829 (__ASSUME_PREAD_SYSCALL): Likewise.
25830 (__ASSUME_PWRITE_SYSCALL): Likewise.
25831 (__ASSUME_POLL_SYSCALL): Likewise.
25832 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25833 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25835 (__ASSUME_SIOCGIFNAME): Don't define.
25836 (__ASSUME_MSG_NOSIGNAL): Likewise.
25837 (__ASSUME_SENDFILE): Define unconditionally.
25838 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25839 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25841 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25842 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25843 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25844 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25845 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25846 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25847 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25849 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25852 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25853 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25858 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25861 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25864 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25867 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25870 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25872 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25873 Remove conditional code.
25874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25875 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25876 Remove conditional code.
25877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25878 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25879 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25880 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25881 Remove conditional code.
25882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25883 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25884 Remove conditional code.
25885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25886 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25887 Remove conditional code.
25888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25889 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25890 Remove conditional code.
25891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25892 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25893 Remove conditional code.
25894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25895 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25898 * sysdeps/unix/sysv/linux/sigaction.c
25899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25901 * sysdeps/unix/sysv/linux/sigpending.c
25902 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25903 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25904 * sysdeps/unix/sysv/linux/sigprocmask.c
25905 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25906 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25907 * sysdeps/unix/sysv/linux/sigsuspend.c
25908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25911 (__libc_missing_rt_sigs): Remove.
25912 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25913 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25914 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25915 Remove conditional code.
25916 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25917 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25919 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25920 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25921 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25922 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25924 2012-05-14 Andreas Jaeger <aj@suse.de>
25926 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25927 it's not used in glibc.
25928 (__coshm1): Likewise.
25929 (__acosh1p): Likewise.
25932 * manual/string.texi (Copying and Concatenation): Add missing
25933 variable in concat example.
25934 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25936 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25940 __builtin_clzl with __builtin_clzll.
25942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25945 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25948 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25950 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25951 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25952 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25955 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25957 * NEWS: Update ia64 info.
25959 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25961 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25964 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25966 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25967 * sysdeps/unix/syscalls.list (dup3): Likewise.
25968 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25969 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25971 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25973 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25974 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25976 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25978 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25980 (TLS_IE): Use mov/add instead of movq/addq to load thread
25982 (TLS_GD_PREFIX): New.
25985 2012-05-11 David S. Miller <davem@davemloft.net>
25987 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25988 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25989 (_FPU_SETCW): Likewise.
25991 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25993 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25994 is 32-byte aligned.
25996 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25999 * iconvdata/gb18030.c: Update tables.
26000 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26001 characters specially.
26002 (BODY for TO_LOOP): Add encoding of missing ranges.
26004 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26007 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26008 * sysdeps/mach/hurd/dup3.c: Likewise.
26009 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26010 * sysdeps/powerpc/memmove.c:: Likewise.
26012 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26015 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26017 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26019 * elf/elf.h (R_X86_64_RELATIVE64): New.
26020 (R_X86_64_NUM): Updated.
26021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26022 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26023 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26024 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26025 tst-quad1pie tst-quad2pie
26026 (modules-names): Add tst-quadmod1 tst-quadmod2.
26027 ($(objpfx)tst-quad1): New dependency.
26028 ($(objpfx)tst-quad2): Likewise.
26029 ($(objpfx)tst-quad1pie): Likewise.
26030 ($(objpfx)tst-quad2pie): Likewise.
26031 * sysdeps/x86_64/tst-quad1.c: New file.
26032 * sysdeps/x86_64/tst-quad1pie.c: New file.
26033 * sysdeps/x86_64/tst-quad2.c: Likewise.
26034 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26035 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26036 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26037 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26038 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26042 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26043 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26044 * streams/stropts.h (t_scalar_t): Define type.
26046 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26047 (_PATH_PRESERVE): Set to "/var/lib".
26048 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26050 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26053 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26054 if __dir_mkfile succeeded.
26056 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26057 checking for _hurd_dtablesize. Unlock it right after having
26058 finished _hurd_dtable allocation.
26060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26062 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26063 * sysdeps/mach/hurd/configure: Regenerated.
26064 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26065 special-casing to...
26066 * sysdeps/gnu/configure.in: ... this new file.
26067 * sysdeps/unix/sysv/linux/configure: Regenerated.
26068 * sysdeps/gnu/configure: New generated file.
26070 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26071 for Linux: use nsec instead of usec, as well as:
26072 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26073 members of type struct timespec.
26074 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26076 (struct stat64): Likewise.
26077 (_STATBUF_ST_NSEC): New macro.
26078 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26080 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26081 __strtoul_internal rather than strtoul.
26083 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26085 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26090 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26091 which preserves existing values.
26092 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26094 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26096 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26097 TIMEOUT values. Return EINVAL for NFDS values either negative or
26098 greater than FD_SETSIZE.
26100 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26102 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26103 allocated, call __vm_protect to finish enabling the existing space, and
26104 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26105 allocate the remainder.
26107 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26109 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26110 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26114 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26115 sysdeps/mach/hurd/readlink.c.
26117 * posix/tst-sysconf.c (posix_options): Only use
26118 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26119 _POSIX_SYNCHRONIZED_IO when they are defined
26120 * sysdeps/mach/hurd/bits/posix_opt.h:
26121 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26122 (_XOPEN_REALTIME): Undefine macro.
26123 (_XOPEN_REALTIME_THREADS): Undefine macro.
26124 (_XOPEN_SHM): Undefine macro.
26125 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26127 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26129 (_POSIX_ASYNC_IO): Undefine macro.
26130 (_POSIX_PRIORITIZED_IO): Undefine macro.
26131 (_POSIX_SPIN_LOCKS): Define macro to -1.
26133 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26134 SA_NODEFER, SA_RESETHAND.
26135 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26136 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26141 * elf/Makefile (pldd-modules): Define unconditionally.
26143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26145 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26147 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26149 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26150 Return ENOENT when name is empty.
26151 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26155 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26157 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26159 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26161 Fix mlock in all cases except non-readable pages.
26162 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26163 instead of VM_PROT_ALL as parameter to __vm_wire function.
26165 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26166 (__mkdir): When path is `/', just fail with EEXIST.
26167 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26171 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26172 <sys/uio.h> (for writev).
26173 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26174 and <sys/param.h> (for MIN).
26176 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26178 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26179 REQUESTED_TIME. Properly set the remaining time and return EINTR
26182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26184 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26185 Depend on against $(link-rpcuserlibs).
26187 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26189 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26190 (__libc_stack_end): Do not use attribute_relro.
26191 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26192 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26193 to libthread-provided value.
26194 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26200 * bits/libc-lock.h (__libc_once_get): New macro.
26201 * sysdeps/mach/bits/libc-lock.h: Likewise.
26202 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26204 instead of using implementation details.
26206 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26207 * libio/freopen.c: Likewise.
26208 * libio/freopen64.c: Likewise.
26209 * misc/syslog.c: Likewise.
26210 * nscd/connections.c: Likewise.
26211 * nscd/netgroupcache.c: Likewise.
26212 * sysdeps/posix/getcwd.c: Likewise.
26214 2012-05-10 Roland McGrath <roland@hack.frob.com>
26216 * math/w_ilogbf.c: Add #include <limits.h>.
26218 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26220 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26221 path instead of returning without unlocking.
26223 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26224 immediate-write ioctls.
26225 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26227 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26229 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26230 __builtin_frame_address instead of making assumptions about the
26231 location of the return address relative to DATA. Force early load of
26232 the return address.
26233 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26234 __builtin_frame_address.
26237 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26238 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26239 implement dup3 and do some further code clean-ups.
26240 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26241 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26245 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26247 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26248 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26249 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26250 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26251 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26254 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26255 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26256 when handler == SIG_ERR, not when handler != SIG_ERR.
26258 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26260 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26261 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26264 accept4 for GNU Hurd.
26265 * include/sys/socket.h (__libc_accept4): New prototype.
26266 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26267 to implement __libc_accept4.
26268 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26270 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26272 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26273 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26274 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26275 signal-defines.sym.
26277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26279 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26281 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26283 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26284 assertion on O_CLOEXEC flag.
26285 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26286 * hurd/intern-fd.c: Likewise.
26287 * hurd/port2fd.c: Likewise.
26289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26292 * bits/in.h (IPV6_PKTINFO): Define new macro.
26293 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26295 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26300 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26302 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26303 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26305 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26306 * math/libm-test.inc (logb_test) : Additional logb tests.
26308 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26309 Andreas Jaeger <aj@suse.de>
26311 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26312 * configure: Regenerated.
26313 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26314 * config.make.in (link-obsolete-rpc): New substituted variable.
26315 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26316 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26317 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26318 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26319 so that libc.a contains the symbols.
26320 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26321 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26322 * sunrpc/auth_none.c: Likewise.
26323 * sunrpc/auth_unix.c: Likewise.
26324 * sunrpc/authdes_prot.c: Likewise.
26325 * sunrpc/authuxprot.c: Likewise.
26326 * sunrpc/clnt_gen.c: Likewise.
26327 * sunrpc/clnt_perr.c: Likewise.
26328 * sunrpc/clnt_raw.c: Likewise.
26329 * sunrpc/clnt_simp.c: Likewise.
26330 * sunrpc/clnt_tcp.c: Likewise.
26331 * sunrpc/clnt_udp.c: Likewise.
26332 * sunrpc/clnt_unix.c: Likewise.
26333 * sunrpc/des_crypt.c: Likewise.
26334 * sunrpc/des_soft.c: Likewise.
26335 * sunrpc/get_myaddr.c: Likewise.
26336 * sunrpc/key_call.c: Likewise.
26337 * sunrpc/key_prot.c: Likewise.
26338 * sunrpc/netname.c: Likewise.
26339 * sunrpc/pm_getmaps.c: Likewise.
26340 * sunrpc/pm_getport.c: Likewise.
26341 * sunrpc/pmap_clnt.c: Likewise.
26342 * sunrpc/pmap_prot.c: Likewise.
26343 * sunrpc/pmap_prot2.c: Likewise.
26344 * sunrpc/pmap_rmt.c: Likewise.
26345 * sunrpc/publickey.c: Likewise.
26346 * sunrpc/rpc_cmsg.c: Likewise.
26347 * sunrpc/rpc_common.c: Likewise.
26348 * sunrpc/rpc_dtable.c: Likewise.
26349 * sunrpc/rpc_prot.c: Likewise.
26350 * sunrpc/rpc_thread.c: Likewise.
26351 * sunrpc/rtime.c: Likewise.
26352 * sunrpc/svc.c: Likewise.
26353 * sunrpc/svc_auth.c: Likewise.
26354 * sunrpc/svc_raw.c: Likewise.
26355 * sunrpc/svc_run.c: Likewise.
26356 * sunrpc/svc_tcp.c: Likewise.
26357 * sunrpc/svc_udp.c: Likewise.
26358 * sunrpc/svc_unix.c: Likewise.
26359 * sunrpc/svcauth_des.c: Likewise.
26360 * sunrpc/xcrypt.c: Likewise.
26361 * sunrpc/xdr.c: Likewise.
26362 * sunrpc/xdr_array.c: Likewise.
26363 * sunrpc/xdr_float.c: Likewise.
26364 * sunrpc/xdr_intXX_t.c: Likewise.
26365 * sunrpc/xdr_mem.c: Likewise.
26366 * sunrpc/xdr_rec.c: Likewise.
26367 * sunrpc/xdr_ref.c: Likewise.
26368 * sunrpc/xdr_sizeof.c: Likewise.
26369 * sunrpc/xdr_stdio.c: Likewise.
26371 2012-05-10 Roland McGrath <roland@hack.frob.com>
26373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26374 change. Update copyright years.
26376 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26378 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26380 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26381 Joseph Myers <joseph@codesourcery.com>
26382 Paul Pluzhnikov <ppluzhnikov@google.com>
26385 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26387 [cross-compiling] (extra-libs): Likewise.
26388 [cross-compiling] (extra-libs-others): Likewise.
26389 [cross-compiling] (librpcsvc-routines): Likewise.
26390 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26391 [cross-compiling] (omit-deps): Likewise.
26392 (sunrpc-CPPFLAGS): New variable.
26393 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26394 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26395 (cross-rpcgen-objs): New variable.
26396 (extra-objs): Append $(cross-rpcgen-objs).
26397 ($(cross-rpcgen-objs)): New rule.
26398 ($(objpfx)cross-rpcgen): Likewise.
26399 (rpcgen-cmd): Define to use $(built-program-file). Expand
26401 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26402 ($(objpfx)x%.stmp): Likewise.
26403 * sunrpc/proto.h [IS_IN_build] (_): Define.
26404 [IS_IN_build] (_libc_intl_domainname): Likewise.
26406 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26409 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26410 and R_X86_64_TPOFF64.
26412 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26414 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26415 sysdeps/unix/sysv/syscalls.list.
26418 * sysdeps/unix/sysv/syscalls.list: Remove file.
26420 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26423 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26424 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26425 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26426 (__LC_IDENTIFICATION): Make these macros useful in #if
26427 expressions, as required by C99.
26429 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26431 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26432 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26435 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26437 * stdlib/longlong.h: Updated from GCC.
26439 2012-05-09 Andreas Jaeger <aj@suse.de>
26441 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26442 default is first entry.
26443 (run_mode): Set type.
26444 (main): Remove informal message about syslog.
26445 (options): Fix typo.
26448 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26451 (llrintf): Likewise.
26452 (llrint): Likewise.
26455 (nearbyint): Likewise.
26456 (nearbyintf): Likewise.
26458 2012-05-09 Andreas Jaeger <aj@suse.de>
26459 Pedro Alves <palves@redhat.com>
26461 * nscd/nscd.c (run_mode): Use enum.
26462 (main): Cleanup coding style issue.
26464 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26465 Andreas Jaeger <aj@suse.de>
26467 * nscd/nscd.c (go_background): Replaced with...
26468 (run_mode): ... this.
26469 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26470 (options): Add -F --foreground.
26471 (main): Implement it.
26472 (parse_opt): Parse it.
26474 2012-05-09 Andreas Jaeger <aj@suse.de>
26477 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26478 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26479 -Wconversion warning.
26480 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26483 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26485 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26487 (LC_ALL): Use macro-int-constant.
26488 (LC_COLLATE): Likewise.
26489 (LC_CTYPE): Likewise.
26490 (LC_MESSAGES): Likewise.
26491 (LC_MONETARY): Likewise.
26492 (LC_NUMERIC): Likewise.
26493 (LC_TIME): Likewise.
26494 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26495 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26497 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26499 [C99-based standards] (float_t): Expect type.
26500 [C99-based standards] (double_t): Expect type.
26501 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26503 [C99-based standards] (HUGE_VALL): Likewise.
26504 [C99-based standards] (INFINITY): Likewise.
26505 [C99-based standards] (NAN): Likewise.
26506 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26507 [C99-based standards] (FP_NAN): Likewise.
26508 [C99-based standards] (FP_NORMAL): Likewise.
26509 [C99-based standards] (FP_SUBNORMAL): Likewise.
26510 [C99-based standards] (FP_ZERO): Likewise.
26511 [C99-based standards] (FP_FAST_FMA): Use
26512 optional-macro-int-constant. Specify type. Require == 1.
26513 [C99-based standards] (FP_FAST_FMAF): Likewise.
26514 [C99-based standards] (FP_FAST_FMAL): Likewise.
26515 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26516 [C99-based standards] (FP_ILOGBNAN): Likewise.
26517 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26519 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26520 [C99-based standards] (math_errhandling): Specify type.
26521 [ISO99 || ISO11] (signgam): Do not allow.
26522 [non-C99-based standards] (copysignf): Do not allow.
26523 [non-C99-based standards] (exp2f): Likewise.
26524 [non-C99-based standards] (log2f): Likewise.
26525 [non-C99-based standards] (modff): Allow.
26526 [non-C99-based standards] (erff): Do not allow.
26527 [non-C99-based standards] (erfcf): Likewise.
26528 [non-C99-based standards] (gammaf): Likewise.
26529 [non-C99-based standards] (hypotf): Likewise.
26530 [non-C99-based standards] (j0f): Likewise.
26531 [non-C99-based standards] (j1f): Likewise.
26532 [non-C99-based standards] (jnf): Likewise.
26533 [non-C99-based standards] (lgammaf): Likewise.
26534 [non-C99-based standards] (tgammaf): Likewise.
26535 [non-C99-based standards] (y0f): Likewise.
26536 [non-C99-based standards] (y1f): Likewise.
26537 [non-C99-based standards] (ynf): Likewise.
26538 [non-C99-based standards] (isnanf): Likewise.
26539 [non-C99-based standards] (acoshf): Likewise.
26540 [non-C99-based standards] (asinhf): Likewise.
26541 [non-C99-based standards] (atanhf): Likewise.
26542 [non-C99-based standards] (cbrtf): Likewise.
26543 [non-C99-based standards] (expm1f): Likewise.
26544 [non-C99-based standards] (ilogbf): Likewise.
26545 [non-C99-based standards] (log1pf): Likewise.
26546 [non-C99-based standards] (logbf): Likewise.
26547 [non-C99-based standards] (nextafterf): Likewise.
26548 [non-C99-based standards] (remainderf): Likewise.
26549 [non-C99-based standards] (rintf): Likewise.
26550 [non-C99-based standards] (scalbf): Likewise.
26551 [non-C99-based standards] (copysignl): Likewise.
26552 [non-C99-based standards] (exp2l): Likewise.
26553 [non-C99-based standards] (log2l): Likewise.
26554 [non-C99-based standards] (modfl): Allow.
26555 [non-C99-based standards] (erfl): Do not allow.
26556 [non-C99-based standards] (erfcl): Likewise.
26557 [non-C99-based standards] (gammal): Likewise.
26558 [non-C99-based standards] (hypotl): Likewise.
26559 [non-C99-based standards] (j0l): Likewise.
26560 [non-C99-based standards] (j1l): Likewise.
26561 [non-C99-based standards] (jnl): Likewise.
26562 [non-C99-based standards] (lgammal): Likewise.
26563 [non-C99-based standards] (tgammal): Likewise.
26564 [non-C99-based standards] (y0l): Likewise.
26565 [non-C99-based standards] (y1l): Likewise.
26566 [non-C99-based standards] (ynl): Likewise.
26567 [non-C99-based standards] (isnanl): Likewise.
26568 [non-C99-based standards] (acoshl): Likewise.
26569 [non-C99-based standards] (asinhl): Likewise.
26570 [non-C99-based standards] (atanhl): Likewise.
26571 [non-C99-based standards] (cbrtl): Likewise.
26572 [non-C99-based standards] (expm1l): Likewise.
26573 [non-C99-based standards] (ilogbl): Likewise.
26574 [non-C99-based standards] (log1pl): Likewise.
26575 [non-C99-based standards] (logbl): Likewise.
26576 [non-C99-based standards] (nextafterl): Likewise.
26577 [non-C99-based standards] (remainderl): Likewise.
26578 [non-C99-based standards] (rintl): Likewise.
26579 [non-C99-based standards] (scalbl): Likewise.
26580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26581 [non-C99-based standards] (FP_*): Do not allow.
26582 [C99-based standards] (FP_*): Change to
26583 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26584 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26586 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26587 (SIG_ERR): Likewise.
26588 [X/Open-based standards] (SIG_HOLD): Likewise.
26589 (SIG_IGN): Likewise.
26590 (SIGABRT): Use macro-int-constant. Specify type. Require
26592 (SIGFPE): Likewise.
26593 (SIGILL): Likewise.
26594 (SIGINT): Likewise.
26595 (SIGSEGV): Likewise.
26596 (SIGTER): Likewise.
26597 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26598 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26599 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26600 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26601 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26602 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26603 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26604 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26605 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26606 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26607 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26608 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26609 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26610 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26611 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26612 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26613 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26614 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26615 [X/Open-based standards] (SIGTRAP): Likewise.
26616 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26617 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26618 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26619 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26620 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26623 2012-05-08 Ian Wienand <ianw@vmware.com>
26626 * time/tzset.c (__tzset_parse_tz): Update default rules for
26627 daylight time changes in the Energy Policy Act of 2005.
26629 2012-05-09 Andreas Jaeger <aj@suse.de>
26632 * elf/ldconfig.c (parse_conf): Change string to make clear that
26633 ldconfig only issued a warning if ld.so.conf does not exist.
26635 2012-05-08 David S. Miller <davem@davemloft.net>
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26638 movxtod instead of popping the value on the stack.
26640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26642 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26644 * config.h.in: Add HAVE_ARM_PCS_VFP.
26646 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26649 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26650 checking but the checks are disabled for any reason.
26652 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26654 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26655 and ELF64_R_TYPE with ELFW(R_TYPE).
26657 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26659 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26660 (ulimit): Likewise.
26662 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26663 (settimeofday): Likewise.
26665 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26667 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26668 a struct th_u2 inside the union, and move tu_block/tu_code into
26669 a new th_u3 union of tu_block/tu_code inside of that. Move
26670 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26671 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26672 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26673 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26674 (th_stuff): Change to th_u1.tu_stuff.
26676 (th_msg): Change to th_u1.th_u2.tu_data.
26678 2012-05-07 David S. Miller <davem@davemloft.net>
26680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26683 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26684 (SETUP_PIC_REG): Use it.
26685 (SETUP_PIC_REG_LEAF): Use it.
26687 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26693 (EXPL_FINITE): Likewise.
26694 (FLDLOG): Likewise.
26695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26696 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26698 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26700 (EXPL_FINITE): Likewise.
26701 (FLDLOG): Likewise.
26702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26703 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26705 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26706 test of -max_value argument for long double.
26707 * sysdeps/i386/fpu/libm-test-ulps: Update.
26708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26710 2012-05-06 David S. Miller <davem@davemloft.net>
26712 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26713 quad soft-float symbols whose references which are compiler
26715 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26717 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26721 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26723 (EXPL_FINITE): Likewise.
26724 (FLDLOG): Likewise.
26727 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26728 Adjust comments for base varying.
26729 (__expl_finite): Change alias to EXPL_FINITE.
26730 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26732 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26733 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26735 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26738 (EXPL_FINITE): Likewise.
26739 (FLDLOG): Likewise.
26742 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26743 Adjust comments for base varying.
26744 (__expl_finite): Change alias to EXPL_FINITE.
26745 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26750 * math/libm-test.inc (check_float_internal): Correct ulp
26751 calculation for subnormal expected results.
26753 2012-05-06 Andreas Jaeger <aj@suse.de>
26755 * Makeconfig (+math-flags): New, set to -frounding-math.
26756 (+cflags): Add +math-flags so that all of glibc gets compiled with
26759 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26761 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26763 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26769 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26770 (__ieee754_expl): Allow for and saturate large arguments.
26771 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26772 (u_threshold): Likewise.
26773 (__exp): Call __ieee754_exp before checking for overflow and
26775 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26776 (u_threshold): Likewise.
26777 (__expf): Call __ieee754_expf before checking for overflow and
26779 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26780 (u_threshold): Likewise.
26781 (__expl): Call __ieee754_expl before checking for overflow and
26783 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26784 (__ieee754_expl): Allow for and saturate large arguments.
26785 * math/libm-test.inc (exp_test): Add another test. Do not allow
26786 missing overflow exception on overflow.
26787 (expm1_test): Do not allow missing overflow exception on overflow.
26789 * sysdeps/i386/fpu/e_expl.c: Move to ...
26790 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26791 rather than using inline asm.
26792 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26793 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26794 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26796 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26799 (signal): Likewise.
26803 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26805 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26806 sysdeps/unix/common/syscalls.list.
26807 (fchmod): Likewise.
26808 (fchown): Likewise.
26809 (ftruncate): Likewise.
26810 (getrusage): Likewise.
26811 (gettimeofday): Likewise.
26812 (setpgid): Likewise.
26813 (setregid): Likewise.
26814 (setreuid): Likewise.
26815 (sigaction): Likewise.
26816 (truncate): Likewise.
26817 (vhangup): Likewise.
26818 * sysdeps/unix/common/syscalls.list: Remove file.
26819 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26820 * sysdeps/unix/sysv/linux/Implies: Likewise.
26822 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26824 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26826 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26830 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26833 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26836 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26839 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26842 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26845 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26848 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26856 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26859 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26863 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26867 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26869 * sysdeps/unix/common/bits/dirent.h: Remove file.
26870 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26872 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26873 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26874 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26875 * sysdeps/unix/bsd/isatty.c: Likewise.
26876 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26877 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26878 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26880 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26884 long double comparison inaccuracies.
26885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26888 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26890 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26893 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26897 nonzero digits before rounding a hex value.
26898 * stdlib/tst-strtod.c (tests): Add another test.
26900 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26902 * sysdeps/s390/fpu/libm-test-ulps: Update.
26904 2012-05-03 Andreas Jaeger <aj@suse.de>
26906 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26907 does not get optimized out.
26908 (malloc_opt_barrier): New.
26910 2012-05-03 Andreas Jaeger <aj@suse.de>
26911 Roland McGrath <roland@hack.frob.com>
26913 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26914 intermediate file deletion.
26915 (generated): Add .symlist files.
26917 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26920 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26921 Redirect under this condition.
26922 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26923 [__USE_GNU] (__dprintf_chk): Not under this condition.
26924 [__USE_GNU] (__vdprintf_chk): Likewise.
26925 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26926 under this condition.
26927 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26928 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26929 [__USE_XOPEN2K8] (vdprintf): Likewise.
26930 [__USE_GNU] (__dprintf_chk): Not under this condition.
26931 [__USE_GNU] (__vdprintf_chk): Likewise.
26932 [__USE_GNU] (dprintf): Likewise.
26933 [__USE_GNU] (vdprintf): Likewise.
26935 2012-05-03 Roland McGrath <roland@hack.frob.com>
26937 * elf/Makefile (common-generated): Set this instead of generated for
26938 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26939 $(all-built-dso)-derived lists.
26941 2012-05-03 Andreas Jaeger <aj@suse.de>
26943 * sysdeps/i386/fpu/libm-test-ulps: Update.
26946 * FAQ.in: Likewise.
26947 * scripts/gen-FAQ.pl: Likewise.
26948 * manual/install.texi (Installation): Point to online location of
26950 * Makefile (files-for-dist): Remove FAQ.
26953 2012-05-02 Allan McRae <allan@archlinux.org>
26955 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26956 (LDFLAGS-reldepmod5.so): Likewise.
26957 (LDFLAGS-reldep6mod1.so): Likewise.
26958 (LDFLAGS-reldep6mod4.so): Likewise.
26959 (LDFLAGS-reldep8mod3.so): Likewise.
26960 (LDFLAGS-unload4mod1.so): Likewise.
26961 (LDFLAGS-unload4mod2.so): Likewise.
26962 (LDFLAGS-tst-initorder): Likewise.
26963 (LDFLAGS-tst-initordera2.so): Likewise.
26964 (LDFLAGS-tst-initordera3.so): Likewise.
26965 (LDFLAGS-tst-initordera4.so): Likewise.
26966 (LDFLAGS-tst-initorderb2.so): Likewise.
26967 (LDFLAGS-noload): Likewise.
26968 (LDFLAGS-next): Likewise.
26969 (LDFLAGS-order2mod1.so): Likewise.
26970 (LDFLAGS-order2mod2.so): Likewise.
26971 (LDFLAGS-tst-initorder2): Likewise.
26972 (LDFLAGS-tst-initorder2a.so): Likewise.
26973 (LDFLAGS-tst-initorder2b.so): Likewise.
26974 (LDFLAGS-tst-initorder2c.so): Likewise.
26975 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26977 2012-05-02 David S. Miller <davem@davemloft.net>
26979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26981 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26984 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26986 2012-05-02 Andreas Jaeger <aj@suse.de>
26988 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26989 since we manipulate rounding mode.
26990 (CPPFLAGS-test-idouble.c): Likewise.
26991 (CPPFLAGS-test-ifloat.c): Likewise.
26992 (CFLAGS-test-ldouble.c): Likewise.
26993 (CFLAGS-test-double.c): Likewise.
26994 (CFLAGS-test-float.c): Likewise.
26995 (CFLAGS-test-misc.c): Likewise.
26996 (CFLAGS-test-test-fenv.c): Likewise.
26998 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27003 comparisons to determine direction to adjust input.
27005 2012-05-01 Roland McGrath <roland@hack.frob.com>
27007 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27008 output to the target.
27010 * scripts/localplt.awk: New file.
27011 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27012 (check-localplt-CFLAGS): Variable removed.
27013 ($(all-built-dso:=.jmprel)): New static pattern rule.
27014 (generated): Add those targets.
27015 (localplt-built-dso): New variable.
27016 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27018 * elf/check-localplt.c: File removed.
27020 * scripts/check-execstack.awk: New file.
27021 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27022 (check-execstack-CFLAGS): Variable removed.
27023 ($(objpfx)check-execstack.h): Target removed.
27024 ($(objpfx)execstack-default): New target.
27025 (generated): Add that instead of check-execstack.h.
27026 ($(all-built-dso:=.phdr)): New static pattern rule.
27027 (generated): Add those targets.
27028 * elf/check-execstack.c: File removed.
27030 * scripts/check-textrel.awk: New file.
27031 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27032 (check-textrel-CFLAGS): Variable removed.
27033 (all-built-dso): Use := to define.o
27034 ($(all-built-dso:=.dyn)): New static pattern rule.
27035 (generated): Add those targets.
27036 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27037 * config.make.in (READELF): New substituted variable.
27038 * elf/check-textrel.c: File removed.
27040 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27042 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27044 * conform/data/ctype.h-data [C99-based standards] (isblank):
27046 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27047 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27049 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27050 Specify type. Require positive value.
27051 (EILSEQ): Likewise.
27052 (ERANGE): Likewise.
27053 [ISO || POSIX] (EILSEQ): Do not expect.
27054 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27055 Specify type. Require positive value.
27056 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27057 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27058 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27059 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27060 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27061 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27062 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27065 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27066 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27067 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27068 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27069 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27070 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27071 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27072 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27074 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27075 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27077 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27078 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27079 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27080 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27081 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27082 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27083 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27084 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27085 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27086 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27087 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27089 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27090 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27091 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27092 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27093 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27094 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27098 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27099 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27100 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27101 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27102 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27103 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27104 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27105 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27107 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27108 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27110 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27111 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27112 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27113 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27114 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27115 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27116 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27117 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27118 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27119 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27120 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27121 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27122 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27123 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27124 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27125 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27126 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27127 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27128 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27129 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27130 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27131 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27132 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27134 (FLT_ROUNDS): Expect as macro, not constant.
27135 (FLT_MANT_DIG): Use macro-int-constant.
27136 (DBL_MANT_DIG): Likewise.
27137 (LDBL_MANT_DIG): Likewise.
27138 (FLT_DIG): Likewise.
27139 (DBL_DIG): Likewise.
27140 (LDBL_DIG): Likewise.
27141 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27142 (DBL_MIN_EXP): Likewise.
27143 (LDBL_MIN_EXP): Likewise.
27144 (FLT_MAX_EXP): Use macro-int-constant.
27145 (DBL_MAX_EXP): Likewise.
27146 (LDBL_MAX_EXP): Likewise.
27147 (FLT_MAX_10_EXP): Likewise.
27148 (DBL_MAX_10_EXP): Likewise.
27149 (LDBL_MAX_10_EXP): Likewise.
27150 (FLT_MAX): Use macro-constant.
27151 (DBL_MAX): Likewise.
27152 (LDBL_MAX): Likewise.
27153 (FLT_EPSILON): Use macro-constant. Give upper bound.
27154 (DBL_EPSILON): Likewise.
27155 (LDBL_EPSILON): Likewise.
27156 (FLT_MIN): Likewise.
27157 (DBL_MIN): Likewise.
27158 (LDBL_MIN): Likewise.
27159 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27160 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27161 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27162 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27163 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27164 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27165 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27166 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27167 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27168 [ISO11] (FLT_TRUE_MIN): Likewise.
27169 [ISO11] (LDBL_TRUE_MIN): Likewise.
27170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27171 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27172 (SCHAR_MIN): Use macro-int-constant. Specify type.
27173 (SCHAR_MAX): Likewise.
27174 (UCHAR_MAX): Likewise.
27175 (CHAR_MIN): Likewise.
27176 (CHAR_MAX): Likewise.
27177 (MB_LEN_MAX): Use macro-int-constant.
27178 (SHRT_MIN): Use macro-int-constant. Specify type.
27179 (SHRT_MAX): Likewise.
27180 (USHRT_MAX): Likewise.
27181 (INT_MAX): Likewise.
27182 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27184 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27186 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27188 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27189 bound negative. Suffix upper bound with "L".
27190 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27192 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27194 [C99-based standards] (LLONG_MAX): Likewise.
27195 [C99-based standards] (ULLONG_MAX): Likewise.
27196 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27198 [ISO11] (max_align_t): Require type.
27199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27201 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27202 from $CFLAGS, without defining away __attribute__ calls.
27203 (checknamespace): Use $CFLAGS_namespace.
27205 * conform/conformtest.pl (@keywords): Only include C99 keywords
27206 for standards based on C99 or C11.
27208 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27210 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27213 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27214 usability of symbols in #if.
27216 * conform/conformtest.pl: If macro or constant types start
27217 "promoted:", expect the symbol to be of the following type
27218 promoted by the integer promotions.
27220 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27221 in one place. Also handle "macro-constant".
27223 * conform/conformtest.pl: Only accept expected macro values with
27224 "==". Parse all "macro" lines in one place.
27225 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27227 * conform/conformtest.pl: Handle braced types on "constant" lines
27228 instead of handling "typed-constant".
27229 * conform/data/signal.h-data: Use "constant" instead of
27232 * conform/conformtest.pl: Handle "optional-" at start of lines in
27233 one place rather than duplicating several cases. Handle each
27234 format of "macro" line with initial "optional-".
27236 * conform/conformtest.pl: Only accept expected constant or
27237 optional-constant values with "==". Parse all "constant" lines in
27238 one place. Parse all "optional-constant" lines in one place.
27239 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27240 * conform/data/fmtmsg.h-data: Likewise.
27241 * conform/data/netinet/in.h-data: Likewise.
27242 * conform/data/tar.h-data: Likewise.
27243 * conform/data/limits.h-data: Use "==" form on "constant" and
27244 "optional-constant" lines.
27246 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27247 Use -std=c99 for XOPEN2K.
27248 (@knownproblems): Remove.
27249 (newtoken): Don't check %isknown.
27251 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27252 Do not expect macro.
27253 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27254 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27255 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27256 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27257 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27258 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27259 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27260 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27261 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27262 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27263 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27264 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27265 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27266 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27267 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27268 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27269 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27270 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27271 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27272 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27273 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27274 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27275 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27276 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27277 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27278 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27279 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27280 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27281 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27282 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27283 [XPG3] (acosh): Likewise.
27284 [XPG3] (asinh): Likewise.
27285 [XPG3] (atanh): Likewise.
27286 [XPG3] (cbrt): Likewise.
27287 [XPG3] (expm1): Likewise.
27288 [XPG3] (ilogb): Likewise.
27289 [XPG3] (log1p): Likewise.
27290 [XPG3] (logb): Likewise.
27291 [XPG3] (nextafter): Likewise.
27292 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27293 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27294 [XPG3] (remainder): Likewise.
27295 [XPG3] (rint): Likewise.
27296 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27297 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27298 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27299 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27300 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27301 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27302 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27303 [UNIX98 || XOPEN2K] (scalb): Expect.
27304 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27305 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27306 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27307 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27308 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27309 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27310 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27311 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27312 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27313 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27314 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27315 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27316 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27317 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27319 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27320 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27321 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27322 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27323 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27324 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27325 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27326 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27327 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27328 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27329 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27330 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27331 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27332 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27333 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27334 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27335 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27336 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27337 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27338 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27339 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27340 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27341 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27342 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27343 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27344 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27345 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27346 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27347 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27348 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27349 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27350 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27351 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27352 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27353 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27354 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27355 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27356 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27357 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27358 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27359 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27360 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27361 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27362 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27363 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27364 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27365 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27366 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27367 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27368 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27369 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27370 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27371 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27372 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27373 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27374 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27375 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27376 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27377 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27378 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27379 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27380 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27381 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27382 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27383 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27384 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27385 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27386 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27387 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27388 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27389 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27390 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27391 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27392 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27393 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27394 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27395 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27396 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27397 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27398 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27399 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27400 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27401 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27402 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27403 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27404 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27405 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27406 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27407 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27408 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27409 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27410 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27411 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27412 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27413 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27414 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27415 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27416 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27419 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27420 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27422 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27423 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27424 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27425 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27426 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27427 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27428 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27429 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27430 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27431 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27432 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27433 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27434 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27435 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27436 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27437 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27438 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27439 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27440 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27442 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27443 _XOPEN_SOURCE_EXTENDED for XPG4.
27445 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27447 * Makeconfig (localtime): Remove variable.
27448 (inst_localtime-file): Likewise.
27450 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27471 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27475 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27476 comparisons to determine direction to adjust input.
27477 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27478 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27481 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27483 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27485 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27486 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27488 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27490 * math/libm-test.inc (nexttoward_test): Add more tests.
27492 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27496 in version GLIBC_2.1, not GLIBC_2.0.
27497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27500 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27503 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27505 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27506 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27507 * math/libm-test.inc (acos_test): Add more tests.
27508 (asin_test): Likewise.
27509 * sysdeps/i386/fpu/libm-test-ulps: Update.
27510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27513 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27515 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27516 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27517 * math/libm-test.inc (acos_test_tonearest): New function.
27518 (acos_test_towardzero): Likewise.
27519 (acos_test_downward): Likewise.
27520 (acos_test_upward): Likewise.
27521 (asin_test_tonearest): Likewise.
27522 (asin_test_towardzero): Likewise.
27523 (asin_test_downward): Likewise.
27524 (asin_test_upward): Likewise.
27525 (main): Call the new functions.
27526 * sysdeps/i386/fpu/libm-test-ulps: Update.
27527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27531 * math/e_exp10.c: Include <float.h>.
27532 (__ieee754_exp10): Handle underflow here rather than multiplying
27533 large negative argument by M_LN10.
27534 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27536 * math/e_exp10l.c: Include <float.h>.
27537 (__ieee754_exp10l): Handle underflow here rather than multiplying
27538 large negative argument by M_LN10l.
27539 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27540 spurious overflow exception on underflow.
27542 2012-04-29 Marek Polacek <polacek@redhat.com>
27544 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27545 (__fortify_function): New macro.
27546 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27547 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27548 __extern_always_inline.
27549 * libio/bits/stdio2.h: Likewise.
27550 * libio/bits/stdio.h: Likewise.
27551 * string/string.h: Likewise.
27552 * string/bits/string3.h: Likewise.
27553 * include/stdio.h: Likewise.
27554 * stdlib/bits/stdlib.h: Likewise.
27555 * stdlib/stdlib.h: Likewise.
27556 * rt/bits/mqueue2.h: Likewise.
27557 * rt/mqueue.h: Likewise.
27558 * posix/bits/unistd.h: Likewise.
27559 * posix/unistd.h: Likewise.
27560 * io/bits/poll2.h: Likewise.
27561 * io/bits/fcntl2.h: Likewise.
27562 * io/fcntl.h: Likewise.
27563 * io/sys/poll.h: Likewise.
27564 * misc/bits/syslog.h: Likewise.
27565 * misc/bits/syslog-ldbl.h: Likewise.
27566 * misc/sys/syslog.h: Likewise.
27567 * socket/bits/socket2.h: Likewise.
27568 * socket/sys/socket.h: Likewise.
27569 * debug/tst-chk1.c: Likewise.
27570 * wcsmbs/bits/wchar2.h: Likewise.
27571 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27572 * wcsmbs/wchar.h: Likewise.
27574 2012-04-29 Andreas Jaeger <aj@suse.de>
27576 * Makerules (tests): Remove enable-check-abi protection.
27577 (check-abi-warn): Remove.
27578 (check-abi-%): Remove check-abi-warn usage.
27580 * configure.in: Remove check-abi configure option.
27581 * configure: Regenerated.
27582 * config.make.in (enable-check-abi): Remove.
27584 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27587 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27588 double functions to double *_finite functions.
27591 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27592 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27594 * stdio-common/Makefile (tests): Add tst-sprintf3.
27595 * stdio-common/tst-sprintf3.c: New file.
27597 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27598 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27600 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27602 * conform/conformtest.pl: Remove duplicate typed-constant
27605 2012-04-28 David S. Miller <davem@davemloft.net>
27607 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27608 (check-abi-%): Remove AWK script prerequisite and explicit
27610 (check-abi): Rewrite to just diff the symlist with the abilist.
27611 (config-tls, config-abi-config): Delete, no longer used.
27612 (update-abi-%): Remove AWK script and explicit abilist directory.
27613 (update-abi): Rewrite to simply compare and conditionally copy the
27614 symlist and the sysdep abilist file. Remove update-abi-config
27616 * abilist/ld.abilist: Remove.
27617 * abilist/libBrokenLocale.abilist: Remove.
27618 * abilist/libanl.abilist: Remove.
27619 * abilist/libcrypt.abilist: Remove.
27620 * abilist/libdl.abilist: Remove.
27621 * abilist/librt.abilist: Remove.
27622 * abilist/libthread_db.abilist: Remove.
27623 * abilist/libutil.abilist: Remove.
27624 * scripts/extract-abilist.awk: Remove.
27625 * scripts/merge-abilist.awk: Remove.
27626 * sysdeps/generic/libcidn.abilist: New file.
27627 * sysdeps/generic/libnss_compat.abilist: New file.
27628 * sysdeps/generic/libnss_db.abilist: New file.
27629 * sysdeps/generic/libnss_dns.abilist: New file.
27630 * sysdeps/generic/libnss_files.abilist: New file.
27631 * sysdeps/generic/libnss_hesiod.abilist: New file.
27632 * sysdeps/generic/libnss_nis.abilist: New file.
27633 * sysdeps/generic/libnss_nisplus.abilist: New file.
27634 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27635 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27636 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27639 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27640 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27641 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27642 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27643 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27644 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27645 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27646 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27648 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27649 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27650 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27651 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27653 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27654 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27655 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27656 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27657 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27658 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27660 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27661 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27662 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27767 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27768 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27769 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27772 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27773 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27774 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27775 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27776 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27777 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27778 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27779 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27780 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27832 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27834 * conform/conformtest.pl: Fix typo in handling typed-constant from
27837 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27839 * README: Cut down references to pre-2.6 Linux kernels and
27840 Linuxthreads. Update lists of configurations in libc and ports
27841 and sort alphabetically. Say "or newer" with Linux kernel version
27844 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27846 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27849 * math/libm-test.inc (logb_test_downward): New test to expose
27850 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27853 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27856 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27858 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27859 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27861 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27863 * sysdeps/unix/i386/brk.S: Remove file.
27864 * sysdeps/unix/i386/dl-brk.S: Likewise.
27865 * sysdeps/unix/i386/pipe.S: Likewise.
27866 * sysdeps/unix/i386/sigreturn.S: Likewise.
27867 * sysdeps/unix/i386/syscall.S: Likewise.
27868 * sysdeps/unix/i386/vfork.S: Likewise.
27869 * sysdeps/unix/i386/wait.S: Likewise.
27871 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27872 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27874 * configure.in (arm*-none*): Do not allow without
27875 --enable-hacker-mode.
27876 (netbsd*): Remove case setting base_os.
27877 (386bsd*): Likewise.
27878 (freebsd*): Likewise.
27881 (sunos*): Likewise.
27882 (ultrix*): Likewise.
27883 (newsos*): Likewise.
27884 (dynix*): Likewise.
27890 (minix*): Likewise.
27891 (irix4*): Likewise.
27892 (irix6*): Likewise.
27893 (solaris[2-9]*): Likewise.
27895 * configure: Regenerated.
27897 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27901 overflow or cancellation in calculating denominator.
27902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27904 down expression to avoid unexpected rounding in newer GCCs.
27905 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27907 2012-04-26 David S. Miller <davem@davemloft.net>
27909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27910 long-double compat symbols.
27911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27925 2012-04-25 David S. Miller <davem@davemloft.net>
27927 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27928 HWCAP_* values only after the memory barriers have been defined.
27929 (atomic_full_barrier): Define.
27930 (atomic_read_barrier): Define.
27931 (atomic_write_barrier): Define.
27933 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27935 * shlib-versions: Add libgcc_s version information.
27936 * sysdeps/generic/libgcc_s.h: Remove.
27937 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27939 * sysdeps/gnu/unwind-resume.c: Likewise.
27940 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27942 2012-04-25 David S. Miller <davem@davemloft.net>
27944 * sysdeps/unix/sparc/brk.S: Delete.
27945 * sysdeps/unix/sparc/dl-brk.S: Delete.
27946 * sysdeps/unix/sparc/pipe.S: Delete.
27947 * sysdeps/unix/sparc/sysdep.S: Delete.
27948 * sysdeps/unix/sparc/sysdep.h: Delete.
27949 * sysdeps/unix/sparc/vfork.S: Delete.
27950 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27951 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27953 ret_ERRVAL, r0, r1, MOVE): Define.
27954 (JUMPTARGET): Remove.
27955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27956 sysdeps/unix/sparc/sysdep.h
27957 (ENTRY, END): Remove.
27958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27960 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27962 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27963 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27966 * timezone/README: Update upstream location and email address for
27968 * timezone/zdump.c: Update from tzcode 2012b.
27969 * timezone/zic.c: Likewise.
27971 * configure.in (libc_cv_as_needed): Remove test.
27972 * configure: Regenerated.
27973 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27974 conditional definition.
27975 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27976 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27977 * config.make.in (have-as-needed): Remove variable.
27979 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27980 Paul Pluzhnikov <ppluzhnikov@google.com>
27982 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27985 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27987 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27988 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27989 * sysdeps/sh/strlen.S: Likewise.
27991 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27993 * sysdeps/unix/fork.S: Remove file.
27994 * sysdeps/unix/i386/fork.S: Likewise.
27995 * sysdeps/unix/sparc/fork.S: Likewise.
27997 * sysdeps/unix/system.c: Remove file.
27998 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28000 * sysdeps/unix/getegid.S: Remove file.
28001 * sysdeps/unix/geteuid.S: Likewise.
28003 2012-04-24 Roland McGrath <roland@hack.frob.com>
28005 * scripts/check-localplt.awk: New file.
28006 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28008 * scripts/data/localplt-generic.data: Add a comment.
28010 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28011 NODE when __dir_mkfile failed.
28012 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28013 Reported by Ludovic Courtès <ludo@gnu.org>.
28015 2012-04-24 Andreas Jaeger <aj@suse.de>
28017 * Makerules (common-clean): Also remove gen-as-const-headers
28020 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28022 * Makerules (native-compile): Do not change working directory for
28023 build. Use $(OUTPUT_OPTION) in command.
28024 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28026 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28029 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28030 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28031 * math/libm-test.inc (floor_test): Add more tests.
28032 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28034 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28036 * sysdeps/unix/getdents.c: Remove file.
28037 * sysdeps/unix/sysv/getdents.c: Likewise.
28038 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28040 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28041 sysdeps/unix/mman/syscalls.list.
28043 (mprotect): Likewise.
28045 (munmap): Likewise.
28046 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28047 * sysdeps/unix/mman/syscalls.list: Remove.
28048 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28050 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28051 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28052 * configure: Regenerated.
28053 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28054 $(libgcc_s_suffix).
28055 * config.make.in (libgcc_s_suffix): Remove variable.
28057 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28059 * sysdeps/unix/sysv/gethostname.c: Move to ...
28060 * sysdeps/posix/gethostname.c: ... here.
28062 * sysdeps/unix/execve.S: Remove file.
28064 * sysdeps/unix/_exit.S: Remove file.
28066 2012-04-23 Andreas Jaeger <aj@suse.de>
28069 * manual/Makefile: Remove make dist support, there's no
28070 need for a stand-alone documentation tar ball.
28071 (TEXI2DVI): Define always, it's not in Makeconfig.
28074 (edition): Removed.
28075 (glibc-doc-$(edition).tar): Removed
28079 (ETAGS): Remove, it's in Makeconfig.
28080 (move-if-change): Remove, it's in Makeconfig.
28082 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28085 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28086 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28087 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28088 (strtod_l, strtof_l, strtold_l): Remove __wur.
28089 It is not necessarily an error to ignore strtol's return value.
28090 One can reliably look at the stored endptr to decide whether
28091 the number had valid syntax.
28093 2012-04-21 Andreas Jaeger <aj@suse.de>
28096 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28098 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28100 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28101 * sysdeps/unix/sysv/Versions: Remove file.
28103 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28108 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28112 version from __vm86.
28114 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28116 * sysdeps/unix/common/lxstat.c: Remove file.
28117 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28119 * sysdeps/unix/sysv/Makefile: Remove file.
28121 * sysdeps/unix/sysv/direct.h: Remove file.
28123 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28124 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28125 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28126 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28127 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28128 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28129 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28131 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28133 * sysdeps/unix/xmknod.c: Remove file.
28134 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28136 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28138 * sysdeps/unix/sysv/i386/time.S: Remove file.
28140 * sysdeps/unix/fxstat.c: Remove file.
28141 * sysdeps/unix/xstat.c: Likewise.
28142 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28144 * sysdeps/unix/sysv/sigaction.c: Remove file.
28146 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28147 (sysdep_headers): Remove variable.
28148 [termio.h not in sysdep_headers] (generated): Likewise.
28149 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28150 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28151 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28152 * sysdeps/unix/sysv/tcflow.c: Likewise.
28153 * sysdeps/unix/sysv/tcflush.c: Likewise.
28154 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28155 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28156 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28157 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28158 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28160 * sysdeps/unix/siglist.c: Remove file.
28162 * sysdeps/unix/getppid.S: Remove file.
28164 * sysdeps/unix/mkdir.c: Remove file.
28165 * sysdeps/unix/rmdir.c: Likewise.
28167 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28169 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28171 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28172 errlist-compat value.
28174 2012-04-18 David S. Miller <davem@davemloft.net>
28176 * sysdeps/generic/memcopy.h (reg_char): Delete.
28177 * debug/strcat_chk.c: Use char, not reg_char.
28178 * debug/strcpy_chk.c: Likewise.
28179 * debug/strncat_chk.c: Likewise.
28180 * debug/strncpy_chk.c: Likewise.
28181 * string/memchr.c: Likewise.
28182 * string/memrchr.c: Likewise.
28183 * string/rawmemchr.c: Likewise.
28184 * string/strcat.c: Likewise.
28185 * string/strchr.c: Likewise.
28186 * string/strchrnul.c: Likewise.
28187 * string/strcmp.c: Likewise.
28188 * string/strcpy.c: Likewise.
28189 * string/strncat.c: Likewise.
28190 * string/strncmp.c: Likewise.
28191 * string/strncpy.c: Likewise.
28193 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28195 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28196 __builtin_memcopy is called when src and dest ranges are known to not
28199 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28202 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28203 fwd_align_merge macro call.
28204 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28205 bwd_align_merge macro call.
28206 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28208 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28210 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28211 bwd_align_merge macros.
28212 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28213 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28214 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28216 2012-04-18 David S. Miller <davem@davemloft.net>
28218 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28220 2012-04-18 Andreas Jaeger <aj@suse.de>
28223 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28224 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28225 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28228 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28229 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28231 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28232 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28233 Adjust for changed ldbl-128 files.
28235 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28236 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28237 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28239 2012-04-17 David S. Miller <davem@davemloft.net>
28241 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28243 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28245 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28246 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28247 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28248 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28249 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28250 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28252 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28255 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28256 * math/libm-test.inc: Add ilogb errno and exception tests.
28257 * math/w_ilogb.c: New file: ilogb wrapper.
28258 * math/w_ilogbf.c: New file: ilogbf wrapper.
28259 * math/w_ilogbl.c: New file: ilogbl wrapper.
28260 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28261 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28262 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28263 exception being thrown with 0.0 as argument.
28264 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28265 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28266 exception being thrown with 0.0 as argument.
28267 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28268 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28269 exception being thrown with 0.0 as argument.
28270 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28271 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28272 exception being thrown with 0.0 as argument.
28273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28274 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28276 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28277 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28278 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28279 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28280 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28281 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28283 2012-04-17 Petr Baudis <pasky@ucw.cz>
28285 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28288 2012-04-16 Marek Polacek <polacek@redhat.com>
28290 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28292 2012-04-16 Marek Polacek <polacek@redhat.com>
28294 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28295 operands of fdivp instruction.
28297 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28299 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28300 * elf/tst-auditmod3b.c: Likewise.
28301 * elf/tst-auditmod4b.c: Likewise.
28302 * elf/tst-auditmod5b.c: Likewise.
28303 * elf/tst-auditmod6b.c: Likewise.
28304 * elf/tst-auditmod6c.c: Likewise.
28305 * elf/tst-auditmod7b.c: Likewise.
28306 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28307 * sysdeps/x86_64/preconfigure.in: Likewise.
28308 * sysdeps/x86_64/preconfigure: Regenerated.
28310 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28312 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28315 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28318 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28320 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28323 * locale/iso-639.def: Fix gl language name. Spotted by
28326 2012-04-12 Roland McGrath <roland@hack.frob.com>
28329 * libio/libio.h (__io_write_fn): Update comment.
28331 2012-04-12 Petr Baudis <pasky@ucw.cz>
28334 * stdio.texi (Hook Functions): The user provided writer function
28335 is not allowed to return -1.
28337 2012-04-11 David S. Miller <davem@davemloft.net>
28339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28341 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28343 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28344 Add a leading slash to rtkaio.
28346 2012-04-11 Jim Meyering <meyering@redhat.com>
28349 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28350 It is not necessarily an error to ignore fwrite's return
28351 value. One can reliably use ferror to test for errors after
28354 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28356 * bits/types.h (__snseconds_t): New type.
28357 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28359 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28361 (__SNSECONDS_T_TYPE): Likewise.
28362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28363 (__SNSECONDS_T_TYPE): Likewise.
28364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28365 (__SNSECONDS_T_TYPE): Likewise.
28367 2012-04-10 Andreas Jaeger <aj@suse.de>
28370 * manual/time.texi (Processor Time): Return type of times is
28371 elapsed real time since an arbitrary point in the past.
28372 (CPU Time): Move CLK_TCK from here...
28373 (Processor Time): ...to here. Correct description.
28374 * manual/conf.texi (Constants for Sysconf): Correct description of
28377 2012-04-10 David S. Miller <davem@davemloft.net>
28380 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28381 where the is a gap between DT_REL(A) and DT_JMPREL.
28383 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28385 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28386 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28387 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28389 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28391 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28392 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28393 (dl_main): Handle --inhibit-cache.
28394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28396 * elf/dl-load.c (_dl_map_object): Use it.
28397 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28399 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28402 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28403 (__ieee754_powl): Saturate large exponents rather than testing for
28404 overflow of y*log2(x).
28405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28406 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28410 * math/s_ctan.c: Include <float.h>.
28411 (__ctan): Avoid internal overflow or cancellation in calculating
28413 * math/s_ctanf.c: Likewise.
28414 * math/s_ctanl.c: Likewise.
28415 * math/s_ctanh.c: Likewise.
28416 * math/s_ctanhf.c: Likewise.
28417 * math/s_ctanhl.c: Likewise.
28418 * math/libm-test.inc (ctan_test): Add more tests.
28419 (ctanh_test): Likewise.
28420 * sysdeps/i386/fpu/libm-test-ulps: Update.
28421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28423 2012-04-09 Andreas Jaeger <aj@suse.de>
28426 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28427 is an optional BSD extension.
28430 * manual/stdio.texi (Opening Streams): Document additional fopen
28433 2012-04-09 Roland McGrath <roland@hack.frob.com>
28435 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28436 %eax without telling the compiler.
28438 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28441 * manual/install.texi: Use sourceware.org.
28443 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28446 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28447 (__ieee754_pow): Generate overflow and underflow using huge*huge
28448 and tiny*tiny rather than just returning constant infinity or zero
28449 for large exponents.
28450 * math/libm-test.inc (pow_test): Require overflow exceptions for
28451 applicable cases of large exponents.
28454 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28455 (__ieee754_pow): Use iterative multiplication algorithm only for
28456 integer exponents with absolute value below 1024. Check for odd
28457 integer exponents when using algorithm for real exponents.
28458 * math/libm-test.inc (pow_test): Add more tests.
28459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28461 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28464 * math/libm-test.inc (exp_test): Do not allow overflow exception
28467 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28470 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28471 instead of __kernel_standard_f.
28473 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28475 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28476 * sysdeps/x86_64/memset_chk.S: Likewise.
28478 2012-04-08 Andreas Jaeger <aj@suse.de>
28481 * manual/startup.texi (Environment Access): Describe return value
28482 for putenv and setenv.
28485 * manual/filesys.texi (Directory Entries): Add description for
28489 * manual/filesys.texi (Directory Entries): Clarify that it's file
28490 system not operating system in the description of DT_UNKNOWN.
28493 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28495 2012-04-08 Stephen Compall <s11@member.fsf.org>
28498 * manual/llio.texi (Opening and Closing Files): Add cross
28499 reference to explain mode argument.
28501 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28503 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28504 * sysdeps/x86_64/memset_chk.S: Likewise.
28506 2012-04-07 David S. Miller <davem@davemloft.net>
28508 * elf/elf.h (R_SPARC_WDISP10): Define.
28509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28512 R_SPARC_SIZE64 and R_SPARC_H34.
28514 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28516 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28517 conditions and remove no longer applicable assertion.
28519 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28521 * bits/byteswap.h: Include <features.h>.
28522 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28523 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28525 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28527 * bits/byteswap.h (__bswap_16): Removed.
28528 Include <bits/byteswap-16.h> to get __bswap_16.
28529 * sysdeps/i386/bits/byteswap.h: Likewise.
28530 * sysdeps/s390/bits/byteswap.h: Likewise.
28531 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28532 * bits/byteswap-16.h: New file.
28533 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28534 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28535 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28536 * string/Makefile (headers): Add bits/byteswap-16.h.
28538 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28541 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28543 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28544 * nss/tst-nss-static.c: New.
28546 2012-04-06 Robert Millan <rmh@gnu.org>
28549 * manual/llio.texi (File Position Primitive): lseek
28550 refers to WHENCE when it really means OFFSET.
28552 2012-04-06 Andreas Jaeger <aj@suse.de>
28554 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28555 strncmp declarations.
28557 * abilist/libc.abilist: Add __poll and __ppoll.
28559 2012-04-05 David S. Miller <davem@davemloft.net>
28561 * scripts/check-local-headers.sh: Accept a host triplet in the
28562 path matched by the exclude regexp.
28564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28566 * sysdeps/powerpc/powerpc32/dl-machine.h
28567 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28568 * sysdeps/s390/s390-32/dl-machine.h
28569 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28570 * sysdeps/sparc/sparc32/dl-machine.h
28571 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28572 * sysdeps/sparc/sparc64/dl-machine.h
28573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28575 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28577 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28578 undefined symbol errors.
28580 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28583 2012-04-05 Michael Matz <matz@suse.de>
28586 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28588 2012-04-05 Andreas Jaeger <aj@suse.de>
28591 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28594 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28597 which ROUND is no valid rounding mode.
28599 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28603 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28605 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28607 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28608 an exception using FPU order intentionally.
28610 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28612 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28613 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28614 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28615 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28617 2012-04-05 Simon Josefsson <simon@josefsson.org>
28620 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28621 EINVAL when BUFLEN is too smal.
28623 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28626 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28627 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28629 2012-04-03 Andreas Jaeger <aj@suse.de>
28632 * manual/setjmp.texi (System V contexts): Fix sentence.
28635 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28636 New macro for this case.
28637 [!__GNUC__] (__bswap_64): New inline function for this case.
28638 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28639 * bits/byteswap.h: Likewise.
28640 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28641 ull, guard with __GLIBC_HAVE_LONG_LONG.
28643 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28644 __GLIBC_HAVE_LONG_LONG.
28646 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28647 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28649 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28653 inptr and inend, rather than using last_ch.
28655 2012-04-02 David S. Miller <davem@davemloft.net>
28657 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28658 * stdio-common/printf-parse.h (read_int): Change return type to
28659 'int', return -1 on INT_MAX overflow.
28660 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28661 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28662 overflows INT_MAX. Check for overflow of in-format-string precision
28663 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28664 SIZE_MAX not INT_MAX for integer overflow test.
28665 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28666 skip the construct in the format string but do not record anything.
28667 * stdio-common/bug22.c: Adjust to test both width/prevision
28668 INT_MAX overflow as well as total length INT_MAX overflow. Check
28669 explicitly for proper errno values.
28671 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28673 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28675 * string/test-strcmp.c [! WIDE]: Likewise.
28676 * time/tst-mktime2.c: Likewise for INT_MAX.
28677 * string/test-string.h: #include <sys/param.h> for MIN.
28679 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28680 * sysdeps/i386/init-first.c (init): Likewise.
28681 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28682 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28683 * sysdeps/sh/init-first.c (init): Likewise.
28685 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28687 * po/ru.po: Update from translation team.
28688 * po/vi.po: Likewise.
28690 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28692 * resolv/nss_dns/dns-host.c: Merge copyright years.
28694 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28697 Optimize memcpy with prefetch if
28698 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28699 src, dst pointers have unequal 16 byte alignments.
28701 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28704 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28705 from a CNAME entry and return the minimum ttl for the query.
28706 (gaih_getanswer_slice): Likewise.
28708 2012-03-30 Jeff Law <law@redhat.com>
28710 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28712 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28713 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28715 * resolv/nss_dns/dns-host.c: Update copyright year.
28717 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28719 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28720 requests to save a system call. Fix check that all bytes are sent.
28722 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28723 comments for sendmmsg.
28725 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28729 with only 1 character between 0x0041 and 0x01b0.
28730 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28731 * wcsmbs/tst-mbsnrtowcs.c: New file.
28733 2012-03-29 David S. Miller <davem@davemloft.net>
28735 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28736 small copies by hand.
28738 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28741 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28742 _nss_compat_initgroups_dyn): Fall back to malloc/free
28743 for large group memberships.
28745 2012-03-28 David S. Miller <davem@davemloft.net>
28747 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28748 that branches into memcpy.
28749 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28751 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28752 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28755 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28756 implementation too.
28757 * sysdeps/sparc/mempcpy.S: New file.
28759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28760 the IFUNC routine in the libc case.
28761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28763 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28764 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28765 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28766 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28767 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28768 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28769 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28770 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28772 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28773 loop to 256 bytes instead of 64 bytes and fix test signedness.
28775 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28776 * sysdeps/sparc/sparc32/Makefile: rather than here...
28777 * sysdeps/sparc/sparc64/Makefile: and here.
28779 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28781 * malloc/mallocbug.c: Avoid warnings about unused variables.
28783 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28786 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28787 in the right place. Discard and retry query if response is
28788 larger than input buffer size.
28790 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28795 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28796 x for large integer exponent.
28797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28798 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28799 sign of result as needed afterwards.
28800 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28801 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28802 result for underflowing pow the same as for overflow.
28803 (__kernel_standard_l): Handle powl overflow and underflow here
28804 rather than calling __kernel_standard.
28805 * math/libm-test.inc (pow_test): Add more tests.
28820 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28821 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28822 (__kernel_standard_l): New function.
28823 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28825 * math/w_acosl.c (__acosl): Likewise.
28826 * math/w_asinl.c (__asinl): Likewise.
28827 * math/w_atan2l.c (__atan2l): Likewise.
28828 * math/w_atanhl.c (__atanhl): Likewise.
28829 * math/w_coshl.c (__coshl): Likewise.
28830 * math/w_exp10l.c (__exp10l): Likewise.
28831 * math/w_exp2l.c (__exp2l): Likewise.
28832 * math/w_fmodl.c (__fmodl): Likewise.
28833 * math/w_hypotl.c (__hypotl): Likewise.
28834 * math/w_j0l.c (__j0l, __y0l): Likewise.
28835 * math/w_j1l.c (__j1l, __y1l): Likewise.
28836 * math/w_jnl.c (__jnl, __ynl): Likewise.
28837 * math/w_lgammal.c (__lgammal): Likewise.
28838 * math/w_log10l.c (__log10l): Likewise.
28839 * math/w_log2l.c (__log2l): Likewise.
28840 * math/w_logl.c (__logl): Likewise.
28841 * math/w_powl.c (__powl): Likewise.
28842 * math/w_remainderl.c (__remainderl): Likewise.
28843 * math/w_scalbl.c (sysv_scalbl): Likewise.
28844 * math/w_sinhl.c (__sinhl): Likewise.
28845 * math/w_sqrtl.c (__sqrtl): Likewise.
28846 * math/w_tgammal.c (__tgammal): Likewise.
28847 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28848 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28849 * math/libm-test.inc (acos_test): Add more tests.
28850 (acosh_test): Likewise.
28851 (asin_test): Likewise.
28852 (atanh_test): Likewise.
28853 (exp_test): Likewise.
28854 (exp10_test): Likewise.
28855 (exp2_test): Likewise.
28856 (expm1_test): Likewise.
28857 (lgamma_test): Likewise.
28858 (log_test): Likewise.
28859 (log10_test): Likewise.
28860 (log1p_test): Likewise.
28861 (log2_test): Likewise.
28862 (pow_test): Do not allow some spurious overflow exceptions.
28863 (sqrt_test): Add more tests.
28864 (tgamma_test): Likewise.
28865 (y0_test): Likewise.
28866 (y1_test): Likewise.
28867 (yn_test): Likewise.
28869 2012-03-27 Anton Blanchard <anton@samba.org>
28871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28873 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28874 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28875 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28877 2012-03-27 David S. Miller <davem@davemloft.net>
28879 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28881 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28882 have-as-vis3 check.
28884 2012-03-27 Andreas Jaeger <aj@suse.de>
28886 * sysdeps/x86_64/elf/configure.in: Moved to ...
28887 * sysdeps/x86_64/configure.in: ... here.
28888 * sysdeps/x86_64/elf/start.S: Moved to ...
28889 * sysdeps/x86_64/start.S: ... here.
28890 * sysdeps/x86_64/elf/configure: Delete.
28892 * sysdeps/x86_64/configure.in: Merge contents from
28893 sysdeps/i386/configure.in (without i686 check).
28895 * sysdeps/i386/elf/Versions: Merge into ...
28896 * sysdeps/i386/Versions: ... this.
28897 * sysdeps/i386/elf/Versions: Delete file.
28898 * sysdeps/i386/elf/start.S: Moved to ...
28899 * sysdeps/i386/start.S: ...here.
28900 * sysdeps/i386/elf/configure.in: Merge into...
28901 * sysdeps/i386/configure.in: ...here.
28902 * sysdeps/i386/elf/configure.in: Delete file.
28903 * sysdeps/i386/elf/configure: Delete file.
28905 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28906 * debug/backtracesyms.c: ... here.
28907 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28908 * debug/backtracesymsfd.c: ... here.
28909 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28910 * sysdeps/generic/ifunc-sel.h: ... here.
28912 * sysdeps/unix/i386/start.c: Delete file.
28913 * sysdeps/unix/sparc/start.c: Delete file.
28914 * sysdeps/unix/start.c: Delete file.
28916 * sysdeps/sh/elf/configure.in: Moved to ...
28917 * sysdeps/sh/configure.in: ... here.
28918 * sysdeps/sh/elf/start.S: Moved to ...
28919 * sysdeps/sh/start.S: ... here.
28920 * sysdeps/sh/elf/configure: Delete file.
28922 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28923 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28924 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28925 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28926 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28927 * sysdeps/powerpc/powerpc64/start.S: here.
28928 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28929 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28930 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28931 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28932 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28934 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28935 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28936 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28937 * sysdeps/powerpc/powerpc32/start.S: ... here.
28938 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28939 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28940 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28942 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28943 * sysdeps/powerpc/ifunc-sel.h: ... here.
28944 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28945 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28947 * sysdeps/sparc/elf/configure.in: Moved to ...
28948 * sysdeps/sparc/configure.in: ... here.
28949 * sysdeps/sparc/elf/configure: Delete file.
28950 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28951 * sysdeps/sparc/sparc32/start.S: ... here.
28952 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28953 * sysdeps/sparc/sparc64/start.S: ... here.
28954 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28955 * sysdeps/sparc/sparc32/Makefile: ... this.
28956 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28957 * sysdeps/sparc/sparc64/Makefile: ... this.
28959 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28960 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28961 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28962 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28963 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28964 * sysdeps/s390/s390-32/setjmp.S: ... here.
28965 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28966 * sysdeps/s390/s390-32/configure.in: ... here.
28967 * sysdeps/s390/s390-32/elf/configure: Delete file.
28968 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28969 * sysdeps/s390/s390-32/start.S: ... here.
28971 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28972 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28973 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28974 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28975 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28976 * sysdeps/s390/s390-64/setjmp.S: ... here.
28977 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28978 * sysdeps/s390/s390-64/configure.in: ... here
28979 * sysdeps/s390/s390-64/elf/configure: Delete file.
28980 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28981 * sysdeps/s390/s390-64/start.S: ... here.
28982 * sysdeps/s390/s390-64/elf/configure: Delete.
28984 * configure.in: Remove support for elf directories in sysdeps.
28986 * configure: Regenerated.
28987 * sysdeps/i386/configure: Regenerated.
28988 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28989 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28990 * sysdeps/s390/s390-32/configure: Regenerated.
28991 * sysdeps/s390/s390-64/configure: Regenerated.
28992 * sysdeps/sh/configure: Regenerated.
28993 * sysdeps/sparc/configure: Regenerated.
28994 * sysdeps/x86_64/configure: Regenerated.
28996 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29001 denormal result into account.
29003 2012-03-25 Roland McGrath <roland@hack.frob.com>
29005 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29006 Reported by Allan McRae <allan@archlinux.org>.
29008 2012-03-23 Jeff Law <law@redhat.com>
29010 * nss/getnssent.c (__nss_getent): Fix typo.
29012 2012-03-23 David S. Miller <davem@davemloft.net>
29014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29016 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29018 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29019 to pad to uint64_t for each field.
29020 (dl_tls_index): Replace unsigned long with uint64_t.
29022 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29023 Paul Pluzhnikov <ppluzhnikov@google.com>
29026 * grp/Makefile (otherlibs): Don't set it.
29027 * inet/Makefile (otherlibs): Likewise.
29028 * login/Makefile (otherlibs): Likewise.
29029 * nscd/Makefile (otherlibs): Likewise.
29030 * posix/Makefile (otherlibs): Likewise.
29031 * pwd/Makefile (otherlibs): Likewise.
29032 * rt/Makefile (otherlibs): Likewise.
29033 * sunrpc/Makefile (otherlibs): Likewise.
29034 * nss/Makefile (otherlibs): Likewise.
29035 Add libnss_files to routines and static-only-routines.
29036 ($(objpfx)getent): Remove rule.
29037 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29038 static-only-routines.
29040 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29043 * math/s_cexp.c: Include <float.h>.
29044 (__cexp): Handle exp result overflowing not necessarily
29045 overflowing both real and imaginary parts of result.
29046 * math/s_cexpf.c: Likewise.
29047 * math/s_cexpl.c: Likewise.
29048 * math/libm-test.inc (cexp_test): Add more tests.
29049 * sysdeps/i386/fpu/libm-test-ulps: Update.
29050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29052 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29054 * include/link.h (ELFW): New macro.
29055 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29056 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29058 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29060 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29063 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29065 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29067 (struct La_x32_retval): Likewise.
29069 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29071 * sysdeps/x86_64/preconfigure.in: New file.
29072 * sysdeps/x86_64/preconfigure: New generated file.
29074 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29077 * math/e_exp2l.c: Include <float.h>.
29078 (__ieee754_exp2l): Handle overflow and underflow cases
29079 separately. Only pass fractional part of argument to
29081 * math/libm-test.inc (exp2_test): Add more tests.
29083 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29084 negating x to take absolute value.
29085 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29090 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29091 computing low part if x was negated.
29092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29094 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29096 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29097 la_x32_gnu_pltexit.
29098 (pltexit): Cast int_retval to ptrdiff_t.
29099 * elf/tst-auditmod3b.c: Likewise.
29100 * elf/tst-auditmod4b.c: Likewise.
29101 * elf/tst-auditmod5b.c: Likewise.
29102 * elf/tst-auditmod6b.c: Likewise.
29103 * elf/tst-auditmod6c.c: Likewise.
29104 * elf/tst-auditmod7b.c: Likewise.
29106 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29107 and x32_gnu_pltexit.
29109 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29110 __ELF_NATIVE_CLASS.
29111 (La_x32_regs): New macro.
29112 (La_x32_retval): Likewise.
29113 (la_x32_gnu_pltenter): New function prototype.
29114 (la_x32_gnu_pltexit): Likewise.
29116 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29123 * configure.in (libc_cv_cc_nofma): Check for option to disable
29124 generation of FMA instructions.
29125 * configure: Regenerate.
29126 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29127 * sysdeps/ieee754/dbl-64/Makefile: New file.
29128 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29129 Remove brandred-fma4.
29130 (CFLAGS-brandred-fma4.c): Remove.
29131 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29132 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29137 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29139 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29140 LLONG_MAX != LONG_MAX.
29141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29142 (_fitoa_word): Likewise.
29143 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29144 LLONG_MAX != LONG_MAX.
29145 * stdio-common/_itowa.h: Include <_itoa.h>.
29146 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29147 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29148 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29149 only if not defined.
29150 (_ITOA_WORD_TYPE): Likewise.
29151 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29152 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29154 2012-03-21 David S. Miller <davem@davemloft.net>
29156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29158 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29160 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29161 of x86_64 when setting libc_cv_slibdir, libdir and
29163 * sysdeps/unix/sysv/linux/configure: Regenerated.
29165 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29167 * manual/lang.texi (Old Varargs): Remove section.
29168 (How Variadic): Update menu.
29169 (va_start): Do not mention varargs.h.
29171 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29172 Joseph Myers <joseph@codesourcery.com>
29174 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29176 * configure: Regenerated.
29178 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29180 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29181 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29184 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29187 * Makefile (files-for-dist): Remove NOTES.
29188 (NOTES): Remove rule.
29189 * README: Don't refer to NOTES.
29190 * manual/creature.texi: Don't include macros.texi.
29191 * manual/intro.texi (creature.texi): Remove comment referring to
29194 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29195 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29196 * configure: Regenerated.
29197 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29198 LIBC_TRY_CC_OPTION.
29199 (libc_cv_as_i686): Likewise.
29200 (libc_cv_cc_avx): Likewise.
29201 (libc_cv_cc_sse2avx): Likewise.
29202 (libc_cv_cc_fma4): Likewise.
29203 (libc_cv_cc_novzeroupper): Likewise.
29204 * sysdeps/i386/configure: Regenerated.
29207 * sysdeps/i386/fpu/s_cexp.S: Remove.
29208 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29209 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29210 * math/libm-test.inc (cexp_test): Add more tests.
29211 * sysdeps/i386/fpu/libm-test-ulps: Update.
29212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29214 2012-03-21 Allan McRae <allan@archlinux.org>
29216 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29218 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29221 * math/w_exp2.c: Do not include <float.h>.
29222 (o_threshold, u_threshold): Remove.
29223 (__exp2): Calculate result before checking finiteness and calling
29225 * math/w_exp2f.c: Likewise.
29226 * math/w_exp2l.c: Likewise.
29227 * math/libm-test.inc (exp2_test): Require overflow exception for
29231 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29232 range of signed 64-bit integers before using fistpll. Remove
29233 checks for whether integers fit in mantissa bits.
29234 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29235 the range of signed 32-bit integers before using fistpl. Remove
29236 checks for whether integers fit in mantissa bits.
29237 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29238 (__ieee754_powl): Test for y outside the range of signed 64-bit
29239 integers before using fistpll. Reduce 64-bit values to 63-bit
29241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29242 divide-by-zero is raised for zero to large negative powers.
29243 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29244 (__ieee754_powl): Test for y outside the range of signed 64-bit
29245 integers before using fistpll. Reduce 64-bit values to 63-bit
29247 * math/libm-test.inc (pow_test): Add more tests.
29249 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29251 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29252 <stdio-common/_itoa.h>.
29253 * debug/segfault.c: Likewise.
29254 * elf/dl-cache.c: Likewise.
29255 * elf/dl-minimal.c: Likewise.
29256 * elf/dl-misc.c: Likewise.
29257 * elf/dl-sysdep.c: Likewise.
29258 * elf/dl-version.c: Likewise.
29259 * elf/rtld.c: Likewise.
29260 * hurd/hurdsock.c: Likewise.
29261 * hurd/lookup-retry.c: Likewise.
29262 * malloc/malloc.c: Likewise.
29263 * malloc/mtrace.c: Likewise.
29264 * nscd/nscd_getgr_r.c: Likewise.
29265 * nscd/nscd_getpw_r.c: Likewise.
29266 * nscd/nscd_getserv_r.c: Likewise.
29267 * posix/getopt_init.c: Likewise.
29268 * posix/wordexp.c: Likewise.
29269 * stdio-common/_itoa.c: Likewise.
29270 * stdio-common/printf_fphex.c: Likewise.
29271 * stdio-common/vfprintf.c: Likewise.
29272 * string/_strerror.c: Likewise.
29273 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29274 * sysdeps/i386/i686/hp-timing.h: Likewise.
29275 * sysdeps/mach/_strerror.c: Likewise.
29276 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29277 * sysdeps/mach/hurd/sethostid.c: Likewise.
29278 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29279 * sysdeps/mach/xpg-strerror.c: Likewise.
29280 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29281 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29282 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29283 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29284 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29285 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29286 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29287 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29288 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29289 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29290 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29291 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29292 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29293 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29294 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29296 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29297 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29298 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29299 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29300 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29302 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29304 * stdio-common/_itoa.h: Moved to ...
29305 * sysdeps/generic/_itoa.h: Here.
29307 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29309 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29310 instead of "_itoa.h" and "_itowa.h".
29311 * stdio-common/vfprintf.: Likewise.
29313 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29315 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29317 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29318 (__signbit): Likwise.
29319 (llrintf): Likwise.
29322 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29327 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29329 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29330 OVERFLOW_EXCEPTION_OK.
29331 * math/libm-test.inc ("Philosophy"): Update comment about
29333 (OVERFLOW_EXCEPTION): Define.
29334 (OVERFLOW_EXCEPTION_OK): Likewise.
29335 (INVALID_EXCEPTION_OK): Renumber.
29336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29337 (IGNORE_ZERO_INF_SIGN): Likewise.
29338 (test_exceptions): Handle FE_OVERFLOW.
29339 (exp10_test): Expect overflow exceptions.
29340 (exp2_test): Likewise.
29341 (expm1_test): Likewise.
29342 (nextafter_test): Likewise.
29343 (pow_test): Likewise.
29344 (scalbn_test): Likewise.
29345 (scalbln_test): Likewise.
29347 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29349 * sysdeps/x86_64/bits/atomic.h
29350 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29352 (atomic_exchange_acq): Likewise.
29353 (__arch_exchange_and_add_body): Likewise.
29354 (__arch_add_body): Likewise.
29355 (atomic_add_negative): Likewise.
29356 (atomic_add_zero): Likewise.
29358 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29360 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29361 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29363 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29365 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29366 Check __x86_64__ instead of __WORDSIZE.
29368 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29370 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29372 2012-03-19 David S. Miller <davem@davemloft.net>
29374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29376 * sysdeps/sparc/fpu/fenv_private.h: New file.
29377 * sysdeps/sparc/fpu/math_private.h: Use it.
29378 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29380 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29381 (libc_feholdexcept_setroundl): Remove.
29382 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29384 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29385 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29387 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29389 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29390 int64_t instead of long int.
29391 (INSERT_WORDS64): Likwise.
29393 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29395 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29396 _Unwind_GetCFA return to _Unwind_Ptr first.
29398 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29401 * math/s_clog.c: Include <float.h>.
29402 (__clog): Scale large or subnormal inputs.
29403 * math/s_clogf.c: Likewise.
29404 * math/s_clogl.c: Likewise.
29405 * math/s_clog10.c: Include <float.h>.
29406 (M_LOG10_2): Define.
29407 (__clog10): Scale large or subnormal inputs.
29408 * math/s_clog10f.c: Likewise.
29409 * math/s_clog10l.c: Likewise.
29410 * math/libm-test.inc (clog_test): Add more tests.
29411 (clog10_test): Likewise.
29412 * sysdeps/i386/fpu/libm-test-ulps: Update.
29413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29418 * math/libm-test.inc (atan2_test): Add another test.
29420 * Makerules (common-objdir-compile): Remove.
29421 * sysdeps/unix/Makefile (config-generated): Do not add
29422 $(unix-generated) to variable.
29423 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29424 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29426 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29428 [generic bits/local_lim.h] (before-compile): Do not append to
29430 [generic bits/local_lim.h] (common-generated): Likewise.
29431 [generic sys/param.h] (before-compile): Do not append to variable.
29432 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29433 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29434 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29435 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29437 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29438 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29439 [generic sys/param.h] ($(addprefix
29440 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29441 [generic sys/param.h] (common-generated): Do not append to
29443 [generic sys/param.h] (sysdep_headers): Likewise.
29444 [generic bits/errno.h] (before-compile): Do not append to
29446 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29448 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29449 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29450 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29451 [generic bits/errno.h] (common-generated): Do not append to
29453 [generic bits/ioctls.h] (before-compile): Do not append to
29455 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29457 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29458 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29459 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29461 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29462 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29463 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29464 [generic bits/ioctls.h] (common-generated): Do not append to
29466 [generic sys/syscall.h] (syscall.h): Remove variable.
29467 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29469 [generic sys/syscall.h] (before-compile): Do not append to
29471 [generic sys/syscall.h] (common-generated): Likewise.
29472 * sysdeps/unix/errnos-tmpl.c: Remove file.
29473 * sysdeps/unix/errnos.awk: Likewise.
29474 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29475 * sysdeps/unix/ioctls.awk: Likewise.
29476 * sysdeps/unix/mk-local_lim.c: Likewise.
29477 * sysdeps/unix/snarf-ioctls: Likewise.
29479 2012-03-19 Richard Henderson <rth@twiddle.net>
29481 * sysdeps/i386/fpu/fenv_private.h: New file.
29482 * sysdeps/i386/fpu/math_private.h: Use it.
29483 (math_opt_barrier, math_force_eval): Remove.
29484 (libc_feholdexcept_setround_53bit): Remove.
29485 (libc_feupdateenv_53bit): Remove.
29486 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29487 (math_opt_barrier, math_force_eval): Remove.
29488 (libc_feholdexcept): Remove.
29489 (libc_feholdexcept_setround): Remove.
29490 (libc_fetestexcept, libc_fesetenv): Remove.
29491 (libc_feupdateenv_test): Remove.
29492 (libc_feupdateenv, libc_feholdsetround): Remove.
29493 (libc_feresetround): Remove.
29495 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29496 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29498 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29499 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29500 (libc_feupdateenv_testl): New.
29501 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29502 (libc_feupdateenv_testf): New.
29503 (libc_feupdateenv): Use libc_feupdateenv_test.
29504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29507 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29508 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29509 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29510 (libc_feresetround_noex): New.
29511 (libc_feresetround_noexf): New.
29512 (libc_feresetround_noexl): New.
29513 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29514 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29515 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29516 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29521 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29522 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29523 SET_RESTORE_ROUND_NOEX.
29524 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29525 SET_RESTORE_ROUND_NOEXF.
29526 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29527 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29528 (libc_feholdsetroundf): New.
29529 (libc_feresetround, libc_feresetroundf): New.
29531 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29532 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29533 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29535 * sysdeps/generic/math_private.h: Include <fenv.h>.
29536 (default_libc_feholdexcept): New.
29537 (default_libc_feholdexcept_setround): New.
29538 (default_libc_fesetenv, default_libc_feupdateenv): New.
29539 (libc_feholdexcept): Only define if undefined.
29540 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29541 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29542 (libc_feholdexcept_setroundl): Likewise.
29543 (libc_feholdexcept_setround_53bit): Likewise.
29544 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29545 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29546 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29547 (libc_feupdateenv_53bit): Likewise.
29548 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29549 (libc_feholdexcept): Convert from macro to inline function.
29550 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29551 (libc_fesetenv, libc_feupdateenv): Likewise.
29553 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29554 not previously defined.
29555 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29556 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29557 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29558 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29559 * sysdeps/ieee754/flt-32/math_private.h: New file.
29560 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29561 math_private.h below SET_FLOAT_WORD.
29562 (__isnan, __isinf_ns, __finite): Remove.
29563 (__isnanf, __isinf_nsf, __finitef): Remove.
29565 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29569 2012-03-17 David S. Miller <davem@davemloft.net>
29572 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29575 2012-03-16 David S. Miller <davem@davemloft.net>
29577 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29583 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29584 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29585 sysdep_routines when subdir is sysvipc.
29586 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29587 __getshmlba helper.
29589 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29591 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29593 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29596 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29599 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29600 (__lround): Renamed to ...
29601 (__llround): This. Replace long int with long long int.
29602 Define lround functions as aliases of llround functions.
29603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29605 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29607 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29608 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29609 adresses to uintptr_t. Replace "long int" and "unsigned long
29610 int" with "greg_t" on va_arg.
29612 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29614 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29615 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29617 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29618 Move e_machine check before EI_CLASS check. Handle x32
29619 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29620 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29621 SKIP_EM_IA_64 and include
29622 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29624 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29625 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29626 (add_system_dir): New macro.
29628 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29629 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29631 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29642 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29644 * math/w_j0f.c (j0f): Likewise.
29646 * math/w_j0l.c (__j0l): Likewise.
29648 * math/w_j1.c (j1): Likewise.
29650 * math/w_j1f.c (j1f): Likewise.
29652 * math/w_j1l.c (__j1l): Likewise.
29654 * math/w_jn.c (jn): Likewise.
29656 * math/w_jnf.c (jnf): Likewise.
29658 * math/w_jnl.c (__jnl): Likewise.
29660 * math/libm-test.inc (j0_test): Add more tests.
29661 (j1_test): Likewise.
29662 (jn_test): Likewise. Add trailing semicolon to existing test.
29663 (y0_test): Likewise.
29664 (y1_test): Likewise.
29665 * sysdeps/i386/fpu/libm-test-ulps: Update.
29666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29671 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29672 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29673 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29674 (__tanl): Set errno for infinite argument.
29675 * sysdeps/i386/fpu/mptan.c: Remove.
29676 * sysdeps/i386/fpu/s_tan.S: Likewise.
29677 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29678 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29679 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29680 * math/libm-test.inc (tan_test): Add more tests and enable more
29681 tests for double and long double.
29682 * sysdeps/i386/fpu/libm-test-ulps: Update.
29683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29685 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29687 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29688 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29690 2012-03-16 Roland McGrath <roland@hack.frob.com>
29692 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29693 * configure.in: Use it for both main tree and add-ons.
29694 * configure: Regenerated.
29696 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29698 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29700 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29702 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29706 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29707 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29708 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29709 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29710 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29712 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29714 != 0 for prec == 2.
29715 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29716 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29717 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29718 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29719 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29720 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29721 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29722 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29723 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29724 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29725 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29726 * math/libm-test.inc (cos_test): Add more tests and enable more
29727 tests for long double.
29728 (sin_test): Likewise.
29729 (sincos_test): Likewise.
29730 * sysdeps/i386/fpu/libm-test-ulps: Update.
29731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29733 2012-03-16 David S. Miller <davem@davemloft.net>
29735 * sysdeps/sparc/fpu/math_private.h: New file.
29737 2012-03-15 David S. Miller <davem@davemloft.net>
29739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29753 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29754 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29756 * sysdeps/sparc/sparc-ifunc.h: New file.
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29802 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29804 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29808 2012-03-15 Andreas Jaeger <aj@suse.de>
29811 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29812 ieee754/flt-32 implementation for sin, cos and sincos.
29813 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29814 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29815 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29816 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29817 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29818 ieee754/flt-32 implementation for tan.
29820 * math/libm-test.inc (cos_test): Enable some large input tests for
29822 (sin_test): Likewise.
29823 (sincos_test): Likewise.
29824 (tan_test): Add tests for large input.
29826 * sysdeps/i386/fpu/libm-test-ulps: Update.
29828 2012-03-15 Andreas Jaeger <aj@suse.de>
29831 * math/libm-test.inc (cos_test): Add more test cases.
29832 (sin_test): Likewise.
29833 (sincos_test): Likewise.
29835 2012-03-15 Andreas Jaeger <aj@suse.de>
29838 * math/libm-test.inc (cos_test): Add a test case for large input
29840 (sin_test): Likewise.
29841 (sincos_test): Likewise.
29843 2012-03-15 Andreas Jaeger <aj@suse.de>,
29844 Joseph Myers <joseph@codesourcery.com>
29847 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29848 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29849 * sysdeps/i386/fpu/branred.c: Likewise.
29850 * sysdeps/i386/fpu/dosincos.c: Likewise.
29851 * sysdeps/i386/fpu/mpa.c: Likewise.
29852 * sysdeps/i386/fpu/s_cos.S: Likewise.
29853 * sysdeps/i386/fpu/s_sin.S: Likewise.
29854 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29855 * sysdeps/i386/fpu/sincos32.c: Likewise.
29857 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29859 (libc_feupdateenv_53bit): Define.
29860 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29862 (libc_feupdateenv_53bit): Define.
29864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29865 53 bit (without extend i386 double precision).
29867 * math/libm-test.inc (sincos_test): Add tests for large input.
29871 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29873 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29877 2012-03-15 David S. Miller <davem@davemloft.net>
29879 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29881 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29882 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29906 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29907 fmin/fmax sysdep routines.
29908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29910 2012-03-14 David S. Miller <davem@davemloft.net>
29912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29989 * sysdeps/sparc/configure.in: New file.
29990 * sysdeps/sparc/configure: Generate.
29991 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29992 * configure: Regenerate.
29993 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29994 * config.make.in (have-as-vis3): New.
29995 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29996 available use -Av9d instead of -Av9a.
29997 * sysdeps/sparc/sparc64/Makefile: Likewise.
29998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30013 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30014 fzeros/fnegs to load 0x80000000 into a float register instead of
30016 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30018 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30022 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30023 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30024 ($(inst_includedir)/bits/syscall.h): Remove rule.
30025 ($(objpfx)bits/syscall.d): Include instead of
30026 $(objpfx)syscall-list.d.
30027 (generated): Change syscall-list.h and syscall-list.d to
30028 bits/syscall.h and bits/syscall.d.
30030 2012-03-14 Roland McGrath <roland@hack.frob.com>
30033 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30035 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30038 * math/s_csqrt.c: Include <float.h>.
30039 (__csqrt): Scale large or subnormal inputs.
30040 * math/s_csqrtf.c: Likewise.
30041 * math/s_csqrtl.c: Likewise.
30042 * math/libm-test.inc (csqrt_test): Add more tests.
30043 * sysdeps/i386/fpu/libm-test-ulps: Update.
30044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30047 * math/libm-test.inc (hypot_test): Add more tests.
30049 2012-03-13 David S. Miller <davem@davemloft.net>
30052 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30053 double-precision for the calculation instead of scaling.
30055 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30058 manipulate bits before adding and subtracting TWO52[sx].
30059 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30060 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30062 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30064 2012-03-13 David S. Miller <davem@davemloft.net>
30066 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30067 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30069 rtld-global-offsets.h
30070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30072 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30075 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30077 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30078 'err' in the ifdef scope in which it is actually used.
30080 * nss/nss_db/db-init.c: Include string.h
30082 2012-03-12 David S. Miller <davem@davemloft.net>
30084 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30085 masking out of the most significant byte of random value used.
30086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30087 Fix coding style in previous change.
30089 * sysdeps/unix/sysv/linux/kernel-features.h
30090 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30091 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30093 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30096 2012-03-11 David S. Miller <davem@davemloft.net>
30098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30099 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30101 for 'resultvar' otherwise things get truncated on 64-bit.
30103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30104 Fix masking out of the most significant byte of random value used.
30106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30108 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30112 2012-03-09 David S. Miller <davem@davemloft.net>
30114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30115 variables with appropriate CPP guards.
30116 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30117 frame pointer, not the stack pointer. Correct layout comments. Fix test
30118 on resulting framesize and the management of the outregs buffer for pltexit.
30119 Preserve floating point return values across _dl_call_pltexit call.
30120 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30121 framesize and the management of the outregs buffer for pltexit.
30122 Preserve floating point return values across _dl_call_pltexit
30124 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30125 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30126 (print_exit): Fix format string for return register value.
30128 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30130 * sunrpc/Makefile (others): Add rpcgen.
30131 ($(objpfx)rpcgen): Remove special build rule and dependency on
30133 * sunrpc/rpcgen.c: New file.
30135 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30138 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30139 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30140 * sysdeps/i386/crti.S: Likewise.
30141 * sysdeps/i386/crtn.S: Likewise.
30142 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30143 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30144 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30145 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30146 * sysdeps/sh/crti.S: Likewise.
30147 * sysdeps/sh/crtn.S: Likewise.
30148 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30151 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30153 * locale/programs/locfile-kw.gperf: Likewise.
30154 * locale/programs/charmap-kw.h: Regenerated.
30155 * locale/programs/locfile-kw.h: Likewise.
30158 * intl/plural.y: Replace FSF snail mail address with URL.
30159 * intl/plural.c: Regenerated.
30161 2012-03-09 Richard Henderson <rth@twiddle.net>
30163 * include/math_private.h: Remove file.
30164 * math/math_private.h: Move file ...
30165 * sysdeps/generic/math_private.h: ... here.
30167 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30168 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30171 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30172 and <math_private.h>.
30173 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30174 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30175 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30176 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30177 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30178 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30179 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30189 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30192 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30197 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30198 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30203 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30204 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30207 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30208 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30209 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30210 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30211 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30214 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30238 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30239 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30240 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30241 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30242 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30244 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30245 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30248 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30253 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30254 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30255 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30256 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30257 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30260 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30266 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30268 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30270 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30272 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30273 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30274 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30275 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30276 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30277 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30281 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30283 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30284 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30285 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30287 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30292 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30293 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30294 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30295 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30296 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30299 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30300 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30301 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30302 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30303 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30304 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30306 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30307 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30309 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30310 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30311 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30312 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30315 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30316 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30317 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30321 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30322 * sysdeps/ieee754/k_standard.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30367 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30373 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30374 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30375 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30381 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30382 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30384 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30386 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30389 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30393 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30396 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30397 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30399 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30406 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30410 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30412 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30414 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30415 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30416 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30419 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30420 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30422 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30424 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30427 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30430 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30431 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30432 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30433 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30434 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30440 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30441 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30442 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30444 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30445 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30448 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30449 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30450 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30452 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30454 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30455 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30457 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30461 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30462 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30463 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30465 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30468 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30471 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30472 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30473 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30474 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30477 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30480 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30483 * sysdeps/ieee754/s_lib_version.c: Likewise.
30484 * sysdeps/ieee754/s_matherr.c: Likewise.
30485 * sysdeps/ieee754/s_signgam.c: Likewise.
30486 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30489 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30490 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30491 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30492 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30493 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30494 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30495 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30496 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30497 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30498 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30499 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30500 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30501 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30503 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30504 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30508 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30510 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30511 * sunrpc/rpc_main.c: Likewise.
30512 * sunrpc/rpc_svcout.c: Likewise.
30514 2012-03-09 David S. Miller <davem@davemloft.net>
30516 * include/math_private.h: New file.
30518 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30520 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30521 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30522 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30523 from <bits/socket_type.h>.
30524 (enum __socket_type): Don't define here.
30525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30527 bits/socket_type.h.
30530 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30531 checking __USE_GNU.
30533 * Makerules ($(inst_includedir)/%.h): New rule.
30534 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30535 (install-others): Remove variable setting.
30536 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30538 2012-03-08 Richard Henderson <rth@twiddle.net>
30540 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30541 from macro to inline function; merge with the
30542 !__LIBC_INTERNAL_MATH_INLINES version.
30543 (__ieee754_sqrtf): Likewise.
30545 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30546 to inline function.
30547 (__rintf, __floor, __floorf): Likewise.
30549 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30550 macro to inline function.
30551 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30554 not <math/math_private.h>.
30556 2012-03-08 David S. Miller <davem@davemloft.net>
30558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30560 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30562 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30564 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30566 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30567 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30569 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30571 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30572 be defined individually, they must be defined as a block. Define
30573 S for printing a string instead of hidint the different by using a
30574 macro for adding the 'l'.
30575 * stdio-common/tst-fphex-wide.c: Adjust.
30577 2012-03-07 Marek Polacek <polacek@redhat.com>
30579 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30581 2012-03-08 Marek Polacek <polacek@redhat.com>
30584 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30585 * stdio-common/tst-fphex.c: Define a few macros to make the
30586 test reusable. Use them.
30587 * stdio-common/tst-fphex-wide.c: New file.
30589 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30592 * manual/macros.texi (gnusystems): New macro.
30593 (nongnusystems): Likewise.
30594 (gnulinuxhurdsystems): Likewise.
30595 (gnuhurdsystems): Likewise..
30596 (gnulinuxsystems): Likewise.
30597 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30598 variants of the GNU system, not "GNU system".
30599 * manual/conf.texi: Likewise.
30600 * manual/errno.texi: Likewise. Update example of errno macro
30602 * manual/filesys.texi: Likewise.
30603 (getumask): Document as specific to GNU/Hurd.
30604 * manual/install.texi: Likewise. Reword some references to
30606 * manual/intro.texi: Likewise.
30607 * manual/io.texi: Likewise.
30608 (File Name Portability): Detail which constraints are inapplicable
30609 to all GNU systems and which are only inapplicable to GNU/Hurd.
30610 * manual/job.texi: Likewise.
30611 * manual/llio.texi: Likewise.
30612 (O_NOCTTY): Document as present on GNU/Linux.
30613 * manual/maint.texi: Likewise.
30614 * manual/memory.texi: Likewise.
30615 * manual/pattern.texi: Likewise.
30616 * manual/pipe.texi: Likewise.
30617 * manual/process.texi: Likewise.
30618 * manual/resource.texi: Likewise.
30619 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30621 * manual/setjmp.texi: Likewise.
30622 * manual/signal.texi: Likewise.
30623 * manual/startup.texi: Likewise.
30624 * manual/stdio.texi: Likewise.
30625 * manual/terminal.texi: Likewise.
30626 (ONLCR): Document as POSIX.
30627 (OXTABS): Document availability on GNU/Linux as XTABS.
30628 (ONOEOT): Document availability separately from other bits.
30629 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30630 * manual/time.texi: Likewise.
30631 * manual/users.texi: Likewise.
30632 * INSTALL: Regenerated.
30633 * sysdeps/gnu/errlist.c: Regenerated.
30635 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30636 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30637 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30639 * configure: Regenerated.
30641 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30643 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30644 default includes instead of AC_HEADER_CHECK.
30645 * sysdeps/i386/configure: Regenerated.
30648 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30649 * math/s_cacoshf.c (__cacoshf): Likewise.
30650 * math/s_cacoshl.c (__cacoshl): Likewise.
30651 * math/s_casinh.c (__casinh): Set signs of result from argument.
30652 * math/s_casinhf.c (__casinhf): Likewise.
30653 * math/s_casinhl.c (__casinhl): Likewise.
30654 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30655 (casinh_test): Add more tests.
30656 * sysdeps/i386/fpu/libm-test-ulps: Update.
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30659 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30661 * po/zh_TW.po: Update from translation team.
30663 * login/Makefile (distribute): Remove variable.
30664 * catgets/Makefile: Likewise.
30665 * mach/Makefile: Likewise.
30666 * malloc/Makefile: Likewise.
30667 * misc/Makefile: Likewise.
30668 * iconv/Makefile: Likewise.
30669 * nscd/Makefile: Likewise.
30670 * hurd/Makefile: Likewise.
30671 * manual/Makefile: Likewise.
30672 * locale/Makefile: Likewise.
30673 * intl/Makefile: Likewise.
30674 * conform/Makefile: Likewise.
30675 * nss/Makefile: Likewise.
30676 * time/Makefile: Likewise.
30677 * soft-fp/Makefile: Likewise.
30678 * dirent/Makefile: Likewise.
30679 * gmon/Makefile: Likewise.
30680 * po/Makefile: Likewise.
30681 * rt/Makefile: Likewise.
30682 * socket/Makefile: Likewise.
30683 * math/Makefile: Likewise.
30684 * signal/Makefile: Likewise.
30685 * debug/Makefile: Likewise.
30686 * elf/Makefile: Likewise.
30687 * timezone/Makefile: Likewise.
30688 * stdlib/Makefile: Likewise.
30689 * iconvdata/Makefile: Likewise.
30690 * sunrpc/Makefile: Likewise.
30691 * io/Makefile: Likewise.
30692 * argp/Makefile: Likewise.
30693 * inet/Makefile: Likewise.
30694 * hesiod/Makefile: Likewise.
30695 * grp/Makefile: Likewise.
30696 * csu/Makefile: Likewise.
30697 * wctype/Makefile: Likewise.
30698 * crypt/Makefile: Likewise.
30699 * libio/Makefile: Likewise.
30700 * string/Makefile: Likewise.
30701 * nis/Makefile: Likewise.
30702 * resolv/Makefile: Likewise.
30703 * stdio-common/Makefile: Likewise.
30704 * wcsmbs/Makefile: Likewise.
30705 * dlfcn/Makefile: Likewise.
30706 * posix/Makefile: Likewise.
30709 * timezone/Makefile: Don't install timezone files, just the programs
30712 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30714 * nss/databases.def: Add missing gshadow entry.
30716 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30718 2012-03-06 Marek Polacek <polacek@redhat.com>
30721 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30722 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30723 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30724 * stdio-common/tst-long-dbl-fphex.c: New file.
30726 2012-03-06 David S. Miller <davem@davemloft.net>
30728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30729 (set_obp_int): New function.
30730 (get_obp_int): New function.
30731 (__get_clockfreq_via_dev_openprom): Likewise.
30732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30733 Avoid unused variable warnings on 'val' and use builtin_expect.
30734 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30736 (INLINE_CLONE_SYSCALL): Likewise.
30738 2012-03-05 David S. Miller <davem@davemloft.net>
30740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30742 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30746 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30747 only for |x| >= 40.
30748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30750 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30753 Replace gettimeofday with __vdso_gettimeofday.
30755 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30756 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30757 __vdso_clock_gettime and __vdso_getcpu.
30759 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30760 time with __vdso_time.
30762 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30764 * manual/lang.texi (size_t): Note types to which size_t may be
30765 equivalent with the GNU C Library, but do not describe when
30766 differences between them are significant.
30768 2012-03-05 Andreas Jaeger <aj@suse.de>
30770 * sysdeps/i386/fpu/libm-test-ulps: Update.
30772 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30775 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30776 (__ieee754_pow): Save and restore rounding mode and use
30777 round-to-nearest for main computations.
30778 * math/libm-test.inc (pow_test_tonearest): New function.
30779 (pow_test_towardzero): Likewise.
30780 (pow_test_downward): Likewise.
30781 (pow_test_upward): Likewise.
30782 (main): Call the new functions.
30783 * sysdeps/i386/fpu/libm-test-ulps: Update.
30784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30787 * math/libm-test.inc (cosh_test_tonearest): New function.
30788 (cosh_test_towardzero): Likewise.
30789 (cosh_test_downward): Likewise.
30790 (cosh_test_upward): Likewise.
30791 (sinh_test_tonearest): Likewise.
30792 (sinh_test_towardzero): Likewise.
30793 (sinh_test_downward): Likewise.
30794 (sinh_test_upward): Likewise.
30795 (main): Call the new functions.
30796 * sysdeps/i386/fpu/libm-test-ulps: Update.
30797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30799 2012-03-05 Tom de Vries <tom@codesourcery.com>
30801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30802 default stack guard is set in last bytes.
30803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30805 2012-03-05 Kees Cook <keescook@chromium.org>
30807 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30810 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30811 possibly allocate from heap instead of stack.
30812 * stdio-common/bug-vfprintf-nargs.c: New file.
30813 * stdio-common/Makefile (tests): Add nargs overflow test.
30815 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30819 2012-03-03 Marek Polacek <polacek@redhat.com>
30821 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30822 * math/math_private.h: Likewise.
30823 * stdlib/tst-strtod.c: Likewise.
30824 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30825 * sysdeps/x86_64/bits/atomic.h: Likewise.
30827 2012-03-02 David S. Miller <davem@davemloft.net>
30829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30833 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30834 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30835 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30836 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30838 2012-03-02 Roland McGrath <roland@hack.frob.com>
30841 * manual/examples/README: New file, says the example source files
30842 can be used under GPL>=2.
30843 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30844 line containing just "*/".
30845 * manual/examples/add.c: Add copyright header (GPL>=2).
30846 * manual/examples/argp-ex1.c: Likewise.
30847 * manual/examples/argp-ex2.c: Likewise.
30848 * manual/examples/argp-ex3.c: Likewise.
30849 * manual/examples/argp-ex4.c: Likewise.
30850 * manual/examples/atexit.c: Likewise.
30851 * manual/examples/db.c: Likewise.
30852 * manual/examples/dir.c: Likewise.
30853 * manual/examples/dir2.c: Likewise.
30854 * manual/examples/execinfo.c: Likewise.
30855 * manual/examples/filecli.c: Likewise.
30856 * manual/examples/filesrv.c: Likewise.
30857 * manual/examples/fmtmsgexpl.c: Likewise.
30858 * manual/examples/genpass.c: Likewise.
30859 * manual/examples/inetcli.c: Likewise.
30860 * manual/examples/inetsrv.c: Likewise.
30861 * manual/examples/isockad.c: Likewise.
30862 * manual/examples/longopt.c: Likewise.
30863 * manual/examples/memopen.c: Likewise.
30864 * manual/examples/memstrm.c: Likewise.
30865 * manual/examples/mkfsock.c: Likewise.
30866 * manual/examples/mkisock.c: Likewise.
30867 * manual/examples/mygetpass.c: Likewise.
30868 * manual/examples/pipe.c: Likewise.
30869 * manual/examples/popen.c: Likewise.
30870 * manual/examples/rprintf.c: Likewise.
30871 * manual/examples/search.c: Likewise.
30872 * manual/examples/select.c: Likewise.
30873 * manual/examples/setjmp.c: Likewise.
30874 * manual/examples/sigh1.c: Likewise.
30875 * manual/examples/sigusr.c: Likewise.
30876 * manual/examples/stpcpy.c: Likewise.
30877 * manual/examples/strdupa.c: Likewise.
30878 * manual/examples/strftim.c: Likewise.
30879 * manual/examples/strncat.c: Likewise.
30880 * manual/examples/subopt.c: Likewise.
30881 * manual/examples/swapcontext.c: Likewise.
30882 * manual/examples/termios.c: Likewise.
30883 * manual/examples/testopt.c: Likewise.
30884 * manual/examples/testpass.c: Likewise.
30885 * manual/examples/timeval_subtract.c: Likewise.
30888 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30890 * manual/timeval_subtract.c.texi: ... here, new file.
30892 2012-03-02 David S. Miller <davem@davemloft.net>
30894 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30896 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30899 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30900 (__sin): Save and restore rounding mode and use round-to-nearest
30901 for all computations.
30902 (__cos): Save and restore rounding mode and use round-to-nearest
30903 for all computations.
30904 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30906 (tan): Save and restore rounding mode and use round-to-nearest for
30908 * math/libm-test.inc (cos_test_tonearest): New function.
30909 (cos_test_towardzero): Likewise.
30910 (cos_test_downward): Likewise.
30911 (cos_test_upward): Likewise.
30912 (sin_test_tonearest): Likewise.
30913 (sin_test_towardzero): Likewise.
30914 (sin_test_downward): Likewise.
30915 (sin_test_upward): Likewise.
30916 (tan_test_tonearest): Likewise.
30917 (tan_test_towardzero): Likewise.
30918 (tan_test_downward): Likewise.
30919 (tan_test_upward): Likewise.
30920 (main): Call the new functions.
30921 * sysdeps/i386/fpu/libm-test-ulps: Update.
30922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30925 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30926 small n, then large n, before computing and testing k+n.
30927 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30932 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30933 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30934 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30935 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30939 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30940 * math/libm-test.inc (scalbn_test): Add more tests.
30941 (scalbln_test): Likewise.
30943 * manual/filesys.texi (mode_t): Describe constraints on size and
30944 signedness, not exact equivalence to a particular type.
30946 (ino64_t): Likewise.
30948 (nlink_t): Likewise.
30949 (blkcnt_t): Likewise.
30950 (blkcnt64_t): Likewise.
30951 * manual/llio.texi (off_t): Likewise.
30954 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30955 (__ieee754_exp): Save and restore rounding mode and use
30956 round-to-nearest for all computations.
30957 * math/libm-test.inc (exp_test_tonearest): New function.
30958 (exp_test_towardzero): Likewise.
30959 (exp_test_downward): Likewise.
30960 (exp_test_upward): Likewise.
30961 (main): Call the new functions.
30962 * sysdeps/i386/fpu/libm-test-ulps: Update.
30963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30965 2012-03-01 Chris Demetriou <cgd@google.com>
30967 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30968 have predictable order.
30970 2012-03-01 David S. Miller <davem@davemloft.net>
30972 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30974 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30975 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30976 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30977 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30979 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30980 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30981 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30983 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30984 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30985 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30986 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30987 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30992 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30995 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30996 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30997 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31002 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31003 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31009 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31011 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31012 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31013 * sysdeps/sparc/elf/configure: Regenerated.
31015 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31017 * configure.in (AS, LD): Require binutils 2.20 or later.
31018 * configure: Regenerated.
31019 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31020 as required minimum version.
31021 * INSTALL: Regenerated.
31025 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31026 before squaring exponent.
31027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31028 bottom long double and 27 bits of top long double before squaring
31030 * math/libm-test.inc (erfc_test): Add more tests.
31031 * sysdeps/i386/fpu/libm-test-ulps: Update.
31032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31035 2012-03-01 Kai Tietz <ktietz@redhat.com>
31037 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31038 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31039 containing bit-fields.
31040 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31041 * soft-fp/single.h (_FP_UNION_S): Likewise.
31042 * soft-fp/double.h (_FP_UNION_D): Likewise.
31044 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31047 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31048 not include ../strcmp.S.
31049 [USE_AS_STRNCASECMP_L]: Likewise.
31050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31051 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31052 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31053 (__strncasecmp_l_ia32): Define as alias to
31054 __strncasecmp_l_nonascii.
31057 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31058 * sysdeps/i386/fpu/libm-test-ulps: Update.
31059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31061 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064 2012-02-29 Jeff Law <law@redhat.com>
31066 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31067 out of bounds read.
31069 2012-02-29 Marek Polacek <polacek@redhat.com>
31072 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31073 * elf/Makefile: Add rules to run tst-unused-dep.out.
31075 2012-02-28 David S. Miller <davem@davemloft.net>
31077 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31078 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31079 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31081 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31082 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31084 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31086 * math/libm-test.inc (llround_test): Move one test from
31087 lround_test. Use TEST_f_L in moved test.
31088 (lround_test): Move misplaced test to llround_test. Add testcase
31091 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31093 * sysdeps/x86_64/fpu/e_expf.S: New file.
31094 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31096 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31099 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31100 of remain_len that may cause incomplete multi-byte character and
31102 * posix/bug-regex33.c: New file.
31103 * posix/Makefile (tests): Add bug-regex33.
31105 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31107 * manual/macros.texi: New file.
31108 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31109 * manual/libc.texinfo: Include macros.texi.
31110 * manual/creatute.texi: Likewise.
31111 * manual/install.texi: Likewise.
31112 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31113 @glibcadj{} in references to the GNU C Library.
31114 * manual/charset.texi: Likewise.
31115 * manual/conf.texi: Likewise.
31116 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31117 when not using those macros.
31118 * manual/creature.texi: Likewise.
31119 * manual/crypt.texi: Likewise.
31120 * manual/errno.texi: Likewise.
31121 * manual/filesys.texi: Likewise.
31122 * manual/header.texi: Likewise.
31123 * manual/install.texi: Likewise.
31124 * manual/intro.texi: Likewise.
31125 * manual/io.texi: Likewise.
31126 * manual/job.texi: Likewise.
31127 * manual/lang.texi: Likewise.
31128 * manual/libc.texiinfo: Likewise.
31129 * manual/llio.texi: Likewise.
31130 * manual/locale.texi: Likewise.
31131 * manual/maint.texi: Likewise.
31132 * manual/math.texi: Likewise.
31133 * manual/memory.texi: Likewise.
31134 * manual/message.texi: Likewise.
31135 * manual/nss.texi: Likewise.
31136 * manual/pattern.texi: Likewise.
31137 * manual/process.texi: Likewise.
31138 * manual/resource.texi: Likewise.
31139 * manual/search.texi: Likewise.
31140 * manual/setjmp.texi: Likewise.
31141 * manual/signal.texi: Likewise.
31142 * manual/socket.texi: Likewise.
31143 * manual/startup.texi: Likewise.
31144 * manual/stdio.texi: Likewise.
31145 * manual/string.texi: Likewise.
31146 * manual/sysinfo.texi: Likewise.
31147 * manual/syslog.texi: Likewise.
31148 * manual/terminal.texi: Likewise.
31149 * manual/time.texi: Likewise.
31150 * manual/users.texi: Likewise.
31151 * INSTALL: Regenerated.
31152 * NOTES: Regenerated.
31153 * sysdeps/gnu/errlist.c: Regenerated.
31155 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31157 * include/dirent.h: Include <dirstream.h> before
31160 2012-02-28 David S. Miller <davem@davemloft.net>
31162 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31163 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31164 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31165 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31167 2012-02-27 David S. Miller <davem@davemloft.net>
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31171 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31172 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31175 frame pointer instead of stack pointer relative arg slot.
31176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31177 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31178 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31180 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31183 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31185 2012-02-27 David S. Miller <davem@davemloft.net>
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31191 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31192 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31193 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31194 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31196 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31198 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31199 later. Allow versions 5-9.
31200 * configure: Regenerated.
31201 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31202 required minimum version and 4.6 as recommended version. Do not
31203 mention bugs in GCC 2.7 and 2.8.
31204 * INSTALL: Regenerated.
31206 2012-02-27 David S. Miller <davem@davemloft.net>
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31212 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31213 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31214 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31215 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31218 manipulate bits before adding and subtracting TWO112[sx].
31219 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31221 2012-02-27 Roland McGrath <roland@hack.frob.com>
31224 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31225 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31226 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31227 being in POSIX, because they are in 1003.1-2008.
31229 * rt/tst-aio.c: Include <fcntl.h>.
31230 * rt/tst-aio7.c: Likewise.
31231 * rt/tst-aio64.c: Likewise.
31233 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31235 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31237 * manual/install.texi (--with-headers): Describe headers as
31238 interface headers, not private headers.
31239 (Specific advice for GNU/Linux systems): Describe use of headers
31240 from "make headers_install", not private headers from older
31242 * INSTALL: Regenerated.
31243 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31245 * sysdeps/unix/sysv/linux/configure: Regenerated.
31247 * manual/llio.texi (fclean): Remove documentation.
31249 * manual/Makefile (libc-texi-generated): New variable. Include
31251 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31252 $(libc-texi-generated), not duplicated list of files.
31253 (version.texi, stamp-version): New rules.
31254 (realclean): Remove $(libc-texi-generated), not individual files
31255 from that list. Do not remove dir-add.texinfo.
31256 * manual/libc.texinfo: Comment out uses of edition numbers and
31257 references to printed manual. Remove last-updated dates.
31258 (EDITION): Comment out.
31260 (VERSION, UPDATED): Remove.
31261 (version.texi): Include.
31263 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31265 * sysdeps/posix/spawni.c: Include <signal.h>.
31266 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31267 * sysdeps/pthread/aio_fsync.c: Likewise.
31269 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31271 * conform/Makefile (tests): Run only when not cross-compiling and
31272 when fast-check is not defined.
31274 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31275 * conform/data/limits.h-data: Fixes for POSIX2008.
31276 * conform/run-conformtest.sh: Run all tests.
31277 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31279 * include/bits/dlfcn.h: Likewise.
31280 * include/langinfo.h: Likewise.
31281 * include/monetary.h: Likewise.
31282 * include/sys/poll.h: Likewise.
31284 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31286 * posix/spawn.h: Define __need_sigset_t.
31287 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31288 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31289 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31290 to get sigevent_t only.
31291 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31292 only for __USE_GNU.
31293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31294 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31295 process_vm_writev only for __USE_GNU.
31296 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31298 * conform/Makefile: For now ignore errors from run-conformtest.
31299 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31300 POSIX to avoid namespace pollution. Don't prepend headers.
31301 * conform/data/aio.h-data: Fixes for POSIX testing.
31302 * conform/data/fcntl.h-data: Likewise.
31303 * conform/data/glob.h-data: Likewise.
31304 * conform/data/grp.h-data: Likewise.
31305 * conform/data/pthread.h-data: Likewise.
31306 * conform/data/pwd.h-data: Likewise.
31307 * conform/data/signal.h-data: Likewise.
31308 * conform/data/spawn.h-data: Likewise.
31309 * conform/data/stdio.h-data: Likewise.
31310 * conform/data/stdlib.h-data: Likewise.
31311 * conform/data/stropts.h-data: Likewise.
31312 * conform/data/sys/mman.h-data: Likewise.
31313 * conform/data/sys/stat.h-data: Likewise.
31314 * conform/data/sys/types.h-data: Likewise.
31315 * conform/data/sys/wait.h-data: Likewise.
31316 * conform/data/time.h-data: Likewise.
31317 * conform/data/unistd.h-data: Likewise.
31318 * conform/data/utime.h-data: Likewise.
31320 * io/sys/stat.h: fchmod was always in POSIX.
31321 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31322 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31323 * rt/aio.h: Define __need_timespec before including <time.h>.
31324 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31325 struct. Add forward declaration of pthread_attr_t and use it in
31327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31329 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31330 always remove CLK_TCK definition.
31332 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31334 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31336 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31338 * conform/run-conformtest.sh: New file.
31339 * conform/Makefile: Run run-conformtest for tests.
31340 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31343 * conform/data/uchar.h-data: New file.
31344 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31345 * conform/data/arpa/inet.h-data: Likewise.
31346 * conform/data/assert.h-data: Likewise.
31347 * conform/data/complex.h-data: Likewise.
31348 * conform/data/cpio.h-data: Likewise.
31349 * conform/data/ctype.h-data: Likewise.
31350 * conform/data/dirent.h-data: Likewise.
31351 * conform/data/dlfcn.h-data: Likewise.
31352 * conform/data/errno.h-data: Likewise.
31353 * conform/data/fcntl.h-data: Likewise.
31354 * conform/data/float.h-data: Likewise.
31355 * conform/data/fmtmsg.h-data: Likewise.
31356 * conform/data/fnmatch.h-data: Likewise.
31357 * conform/data/ftw.h-data: Likewise.
31358 * conform/data/glob.h-data: Likewise.
31359 * conform/data/grp.h-data: Likewise.
31360 * conform/data/iconv.h-data: Likewise.
31361 * conform/data/inttypes.h-data: Likewise.
31362 * conform/data/langinfo.h-data: Likewise.
31363 * conform/data/libgen.h-data: Likewise.
31364 * conform/data/limits.h-data: Likewise.
31365 * conform/data/locale.h-data: Likewise.
31366 * conform/data/math.h-data: Likewise.
31367 * conform/data/monetary.h-data: Likewise.
31368 * conform/data/mqueue.h-data: Likewise.
31369 * conform/data/ndbm.h-data: Likewise.
31370 * conform/data/net/if.h-data: Likewise.
31371 * conform/data/netdb.h-data: Likewise.
31372 * conform/data/netinet/in.h-data: Likewise.
31373 * conform/data/nl_types.h-data: Likewise.
31374 * conform/data/poll.h-data: Likewise.
31375 * conform/data/pthread.h-data: Likewise.
31376 * conform/data/pwd.h-data: Likewise.
31377 * conform/data/regex.h-data: Likewise.
31378 * conform/data/sched.h-data: Likewise.
31379 * conform/data/search.h-data: Likewise.
31380 * conform/data/semaphore.h-data: Likewise.
31381 * conform/data/setjmp.h-data: Likewise.
31382 * conform/data/signal.h-data: Likewise.
31383 * conform/data/spawn.h-data: Likewise.
31384 * conform/data/stdarg.h-data: Likewise.
31385 * conform/data/stdio.h-data: Likewise.
31386 * conform/data/stdlib.h-data: Likewise.
31387 * conform/data/string.h-data: Likewise.
31388 * conform/data/strings.h-data: Likewise.
31389 * conform/data/stropts.h-data: Likewise.
31390 * conform/data/sys/ipc.h-data: Likewise.
31391 * conform/data/sys/mman.h-data: Likewise.
31392 * conform/data/sys/msg.h-data: Likewise.
31393 * conform/data/sys/resource.h-data: Likewise.
31394 * conform/data/sys/select.h-data: Likewise.
31395 * conform/data/sys/sem.h-data: Likewise.
31396 * conform/data/sys/shm.h-data: Likewise.
31397 * conform/data/sys/socket.h-data: Likewise.
31398 * conform/data/sys/stat.h-data: Likewise.
31399 * conform/data/sys/statvfs.h-data: Likewise.
31400 * conform/data/sys/time.h-data: Likewise.
31401 * conform/data/sys/timeb.h-data: Likewise.
31402 * conform/data/sys/times.h-data: Likewise.
31403 * conform/data/sys/types.h-data: Likewise.
31404 * conform/data/sys/uio.h-data: Likewise.
31405 * conform/data/sys/un.h-data: Likewise.
31406 * conform/data/sys/utsname.h-data: Likewise.
31407 * conform/data/sys/wait.h-data: Likewise.
31408 * conform/data/syslog.h-data: Likewise.
31409 * conform/data/tar.h-data: Likewise.
31410 * conform/data/termios.h-data: Likewise.
31411 * conform/data/utime.h-data: Likewise.
31412 * conform/data/utmpx.h-data: Likewise.
31413 * conform/data/varargs.h-data: Likewise.
31414 * conform/data/wchar.h-data: Likewise.
31415 * conform/data/wctype.h-data: Likewise.
31416 * conform/data/wordexp.h-data: Likewise.
31418 * include/stropts.h: New file.
31419 * include/uchar.h: New file.
31420 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31421 * include/assert.h: Likewise.
31422 * include/ctype.h: Likewise.
31423 * include/dirent.h: Likewise.
31424 * include/dlfcn.h: Likewise.
31425 * include/fcntl.h: Likewise.
31426 * include/fnmatch.h: Likewise.
31427 * include/glob.h: Likewise.
31428 * include/grp.h: Likewise.
31429 * include/libio.h: Likewise.
31430 * include/locale.h: Likewise.
31431 * include/math.h: Likewise.
31432 * include/net/if.h: Likewise.
31433 * include/netdb.h: Likewise.
31434 * include/netinet/in.h: Likewise.
31435 * include/pthread.h: Likewise.
31436 * include/pwd.h: Likewise.
31437 * include/regex.h: Likewise.
31438 * include/sched.h: Likewise.
31439 * include/search.h: Likewise.
31440 * include/setjmp.h: Likewise.
31441 * include/signal.h: Likewise.
31442 * include/stdio.h: Likewise.
31443 * include/stdlib.h: Likewise.
31444 * include/string.h: Likewise.
31445 * include/sys/cdefs.h: Likewise.
31446 * include/sys/mman.h: Likewise.
31447 * include/sys/msg.h: Likewise.
31448 * include/sys/resource.h: Likewise.
31449 * include/sys/select.h: Likewise.
31450 * include/sys/socket.h: Likewise.
31451 * include/sys/stat.h: Likewise.
31452 * include/sys/statvfs.h: Likewise.
31453 * include/sys/time.h: Likewise.
31454 * include/sys/times.h: Likewise.
31455 * include/sys/uio.h: Likewise.
31456 * include/sys/utsname.h: Likewise.
31457 * include/sys/wait.h: Likewise.
31458 * include/termios.h: Likewise.
31459 * include/time.h: Likewise.
31460 * include/ulimit.h: Likewise.
31461 * include/unistd.h: Likewise.
31462 * include/utime.h: Likewise.
31463 * include/wchar.h: Likewise.
31464 * include/wctype.h: Likewise.
31465 * include/wordexp.h: Likewise.
31467 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31469 * time/time.h: TIME_UTC must be a macro.
31470 Make timespec_get available for ISO C11 only as well.
31472 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31474 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31475 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31477 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31479 * configure.in: Use -o not -a in test for unsupported multi-arch.
31481 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31483 * manual/texinfo.tex: Update to version 2012-01-19.16.
31485 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31487 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31489 2012-02-24 Roland McGrath <roland@hack.frob.com>
31492 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31493 * manual/fdl-1.3.texi: New file.
31494 * manual/fdl-1.1.texi: File removed.
31497 * manual/libc.texinfo (FDL_VERSION): New @set.
31498 Use it for mention of FDL in cover text.
31499 (Documentation License): Use it in @include file name.
31501 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31502 Roland McGrath <roland@hack.frob.com>
31505 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31506 not LONG_LONG_MAX and LONG_LONG_MIN.
31507 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31508 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31510 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31512 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31516 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31517 manipulate bits before adding and subtracting TWO23[sx].
31518 * math/libm-test.inc (nearbyint_test): Add more tests.
31520 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31523 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31524 bits before adding and subtracting TWO23[sx].
31525 * math/libm-test.inc (rint_test): Add more tests.
31526 (rint_test_tonearest): Likewise.
31527 (rint_test_towardzero): Likewise.
31528 (rint_test_downward): Likewise.
31529 (rint_test_upward: Likewise.
31531 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31534 * include/stdc-predef.h: New file. Extracted from features.h.
31535 * include/features.h: Include stdc-predef.h.
31536 * Makefile (headers): Add stdc-predef.h.
31537 * CONFORMANCE (Compiler limitations): Update.
31539 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31541 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31543 2012-02-21 David S. Miller <davem@davemloft.net>
31545 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31546 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31548 2012-02-20 David S. Miller <davem@davemloft.net>
31550 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31551 using a normal save/restore sequence, rather than allocating a
31552 dummy stack frame just to store a frame pointer and restore.
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31555 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31557 * manual/install.texi: Fix stray word in line-wrapped comment.
31559 2012-02-20 David S. Miller <davem@davemloft.net>
31561 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31562 both binutils and gcc support GOTDATA.
31564 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31565 "rd %pc" in the PIC register setup sequences.
31567 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31568 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31569 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31570 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31571 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31576 (SYSCALL_ERROR_HANDLER): Likewise.
31577 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31578 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31580 (SYSCALL_ERROR_HANDLER): Likewise.
31582 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31583 (HAVE_GCC_GOTDATA): New.
31584 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31585 relocation support in both binutils and gcc.
31586 * sysdeps/sparc/elf/configure: Regenerate.
31588 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31589 * sysdeps/sparc/sparc32/elf/configure: Delete.
31590 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31591 * sysdeps/sparc/sparc64/elf/configure: Delete.
31592 * sysdeps/sparc/elf/configure.in: New file.
31593 * sysdeps/sparc/elf/configure: Generate.
31595 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31596 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31597 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31598 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31599 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31601 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31603 * manual/install.texi: Do not mention specific glibc version
31605 * manual/libc.texinfo (VERSION, UPDATED): Update.
31606 (@copying): Use @copyright{} and range of years.
31608 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31611 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31612 [crti.S not in sysdirs] (generated): Do not append.
31613 [crti.S not in sysdirs] (omit-deps): Likewise.
31614 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31615 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31616 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31617 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31618 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31620 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31621 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31622 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31623 * csu/defs.awk: Remove file.
31624 * sysdeps/generic/initfini.c: Likewise.
31625 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31627 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31630 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31632 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31633 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31636 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31637 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31639 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31640 (__EPOLL_PACKED): Define to empty if not defined by
31642 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31646 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31648 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31649 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31650 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31651 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31653 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31657 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31659 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31662 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31663 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31666 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31669 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31671 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31673 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31674 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31676 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31678 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31681 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31683 * math/w_acos.c: Use non-signaling floating-point comparisons.
31684 * math/w_acosf.c: Likewise.
31685 * math/w_acosh.c: Likewise.
31686 * math/w_acoshf.c: Likewise.
31687 * math/w_acoshl.c: Likewise.
31688 * math/w_acosl.c: Likewise.
31689 * math/w_asin.c: Likewise.
31690 * math/w_asinf.c: Likewise.
31691 * math/w_asinl.c: Likewise.
31692 * math/w_atanh.c: Likewise.
31693 * math/w_atanhf.c: Likewise.
31694 * math/w_atanhl.c: Likewise.
31695 * math/w_exp2.c: Likewise.
31696 * math/w_exp2f.c: Likewise.
31697 * math/w_exp2l.c: Likewise.
31698 * math/w_j0.c: Likewise.
31699 * math/w_j0f.c: Likewise.
31700 * math/w_j0l.c: Likewise.
31701 * math/w_j1.c: Likewise.
31702 * math/w_j1f.c: Likewise.
31703 * math/w_j1l.c: Likewise.
31704 * math/w_jn.c: Likewise.
31705 * math/w_jnf.c: Likewise.
31706 * math/w_log.c: Likewise.
31707 * math/w_log10.c: Likewise.
31708 * math/w_log10f.c: Likewise.
31709 * math/w_log10l.c: Likewise.
31710 * math/w_log2.c: Likewise.
31711 * math/w_log2f.c: Likewise.
31712 * math/w_log2l.c: Likewise.
31713 * math/w_logf.c: Likewise.
31714 * math/w_logl.c: Likewise.
31715 * math/w_sqrt.c: Likewise.
31716 * math/w_sqrtf.c: Likewise.
31717 * math/w_sqrtl.c: Likewise.
31718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31719 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31720 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31721 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31722 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31724 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31727 * manual/string.texi (strnlen): Use correct parameter name in
31728 equivalent expression.
31730 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31733 * manual/users.texi (seteuid): Consistently use neweuid for
31736 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31739 * manual/nss.texi (Services in the NSS configuration): Correct
31740 list of services in example configuration file.
31742 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31745 * manual/arith.texi: Remove statements about negative zero
31746 behaving identically to zero.
31748 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31751 * manual/install.texi: Do not document upgrading from libc5.
31753 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31756 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31758 2012-02-18 David S. Miller <davem@davemloft.net>
31760 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31761 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31762 %o7 across the call.
31763 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31766 SETUP_PIC_REG_LEAF.
31767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31768 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31769 * sysdeps/sparc/crtn.S: Likewise.
31771 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31773 * aout/Makefile: Remove.
31775 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31778 * manual/examples/argp-ex1.c (main): Format definition in GNU
31780 * manual/examples/argp-ex2.c (main): Likewise.
31781 * manual/examples/argp-ex3.c (main): Likewise.
31782 * manual/examples/argp-ex4.c (main): Likewise.
31783 * manual/examples/longopt.c (main): Use new-style prototype
31785 * manual/examples/strncat.c (main): Specify return type and use
31786 (void) for arguments.
31787 * manual/examples/subopt.c (main): Use char **argv argument.
31789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31792 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31795 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31798 * manual/string.texi (strchr): Change when strchrnul is
31801 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31804 * manual/locale.texi (setlocale): Document LOCPATH.
31806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31809 * manual/process.texi (execle): Move @dots{} before last argument.
31811 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31814 * manual/charset.texi (Generic Charset Conversion): Fix typo
31815 (LC_TYPE -> LC_CTYPE).
31817 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31820 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31821 (scalbnf): Likewise.
31822 (scalbnl): Likewise.
31823 (scalbln): Likewise.
31824 (scalblnf): Likewise.
31825 (scalblnl): Likewise.
31826 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31827 (vwarnx): Likewise.
31830 * manual/filesys.texi (telldir): Use braces around return type.
31831 * manual/llio.texi (mmap): Add space after comma.
31832 (mmap64): Likewise.
31833 * manual/math.texi (jn): Use @var{} on parameter names.
31839 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31841 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31843 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31844 (sched_get_priority_max): Likewise.
31845 * manual/signal.texi (sigvec): Add space after comma.
31846 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31848 (if_indextoname): Likewise.
31849 (if_freenameindex): Likewise.
31850 (sendto): Use ',' instead of '.' in prototype.
31851 * manual/startup.texi (syscall): Use @dots{} instead of literal
31853 * manual/stdio.texi (__fpending): Separate initial words of
31854 paragraph from @deftypefun line.
31855 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31857 (vsyslog): Use @var{} on parameter names.
31858 * manual/terminal.texi (stty): Use @var{} on parameter names.
31859 * manual/users.texi (getutmp): Use @var{} on parameter names.
31860 (getutmpx): Likewise.
31862 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31865 * manual/stdio.texi (fopen): Fix typos in description of
31868 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31871 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31872 get clock_id definition.
31874 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31877 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31878 (madvise): Cast every argument to void on its own.
31880 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31883 * manual/startup.texi (Exit Status): Fix typo.
31885 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31888 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31889 * manual/examples/argp-ex2.c: Likewise.
31890 * manual/examples/argp-ex3.c: Likewise.
31892 2012-02-16 Richard Henderson <rth@redhat.com>
31894 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31895 * sysdeps/s390/s390-32/initfini.c: Remove.
31896 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31897 * sysdeps/s390/s390-64/initfini.c: Remove.
31899 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31901 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31902 compiler output for sysdeps/generic/initfini.c.
31903 * sysdeps/sh/elf/initfini.c: Remove file.
31905 2012-02-16 David S. Miller <davem@davemloft.net>
31908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31910 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31911 * sysdeps/sparc/crti.S: New file.
31912 * sysdeps/sparc/crtn.S: New file.
31913 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31914 * sysdeps/sparc/sparc64/Makefile: Likewise.
31916 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31919 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31921 2012-02-15 Roland McGrath <roland@hack.frob.com>
31924 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31926 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31927 (write, read, close): Likewise.
31928 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31930 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31932 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31933 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31934 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31935 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31937 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31941 2012-02-14 Marek Polacek <polacek@redhat.com>
31943 * sysdeps/x86_64/crti.S: New file.
31944 * sysdeps/x86_64/crtn.S: New file.
31945 * sysdeps/x86_64/elf/initfini.c: Remove file.
31947 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31949 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31950 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31951 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31952 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31954 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31958 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31960 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31961 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31962 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31963 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31965 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31969 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31971 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31972 __feraiseexcept instead of feraiseexcept.
31974 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31975 nanosleep invocations.
31976 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31977 strings, and add error checking for a nanosleep invocations.
31979 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31981 Replace FSF snail mail address with URLs, as per GNU coding standards.
31982 Most of the snail mail addresses were wrong anyway, and omitting
31983 them makes the source code easier to maintain. Almost all of the
31984 changes are to license notices and to locale LC_IDENTIFICATION
31985 addresses, except for this one:
31986 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31987 not its snail mail address.
31989 2012-02-09 Richard Henderson <rth@twiddle.net>
31991 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31992 of kernel-features.h.
31994 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31996 2012-02-08 Marek Polacek <polacek@redhat.com>
31998 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31999 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32000 * sysdeps/gnu/_G_config.h: Likewise.
32001 * sysdeps/generic/_G_config.h: Likewise.
32003 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32005 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32009 * sysdeps/powerpc/powerpc32/crti.S: New file.
32010 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32011 * sysdeps/powerpc/powerpc64/crti.S: New file.
32012 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32014 * Makeconfig (have-initfini): Don't set.
32015 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32016 * configure.in (nopic_initfini): Don't substitute.
32017 * config.h.in (HAVE_INITFINI): Don't #undef.
32018 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32019 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32021 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32023 Support crti.S and crtn.S provided directly by architectures.
32024 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32025 [crti.S in sysdirs] (omit-deps): Likewise.
32026 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32027 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32028 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32029 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32030 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32031 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32032 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32033 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32034 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32035 compiler output for sysdeps/generic/initfini.c.
32036 * sysdeps/i386/elf/Makefile: Remove file.
32037 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32039 2012-02-07 Marek Polacek <polacek@redhat.com>
32041 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32042 * sysdeps/gnu/_G_config.h: Likewise.
32043 * sysdeps/mach/hurd/_G_config.h: Likewise.
32045 2012-02-07 Marek Polacek <polacek@redhat.com>
32047 * math/Makefile (tests): Add tst-CMPLX2.
32048 * math/tst-CMPLX2.c: New file.
32050 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32054 * math/libm-test.inc (jn_test): Add missing L suffix.
32056 2012-02-06 Marek Polacek <polacek@redhat.com>
32058 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32059 * sysdeps/i386/fpu/e_powf.S: Likewise.
32060 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32061 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32062 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32063 * sysdeps/i386/fpu/e_pow.S: Likewise.
32064 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32065 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32066 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32067 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32068 * sysdeps/i386/fpu/e_log2.S: Likewise.
32069 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32070 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32071 * sysdeps/i386/fpu/e_powl.S: Likewise.
32072 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32074 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32075 * sysdeps/i386/fpu/e_logl.S: Likewise.
32076 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32077 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32078 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32079 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32082 * sysdeps/i386/fpu/e_log.S: Likewise.
32083 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32085 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32086 * sysdeps/i386/fpu/e_logf.S: Likewise.
32087 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32088 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32089 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32090 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32091 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32092 * sysdeps/i386/fpu/e_log10.S: Likewise.
32093 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32094 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32095 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32096 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32097 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32098 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32099 * sysdeps/i386/asm-syntax.h: Likewise.
32100 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32102 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32103 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32104 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32105 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32106 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32107 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32109 * sysdeps/powerpc/sysdep.h: Likewise.
32110 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32111 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32113 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32116 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32118 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32120 * sysdeps/i386/sysdep.h: Include <features.h>.
32121 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32124 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32126 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32128 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32131 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32133 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32134 (SETUP_PIC_REG): Use GET_PC_THUNK.
32135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32138 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32140 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32141 for non-PIC compilation.
32142 (SETUP_PIC_REG): Add .p2align directive.
32143 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32144 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32151 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32152 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32153 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32154 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32155 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32156 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32157 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32160 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32161 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32162 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32165 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32166 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32171 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32172 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32175 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32176 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32177 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32178 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32179 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32180 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32181 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32182 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32183 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32185 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32187 * math/tst-CMPLX.c: Include <stdio.h>.
32189 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32191 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32193 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32194 * sysdeps/sparc/bits/mathdef.h: Likewise.
32196 2012-01-31 Marek Polacek <polacek@redhat.com>
32198 * libio/libio.h: Don't define _PARAMS.
32199 * locale/programs/config.h: Don't define PARAMS.
32200 * stdlib/strtol_l.c: Likewise.
32201 (__strtol_l): Remove PARAMS from the prototype.
32203 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32205 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32206 names. Just use the correct names. Remove unnecessary wrapper
32208 * malloc/arena.c: Likewise.
32209 * malloc/hooks.c: Likewise.
32211 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32212 ARENA_TEST says not to. Simplify test for creation of a new arena.
32213 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32215 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32217 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32219 (update_get_addr): New function.
32220 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32221 GET_ADDR_MODULE parameter.
32223 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32225 * crypt/cert.c: Remove __STDC__ conditionals.
32226 * crypt/crypt-entry.c: Likewise.
32227 * crypt/crypt_util.c: Likewise.
32228 * libio/filedoalloc.c: Likewise.
32229 * libio/fileops.c: Likewise.
32230 * libio/genops.c: Likewise.
32231 * libio/iofclose.c: Likewise.
32232 * libio/iofdopen.c: Likewise.
32233 * libio/iofopen.c: Likewise.
32234 * libio/iofopen64.c: Likewise.
32235 * libio/iogetdelim.c: Likewise.
32236 * libio/iopopen.c: Likewise.
32237 * libio/obprintf.c: Likewise.
32238 * libio/oldfileops.c: Likewise.
32239 * libio/oldiofclose.c: Likewise.
32240 * libio/oldiofdopen.c: Likewise.
32241 * libio/oldiofopen.c: Likewise.
32242 * libio/oldiopopen.c: Likewise.
32243 * libio/wfiledoalloc.c: Likewise.
32244 * libio/wgenops.c: Likewise.
32245 * locale/programs/xmalloc.c: Likewise.
32246 * misc/syslog.c: Likewise.
32247 * stdio-common/xbug.c: Likewise.
32248 * string/memchr.c: Likewise.
32249 * string/memcmp.c: Likewise.
32250 * string/memrchr.c: Likewise.
32251 * string/rawmemchr.c: Likewise.
32252 * sysdeps/posix/getcwd.c: Likewise.
32253 * time/strftime_l.c: Likewise.
32255 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32257 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32258 * config.make.in (config-cflags-sse2avx): Define.
32259 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32262 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32264 * scripts/config.guess: Update from upstream config git repository.
32265 * scripts/config.sub: Likewise.
32267 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32269 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32271 (R_TILEPRO_*, R_TILEGX_*): New macros.
32273 * scripts/firstversions.awk: Fix bug in version range handling.
32275 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32277 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32279 * include/sys/epoll.h: New file.
32280 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32283 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32285 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32286 Avoid unnecessary __WORDSIZE == 64 test.
32287 (fmaxf): Use VEX format if possible.
32292 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32293 * math/math_private.h: Remove libc_fegetround* and
32295 * sysdeps/i386/configure.in: Check for -msse2avx.
32296 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32297 also if SSE2AVX is defined.
32298 Remove libc_fegetround* and libc_fesetround*.
32299 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32300 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32309 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32311 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32313 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32315 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32317 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32320 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32322 * Makeconfig (libm): Define.
32323 * elf/Makefile: Add rules to build and run tst-relsort1.
32324 * elf/tst-relsort1.c: New file.
32325 * elf/tst-relsort1mod1.c: New file.
32326 * elf/tst-relsort1mod2.c: New file.
32328 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32330 * math/s_ldexp.c: Remove __STDC__ conditionals.
32331 * math/s_ldexpf.c: Likewise.
32332 * math/s_ldexpl.c: Likewise.
32333 * math/s_nextafter.c: Likewise.
32334 * math/s_nexttowardf.c: Likewise.
32335 * math/s_significand.c: Likewise.
32336 * math/s_significandf.c: Likewise.
32337 * math/s_significandl.c: Likewise.
32338 * math/w_jnl.c: Likewise.
32339 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32340 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32341 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32342 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32343 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32358 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32359 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32360 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32361 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32363 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32364 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32365 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32367 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32368 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32371 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32373 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32375 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32377 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32378 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32379 * sysdeps/ieee754/k_standard.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32441 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32442 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32445 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32446 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32447 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32450 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32455 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32457 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32459 * sysdeps/ieee754/s_matherr.c: Likewise.
32460 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32461 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32465 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32467 * crypt/md5.h: Remove __STDC__ conditionals.
32468 * libio/libioP.h: Likewise.
32469 * locale/programs/config.h: Likewise.
32470 * sysdeps/generic/sysdep.h: Likewise.
32471 * sysdeps/i386/asm-syntax.h: Likewise.
32472 * sysdeps/s390/asm-syntax.h: Likewise.
32473 * sysdeps/unix/sysdep.h: Likewise.
32474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32477 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32479 * libio/libio.h: Remove __STDC__ conditionals.
32480 * malloc/obstack.h: Likewise.
32481 * math/complex.h: Likewise.
32482 * math/math.h: Likewise.
32483 * sysdeps/generic/_G_config.h: Likewise.
32484 * sysdeps/gnu/_G_config.h: Likewise.
32485 * sysdeps/mach/hurd/_G_config.h: Likewise.
32486 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32487 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32488 * sysdeps/sparc/bits/mathdef.h: Likewise.
32490 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32493 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32494 Clean up HAS_* macros.
32495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32496 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32501 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32502 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32506 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32508 * elf/tst-unique3.cc (gets): Remove declaration.
32509 * elf/tst-unique3lib.cc (gets): Likewise.
32510 * elf/tst-unique3lib2.cc (gets): Likewise.
32511 * elf/tst-unique4.cc (gets): Likewise.
32513 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32515 * include/stdio.h: Add C++ protection. Add gets declarations and
32517 * debug/tst-chk1.c: Don't declare gets here.
32518 * stdio-common/tst-gets.c: Likewise.
32520 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32522 * posix/glob: Remove directory.
32524 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32526 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32528 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32530 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32531 of the non-standard EPFNOSUPPORT.
32533 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32535 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32536 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32537 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32539 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32541 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32543 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32545 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32547 * nscd/grpcache.c (cache_addgr): Likewise.
32548 * nscd/hstcache.c (cache_addhst): Likewise.
32549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32550 * nscd/pwdcache.c (cache_addpw): Likewise.
32551 * nscd/servicescache.c (cache_addserv): Likewise.
32553 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32555 * malloc/malloc.c: Various cleanups.
32556 * malloc/hooks.c: Likewise.
32558 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32559 * stdlib/bug-fmtmsg1.c: New file.
32561 * stdlib/fmtmsg.c (init): Add missing unlock.
32562 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32564 2012-01-12 Marek Polacek <polacek@redhat.com>
32566 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32569 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32571 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32572 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32573 macro to ensure uniqueness of label name.
32574 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32575 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32577 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32579 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32581 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32582 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32583 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32586 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32588 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32590 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32591 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32592 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32594 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32596 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32597 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32601 * math/bits/math-finite.h: Add ldexp support.
32603 2012-01-10 Marek Polacek <polacek@redhat.com>
32605 * locale/programs/localedef.h (show_archive_content): Add noreturn
32608 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32610 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32612 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32614 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32616 * io/Makefile (headers): Add bits/poll2.h.
32618 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32621 typo #include statement.
32623 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32625 * include/sys/cdefs.h: Define __attribute_alloc_size.
32626 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32627 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32628 * elf/pldd.c: Likewise.
32629 * iconv/iconv_charmap.c: Likewise.
32630 * iconv/iconvconfig.c: Likewise.
32631 * iconv/strtab.c: Likewise.
32632 * locale/programs/locale.c: Likewise.
32633 * locale/programs/localedef.h: Likewise.
32634 * locale/programs/simple-hash.c: Likewise.
32635 * nscd/nscd.h: Likewise.
32636 * nss/makedb.c: Likewise.
32637 * sysdeps/generic/ldconfig.h: Likewise.
32638 * locale/programs/localedef.c: Remove xmalloc prototype.
32639 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32641 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32643 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32646 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32648 * math/Makefile (tests): Add tst-CMPLX.
32649 * math/tst-CMPLX.c: New file.
32651 * math/complex.h (CMPLXL): Fix typo.
32653 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32654 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32656 * debug/tst-chk1.c: Add poll and ppoll tests.
32657 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32658 * include/sys/poll.h: Add hidden proto for ppoll.
32659 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32660 * sysdeps/mach/hurd/ppoll.c: Likewise.
32661 * io/ppoll.c: Likewise.
32662 * debug/poll_chk.c: New file.
32663 * debug/ppoll_chk.c: New file.
32664 * include/bits/poll2.h: New file.
32665 * io/bits/poll2.h: New file.
32668 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32670 * configure.in: static is always set to yes. Remove.
32671 * config.make.in: Don't set build-static.
32672 * Makeconfig: Remove use of build-static.
32673 * dlfcn/Makefile: Likewise.
32674 * elf/Makefile: Likewise.
32675 * math/Makefile: Likewise.
32676 * misc/Makefile: Likewise.
32677 * nptl/Makefile: Likewise.
32678 * sysdeps/mach/hurd/Makefile: Likewise.
32680 * configure.in: PWD_P is not used anymore.
32681 * config.make.in: Remove PWD_P entry.
32683 * configure.in: Remove last remnants of RANLIB.
32684 No need to check for signed size_t anymore.
32685 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32687 Remove __builtin_expect test because we require at least gcc 3.4.
32688 * aclocal.m4: Likewise.
32690 * wcsmbs/mbrtoc16.c: Implement using towc function.
32691 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32692 * wcsmbs/wcsmbsload.c: Likewise.
32693 * iconv/gconv_simple.c: Likewise.
32694 * iconv/gconv_int.h: Likewise.
32695 * iconv/gconv_builtin.h: Likewise.
32696 * iconv/iconv_prog.c: Remove CHAR16 handling.
32698 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32700 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32702 * configure.in: Remove --with-elf and --enable-bounded options.
32703 Dont set base_machine for ia64. More non-ELF conditions removed.
32704 Remove testing and setting of leading underscore information.
32705 * config.make.in (build-bounded): Set to no.
32706 * config.h.in: Remove NO_UNDERSCORES entry.
32707 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32709 * csu/start.c: Remove !NO_UNDERSCORE code.
32710 * locale/localeinfo.h: Likewise.
32711 * sysdeps/generic/machine-gmon.h: Likewise.
32712 * sysdeps/generic/sysdep.h: Likewise.
32713 * sysdeps/i386/sysdep.h: Likewise.
32714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32715 * sysdeps/mach/sysdep.h: Likewise.
32716 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32717 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32718 * sysdeps/sh/sysdep.h: Likewise.
32719 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32720 * sysdeps/unix/i386/sysdep.S: Likewise.
32721 * sysdeps/unix/sparc/start.c: Likewise.
32722 * sysdeps/unix/sparc/sysdep.S: Likewise.
32723 * sysdeps/unix/sparc/sysdep.h: Likewise.
32724 * sysdeps/unix/start.c: Likewise.
32725 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32726 * sysdeps/x86_64/sysdep.h: Likewise.
32728 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32731 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32733 * argp/argp-fmtstream.h: Use const instead __const.
32734 * argp/argp.h: Likewise.
32735 * assert/assert.h: Likewise.
32736 * bits/fenv.h: Likewise.
32737 * bits/sched.h: Likewise.
32738 * bits/sigset.h: Likewise.
32739 * bits/sigthread.h: Likewise.
32740 * catgets/nl_types.h: Likewise.
32741 * conform/data/pthread.h-data: Likewise.
32742 * crypt/crypt-private.h: Likewise.
32743 * crypt/crypt.h: Likewise.
32744 * crypt/crypt_util.c: Likewise.
32745 * ctype/ctype.h: Likewise.
32746 * debug/execinfo.h: Likewise.
32747 * debug/mbsnrtowcs_chk.c: Likewise.
32748 * debug/mbsrtowcs_chk.c: Likewise.
32749 * debug/wcsnrtombs_chk.c: Likewise.
32750 * debug/wcsrtombs_chk.c: Likewise.
32751 * debug/wcstombs_chk.c: Likewise.
32752 * dirent/dirent.h: Likewise.
32753 * dlfcn/dlfcn.h: Likewise.
32754 * elf/neededtest4.c: Likewise.
32755 * grp/grp.h: Likewise.
32756 * gshadow/gshadow.h: Likewise.
32757 * iconv/gconv.h: Likewise.
32758 * iconv/gconv_int.h: Likewise.
32759 * iconv/gconv_simple.c: Likewise.
32760 * iconv/iconv.h: Likewise.
32761 * iconv/loop.c: Likewise.
32762 * iconv/skeleton.c: Likewise.
32763 * include/aio.h: Likewise.
32764 * include/aliases.h: Likewise.
32765 * include/argz.h: Likewise.
32766 * include/arpa/inet.h: Likewise.
32767 * include/assert.h: Likewise.
32768 * include/dirent.h: Likewise.
32769 * include/dlfcn.h: Likewise.
32770 * include/execinfo.h: Likewise.
32771 * include/fcntl.h: Likewise.
32772 * include/fenv.h: Likewise.
32773 * include/glob.h: Likewise.
32774 * include/grp.h: Likewise.
32775 * include/libintl.h: Likewise.
32776 * include/mntent.h: Likewise.
32777 * include/netdb.h: Likewise.
32778 * include/pwd.h: Likewise.
32779 * include/rpc/netdb.h: Likewise.
32780 * include/sched.h: Likewise.
32781 * include/search.h: Likewise.
32782 * include/shadow.h: Likewise.
32783 * include/signal.h: Likewise.
32784 * include/stdio.h: Likewise.
32785 * include/stdlib.h: Likewise.
32786 * include/string.h: Likewise.
32787 * include/sys/socket.h: Likewise.
32788 * include/sys/stat.h: Likewise.
32789 * include/sys/statfs.h: Likewise.
32790 * include/sys/statvfs.h: Likewise.
32791 * include/sys/syslog.h: Likewise.
32792 * include/sys/time.h: Likewise.
32793 * include/sys/uio.h: Likewise.
32794 * include/time.h: Likewise.
32795 * include/unistd.h: Likewise.
32796 * include/utmp.h: Likewise.
32797 * include/wchar.h: Likewise.
32798 * include/wctype.h: Likewise.
32799 * inet/aliases.h: Likewise.
32800 * inet/arpa/inet.h: Likewise.
32801 * inet/netinet/ether.h: Likewise.
32802 * inet/netinet/in.h: Likewise.
32803 * intl/libintl.h: Likewise.
32804 * io/bits/fcntl2.h: Likewise.
32805 * io/fcntl.h: Likewise.
32806 * io/ftw.h: Likewise.
32807 * io/sys/poll.h: Likewise.
32808 * io/sys/stat.h: Likewise.
32809 * io/sys/statfs.h: Likewise.
32810 * io/sys/statvfs.h: Likewise.
32811 * io/utime.h: Likewise.
32812 * libio/bits/stdio.h: Likewise.
32813 * libio/bits/stdio2.h: Likewise.
32814 * libio/libio.h: Likewise.
32815 * libio/libioP.h: Likewise.
32816 * libio/stdio.h: Likewise.
32817 * locale/lc-ctype.c: Likewise.
32818 * locale/locale.h: Likewise.
32819 * login/utmp.h: Likewise.
32820 * malloc/arena.c: Likewise.
32821 * malloc/malloc.c: Likewise.
32822 * malloc/malloc.h: Likewise.
32823 * malloc/mcheck.c: Likewise.
32824 * malloc/mtrace.c: Likewise.
32825 * math/bits/mathcalls.h: Likewise.
32826 * math/fenv.h: Likewise.
32827 * math/math_private.h: Likewise.
32828 * misc/bits/error.h: Likewise.
32829 * misc/bits/syslog.h: Likewise.
32830 * misc/err.h: Likewise.
32831 * misc/error.h: Likewise.
32832 * misc/fstab.h: Likewise.
32833 * misc/mntent.h: Likewise.
32834 * misc/regexp.h: Likewise.
32835 * misc/search.h: Likewise.
32836 * misc/sgtty.h: Likewise.
32837 * misc/sys/mman.h: Likewise.
32838 * misc/sys/syslog.h: Likewise.
32839 * misc/sys/uio.h: Likewise.
32840 * misc/sys/xattr.h: Likewise.
32841 * misc/ttyent.h: Likewise.
32842 * nis/rpcsvc/ypclnt.h: Likewise.
32843 * nss/nss.h: Likewise.
32844 * posix/bits/unistd.h: Likewise.
32845 * posix/fnmatch.h: Likewise.
32846 * posix/glob.h: Likewise.
32847 * posix/sched.h: Likewise.
32848 * posix/spawn.h: Likewise.
32849 * posix/sys/wait.h: Likewise.
32850 * posix/unistd.h: Likewise.
32851 * posix/wordexp.h: Likewise.
32852 * pwd/pwd.h: Likewise.
32853 * resolv/netdb.h: Likewise.
32854 * resource/sys/resource.h: Likewise.
32855 * rt/aio.h: Likewise.
32856 * rt/bits/mqueue2.h: Likewise.
32857 * rt/mqueue.h: Likewise.
32858 * shadow/shadow.h: Likewise.
32859 * signal/signal.h: Likewise.
32860 * socket/send.c: Likewise.
32861 * socket/sendto.c: Likewise.
32862 * socket/sys/socket.h: Likewise.
32863 * stdio-common/printf.h: Likewise.
32864 * stdlib/bits/stdlib.h: Likewise.
32865 * stdlib/fmtmsg.h: Likewise.
32866 * stdlib/monetary.h: Likewise.
32867 * stdlib/stdlib.h: Likewise.
32868 * stdlib/ucontext.h: Likewise.
32869 * streams/stropts.h: Likewise.
32870 * string/argz.h: Likewise.
32871 * string/bits/string2.h: Likewise.
32872 * string/string.h: Likewise.
32873 * string/strings.h: Likewise.
32874 * sunrpc/rpc/auth.h: Likewise.
32875 * sunrpc/rpc/auth_des.h: Likewise.
32876 * sunrpc/rpc/clnt.h: Likewise.
32877 * sunrpc/rpc/netdb.h: Likewise.
32878 * sunrpc/rpc/pmap_clnt.h: Likewise.
32879 * sunrpc/rpc/xdr.h: Likewise.
32880 * sysdeps/generic/inttypes.h: Likewise.
32881 * sysdeps/generic/net/if.h: Likewise.
32882 * sysdeps/generic/sys/swap.h: Likewise.
32883 * sysdeps/gnu/net/if.h: Likewise.
32884 * sysdeps/gnu/utmpx.h: Likewise.
32885 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32886 * sysdeps/i386/i486/bits/string.h: Likewise.
32887 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32888 * sysdeps/s390/bits/string.h: Likewise.
32889 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32890 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32891 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32892 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32893 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32894 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32895 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32896 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32897 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32898 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32899 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32900 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32901 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32902 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32903 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32904 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32905 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32910 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32911 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32912 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32913 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32914 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32915 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32917 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32918 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32919 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32920 * sysvipc/sys/ipc.h: Likewise.
32921 * sysvipc/sys/msg.h: Likewise.
32922 * sysvipc/sys/sem.h: Likewise.
32923 * sysvipc/sys/shm.h: Likewise.
32924 * termios/termios.h: Likewise.
32925 * time/sys/time.h: Likewise.
32926 * time/time.h: Likewise.
32927 * wcsmbs/bits/wchar2.h: Likewise.
32928 * wcsmbs/uchar.h: Likewise.
32929 * wcsmbs/wchar.h: Likewise.
32930 * wctype/wctype.h: Likewise.
32933 * Makeconfig: Remove all but ELF support including AIX support.
32934 * Makerules: Likewise.
32935 * config.h.in: Likewise.
32936 * config.make.in: Likewise.
32937 * configure: Likewise.
32938 * configure.in: Likewise.
32939 * csu/Makefile: Likewise.
32940 * csu/version.c: Likewise.
32941 * debug/Makefile: Likewise.
32942 * dlfcn/Makefile: Likewise.
32943 * elf/Makefile: Likewise.
32944 * extra-lib.mk: Likewise.
32945 * iconv/Makefile: Likewise.
32946 * include/libc-symbols.h: Likewise.
32947 * include/shlib-compat.h: Likewise.
32948 * resolv/Makefile: Likewise.
32949 * resolv/res_libc.c: Likewise.
32950 * rt/Makefile: Likewise.
32951 * sysdeps/i386/asm-syntax.h: Likewise.
32952 * sysdeps/i386/sysdep.h: Likewise.
32953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32954 * sysdeps/mach/sysdep.h: Likewise.
32955 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32956 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32957 * sysdeps/s390/asm-syntax.h: Likewise.
32958 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32959 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32960 * sysdeps/sh/sysdep.h: Likewise.
32961 * sysdeps/unix/sparc/sysdep.h: Likewise.
32962 * sysdeps/wordsize-32/divdi3.c: Likewise.
32963 * sysdeps/x86_64/sysdep.h: Likewise.
32965 * argp/Versions: Remove _argp_unlock_xxx.
32968 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32969 * abilist/libBrokenLocale.abilist: Likewise.
32970 * abilist/libanl.abilist: Likewise.
32971 * abilist/libc.abilist: Likewise.
32972 * abilist/libcrypt.abilist: Likewise.
32973 * abilist/libdl.abilist: Likewise.
32974 * abilist/libm.abilist: Likewise.
32975 * abilist/libnsl.abilist: Likewise.
32976 * abilist/libpthread.abilist: Likewise.
32977 * abilist/libresolv.abilist: Likewise.
32978 * abilist/librt.abilist: Likewise.
32979 * abilist/libthread_db.abilist: Likewise.
32980 * abilist/libutil.abilist: Likewise.
32981 * abilist/libnss_db.abilist: New file.
32983 * scripts/abilist.awk: Add support for indirect functions.
32985 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32987 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32989 * shlib-versions: Remove entries for ports architectures.
32991 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32993 * elf/stackguard-macros.h: Remove support for IA-64.
32994 * elf/tst-auditmod1.c: Likewise.
32995 * sysdeps/generic/ldsodefs.h: Likewise.
32997 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32998 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33002 * configure.in: Remove --enable-omitfp support.
33004 * config.make.in: Likewise.
33005 * Makeconfig: Likewise.
33006 * manual/install.texi: Likewise.
33008 In case anyone cares, the IA-64 architecture could move to ports.
33009 * sysdeps/ia64/*: Removed.
33010 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33011 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33014 * configure.in: Remove entries for unsupported architectures.
33017 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33018 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33020 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33021 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33022 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33023 fall back to using wcrtomb.
33024 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33025 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33027 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33028 * wcsmbs/tst-c16c32-1.c: New file.
33030 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33033 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33035 * elf/tst-unique3.cc: Add explicit declaration of gets.
33036 * elf/tst-unique3lib.cc: Likewise.
33037 * elf/tst-unique3lib2.cc: Likewise.
33038 * elf/tst-unique4.cc: Likewise.
33040 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33042 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33045 * assert/assert.h (static_assert): Don't define for C++.
33046 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33047 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33049 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33051 * iconv/loop.c (single loop): Fix assertion in storing of
33054 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33056 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33058 * posix/getconf.c: Update copyright year.
33059 * nss/getent.c: Likewise.
33060 * nss/makedb.c: Likewise.
33061 * iconv/iconvconfig.c: Likewise.
33062 * iconv/iconv_prog.c: Likewise.
33063 * elf/ldconfig.c: Likewise.
33064 * elf/pldd.c: Likewise.
33065 * elf/sotruss.ksh: Likewise.
33066 * catgets/gencat.c: Likewise.
33067 * csu/version.c: Likewise.
33068 * elf/ldd.bash.in: Likewise.
33069 * elf/sprof.c (print_version): Likewise.
33070 * locale/programs/locale.c: Likewise.
33071 * locale/programs/localedef.c: Likewise.
33072 * login/programs/pt_chown.c: Likewise.
33073 * nscd/nscd.c (print_version): Likewise.
33074 * debug/xtrace.sh: Likewise.
33075 * malloc/memusage.sh: Likewise.
33076 * malloc/mtrace.pl: Likewise.
33077 * debug/catchsegv.sh: Likewise.
33079 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33081 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33084 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33087 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33088 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33090 * iconv/gconv_int.h: Likewise.
33091 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33092 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33093 from libc for GLIBC_2.16.
33094 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33095 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33096 * wcsmbs/uchar.h: Really define mbstate_t.
33097 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33098 * wcsmbs/c16rtomb.c: New file.
33099 * wcsmbs/mbrtoc16.c: New file.
33100 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33101 for C/POSIX locale.
33102 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33103 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33105 * wcsmbs/wchar.h: Add missing __restrict.
33107 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33110 * time/Makefile (routines): Add timespec_get.
33111 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33112 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33113 timespec for ISO C11.
33114 * time/timespec_get.c: New file.
33115 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33116 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33119 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33120 * stdlib/stdlib.h: Declare aligned_alloc.
33121 * Versions.def: Add GLIBC_2.16 for libc.
33122 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33125 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33128 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33132 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33135 * assert/assert.h (static_assert): Define.
33137 * version.h: Update for 2.16 development version.
33140 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33143 * version.h (RELEASE): Bump for 2.15 release.
33144 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33146 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33147 Patch by Marek Polacek <mpolacek@redhat.com>.
33149 * bits/byteswap.h: Protect long long constants with __extension__.
33150 * sysdeps/i386/bits/byteswap.h: Likewise.
33151 * sysdeps/ia64/bits/byteswap.h: Likewise.
33152 * sysdeps/s390/bits/byteswap.h: Likewise.
33153 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33155 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33158 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33159 destination buffer.
33160 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33162 2011-12-23 Marek Polacek <polacek@redhat.com>
33164 * elf/dl-addr.c (determine_info): Add inline keyword.
33165 * elf/tst-auditmod4b.c (check_avx): Likewise.
33166 * elf/tst-auditmod6b.c (check_avx): Likewise.
33167 * elf/tst-auditmod6c.c (check_avx): Likewise.
33168 * elf/tst-auditmod7b.c (check_avx): Likewise.
33170 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33172 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33175 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33178 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33179 processing for last bytes.
33181 2011-08-06 Bruno Haible <bruno@clisp.org>
33184 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33185 U+0385, not to U+1FEE.
33188 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33189 entry for U+00A5 U+0301.
33191 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33194 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33195 buffer for the output is too small.
33197 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33201 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33202 SSE flags if possible.
33204 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33208 processing for last bytes.
33210 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33212 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33213 (syscall-list-default-options, syscall-list-default-condition)
33214 (syscall-list-includes): Define.
33215 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33216 list of ABIs and options and #if conditions for each ABI. Do not
33217 handle common syscalls between ABIs specially.
33218 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33220 (syscall-list-variants, syscall-list-32bit-options)
33221 (syscall-list-32bit-condition, syscall-list-64bit-options)
33222 (syscall-list-64bit-condition): Define.
33223 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33224 (syscall-list-variants, syscall-list-32bit-options)
33225 (syscall-list-32bit-condition, syscall-list-64bit-options)
33226 (syscall-list-64bit-condition): Define.
33227 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33229 (syscall-list-variants, syscall-list-32bit-options)
33230 (syscall-list-32bit-condition, syscall-list-64bit-options)
33231 (syscall-list-64bit-condition): Define.
33232 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33234 (syscall-list-variants, syscall-list-32bit-options)
33235 (syscall-list-32bit-condition, syscall-list-64bit-options)
33236 (syscall-list-64bit-condition): Define.
33238 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33240 * locale/iso-639.def: Add brx entry.
33243 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33244 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33246 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33247 __feraiseexcept_renamed.
33249 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33252 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33253 EPOLLET with unsigned values.
33254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33257 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33258 to large cancellation.
33259 * math/s_cacoshf.c: Likewise.
33260 * math/s_cacoshl.c: Likewise.
33262 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33266 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33267 * math/s_cacoshf.c: Likewise.
33268 * math/s_cacoshl.c: Likewise.
33270 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33273 * iconv/gconv.h: Define __GCONV_SWAP.
33274 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33275 * iconvdata/utf-16.c: Likewise.
33276 * iconvdata/utf-32.c: Likewise.
33278 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33282 numerator after shifting it by one limb.
33284 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33286 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33287 under [__USE_EXTERN_INLINES].
33289 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33292 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33294 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33296 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33297 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33299 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33300 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33301 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33302 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33303 for strncasecmp/strncasecmp_l compilation.
33304 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33305 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33307 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33310 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33313 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33316 * time/tzfile.c (__tzfile_read): Check values from file header.
33318 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33320 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33321 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33322 * powerpc/powerpc32/dl-start.S: Likewise.
33323 * powerpc/powerpc32/elf/start.S: Likewise.
33324 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33325 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33326 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33327 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33328 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33329 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33330 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33331 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33332 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33333 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33334 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33335 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33336 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33337 * powerpc/powerpc32/memset.S: Likewise.
33338 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33339 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33340 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33341 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33342 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33343 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33344 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33345 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33346 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33347 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33348 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33349 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33350 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33352 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33354 * math/libm-test.inc: Added more nearbyint tests.
33355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33356 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33360 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33362 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33365 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33367 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33368 Add wcscpy-ssse3 wcscpy-c.
33369 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33370 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33371 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33372 * sysdeps/x86_64/wcschr.S: New file.
33373 * sysdeps/x86_64/wcsrchr.S: New file.
33374 * string/test-strcmp.c: Remove checking of wcscmp function for
33376 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33377 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33378 wcsrchr-sse2 wcsrchr-c.
33379 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33380 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33381 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33382 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33383 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33384 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33385 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33386 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33387 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33388 * wcsmbc/wcschr.c (WCSCHR): New macro.
33390 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33392 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33393 * wcsmbs/test-wcsrchr.c: New file.
33394 * string/test-strrchr.c: Add wcsrchr support.
33396 * wcsmbs/test-wcscpy.c: New file.
33397 * string/test-strcpy.c: Add wcscpy support.
33400 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33402 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33405 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33408 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33410 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33413 Minor optimizations.
33415 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33416 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33417 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33419 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33421 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33422 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33423 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33424 for gcc to avoid warnings.
33425 * inet/Makefile (tests): Add tst-checks.
33426 * inet/tst-checks.c: New file.
33428 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33431 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33434 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33435 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33437 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33439 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33441 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33444 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33446 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33448 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33449 conditional on GCC version.
33450 (__arch_compare_and_exchange_val_8_acq)
33451 (__arch_compare_and_exchange_val_16_acq)
33452 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33453 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33454 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33456 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33458 * sysdeps/sh/backtrace.c: New file.
33460 2011-12-02 Andreas Schwab <schwab@redhat.com>
33462 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33465 2011-12-01 Andreas Schwab <schwab@redhat.com>
33467 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33468 falling back to utime.
33470 2011-11-30 Andreas Schwab <schwab@redhat.com>
33472 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33473 expectations for float.
33475 2011-11-29 Andreas Schwab <schwab@redhat.com>
33477 * locale/weight.h (findidx): Add parameter len.
33478 * locale/weightwc.h (findidx): Likewise.
33479 * posix/fnmatch_loop.c (FCT): Adjust caller.
33480 * posix/regcomp.c (build_equiv_class): Likewise.
33481 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33482 * posix/regexec.c (check_node_accept_bytes): Likewise.
33483 * string/strcoll_l.c (STRCOLL): Likewise.
33484 * string/strxfrm_l.c (STRXFRM): Likewise.
33486 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33488 * Makefile.in: Remove CVSOPT handling.
33489 * configure.in: Remove use of AC_REVISION.
33490 * iconvdata/Makefile (distribute): No need to filter out CVS.
33491 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33494 2011-11-16 Andreas Schwab <schwab@redhat.com>
33496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33497 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33498 [USE_AS_STRNCASECMP_L]: Likewise.
33499 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33500 NO_TLS_DIRECT_SEG_REFS.
33501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33502 Fix argument offsets for non-PIC.
33503 [USE_AS_STRNCASECMP_L]: Likewise.
33504 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33505 NO_TLS_DIRECT_SEG_REFS.
33507 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33509 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33511 * locale/loadlocale.c (_nl_load_locale): Likewise.
33513 2011-11-15 Andreas Schwab <schwab@redhat.com>
33515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33516 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33517 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33518 (SYSCALL_GETTIME): Set errno on error.
33520 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33521 count references to noai6ai_cached.
33523 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33525 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33527 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33528 FD_CLOEXEC for /proc/self/maps.
33530 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33531 FD_CLOEXEC for /proc/meminfo.
33533 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33536 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33537 FD_CLOEXEC for given file.
33539 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33541 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33542 FD_CLOEXEC for /etc/hosts.
33543 (_gethtent): Likewise.
33545 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33547 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33548 cancellation and set FD_CLOEXEC for /etc/netgroup.
33550 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33551 reading /etc/publickey.
33553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33554 allow cancellation when reading /etc/group.
33556 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33558 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33560 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33561 when using data file.
33563 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33565 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33566 (write_nis_obj): Use "c" and "e" in fopen.
33568 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33570 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33572 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33574 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33576 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33579 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33581 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33583 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33585 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33586 file parsing and set FD_CLOEXEC.
33588 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33590 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33592 2011-11-14 Andreas Schwab <schwab@redhat.com>
33594 * malloc/arena.c (arena_get2): Don't call reused_arena when
33595 _int_new_arena failed.
33597 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33599 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33600 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33601 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33603 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33605 to compile strcasecmp and strncasecmp.
33606 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33607 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33611 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33613 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33614 locale-defines.sym to gen-as-const-headers.
33615 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33616 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33618 to compile strcasecmp and strncasecmp.
33619 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33620 strcasecmp_l and strncasecmp_l.
33621 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33622 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33623 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33624 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33625 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33626 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33627 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33628 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33629 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33630 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33631 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33633 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33635 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33636 result of SYSDEP_GETTIME_CPU to retval.
33637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33638 parameter list to macro. Remove trailing semicolon. Adjust users.
33640 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33643 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33647 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33648 from unused variable.
33650 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33652 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33655 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33658 * sunrpc/rpc_prot.c (rejected): Fix case value.
33660 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33661 unsigned long long int to avoid warnings in shift.
33663 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33665 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33668 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33669 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33670 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33672 * nis/nis_table.c (nis_list): Use variable of correct type for
33673 result of __follow_path call.
33675 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33677 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33678 of math functions ceil, trunc, floor, round, and sqrt, when
33679 avaliable on the platform.
33680 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33682 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33683 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33684 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33686 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33688 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33691 2011-11-11 Roland McGrath <roland@hack.frob.com>
33693 * include/unistd.h: Fix __readlink return type.
33694 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33696 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33698 * stdlib/ucontext.h: Undo last change for makecontext.
33700 2011-11-11 Andreas Schwab <schwab@redhat.com>
33702 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33704 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33705 * setjmp/setjmp.h: Mark functions as non-leaf.
33706 * setjmp/bits/setjmp2.h: Likewise.
33707 * stdlib/ucontext.h: Likewise.
33709 2011-11-10 Andreas Schwab <schwab@redhat.com>
33711 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33712 (reused_arena): Don't check arena limit.
33713 (arena_get2): Atomically check arena limit.
33715 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33717 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33718 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33723 2011-11-07 Andreas Schwab <schwab@redhat.com>
33725 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33726 handler when locking.
33728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33729 Fix size of allocated buffer.
33731 2011-11-04 Andreas Schwab <schwab@redhat.com>
33734 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33735 declarations for long double functions.
33736 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33738 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33740 2011-11-03 Andreas Schwab <schwab@redhat.com>
33742 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33745 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33748 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33750 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33752 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33754 * include/alloca.h (stackinfo_alloca_round): Define.
33755 (extend_alloca): Use it.
33756 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33757 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33760 * scripts/check-local-headers.sh: Ignore libaudit.h.
33762 * nscd/Makefile (extra-objs): Make recursively expanded.
33764 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33766 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33769 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33770 * posix/tst-rfc3484-2.c: Likewise.
33771 * posix/tst-rfc3484-3.c: Likewise.
33773 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33775 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33777 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33778 process_vm_writev from libc using GLIBC_2.15 version.
33780 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33782 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33784 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33787 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33790 * nss/getent.c (initgroups_keys): Show error message in case no group
33793 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33794 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33795 __bump_nl_timestamp.
33796 * nscd/connections (nscd_init): When host database is served open
33797 netlink socket and request notification about configuration changes.
33798 (main_loop_poll): Track netlink file descriptor and bump timestamp
33799 in case data becomes available.
33800 (main_loop_epoll): Likewise.
33801 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33802 (database_pers_head): Add extra_data fileds.
33803 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33804 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33805 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33808 in6ai data, call __free_in6ai.
33809 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33810 Add -DHAVE_NETLINK.
33811 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33812 interface information. Reuse previous data if netlink timestamp
33814 (__bump_nl_timestamp): New function.
33815 (__free_in6ai): New function.
33817 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33819 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33820 close_not_cancel_no_status here.
33821 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33823 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33826 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33829 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33830 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33831 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33833 2011-07-03 Andreas Jaeger <aj@suse.de>
33836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33837 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33838 * math/libm-test.inc (sin_test): Add test case.
33840 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33843 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33844 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33846 * elf/chroot_canon.c (chroot_canon): Cleanups.
33848 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33851 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33852 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33854 * string/test-strchr.c: Make usable for strchrnul testing.
33855 * string/test-strchrnul.c: New file.
33856 * string/Makefile (strop-tests): Add strchrnul.
33858 * po/it.po: Update from translation team.
33859 * po/es.po: Likewise.
33861 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33863 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33864 the three constants needed as parameters. Drop the others.
33865 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33866 __m128i_strloadu_tolower.
33867 Create and initialize variable zero and use it in all the places
33868 where _mm_setzero_si128 was used.
33870 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33871 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33872 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33875 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33876 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33877 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33878 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33879 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33880 __mpranred, __mptan.
33881 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33882 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33883 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33884 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33885 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33886 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33888 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33889 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33891 2011-10-28 Andreas Schwab <schwab@redhat.com>
33893 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33894 redefine if SHARED.
33895 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33898 wide char related routines to wcsmbs subdir.
33900 2011-10-27 Andreas Schwab <schwab@redhat.com>
33903 * misc/sys/cdefs.h (__THROWNL): Define.
33904 * posix/unistd.h: Use __THREADNL instead of __THREAD
33905 for memory synchronization functions.
33907 2011-10-26 Roland McGrath <roland@hack.frob.com>
33910 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33912 * manual/stdio.texi (Obstack Streams): Node removed.
33914 2011-10-26 Andreas Schwab <schwab@redhat.com>
33916 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33920 * math/math_private.h (math_force_eval): Allow non-addressable
33922 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33924 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33926 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33927 file is not needed.
33929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33933 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33936 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33938 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33939 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33940 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33941 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33942 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33943 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33944 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33946 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33947 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33948 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33949 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33950 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33951 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33953 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33954 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33955 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33956 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33958 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33959 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33962 place. Use VEX encoding when compiling for AVX.
33964 2011-10-25 Andreas Schwab <schwab@redhat.com>
33966 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33967 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33969 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33971 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33973 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33974 useless if() expression.
33975 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33985 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33987 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33988 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33989 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33990 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33995 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33997 2011-10-25 Andreas Schwab <schwab@redhat.com>
33999 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34003 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34005 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34006 .text section. Avoid duplicate constants.
34007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34017 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34019 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34020 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34021 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34022 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34023 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34043 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34049 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34050 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34051 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34053 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34055 * sysdeps/x86_64/dla.h: Move to ...
34056 * sysdeps/x86_64/fpu/dla.h: ...here.
34057 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34058 situations. Use __builtin_fma only for gcc 4.6 and up.
34060 * config.make.in: Add have-mfma4 entry.
34061 * configure.in: Substitute libc_cv_cc_fma4.
34062 * math/Makefile (dbl-only-routines): Add sincostab.
34063 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34064 Use __sincostab not sincos.
34065 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34072 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34073 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34074 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34075 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34077 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34078 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34080 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34081 define aliases when function name is a macro.
34082 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34083 sysdeps/ieee754/dbl-64/sincos.tbl.
34084 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34085 fma4-enabled routines.
34086 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34087 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34088 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34089 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34090 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34091 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34093 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34095 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34097 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34098 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34099 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34100 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34101 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34102 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34103 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34104 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34105 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34106 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34107 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34110 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34113 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34114 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34115 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34117 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34128 2011-10-24 Andreas Schwab <schwab@redhat.com>
34130 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34132 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34136 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34138 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34140 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34141 Remove unused variable magic_bits.
34142 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34144 * string/strnlen.c: Define and use STRNLEN macro.
34145 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34146 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34148 * wcsmbs/wcslen.c: Define and use WCSLEN.
34149 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34150 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34151 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34152 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34153 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34154 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34155 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34157 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34160 strnlen-sse2-no-bsf.
34161 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34163 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34164 Add strnlen support.
34165 (USE_AS_STRNLEN): New macro.
34166 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34168 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34169 * sysdeps/x86_64/wcslen.S: New file.
34171 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34173 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34174 XMM-moves are used for copying on small sizes.
34176 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34178 * wcsmbs/Makefile (strop-tests): Add wcschr.
34179 * wcsmbs/test-wcschr.c: New file.
34180 * string/test-strchr.c: Update.
34181 Add wcschr support.
34184 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34186 * wcsmbs/Makefile (strop-tests): Add wcslen.
34187 * wcsmbs/test-wcslen.c: New file.
34188 * string/test-strlen.c: Update.
34189 Add wcslen support.
34192 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34194 * po/it.po: Update from translation team.
34196 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34198 * sysdeps/x86_64/wcscmp.S: Update.
34199 Fix wrong comparison semantics.
34200 wcscmp shall use signed comparison not unsigned.
34201 Don't use substraction to avoid overflow bug.
34202 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34203 * wcsmbc/wcscmp.c: Likewise.
34204 * string/test-strcmp.c: Likewise.
34205 Add new tests to check cases with negative values.
34207 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34209 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34210 * sysdeps/x86_64/dla.h: ...here. New file.
34211 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34212 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34221 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34224 __ynl_finite aliases.
34226 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34230 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34232 [DLA_FMA] (EMULV): Use DLA_FMA.
34233 [DLA_FMA] (MUL12): Use EMULV.
34234 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34235 that are not needed.
34236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34244 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34246 * math/s_nan.c: Undef __nan.
34247 * math/s_nanf.c: Undef __nanf.
34248 * math/s_nanl.c: Undef __nanl.
34249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34252 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34254 * math/s_catan.c: Add branch predictions.
34255 * math/s_catanf.c: Likewise.
34256 * math/s_catanh.c: Likewise.
34257 * math/s_catanhf.c: Likewise.
34258 * math/s_catanhl.c: Likewise.
34259 * math/s_catanl.c: Likewise.
34260 * math/s_cexp.c: Likewise.
34261 * math/s_cexpf.c: Likewise.
34262 * math/s_cexpl.c: Likewise.
34263 * math/s_clog.c: Likewise.
34264 * math/s_clog10.c: Likewise.
34265 * math/s_clog10f.c: Likewise.
34266 * math/s_clog10l.c: Likewise.
34267 * math/s_clogf.c: Likewise.
34268 * math/s_clogl.c: Likewise.
34269 * math/s_csqrt.c: Likewise.
34270 * math/s_csqrtf.c: Likewise.
34271 * math/s_csqrtl.c: Likewise.
34272 * math/s_ctanf.c: Likewise.
34273 * math/s_ctanh.c: Likewise.
34274 * math/s_ctanhf.c: Likewise.
34275 * math/s_ctanhl.c: Likewise.
34276 * math/s_ctanl.c: Likewise.
34278 * math/math_private.h: Define __nan, __nanf, __nanl.
34279 * math/s_cacosh.c: Include <math_private.h>.
34280 * math/s_cacoshl.c: Likewise.
34281 * math/s_casinh.c: Likewise.
34282 * math/s_casinhf.c: Likewise.
34283 * math/s_casinhl.c: Likewise.
34284 * math/s_ccos.c: Rely entire on ccosh.
34285 * math/s_ccosf.c: Rely entire on ccoshf.
34286 * math/s_ccosl.c: Rely entirely on ccoshl.
34287 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34288 Remove tests for FE_INVALID.
34289 * math/s_ccoshf.c: Likewise.
34290 * math/s_ccoshl.c: Likewise.
34291 * math/s_csin.c: Likewise.
34292 * math/s_csinf.c: Likewise.
34293 * math/s_csinh.c Likewise.
34294 * math/s_csinhf.c: Likewise.
34295 * math/s_csinhl.c: Likewise.
34296 * math/s_csinl.c: Likewise.
34297 * math/s_ctan.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34299 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34300 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34302 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34305 compilation problems.
34307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34310 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34312 * sysdeps/i386/configure.in: Test for -mfma4 option.
34313 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34314 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34315 COMMON_CPUID_INDEX_80000001.
34316 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34317 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34318 use it if FMA3 is not supported.
34319 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34321 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34322 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34324 2011-10-20 Andreas Schwab <schwab@redhat.com>
34327 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34328 it would create a cycle with a link time dependency.
34330 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34332 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34334 * string/Makefile (strop-tests): Add rawmemchr.
34335 * string/test-rawmemchr.c: New file.
34337 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34338 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34339 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34340 when compiling str{,n}casecmp and when AVX is available. Hook up
34341 new optimized code in initializers.
34343 2011-10-19 Andreas Schwab <schwab@redhat.com>
34345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34346 __feraiseexcept instead of feraiseexcept.
34348 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34350 * math/math_private.h: Define defaults for libc_fetestexcept and
34352 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34353 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34354 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34355 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34357 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34358 libc_fetestexcept and libc_feupdateenv.
34360 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34361 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34362 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34363 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34364 libc_feholdexcept_setround.
34366 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34367 Add s_nearbyint-c and s_nearbyintf-c.
34368 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34369 nearbyintf inlines.
34370 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34372 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34375 * math/math_private.h: Define defaults for libc_fegetround,
34376 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34377 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34378 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34379 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34380 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34381 standard functions.
34382 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34383 Remove comments and hacks for old compiler versions.
34384 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34385 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34386 libc_feholdexceptl.
34388 2011-10-18 Andreas Schwab <schwab@redhat.com>
34390 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34391 (__feraiseexcept_renamed): Add __NTH.
34392 (feraiseexcept): Add __NTH. Rename local variables to fix
34393 namespace violations.
34395 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34397 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34399 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34401 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34402 recently added interfaces.
34403 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34405 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34406 about macro parameter expansion.
34408 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34409 __NO_MATH_INLINES is defined. Cleanups.
34411 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34412 and __floorf is target has SSE4.1.
34413 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34414 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34418 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34420 (floorf): Likewise.
34422 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34424 2011-10-17 Andreas Schwab <schwab@redhat.com>
34426 * misc/sys/cdefs.h: Fix last change.
34428 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34431 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34433 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34435 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34437 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34438 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34440 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34441 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34442 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34443 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34444 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34445 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34446 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34447 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34448 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34449 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34450 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34451 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34452 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34453 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34454 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34455 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34456 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34458 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34459 ceil, ceilf, floor, floorf.
34461 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34462 Perform IRELATIVE relocations last.
34464 * elf/do-rel.h: Add another parameter nrelative, replacing the
34465 local variable with the same name. Change name of the function
34466 to end in Rel or Rela (uppercase).
34467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34468 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34469 elf_dynamic_do_##reloc function.
34471 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34473 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34474 is sufficient, at least on modern CPUs.
34476 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34478 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34481 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34483 * math/bits/math-finite.h: Add entries for exp.
34484 * math/e_expl.c: Add __*_finite alias.
34485 * sysdeps/i386/fpu/e_exp.S: Likewise.
34486 * sysdeps/i386/fpu/e_expf.S: Likewise.
34487 * sysdeps/i386/fpu/e_expl.c: Likewise.
34488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34489 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34492 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34493 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34494 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34496 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34497 is sufficient, at least on modern CPUs.
34499 * ctype/ctype-info.c (__ctype_init): Define.
34500 * include/ctype.h (__ctype_init): Declare.
34501 (__ctype_b_loc): The variable is always initialized.
34502 (__ctype_toupper_loc): Likewise.
34503 (__ctype_tolower_loc): Likewise.
34504 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34505 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34507 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34509 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34511 * configure.in: Also look in $cxxmachine/include for C++ system
34514 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34516 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34517 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34518 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34519 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34521 (USE_AS_WMEMCMP): New macro.
34523 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34524 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34525 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34526 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34528 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34529 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34530 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34531 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34532 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34534 (USE_AS_WMEMCMP): New macro.
34535 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34536 * sysdeps/string/test-memcmp.c: Update.
34537 Fix simple_wmemcmp.
34539 * wcsmbs/wmemcmp.c: Update.
34540 (WMEMCMP): New macro.
34543 2011-10-12 Andreas Jaeger <aj@suse.de>
34546 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34548 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34550 * libio/iofwide.c (do_length): Avoid warning.
34552 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34554 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34556 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34558 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34559 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34560 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34561 * sysdeps/i386/i686/fpu/e_log.S: New file.
34562 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34563 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34565 * ctype/ctype.h: Add support for inlined isXXX functions when
34566 compiling C++ code.
34568 2011-10-14 Andreas Schwab <schwab@redhat.com>
34570 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34572 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34574 2011-10-13 Roland McGrath <roland@hack.frob.com>
34577 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34579 2011-10-13 Andreas Schwab <schwab@redhat.com>
34581 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34582 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34585 * sysdeps/x86_64/memrchr.S: Check for zero size.
34587 * string/stratcliff.c: Add memrchr tests.
34589 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34592 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34593 rawmemchr-sse2 rawmemchr-sse2-bsf.
34594 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34595 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34596 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34597 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34598 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34599 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34600 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34601 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34602 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34603 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34604 * string/memrchr.c (MEMRCHR): New macro.
34606 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34608 Add integration with gcc's -ffinite-math-only and optimize wrapper
34610 * Versions.def: Define GLIBC_2.15 version for libm.
34611 * math/Makefile (headers): Add bits/math-finite.h.
34612 * math/bits/math-finite.h: New file.
34613 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34614 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34615 * math/e_acoshl.c: Add __*_finite alias.
34616 * math/e_acosl.c: Likewise.
34617 * math/e_asinl.c: Likewise.
34618 * math/e_atan2l.c: Likewise.
34619 * math/e_atanhl.c: Likewise.
34620 * math/e_coshl.c: Likewise.
34621 * math/e_exp10.c: Likewise.
34622 * math/e_exp10f.c: Likewise.
34623 * math/e_exp10l.c: Likewise.
34624 * math/e_exp2l.c: Likewise.
34625 * math/e_fmodl.c: Likewise.
34626 * math/e_gammal_r.c: Likewise.
34627 * math/e_hypotl.c: Likewise.
34628 * math/e_j0l.c: Likewise.
34629 * math/e_j1l.c: Likewise.
34630 * math/e_jnl.c: Likewise.
34631 * math/e_lgammal_r.c: Likewise.
34632 * math/e_log10l.c: Likewise.
34633 * math/e_log2l.c: Likewise.
34634 * math/e_logl.c: Likewise.
34635 * math/e_powl.c: Likewise.
34636 * math/e_sinhl.c: Likewise.
34637 * math/e_sqrtl.c: Likewise.
34638 * math/e_scalb.c: Completely rewritten and optimized.
34639 * math/e_scalbf.c: Likewise.
34640 * math/e_scalbl.c: Likewise.
34641 * math/w_acos.c: Likewise.
34642 * math/w_acosf.c: Likewise.
34643 * math/w_acosl.c: Likewise.
34644 * math/w_acosh.c: Likewise.
34645 * math/w_acoshf.c: Likewise.
34646 * math/w_acoshl.c: Likewise.
34647 * math/w_asin.c: Likewise.
34648 * math/w_asinf.c: Likewise.
34649 * math/w_asinl.c: Likewise.
34650 * math/w_atan2.c: Likewise.
34651 * math/w_atan2f.c: Likewise.
34652 * math/w_atan2l.c: Likewise.
34653 * math/w_atanh.c: Likewise.
34654 * math/w_atanhf.c: Likewise.
34655 * math/w_atanhl.c: Likewise.
34656 * math/w_exp10.c: Likewise.
34657 * math/w_exp10f.c: Likewise.
34658 * math/w_exp10l.c: Likewise.
34659 * math/w_fmod.c: Likewise.
34660 * math/w_fmodf.c: Likewise.
34661 * math/w_fmodl.c: Likewise.
34662 * math/w_j0.c: Likewise.
34663 * math/w_j0f.c: Likewise.
34664 * math/w_j0l.c: Likewise.
34665 * math/w_j1.c: Likewise.
34666 * math/w_j1f.c: Likewise.
34667 * math/w_j1l.c: Likewise.
34668 * math/w_jn.c: Likewise.
34669 * math/w_jnf.c: Likewise.
34670 * math/w_log.c: Likewise.
34671 * math/w_logf.c: Likewise.
34672 * math/w_logl.c: Likewise.
34673 * math/w_log10.c: Likewise.
34674 * math/w_log10f.c: Likewise.
34675 * math/w_log10l.c: Likewise.
34676 * math/w_log2.c: Likewise.
34677 * math/w_log2f.c: Likewise.
34678 * math/w_log2l.c: Likewise.
34679 * math/w_pow.c: Likewise.
34680 * math/w_powf.c: Likewise.
34681 * math/w_powl.c: Likewise.
34682 * math/w_remainder.c: Likewise.
34683 * math/w_remainderf.c: Likewise.
34684 * math/w_remainderl.c: Likewise.
34685 * math/w_scalb.c: Likewise.
34686 * math/w_scalbf.c: Likewise.
34687 * math/w_scalbl.c: Likewise.
34688 * math/w_sqrt.c: Likewise.
34689 * math/w_sqrtf.c: Likewise.
34690 * math/w_sqrtl.c: Likewise.
34691 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34692 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34694 * math/math_private.h: Declare __kernel_standard_f.
34695 * math/w_cosh.c: Remove cruft and optimize a bit.
34696 * math/w_coshf.c: Likewise.
34697 * math/w_coshl.c: Likewise.
34698 * math/w_exp2.c: Likewise.
34699 * math/w_exp2f.c: Likewise.
34700 * math/w_exp2l.c: Likewise.
34701 * math/w_hypot.c: Likewise.
34702 * math/w_hypotf.c: Likewise.
34703 * math/w_hypotl.c: Likewise.
34704 * math/w_lgamma.c: Likewise.
34705 * math/w_lgamma_r.c: Likewise.
34706 * math/w_lgammaf.c: Likewise.
34707 * math/w_lgammaf_r.c: Likewise.
34708 * math/w_lgammal.c: Likewise.
34709 * math/w_lgammal_r.c: Likewise.
34710 * math/w_sinh.c: Likewise.
34711 * math/w_sinhf.c: Likewise.
34712 * math/w_sinhl.c: Likewise.
34713 * math/w_tgamma.c: Likewise.
34714 * math/w_tgammaf.c: Likewise.
34715 * math/w_tgammal.c: Likewise.
34716 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34718 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34719 Minor optimizations. Pretty printing. Remove cruft.
34720 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34721 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34722 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34724 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34725 * sysdeps/i386/fpu/e_asin.S: Likewise.
34726 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34727 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34728 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34729 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34732 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34733 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34734 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34735 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34736 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34737 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34738 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34739 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34740 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34741 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34742 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34743 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34744 * sysdeps/i386/fpu/e_log.S: Likewise.
34745 * sysdeps/i386/fpu/e_log10.S: Likewise.
34746 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34747 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34748 * sysdeps/i386/fpu/e_log2.S: Likewise.
34749 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34751 * sysdeps/i386/fpu/e_logf.S: Likewise.
34752 * sysdeps/i386/fpu/e_logl.S: Likewise.
34753 * sysdeps/i386/fpu/e_pow.S: Likewise.
34754 * sysdeps/i386/fpu/e_powf.S: Likewise.
34755 * sysdeps/i386/fpu/e_powl.S: Likewise.
34756 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34757 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34758 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34759 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34760 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34762 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34763 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34764 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34765 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34775 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34778 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34779 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34782 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34786 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34787 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34788 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34789 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34790 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34791 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34792 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34793 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34794 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34799 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34800 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34801 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34802 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34803 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34804 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34805 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34806 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34807 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34809 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34811 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34814 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34815 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34816 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34817 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34818 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34820 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34821 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34822 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34823 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34824 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34825 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34839 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34841 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34848 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34850 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34852 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34853 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34854 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34855 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34858 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34859 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34860 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34861 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34862 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34863 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34864 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34865 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34866 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34867 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34868 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34869 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34873 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34874 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34875 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34876 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34877 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34878 (__isnanf): Likewise.
34879 (__isinf_ns): Likewise.
34880 (__isinf_nsf): Likewise.
34881 (__finite): Likewise.
34882 (__finitef): Likewise.
34883 (__ieee754_sqrt): Define as macro.
34884 (__ieee754_sqrtf): Define as macro.
34885 (__ieee754_sqrtl): Define as macro.
34886 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34888 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34889 __FINITE_MATH_ONLY__ consistent.
34890 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34892 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34894 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34899 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34901 * po/ja.po: Update from translation team.
34903 2011-10-08 Roland McGrath <roland@hack.frob.com>
34905 * locale/programs/locarchive.c (prepare_address_space): New function.
34906 (create_archive, enlarge_archive, open_archive): Use it.
34908 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34909 inside [SHARED], where it is used.
34911 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34913 * nss/getent.c (netgroup_keys): Remove unused variable.
34914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34916 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34918 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34919 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34921 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34922 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34923 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34924 * math/Makefile (libm-calls): Add s_isinf_ns.
34925 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34926 * math/multc3.c: Likewise.
34927 * math/s_casin.c: Likewise.
34928 * math/s_casinf.c: Likewise.
34929 * math/s_casinl.c: Likewise.
34930 * math/s_ccos.c: Likewise.
34931 * math/s_ccosf.c: Likewise.
34932 * math/s_ccosl.c: Likewise.
34933 * math/s_ctan.c: Likewise.
34934 * math/s_ctanf.c: Likewise.
34935 * math/s_ctanh.c: Likewise.
34936 * math/s_ctanhf.c: Likewise.
34937 * math/s_ctanhl.c: Likewise.
34938 * math/s_ctanl.c: Likewise.
34939 * math/w_fmod.c: Likewise.
34940 * math/w_fmodf.c: Likewise.
34941 * math/w_fmodl.c: Likewise.
34942 * math/w_remainder.c: Likewise.
34943 * math/w_remainderf.c: Likewise.
34944 * math/w_remainderl.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34946 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34949 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34950 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34951 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34952 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34954 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34956 * stdio-common/printf_fphex.c: Likewise.
34957 * stdio-common/printf_size.c: Likewise.
34959 * math/e_exp10.c: Include math_private.h using <...> not "...".
34960 * math/e_exp10f.c: Likewise.
34961 * math/e_exp10l.c: Likewise.
34962 * math/e_exp2l.c: Likewise.
34963 * math/e_j0l.c: Likewise.
34964 * math/e_j1l.c: Likewise.
34965 * math/e_jnl.c: Likewise.
34966 * math/e_lgammal_r.c: Likewise.
34967 * math/e_rem_pio2l.c: Likewise.
34968 * math/e_scalb.c: Likewise.
34969 * math/e_scalbf.c: Likewise.
34970 * math/e_scalbl.c: Likewise.
34971 * math/k_cosl.c: Likewise.
34972 * math/k_sinl.c: Likewise.
34973 * math/k_tanl.c: Likewise.
34974 * math/s_cacoshf.c: Likewise.
34975 * math/s_catan.c: Likewise.
34976 * math/s_catanf.c: Likewise.
34977 * math/s_catanh.c: Likewise.
34978 * math/s_catanhf.c: Likewise.
34979 * math/s_catanhl.c: Likewise.
34980 * math/s_catanl.c: Likewise.
34981 * math/s_ccosh.c: Likewise.
34982 * math/s_ccoshf.c: Likewise.
34983 * math/s_ccoshl.c: Likewise.
34984 * math/s_cexp.c: Likewise.
34985 * math/s_cexpf.c: Likewise.
34986 * math/s_cexpl.c: Likewise.
34987 * math/s_clog.c: Likewise.
34988 * math/s_clog10.c: Likewise.
34989 * math/s_clog10f.c: Likewise.
34990 * math/s_clog10l.c: Likewise.
34991 * math/s_clogf.c: Likewise.
34992 * math/s_clogl.c: Likewise.
34993 * math/s_csin.c: Likewise.
34994 * math/s_csinf.c: Likewise.
34995 * math/s_csinh.c: Likewise.
34996 * math/s_csinhf.c: Likewise.
34997 * math/s_csinhl.c: Likewise.
34998 * math/s_csinl.c: Likewise.
34999 * math/s_csqrt.c: Likewise.
35000 * math/s_csqrtf.c: Likewise.
35001 * math/s_csqrtl.c: Likewise.
35002 * math/s_ctan.c: Likewise.
35003 * math/s_ctanf.c: Likewise.
35004 * math/s_ctanh.c: Likewise.
35005 * math/s_ctanhf.c: Likewise.
35006 * math/s_ctanhl.c: Likewise.
35007 * math/s_ctanl.c: Likewise.
35008 * math/s_ldexp.c: Likewise.
35009 * math/s_ldexpf.c: Likewise.
35010 * math/s_ldexpl.c: Likewise.
35011 * math/s_significand.c: Likewise.
35012 * math/s_significandf.c: Likewise.
35013 * math/s_significandl.c: Likewise.
35014 * math/w_acos.c: Likewise.
35015 * math/w_acosf.c: Likewise.
35016 * math/w_acosh.c: Likewise.
35017 * math/w_acoshf.c: Likewise.
35018 * math/w_acoshl.c: Likewise.
35019 * math/w_acosl.c: Likewise.
35020 * math/w_asin.c: Likewise.
35021 * math/w_asinf.c: Likewise.
35022 * math/w_asinl.c: Likewise.
35023 * math/w_atan2.c: Likewise.
35024 * math/w_atan2f.c: Likewise.
35025 * math/w_atan2l.c: Likewise.
35026 * math/w_atanh.c: Likewise.
35027 * math/w_atanhf.c: Likewise.
35028 * math/w_atanhl.c: Likewise.
35029 * math/w_cosh.c: Likewise.
35030 * math/w_coshf.c: Likewise.
35031 * math/w_coshl.c: Likewise.
35032 * math/w_dremf.c: Likewise.
35033 * math/w_exp10.c: Likewise.
35034 * math/w_exp10f.c: Likewise.
35035 * math/w_exp10l.c: Likewise.
35036 * math/w_exp2.c: Likewise.
35037 * math/w_exp2f.c: Likewise.
35038 * math/w_fmod.c: Likewise.
35039 * math/w_fmodf.c: Likewise.
35040 * math/w_fmodl.c: Likewise.
35041 * math/w_hypot.c: Likewise.
35042 * math/w_hypotf.c: Likewise.
35043 * math/w_hypotl.c: Likewise.
35044 * math/w_j0.c: Likewise.
35045 * math/w_j0f.c: Likewise.
35046 * math/w_j0l.c: Likewise.
35047 * math/w_j1.c: Likewise.
35048 * math/w_j1f.c: Likewise.
35049 * math/w_j1l.c: Likewise.
35050 * math/w_jn.c: Likewise.
35051 * math/w_jnf.c: Likewise.
35052 * math/w_jnl.c: Likewise.
35053 * math/w_lgamma.c: Likewise.
35054 * math/w_lgamma_r.c: Likewise.
35055 * math/w_lgammaf.c: Likewise.
35056 * math/w_lgammaf_r.c: Likewise.
35057 * math/w_lgammal.c: Likewise.
35058 * math/w_lgammal_r.c: Likewise.
35059 * math/w_log.c: Likewise.
35060 * math/w_log10.c: Likewise.
35061 * math/w_log10f.c: Likewise.
35062 * math/w_log10l.c: Likewise.
35063 * math/w_log2.c: Likewise.
35064 * math/w_log2f.c: Likewise.
35065 * math/w_log2l.c: Likewise.
35066 * math/w_logf.c: Likewise.
35067 * math/w_logl.c: Likewise.
35068 * math/w_pow.c: Likewise.
35069 * math/w_powf.c: Likewise.
35070 * math/w_powl.c: Likewise.
35071 * math/w_remainder.c: Likewise.
35072 * math/w_remainderf.c: Likewise.
35073 * math/w_remainderl.c: Likewise.
35074 * math/w_scalb.c: Likewise.
35075 * math/w_scalbf.c: Likewise.
35076 * math/w_scalbl.c: Likewise.
35077 * math/w_sinh.c: Likewise.
35078 * math/w_sinhf.c: Likewise.
35079 * math/w_sinhl.c: Likewise.
35080 * math/w_sqrt.c: Likewise.
35081 * math/w_sqrtf.c: Likewise.
35082 * math/w_sqrtl.c: Likewise.
35083 * math/w_tgamma.c: Likewise.
35084 * math/w_tgammaf.c: Likewise.
35085 * math/w_tgammal.c: Likewise.
35087 * po/ja.po: Update from translation team.
35089 2011-09-29 Andreas Jaeger <aj@suse.de>
35092 * sunrpc/netname.c (netname2host): Fix logic.
35096 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35098 * math/w_remainder.c (__remainder): Likewise.
35099 * math/w_remainderf.c (__remainderf): Likewise.
35100 * math/libm-test.inc (remainder_test): Add test cases.
35102 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35104 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35107 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35109 * string/test-memcmp.c: Avoid unncessary #defines.
35110 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35112 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35114 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35115 Use new sse2 version for core i3 - i7 as it's faster
35116 than sse42 version.
35117 (bit_Prefer_PMINUB_for_stringop): New.
35118 * sysdeps/x86_64/rawmemchr.S: Update.
35119 Replace with faster SSE2 version.
35120 * sysdeps/x86_64/memrchr.S: New file.
35121 * sysdeps/x86_64/memchr.S: Update.
35122 Replace with faster SSE2 version.
35124 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35126 * elf/dl-load.c (lose): Add cast to avoid warning.
35128 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35130 * po/ca.po: Update from translation team.
35132 * inet/getnetgrent_r.c: Hook up nscd.
35133 * nscd/Makefile (routines): Add nscd_netgroup.
35134 (nscd-modules): Add netgroupcache.
35135 (CFLAGS-netgroupcache.c): Define.
35136 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35137 (cache_search): Add const to second parameter.
35138 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35140 (dbs): Add netgrdb entry.
35141 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35142 (verify_persistent_db): Handle netgrdb.
35143 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35144 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35146 (netgroup_response_header): Define.
35147 (innetgroup_response_header): Define.
35148 (datahead): Add netgroup_response_header and innetgroup_response_header
35150 * nscd/nscd.conf: Add entries for netgroup cache.
35151 * nscd/nscd.h (dbtype): Add netgrdb.
35152 (_PATH_NSCD_NETGROUP_DB): Define.
35153 (netgroup_iov_disabled): Declare.
35154 (xmalloc, xcalloc, xrealloc): Move declarations here.
35155 (cache_search): Adjust prototype.
35156 Add netgroup-related prototypes.
35157 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35158 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35159 (__nscd_innetgr): Declare.
35160 * nscd/selinux.c (perms): Use access_vector_t as element type and
35161 add netgroup-related initializers.
35162 * nscd/netgroupcache.c: New file.
35163 * nscd/nscd_netgroup.c: New file.
35164 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35165 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35166 For four parameters use innetgr.
35167 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35168 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35169 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35170 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35172 * nscd/connections.c (register_traced_file): Don't register file
35173 for disabled databases.
35175 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35177 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35179 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35180 from tree and freeing node.
35182 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35184 * nss/nsswitch.c (__nss_database_lookup): Handle
35185 nss_parse_service_list out of memory case.
35187 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35189 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35190 out of memory case.
35192 2011-10-04 Andreas Schwab <schwab@redhat.com>
35194 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35195 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35197 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35198 elf_machine_rela, elf_machine_lazy_rel.
35199 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35200 (ELF_DYNAMIC_DO_REL): Likewise.
35201 (ELF_DYNAMIC_DO_RELA): Likewise.
35202 (ELF_DYNAMIC_RELOCATE): Likewise.
35203 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35204 to ELF_DYNAMIC_DO_REL.
35205 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35206 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35207 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35209 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35210 skip_ifunc, don't call ifunc function if non-zero.
35211 (elf_machine_rela): Likewise.
35212 (elf_machine_lazy_rel): Likewise.
35213 (elf_machine_lazy_rela): Likewise.
35214 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35215 (elf_machine_lazy_rel): Likewise.
35216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35218 (elf_machine_lazy_rel): Likewise.
35219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35221 (elf_machine_lazy_rel): Likewise.
35222 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35223 (elf_machine_lazy_rel): Likewise.
35224 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35225 (elf_machine_lazy_rel): Likewise.
35226 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35227 (elf_machine_lazy_rel): Likewise.
35228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35229 (elf_machine_lazy_rel): Likewise.
35230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35231 (elf_machine_lazy_rel): Likewise.
35232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35233 (elf_machine_lazy_rel): Likewise.
35235 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35237 * nss/nss_files/files-init.c (_nss_files_init): Use static
35238 initialization for all the *_traced_file variables.
35240 2011-09-28 Andreas Schwab <schwab@redhat.com>
35242 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35244 2011-09-27 Roland McGrath <roland@hack.frob.com>
35247 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35249 2011-09-27 Andreas Schwab <schwab@redhat.com>
35251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35252 Reread the line before reparsing it.
35254 2011-09-26 Andreas Schwab <schwab@redhat.com>
35256 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35258 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35259 Maxim Kuvyrkov <maxim@codesourcery.com>
35260 Joseph Myers <joseph@codesourcery.com>
35262 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35263 if needed for __stack_chk_guard.
35265 2011-09-19 Roland McGrath <roland@hack.frob.com>
35267 * sysdeps/posix/spawni.c (script_execute): Always define it.
35268 It will be optimized away if unused.
35269 (maybe_script_execute): New function.
35270 (__spawni): Call it.
35272 * Makerules: Don't include tls.make.
35273 (config-tls): Always set to thread.
35274 * tls.make.c: File removed.
35276 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35278 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35279 * config.make.in (CPPFLAGS-config): New substituted variable.
35281 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35283 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35286 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35287 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35289 2011-09-15 Roland McGrath <roland@hack.frob.com>
35291 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35292 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35294 (CALL_FAIL): Likewise.
35295 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35296 (CALL_FAIL): Macro removed.
35297 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35299 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35301 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35302 for __FINITE_MATH_ONLY__ == 1.
35304 2011-09-15 Andreas Schwab <schwab@redhat.com>
35306 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35307 __ieee754_sqrt instead of sqrt.
35308 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35309 __ieee754_sqrtf instead of sqrtf.
35310 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35311 __floorf instead of floorf.
35312 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35313 __floorf, __truncf instead of floorf, truncf.
35315 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35317 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35319 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35320 __extern_always_inline.
35321 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35324 2011-09-14 Andreas Schwab <schwab@redhat.com>
35326 * elf/rtld.c (dl_main): Also relocate in dependency order when
35327 doing symbol dependency testing.
35329 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35331 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35332 Always define `refsym'.
35334 2011-09-13 Andreas Schwab <schwab@redhat.com>
35336 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35337 (__FD_ELT): Renamed from __FDELT.
35338 * misc/bits/select2.h (__FD_ELT): Likewise.
35339 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35340 __FD_MASK instead of __FDELT, __FDMASK.
35341 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35343 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35346 * elf/Makefile (gen-ldd): Fix pattern.
35348 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35349 (init_tls): Likewise.
35351 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35355 2011-09-12 Andreas Schwab <schwab@redhat.com>
35357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35358 `struct cmsghdr *' instead of `void *'.
35359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35362 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35364 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35366 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35367 ldd_rewrite_script.
35369 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35371 * configure.in: Remove --with-tls option.
35372 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35373 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35374 out in case it is missing.
35375 * sysdeps/ia64/elf/configure.in: Likewise.
35376 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35377 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35378 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35379 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35380 * sysdeps/sh/elf/configure.in: Likewise.
35381 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35382 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35383 * sysdeps/x86_64/elf/configure.in: Likewise.
35384 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35385 * sysdeps/mach/hurd/tls.h: Likewise.
35388 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35391 * configure.in: Fix use of AC_INIT.
35393 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35395 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35397 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35399 * malloc/hooks.c: Likewise.
35402 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35403 variables statically.
35404 (narenas): Initialize.
35405 (list_lock): Initialize.
35406 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35407 initializtion of main_arena and list_lock. Small cleanups.
35408 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35409 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35410 Add initializers to main_arena and mp_.
35411 (malloc_state): Remove pagesize member. Change all users to use
35414 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35415 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35416 is always initialized.
35418 * malloc/malloc.c: Removed unused configurations and dead code.
35419 * malloc/arena.c: Likewise.
35420 * malloc/hooks.c: Likewise.
35421 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35423 * include/tls.h: Removed. USE___THREAD must always be defined.
35424 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35425 * elf/dl-libc.c: Likewise.
35426 * elf/dl-tsd.c: Likewise.
35427 * include/errno.h: Likewise.
35428 * include/netdb.h: Likewise.
35429 * include/resolv.h: Likewise.
35430 * inet/herrno-loc.c: Likewise.
35431 * inet/herrno.c: Likewise.
35432 * malloc/arena.c: Likewise.
35433 * malloc/hooks.c: Likewise.
35434 * malloc/malloc.c: Likewise.
35435 * resolv/res-state.c: Likewise.
35436 * resolv/res_libc.c: Likewise.
35437 * sysdeps/i386/dl-machine.h: Likewise.
35438 * sysdeps/ia64/dl-machine.h: Likewise.
35439 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35441 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35442 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35443 * sysdeps/sh/dl-machine.h: Likewise.
35444 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35445 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35446 * sysdeps/unix/i386/sysdep.S: Likewise.
35447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35448 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35449 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35453 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35458 * sysdeps/x86_64/dl-machine.h: Likewise.
35459 * tls.make.c: Likewise.
35461 * configure.in: Remove --with-__thread option. Make tests for
35462 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35463 tls_model attribute fail if no support is available. Remove
35465 * Makeconfig: Adjust for dropped configure option. All features are
35467 * Makerules: Likewise.
35468 * Versions.def: Likewise.
35469 * argp/argp-fmtstream.c: Likewise.
35470 * argp/argp-fmtstream.h: Likewise.
35471 * argp/argp-help.c: Likewise.
35472 * assert/assert.c: Likewise.
35473 * config.h.in: Likewise.
35474 * config.make.in: Likewise.
35475 * configure: Likewise.
35476 * configure.in: Likewise.
35477 * csu/Versions: Likewise.
35478 * csu/init.c: Likewise.
35479 * elf/tst-audit2.c: Likewise.
35480 * elf/tst-tls10.c: Likewise.
35481 * elf/tst-tls10.h: Likewise.
35482 * elf/tst-tls11.c: Likewise.
35483 * elf/tst-tls12.c: Likewise.
35484 * elf/tst-tls14.c: Likewise.
35485 * elf/tst-tlsmod11.c: Likewise.
35486 * elf/tst-tlsmod12.c: Likewise.
35487 * elf/tst-tlsmod13.c: Likewise.
35488 * elf/tst-tlsmod13a.c: Likewise.
35489 * elf/tst-tlsmod14a.c: Likewise.
35490 * elf/tst-tlsmod15b.c: Likewise.
35491 * elf/tst-tlsmod16a.c: Likewise.
35492 * elf/tst-tlsmod16b.c: Likewise.
35493 * elf/tst-tlsmod7.c: Likewise.
35494 * elf/tst-tlsmod8.c: Likewise.
35495 * elf/tst-tlsmod9.c: Likewise.
35496 * gmon/gmon.c: Likewise.
35497 * grp/fgetgrent_r.c: Likewise.
35498 * grp/putgrent.c: Likewise.
35499 * hurd/fopenport.c: Likewise.
35500 * include/libc-symbols.h: Likewise.
35501 * include/tls.h: Likewise.
35502 * intl/gettextP.h: Likewise.
35503 * intl/loadinfo.h: Likewise.
35504 * locale/global-locale.c: Likewise.
35505 * locale/localeinfo.h: Likewise.
35506 * mach/devstream.c: Likewise.
35507 * malloc/arena.c: Likewise.
35508 * malloc/set-freeres.c: Likewise.
35509 * misc/err.c: Likewise.
35510 * misc/getttyent.c: Likewise.
35511 * misc/mntent_r.c: Likewise.
35512 * posix/getopt.c: Likewise.
35513 * posix/wordexp.c: Likewise.
35514 * pwd/fgetpwent_r.c: Likewise.
35515 * resolv/Versions: Likewise.
35516 * resolv/res_hconf.c: Likewise.
35517 * shadow/fgetspent_r.c: Likewise.
35518 * shadow/putspent.c: Likewise.
35519 * stdio-common/printf_fphex.c: Likewise.
35520 * stdio-common/tmpfile.c: Likewise.
35521 * stdlib/abort.c: Likewise.
35522 * stdlib/fmtmsg.c: Likewise.
35523 * sunrpc/auth_unix.c: Likewise.
35524 * sunrpc/clnt_perr.c: Likewise.
35525 * sunrpc/clnt_tcp.c: Likewise.
35526 * sunrpc/clnt_udp.c: Likewise.
35527 * sunrpc/clnt_unix.c: Likewise.
35528 * sunrpc/openchild.c: Likewise.
35529 * sunrpc/svc_simple.c: Likewise.
35530 * sunrpc/svc_tcp.c: Likewise.
35531 * sunrpc/svc_udp.c: Likewise.
35532 * sunrpc/svc_unix.c: Likewise.
35533 * sunrpc/xdr.c: Likewise.
35534 * sunrpc/xdr_array.c: Likewise.
35535 * sunrpc/xdr_rec.c: Likewise.
35536 * sunrpc/xdr_ref.c: Likewise.
35537 * sunrpc/xdr_stdio.c: Likewise.
35539 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35541 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35543 2011-07-03 Andreas Jaeger <aj@suse.de>
35545 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35546 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35547 regenerate with gen-libm-tests.pl.
35549 2010-05-12 Petr Baudis <pasky@suse.cz>
35552 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35553 around j0() zero points by switching to j1().
35554 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35559 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35561 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35563 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35566 Patch in part by Pavel Roskin <proski@gnu.org>.
35569 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35571 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35572 Free memory block if necessary.
35575 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35576 be NULL. Don't lock in this case.
35578 2011-09-09 Roland McGrath <roland@hack.frob.com>
35580 * elf/elf.h (ELFOSABI_GNU): New macro.
35581 (ELFOSABI_LINUX): Define to that.
35583 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35585 * string/strncat.c (strncat): Undef the symbol in case it has been
35586 defined in bits/string.h.
35588 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35590 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35592 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35595 2011-08-17 Andreas Jaeger <aj@suse.de>
35597 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35599 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35600 Ian Lance Taylor <iant@google.com>
35602 * math/libm-test.inc (lround_test): New testcase.
35603 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35605 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35607 * Makefile: Remove support for automatic cvs check-ins.
35608 * Makerules: Likewise.
35609 * config.make.in: Likewise.
35610 * configure.in: Likewise.
35611 * intl/Makefile: Likewise.
35612 * locale/Makefile: Likewise.
35613 * po/Makefile: Likewise.
35614 * posix/Makefile: Likewise.
35615 * sysdeps/gnu/Makefile: Likewise.
35616 * sysdeps/mach/hurd/Makefile: Likewise.
35617 * sysdeps/sparc/sparc32/Makefile: Likewise.
35620 * posix/Makefile (bug-regex32-ENV): Define.
35621 Patch by John Stanley <jpsinthemix@verizon.net>.
35623 * misc/Makefile (headers): Add bits/select2.h.
35624 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35625 * misc/bits/select2.h: New file.
35626 * include/bits/select2.h: New file.
35627 * debug/Makefile (routines): Add fdelt_chk.
35628 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35629 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35631 * debug/fdelt_chk.c: New file.
35633 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35634 * wcsmbs/test-wmemcmp.c: Likewise.
35635 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35636 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35638 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35640 * string/Makefile (strop-tests): Add memcmp.
35641 * string/test-wmemcmp.c: New file.
35642 * string/test-memcmp.c: Add wmemcmp support.
35644 2011-09-08 Roland McGrath <roland@hack.frob.com>
35647 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35650 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35651 garbage value in a __mach_port_mod_refs call in the cases of the
35652 task-self and thread-self ports.
35654 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35656 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35658 2011-09-08 Andreas Schwab <schwab@redhat.com>
35660 * elf/dl-load.c (lose): Check for non-null L.
35662 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35664 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35666 * elf/dl-libc.c (dlerror_run): Pass back error code from
35670 * elf/dl-load.c (lose): Free l_origin if it is valid.
35672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35678 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35679 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35681 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35683 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35684 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35685 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35686 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35687 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35688 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35689 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35690 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35691 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35692 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35694 2011-08-15 Alan Modra <amodra@gmail.com>
35697 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35698 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35699 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35700 ppc_mcount to static-only-routines.
35701 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35703 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35704 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35706 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35708 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35709 for finite and infinity parameters.
35711 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35714 and add nop instructions for throughput optimization.
35715 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35717 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35720 aligned copy for power7 with vector-scalar instructions.
35721 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35723 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35728 2011-09-07 Andreas Schwab <schwab@redhat.com>
35731 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35734 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35737 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35738 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35739 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35742 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35745 Forgot to demangle the pointer.
35747 * sysdeps/i386/sysdep.h: Define atom_text_section.
35748 * sysdeps/x86_64/sysdep.h: Likewise.
35749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35750 section with atom_text_section.
35751 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35753 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35757 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35759 already be defined. Change to take two parameters and don't assign
35760 result to variable. Adjust all users.
35761 Define INTERNAL_GETTIME if not already defined.
35762 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35765 HAVE_CLOCK_GETTIME_VSYSCALL.
35766 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35769 gettimeofday vsyscall, just use time.
35771 2011-09-06 Andreas Schwab <schwab@redhat.com>
35773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35776 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35778 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35782 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35784 syscall if possible.
35786 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35788 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35789 e_ident. Don't pass to find_mapsXX.
35790 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35792 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35795 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35796 * sysdeps/x86_64/multiarch/strchr.S: Update.
35797 Check bit_slow_BSF bit.
35798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35799 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35800 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35802 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35805 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35807 (tryshell): Define.
35808 (__spawni): Change last parameter to be flag. Test
35809 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35810 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35811 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35812 * posix/spawni.c: Likewise.
35813 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35814 * posix/spawnp.c: Likewise. Change normal version to use
35815 SPAWN_XFLAGS_USE_PATH.
35816 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35817 SPAWN_XFLAGS_TRY_SHELL.
35820 * posix/glob.h: Remove gcc 1.x support.
35823 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35825 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35828 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35830 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35831 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35833 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35834 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35837 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35839 * sysdeps/x86_64/wcscmp.S: New file.
35841 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35842 wcscmp-c wcscmp-sse2
35843 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35844 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35845 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35846 * wcsmbs/wcscmp.c: Allow renaming.
35848 2011-09-05 David S. Miller <davem@davemloft.net>
35850 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35851 stack slot, rather than the struct return pointer slot.
35852 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35853 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35857 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35859 * po/ja.po: Update from translation team.
35862 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35863 kernel in 64-bit binaries.
35865 2011-09-01 David S. Miller <davem@davemloft.net>
35867 * elf/elf.h (HWCAP_SPARC_*): Move to..
35868 * sysdeps/sparc/sysdep.h: this new file and add new values.
35869 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35870 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35871 _DL_HWCAP_COUNT to 24.
35872 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35874 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35875 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35876 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35878 instead of magic constants.
35879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35881 2011-08-31 David S. Miller <davem@davemloft.net>
35883 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35885 Reimplement to do errno handling inline.
35886 (SYSCALL_ERROR_HANDLER): New macro.
35887 (__SYSCALL_STRING): Do not do errno handling in asm.
35888 (__CLONE_SYSCALL_STRING): Delete.
35889 (__INTERNAL_SYSCALL_STRING): Delete.
35890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35891 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35892 (PSEUDO): Reimplement to do errno handling inline.
35893 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35894 (SYSCALL_ERROR_HANDLER): New macro.
35895 (__SYSCALL_STRING): Do not do errno handling in asm.
35896 (__CLONE_SYSCALL_STRING): Delete.
35897 (__INTERNAL_SYSCALL_STRING): Delete.
35898 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35899 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35901 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35902 (inline_syscall*): Add 'err' argument.
35903 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35904 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35905 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35906 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35908 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35909 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35911 2011-08-30 Andreas Schwab <schwab@redhat.com>
35913 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35915 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35917 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35920 2011-08-24 David S. Miller <davem@davemloft.net>
35922 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35924 2011-08-24 Andreas Schwab <schwab@redhat.com>
35926 * elf/Makefile: Add rules to build and run unload8 test.
35927 * elf/unload8.c: New file.
35928 * elf/unload8mod1.c: New file.
35929 * elf/unload8mod1x.c: New file.
35930 * elf/unload8mod2.c: New file.
35931 * elf/unload8mod3.c: New file.
35933 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35936 2011-08-23 David S. Miller <davem@davemloft.net>
35938 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35939 subtract stack bias.
35940 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35941 %sp not %fp in calculations.
35942 (_JMPBUF_UNWINDS_ADJ): Likewise.
35944 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35945 (aio_suspend): Call it to force an exception region around the
35946 AIO_MISC_WAIT() invocation.
35948 2011-08-23 Andreas Schwab <schwab@redhat.com>
35950 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35953 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35955 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35957 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35958 and <dl-machine.h>.
35959 (Elf64_FuncDesc): Remove.
35961 2011-08-22 David S. Miller <davem@davemloft.net>
35963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35964 sigaltstack check, add missing cfi directives.
35965 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35966 missing cfi directives, and sigaltstack handling.
35968 2011-08-16 Andreas Schwab <schwab@redhat.com>
35971 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35972 object is seen twice.
35973 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35975 * elf/Makefile (distribute): Add tst-initorder2.c.
35976 (tests): Add tst-initorder2.
35977 (modules-names): Add tst-initorder2a tst-initorder2b
35978 tst-initorder2c tst-initorder2d. Add rules to build them.
35979 ($(objpfx)tst-initorder2.out): New rule.
35980 * elf/tst-initorder2.c: New file.
35981 * elf/tst-initorder2.exp: New file.
35983 2011-08-22 Andreas Schwab <schwab@redhat.com>
35985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35987 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35988 dependencies back to end of function.
35990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35991 $(elfobjdir)/ld.so.
35993 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35996 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35998 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35999 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36000 of __vdso_gettimeofday.
36001 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36002 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36004 (_libc_vdso_platform_setup): Remove initialization of
36005 __vdso_gettimeofday and __vdso_time.
36007 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36009 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36010 and fgetc_unlocked.
36011 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36014 * elf/dl-open.c (add_to_global): Report additions to the global scope
36015 for LD_DEBUG=scopes.
36016 (dl_open_worker): Also print scope of newly loaded dependencies.
36017 (_dl_show_scope): Indicate if there is no scope.
36020 * stdio-common/Makefile (tests): Add bug24.
36021 * stdio-common/bug24.c: New file.
36023 2011-08-19 Andreas Jaeger <aj@suse.de>
36026 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36027 non-existant file when using close-on-exec mode.
36029 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36032 the very first instruction.
36034 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36035 the CFI state in the end.
36036 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36037 inclusion of dl-trampoline.h.
36038 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36040 2011-08-19 Andreas Schwab <schwab@redhat.com>
36042 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36043 expectations for long double.
36045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36046 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36048 2011-08-14 David S. Miller <davem@davemloft.net>
36050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36051 artificual limit depends upon the system page size.
36053 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36055 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36056 * resolv/Makefile: Define CFLAGS-libresolv.
36058 2011-08-17 Andreas Schwab <schwab@redhat.com>
36060 * nss/makedb.c (compute_tables): Make variables used in nested
36063 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36065 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36066 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36067 if buffer was too small.
36069 * elf/pldd.c (main): Attach to all threads in the process.
36070 Rewrite /proc handling to use *at functions.
36072 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36074 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36075 specifies first scope to show.
36076 (dl_open_worker): Update callers. Move printing scope of new
36077 object to before the relocation.
36078 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36079 * sysdeps/generic/ldsodefs.h: Update declaration.
36081 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36082 string for the scope number.
36084 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36086 * nscd/servicescache.c (cache_addserv): Make sure written is always
36089 2011-08-14 Roland McGrath <roland@hack.frob.com>
36091 * sysdeps/i386/i486/bits/atomic.h
36092 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36093 statement expression, so as to suppress "set but not used" warning.
36094 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36096 * string/strncat.c (STRNCAT): Use prototype definition.
36098 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36099 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36101 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36102 (localedef-modules): Add localedef.
36103 (locale-modules): Add locale.
36105 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36106 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36107 to avoid a warning.
36109 2011-08-14 David S. Miller <davem@davemloft.net>
36111 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36112 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36114 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36116 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36117 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36118 * elf/rtld.c (dl_main): Set l_name of vDSO.
36119 Call _dl_show_scope when DL_DEBUG_SCOPES.
36120 (process_dl_debug): Recognize scopes flag and also set it for all.
36121 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36122 Declare _dl_show_scope.
36124 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36125 (do_dlopen): Pass caller_dlopen to dl_open.
36126 (__libc_dlopen_mode): Initialize caller_dlopen.
36128 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36129 of libc. Make tolower call locale-independent. Optimize a bit by
36130 using isdigit instead of isalnum.
36131 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36133 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36135 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36136 was a dependency or dynamically loaded.
36138 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36140 * intl/l10nflist.c: Allow architecture-specific pop function.
36141 * sysdeps/x86_64/l10nflist.c: New file.
36143 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36146 2011-08-10 Andreas Schwab <schwab@redhat.com>
36148 * include/dirent.h: Add libc_hidden_proto for scandirat and
36149 scandirat64. Don't declare __scandirat64.
36150 * dirent/scandirat.c: Add libc_hidden_def.
36151 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36152 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36154 2011-08-10 David S. Miller <davem@davemloft.net>
36156 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36160 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36162 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36164 * Versions.def [libc]: Add GLIBC_2.15.
36165 * dirent/Makefile (routines): Add scandirat and scandirat64.
36166 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36168 * dirent/dirent.h: Declare scandirat and scandirat64.
36169 * dirent/scandirat.c: New file.
36170 * dirent/scandirat64.c: New file.
36171 * sysdeps/wordsize-64/scandirat.c: New file.
36172 * sysdeps/wordsize-64/scandirat64.c: New file.
36173 * dirent/opendir.c: Define opendirat.
36174 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36176 * dirent/scandir64.c: Adjust for scandir.c change.
36177 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36178 __scandirat64, and __scandir_cancel_handler.
36179 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36180 additional parameter and use openat instead of open (outside of ld.so).
36181 Add new __opendir as wrapper around __opendirat.
36182 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36183 here without requiring old scandirat implementation.
36185 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36187 * dirent/scandir.c (cancel_handler): Renamed to
36188 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36189 defined. Adjust users.
36190 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36191 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36193 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36195 * string/test-string.h (IMPL): Use __STRING to expand name and then
36198 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36201 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36203 * string/Makefile: Update.
36204 (strop-tests): Append strncat.
36205 * string/test-wcscmp.c: New file.
36206 New comprehensive test for wcscmp.
36207 * string/test-strcmp.c: Update.
36208 (WIDE): New define.
36210 2011-07-22 Andreas Schwab <schwab@redhat.com>
36212 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36215 2011-07-26 Andreas Schwab <schwab@redhat.com>
36217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36218 encoding to ACE if AI_IDN.
36220 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36223 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36225 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36227 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36228 Fix overflow bug in strncat.
36229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36231 * string/test-strncat.c: Update.
36232 Add new tests for checking overflow bugs.
36234 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36237 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36238 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36239 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36241 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36242 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36243 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36244 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36247 (USE_AS_STRCAT): Define.
36248 Add strcat and strncat support.
36249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36251 2011-07-25 Andreas Schwab <schwab@redhat.com>
36253 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36254 __n bigger than INT_MAX+1.
36255 (__strncmp_g): Likewise.
36257 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36259 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36260 * libio/stido.h: Likewise.
36262 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36267 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36268 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36270 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36271 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36274 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36279 (_dl_x86_64_save_sse): Likewise.
36281 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36285 (_dl_x86_64_save_sse): Likewise.
36287 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36289 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36291 2011-07-21 Andreas Schwab <schwab@redhat.com>
36293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36295 (_dl_x86_64_save_sse): Use correct AVX check.
36297 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36299 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36300 bug in strncpy/strncat.
36301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36303 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36305 * string/tester.c (test_strcat): Add tests for different alignments
36306 of source and destination.
36307 (test_strncat): Likewise.
36309 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36312 * posix/glob.c (glob): Check passed in values before using them in
36313 expressions to avoid some overflows.
36314 (glob_in_dir): Likewise.
36317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36318 check for AVX enablement so that we don't crash with old kernels and
36320 * elf/tst-audit4.c: Add same checks here.
36321 * elf/tst-audit6.c: Likewise.
36323 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36325 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36327 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36329 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36331 * po/cs.po: Update from translation team.
36332 * po/bg.po: Likewise.
36334 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36336 * misc/sys/cdefs.h: Add support for const attribute.
36337 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36338 to gnu_dev_{major,minor,makedev} functions.
36340 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36342 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36344 2011-07-20 Andreas Schwab <schwab@redhat.com>
36346 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36349 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36352 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36353 register in order to avoid conflicts with the soft frame pointer
36354 being held in r11 when necessary.
36355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36356 (INTERNAL_VSYSCALL_NCS): Likewise.
36358 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36360 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36361 * elf/dl-fini.c (_dl_fini): Adjust caller.
36362 * elf/dl-close.c (_dl_close_worker): Likewise.
36363 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36365 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36367 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36368 "aux_cache->nlibs < 0".
36370 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36371 in the reload-count case.
36373 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36376 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36377 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36378 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36379 * sysdeps/x86_64/multiarch/strcat.S: New file.
36380 * sysdeps/x86_64/multiarch/strncat.S: New file.
36381 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36382 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36383 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36384 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36385 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36386 (USE_AS_STRCAT): Define.
36387 Add strcat and strncat support.
36388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36389 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36390 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36391 * string/strncat.c: Update.
36392 (USE_AS_STRNCAT): Define.
36393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36394 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36396 * sysdeps/x86_64/multiarch/init-arch.h
36397 (bit_Prefer_PMINUB_for_stringop): New.
36398 (index_Prefer_PMINUB_for_stringop): Likewise.
36399 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36400 bit_Prefer_PMINUB_for_stringop.
36402 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36404 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36406 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36407 of casting of buffer.
36408 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36409 buffer32 and buffer64.
36410 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36411 writes instead of casting of buffer.
36412 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36414 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36417 2011-07-19 Andreas Schwab <schwab@redhat.com>
36419 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36421 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36423 * nscd/nscd.c (termination_handler): Don't do anything for a database
36424 if it has not yet been initialized.
36426 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36428 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36430 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36432 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36434 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36436 * po/nl.po: Update from translation team.
36437 * po/sv.po: Likewise.
36439 2011-07-16 Roland McGrath <roland@hack.frob.com>
36441 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36442 now disallowed by GCC.
36444 * configure.in (use-default-link): Default to yes if a test -shared
36445 link meets our qualifications.
36446 * configure: Regenerated.
36448 * config.make.in (output-format): New variable.
36449 * configure.in: Check for ld --print-output-format support.
36450 * configure: Regenerated.
36451 * Makerules ($(common-objpfx)format.lds)
36452 [$(output-format) != unknown]: Just use $(output-format),
36453 instead of the linker-script munging.
36455 2011-07-14 Roland McGrath <roland@hack.frob.com>
36457 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36458 of $(common-objpfx)shlib.lds.
36459 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36461 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36462 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36464 * configure.in (-z relro check): Adjust test code to add a large
36465 writable data section after it.
36466 * configure: Regenerated.
36468 2011-07-11 Roland McGrath <roland@hack.frob.com>
36470 * configure.in (-z relro check): Fix test code to make the variable
36472 * configure: Regenerated.
36474 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36476 * nscd/nscd.h (struct traced_file): Define.
36477 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36478 elements. Add traced_files.
36479 (inotify_fd): Declare.
36480 (register_traced_file): Declare.
36481 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36482 (inotify_fd): Export.
36483 (resolv_conf_descr): Remove.
36484 (nscd_init): Move inotify descriptor creation to main.
36485 Don't register files for notification here.
36486 (register_traced_file): New function.
36487 (invalidate_cache): Don't use reset_res to determine whether to call
36488 res_init, go through the list of registered files.
36489 (main_loop_poll): The inotify descriptors are now stored in the
36490 structures for the traced files.
36491 (main_loop_epoll): Likewise
36492 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36493 to __nss_disable_nscd.
36494 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36495 for a database anymore. Check the records for all the registered
36497 * nss/Makefile (libnss_files-routines): Add files-init.
36498 (libnss_db-routines): Add db-init.
36499 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36500 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36501 * nss/nss_db/db-init.c: New file.
36502 * nss/nss_files/files-init.c: New file.
36503 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36504 __nss_lookup_function.
36505 (__nss_lookup_function): Call nss_load_library.
36506 (nss_load_all_libraries): New function.
36507 (__nss_disable_nscd): Take parameter with callback function for files
36508 to register. Set is_nscd. Load all the DSOs for the NSS modules
36509 used for the cached services.
36510 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36511 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36512 options for features to all the files in nscd.
36514 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36516 2011-07-10 Roland McGrath <roland@hack.frob.com>
36518 * csu/elf-init.c (__libc_csu_init): Comment typo.
36520 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36522 * po/pl.po: Update from translation team.
36523 * po/ja.po: Likewise.
36524 * po/ru.po: Likewise.
36525 * po/ko.po: Likewise.
36526 * po/fr.po: Likewise.
36528 2011-07-09 Roland McGrath <roland@hack.frob.com>
36530 * configure.in (.ctors/.dtors header and trailer check):
36531 Use an empirical test on a built program.
36532 * configure: Regenerated.
36534 * configure.in (-z relro check): Use an empirical test on a built DSO.
36535 Detect, but do not require, on ia64.
36536 * configure: Regenerated.
36538 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36539 Update tests that use readelf to use $READELF instead.
36540 * configure: Regenerated.
36542 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36544 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36545 if the result is not used.
36547 2011-07-05 Andreas Jaeger <aj@suse.de>
36550 * stdlib/tst-strtod.c: Add testcase.
36552 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36554 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36555 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36556 The latter has a higher limit. Take additional parameter to pass to
36558 (__pathconf): Pass file to __statfs_link_max.
36559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36561 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36565 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36569 (__statfs_filesize_max): Likewise.
36570 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36572 2011-07-05 Andreas Jaeger <aj@suse.de>
36574 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36576 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36578 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36580 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36583 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36585 * Makefile (strop-tests): Add strncat.
36586 * string/test-strncat.c: New file.
36588 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36590 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36592 2011-06-21 Andreas Jaeger <aj@suse.de>
36594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36595 Copy rule from iconvdata/Makefile.
36597 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36600 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36601 but no long options are defined, just return 'W'.
36603 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36606 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36608 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36610 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36612 (innetgr): Likewise.
36614 2011-07-05 Roland McGrath <roland@hack.frob.com>
36616 * config.make.in (install_root): Default to $(DESTDIR).
36618 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36620 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36622 2011-07-02 Roland McGrath <roland@hack.frob.com>
36624 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36626 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36627 containing directory rather than embedding absolute directory names.
36629 * scripts/check-local-headers.sh: Rewritten using awk.
36630 Match by word, not by line. Print error messages for matches.
36631 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36633 * Makerules [shlib-lds-flags empty]:
36634 ($(common-objpfx)libc_pic.opts): New target.
36635 ($(common-objpfx)libc_pic.os.clean): New target.
36636 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36638 * config.make.in (OBJCOPY): New variable.
36639 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36640 * configure: Regenerated.
36642 * config.make.in (use-default-link): New variable.
36643 * configure.in (use_default_link): Grok --with-default-link to set it.
36644 * configure: Regenerated.
36645 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36646 (shlib-lds, shlib-lds-flags): Define to empty.
36648 * Makerules (shlib-lds): New variable.
36649 (shlib-lds-flags): New variable.
36650 (build-shlib, build-moduile, build-module-asneeded): Use it.
36651 ($(common-objpfx)libc.so): Use $(shlib-lds).
36652 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36653 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36655 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36656 DT_FLAGS/DT_FLAGS_1 with zero flags.
36658 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36659 linker script munging.
36661 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36663 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36665 * crypt/sha512.c (sha512_process_block): Perform total addition using
36666 128-bit if possible.
36667 (__sha512_finish_ctx): Likewise.
36668 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36670 * crypt/sha256.c (SWAP64): Define.
36671 (sha256_process_block): Perform total addition using 64-bit if
36673 (__sha256_finish_ctx): Likewise.
36675 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36677 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36678 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36679 * nscd/hstcache.c (cache_addhst): Likewise.
36680 * nscd/grpcache.c (cache_addgr): Likewise.
36681 * nscd/aicache.c (addhstaiX): Likewise
36682 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36684 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36686 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36688 * nscd/hstcache.c (cache_addhst): Likewise.
36689 * nscd/grpcache.c (cache_addgr): Likewise.
36690 * nscd/aicache.c (addhstaiX): Likewise
36692 2011-07-01 Andreas Schwab <schwab@redhat.com>
36694 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36695 domain only when needed.
36697 2011-06-30 Andreas Schwab <schwab@redhat.com>
36699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36700 is always restored.
36702 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36704 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36705 are re-adding the entry.
36706 * nscd/servicescache.c (cache_addserv): Likewise.
36708 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36710 * sysdeps/generic/dl-irel.h: fix protection against multiple
36712 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36714 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36717 * malloc/memusage.sh: Fix quoting in message.
36718 * debug/xtrace.sh: Likewise.
36720 * configure.in: Remove support for --experimental-malloc option, make
36722 * config.make.in: Likewise.
36723 * malloc/Makefile: Likewise.
36725 2011-06-27 Andreas Schwab <schwab@redhat.com>
36727 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36728 two-byte characters.
36730 2011-06-27 Roland McGrath <roland@hack.frob.com>
36732 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36733 AC_CACHE_CHECK invocation.
36734 * configure: Regenerated.
36736 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36738 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36741 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36742 bit from old_res_options.
36744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36746 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36747 value type for setfct.
36749 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36752 __gettimeofday instead of gettimeofday.
36754 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36756 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36758 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36765 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36768 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36769 strcpy-sse2-unaligned strncpy-sse2-unaligned
36770 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36771 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36772 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36773 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36774 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36777 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36778 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36779 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36780 (STRCPY): Support SSE2 and SSSE3 versions.
36782 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36785 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36786 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36787 kernels which artificially limit size of requests.
36789 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36792 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36793 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36794 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36795 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36796 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36797 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36798 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36801 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36802 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36803 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36804 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36805 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36807 Enable unaligned load optimization for Intel Core i3, i5 and i7
36809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36811 (index_Fast_Unaligned_Load): Define.
36812 (HAS_FAST_UNALIGNED_LOAD): Define.
36814 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36816 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36818 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36822 until it is clear that the information is realy needed.
36823 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36825 2011-06-22 Andreas Schwab <schwab@redhat.com>
36827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36829 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36832 /sys/devices/system/cpu/online if it is usable.
36834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36835 reading the information from the /proc filesystem to once a second.
36837 2011-06-21 Andreas Jaeger <aj@suse.de>
36839 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36840 NULL after inclusion of kernel headers.
36842 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36844 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36845 calls to internal_setent.
36848 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36849 addresses using gethostbyname4_r ignore IPv4 addresses.
36851 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36852 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36854 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36856 2011-06-20 David S. Miller <davem@davemloft.net>
36858 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36860 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36862 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36863 (elf_irel): Use it.
36864 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36865 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36866 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36867 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36868 * sysdeps/x86_64/dl-irel.h: Likewise.
36870 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36871 * elf/dl-sym.c: Likewise.
36873 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36875 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36876 need to dereference resplen2.
36878 2011-06-14 Andreas Schwab <schwab@redhat.com>
36880 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36882 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36884 * Makeconfig: Define vardbdir and inst_vardbdir.
36885 * nss/Makefile: Add rules to install db-Makefile.
36887 * nss/nss_db/db-XXX.c: Cleanup.
36889 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36890 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36892 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36893 * nss/makedb.c: Implement -g option to specify that value strings
36894 are generated and should not be added to table iterated over for
36896 * nss/nss_db/db-initgroups.c: New file.
36898 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36901 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36902 (internal_getgrouplist): Adjust to name change.
36903 Update use_initgroups_entry if this is not the first call.
36904 * nss/databases.def: Add initgroups entry.
36906 * nss/makedb.c (compute_tables): Check result of multiple hash table
36907 sizes to minimize maximum chain length.
36909 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36911 * Versions.def: Add entry for libnss_db.
36912 * shlib-versions: Likewise.
36913 * nss/Makefile: Add rules to build libnss_db.
36914 * nss/Versions: Add libnss_db information. Organize libnss_files
36916 * nss/db-Makefile: Add gshadow support. Change rules for the new
36917 makedb progra. Some minor improvements to generate smaller files.
36918 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36920 * nss/makedb.c: ...here.
36921 Improve database format to be smaller and require less memory at
36923 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36925 * nss/nss_db/db-netgrp.c: Likewise.
36926 * nss/nss_db/db-open.c: Likewise.
36927 * nss/nss_files/flies-XXX.x: Adjust comments.
36928 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36929 * nss/nss_files/files-grp.c: Likewise.
36930 * nss/nss_files/files-hosts.c: Likewise.
36931 * nss/nss_files/files-network.c: Likewise.
36932 * nss/nss_files/files-proto.c: Likewise.
36933 * nss/nss_files/files-pwd.c: Likewise.
36934 * nss/nss_files/files-rpc.c: Likewise.
36935 * nss/nss_files/files-service.c: Likewise.
36936 * nss/nss_files/files-sgrp.c: Likewise.
36937 * nss/nss_files/files-spwd.c: Likewise.
36938 * nss/nss_db/db-alias.c: Removed.
36939 * nss/nss_db/dummy-db.h: Removed.
36941 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36943 * nss/makedb.c: Rewritten to not use database library.
36944 * nss/Makefile: Update to build new makedb program.
36946 2011-06-14 Andreas Jaeger <aj@suse.de>
36948 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36949 memset declaration.
36951 2011-06-10 Andreas Schwab <schwab@redhat.com>
36953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36956 2011-06-10 Roland McGrath <roland@hack.frob.com>
36958 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36959 * elf/Makefile ($(objpfx)ld.so): Likewise.
36961 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36962 Don't list ld.so twice in dependencies.
36964 * posix/bug-regex31.c: Include <stdlib.h>.
36966 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36968 * nis/nss_compat/compat-spwd.c
36969 (getspent_next_nss_netgr): Remove unused variable.
36970 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36972 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36973 nonmembers" output to use the right array.
36975 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36977 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36979 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36980 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36981 * catgets/gencat.c (read_input_file): Likewise.
36982 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36984 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36985 variable definition inside #if's controlling its use.
36987 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36989 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36991 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36993 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36996 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36998 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36999 * configure: Regenerated.
37001 * Makerules: Revert last change.
37002 * elf/Makefile: Likewise.
37004 2011-06-09 Roland McGrath <roland@hack.frob.com>
37006 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37007 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37008 (reloc-link): Likewise.
37010 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37012 * elf/Makefile: Add rules to build pldd.
37013 * elf/pldd.c: New file.
37014 * elf/pldd-xx.c: New file.
37016 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37018 * version.h: Update for 2.15 development version.
37020 2011-06-07 David S. Miller <davem@davemloft.net>
37022 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37025 elf_machine_lazy_rel): Likewise.
37026 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37028 elf_machine_lazy_rel): Likewise.
37029 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37030 dl_hwcap via passed in argument.
37031 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37034 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37036 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37038 2011-06-06 Roland McGrath <roland@hack.frob.com>
37041 * manual/fdl-1.1.texi: New file, verbatim from:
37042 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37043 * manual/lgpl-2.1.texi: New file, verbatim from:
37044 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37045 * manual/Makefile (licenses): New variable, list those new file names.
37047 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37049 * manual/fdl.texi: File removed.
37050 * manual/lesser.texi: File removed.
37051 * manual/libc.texinfo (Copying, Documentation License):
37052 Use new @include file names, put @appendix directive before @include.
37054 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37057 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37058 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37059 (mq_open): Add __NTH.
37061 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37064 Assume Intel Core i3/i5/i7 processor if AVX is available.
37066 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37071 2011-05-31 Andreas Schwab <schwab@redhat.com>
37073 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37074 memory. Use alloca_account. Fix memory leak when retrying.
37076 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37078 * version.h (RELEASE): Bump for 2.14 release.
37079 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37081 * config.make.in (RANLIB): Remove entry.
37083 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37085 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37086 (libc.pot): Work around missing support for .ksh extension in xgettext.
37089 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37090 if both request failed.
37091 (send_dg): In case of server errors clear resplen or *resplen2.
37094 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37095 when there are multiple maps.
37096 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37097 (_dl_fini): Remove test here.
37099 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37101 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37104 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37105 bit from old_res_options.
37106 (gaih_inet): Likewise.
37109 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37112 * resolv/res_init.c (res_setoptions): Make the code more compact.
37115 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37119 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37121 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37124 * malloc/malloc.h: Declare malloc hook variables as volatile.
37126 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37130 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37131 raise in the comment.
37132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37134 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37136 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37139 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37140 grow the buffers more if it already has to be sufficient.
37141 (build_wcs_upper_buffer): Likewise.
37142 * posix/regexec.c (check_matching): Likewise.
37143 (clean_state_log_if_needed): Likewise.
37144 (extend_buffers): Don't enlarge buffers beyond size of the input
37146 Patches mostly by Emil Wojak <emil@wojak.eu>.
37147 * posix/bug-regex32.c: New file.
37148 * posix/Makefile (tests): Add bug-regex32.
37150 * locale/findlocale.c (_nl_find_locale): Return right away if
37151 _nl_explode_name failed.
37152 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37154 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37156 * debug/xtrace.sh: Unify messages.
37157 * malloc/memusage.sh: Likewise.
37160 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37161 time symbol from vDSO. Substitute with vsyscall if not available.
37162 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37165 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37166 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37167 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37168 Add sendmmsg and internal_sendmmsg.
37169 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37170 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37173 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37174 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37177 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37180 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37181 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37183 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37187 * iconvdata/Makefile (tests): Add bug-iconv9.
37188 * iconvdata/bug-iconv9.c: New file.
37190 2011-05-27 Andreas Schwab <schwab@redhat.com>
37193 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37195 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37198 (struct user_regs_struct): Change intcs field back to cs.
37200 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37202 * po/ja.po: Update from translation team.
37204 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37207 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37208 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37210 2011-05-20 Andreas Schwab <schwab@redhat.com>
37212 * stdlib/longlong.h: Update from GCC.
37214 2011-05-23 Andreas Schwab <schwab@redhat.com>
37216 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37218 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37219 Add parameter name.
37220 (__sysconf): Pass it down.
37222 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37225 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37228 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37229 add in in __libc_use_alloca calls. Adjust callers.
37230 (glob): Use malloc in some situations.
37232 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37233 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37236 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37238 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37239 and CLOCK_BOOTTIME_ALARM.
37242 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37245 * string/_strerror.c (__strerror_r): Print negative errors as signed
37249 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37250 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37251 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37253 * configure.in: Fix typo in redirection and correct removal of test
37254 files in two cases.
37257 * locale/setlocale.c (new_composite_name): Fix test to check for
37258 identical name of all categories.
37261 * libio/filedoalloc.c (local_isatty): New function.
37262 (_IO_file_doallocate): Use local_isatty.
37263 * stdio-common/perror.c (perror): In case a new stream is used
37264 forward the stream error.
37265 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37268 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37273 * include/alloca.h (extend_alloca_account): Define.
37276 * posix/regex.h: Fix comments with documentation of user-accessible
37277 fields after compilation and describe correct free'ing of pattern
37278 after re_compile_pattern.
37279 Patch by Reuben Thomas <rrt@sc3d.org>.
37281 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37283 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37284 and -mno-altivec to prevent the compiler from using Altivec and/or
37285 VSX instructions when the corresponding registers are not available.
37287 2011-05-19 Andreas Schwab <schwab@redhat.com>
37289 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37291 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37293 * libio/freopen.c (freopen): Use __dup2, not dup2.
37294 * libio/freopen64.c (freopen64): Likewise.
37296 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37299 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37300 * math/Makefile (tests): Add test-powl.
37301 (CFLAGS-test-powl.c): Define.
37302 * math/test-powl.c: New file.
37304 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37306 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37308 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37311 * iconvdata/gb18030.c: Update to GB18020-2005.
37313 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37315 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37316 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37317 Patch by Aharon Robbins <arnold@skeeve.com>.
37320 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37324 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37325 through underflows.
37328 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37329 point to strings before performing equality test for error_one_per_line
37333 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37337 (struct user_fpregs_struct): Avoid __uint*_t types.
37340 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37341 symbol info. Use it instead of calling _dl_addr locally.
37342 (lock_and_info): New function.
37343 (tr_freehook): Call lock_and_info and pass symbol info as additional
37344 parameter to tr_where.
37345 (tr_mallochook): Likewise.
37346 (tr_reallochook): Likewise.
37347 (tr_memalignhook): Likewise.
37349 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37350 used and couldn't be at all thread-safe.
37352 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37354 * libio/freopen.c (freopen): Don't close old file descriptor
37355 before the new one is opened. Instead dup the new file descriptor
37356 to the old one after the new stream is created.
37357 * libio/freopen64.c (freopen64): Likewise.
37358 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37359 * libio/fileops.c (_IO_new_file_close_it): Handle new
37360 _IO_FLAGS2_NOCLOSE flag.
37361 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37362 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37363 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37364 _IO_FLAGS2_NOCLOSE flag.
37365 * include/unistd.h: Add hidden_proto for dup3.
37366 Define __have_dup3.
37367 * io/dup3.c: Define hidden symbol.
37368 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37371 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37372 when an incomplete long option is used.
37373 * posix/tst-getopt_long1.c: New file.
37374 * posix/Makefile (tests): Add tst-getopt_long1.
37377 * scripts/config.guess: Update from autoconf-2.68.
37378 * scripts/config.sub: Likewise.
37381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37383 (has_cpuclock): ...this. New function.
37384 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37385 macro here based on has_cpuclock code.
37388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37389 First byte (not low byte) is now always NUL.
37390 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37393 Use non-cancelable interfaces.
37396 * locale/iso-639.def: Add entry for Sorani.
37399 * include/stdlib.h: Move include protection to the right place.
37400 Define abort_msg_s. Declare __abort_msg with it.
37401 * stdlib/abort.c (__abort_msg): Adjust type.
37402 * assert/assert.c (__assert_fail_base): New function. Majority
37403 of code from __assert_fail. Allocate memory for __abort_msg with
37405 (__assert_fail): Now call __assert_fail_base.
37406 * assert/assert-perr.c: Remove bulk of implementation. Use
37407 __assert_fail_base.
37408 * include/assert.hL Declare __assert_fail_base.
37409 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37411 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37413 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37417 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37418 until all modules are registered in the DTV.
37419 * elf/Makefile: Add rules to build and run tst-tls19.
37420 * elf/tst-tls19.c: New file.
37421 * elf/tst-tls19mod1.c: New file.
37422 * elf/tst-tls19mod2.c: New file.
37423 * elf/tst-tls19mod3.c: New file.
37424 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37427 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37431 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37432 two-byte sequence errors.
37433 * iconvdata/Makefile (tests): Add bug-iconv8.
37434 * iconvdata/bug-iconv8.c: New file.
37437 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37440 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37443 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37444 (dummy_getcfa): New function.
37445 (init): Get _Unwind_GetCFA address, use dummy if not found.
37446 (backtrace_helper): In recursion check, also check whether CFA changes.
37447 (__backtrace): Completely initialize arg.
37449 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37450 storing incomplete byte sequence in state object. Avoid testing for
37451 guaranteed too small input if we know there is enough data available.
37453 2011-05-11 Andreas Schwab <schwab@redhat.com>
37455 * Makeconfig (+link-pie): Indent.
37456 * Rules (binaries-pie): Define if $(have-fpie) and
37458 (binaries-shared): Also filter out $(binaries-pie).
37459 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37460 * nscd/Makefile (others-pie): Add nscd.
37461 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37462 ($(objpfx)nscd): Remove command override.
37463 * login/Makefile (others-pie): Add pt_chown.
37464 ($(objpfx)pt_chown): Remove command override.
37465 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37466 remove command overrides.
37468 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37470 * libio/tst_putwc.c: Fix error messages.
37473 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37474 currently writing and seek to current position when not.
37475 * libio/Makefile (tests): Add bug-fclose1.
37476 * libio/bug-fclose1.c: New file.
37478 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37481 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37482 don't set DF_1_NODELETE here.
37483 (do_lookup_x): When entering new entry test for copy relocation
37484 and if necessary set DF_1_NODELETE flag.
37485 * elf/tst-unique4.cc: New file.
37486 * elf/tst-unique4.h: New file.
37487 * elf/tst-unique4lib.cc: New file.
37488 * elf/Makefile: Add rules to build and run tst-unique4.
37489 Patch by Piotr Bury <pbury@goahead.com>.
37491 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37494 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37497 * misc/mntent_r.c (addmntent): Flush the stream after the output
37500 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37501 (is_trusted_path_normalize): Skip initial colon. Append slash
37502 to empty buffer. Duplicate is_trusted_path code but allow
37503 constructed patch to be prefix.
37504 (is_dst): Allow $ORIGIN followed by /.
37505 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37506 Correct testing of result of is_trusted_path_normalize
37507 (decompose_rpath): Fix warning.
37509 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37512 * grp/initgroups.c (internal_getgrouplist): When we found the service
37513 list through the initgroups entry in nsswitch.conf do not always
37514 continue on a successful lookup. Don't always use the
37515 __nss_group_database value if it is set.
37516 * nss/nsswitch.conf (initgroups): Change action for successful db
37517 lookup to continue for compatibility.
37519 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37522 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37524 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37526 * iconvdata/tst-tables.sh: Likewise.
37527 * iconvdata/cp770.c: New file.
37528 * iconvdata/cp771.c: New file.
37529 * iconvdata/cp772.c: New file.
37530 * iconvdata/cp773.c: New file.
37531 * iconvdata/cp774.c: New file.
37532 * iconvdata/testdata/CP770: New file.
37533 * iconvdata/testdata/CP770..UTF8: New file.
37534 * iconvdata/testdata/CP771: New file.
37535 * iconvdata/testdata/CP771..UTF8: New file.
37536 * iconvdata/testdata/CP772: New file.
37537 * iconvdata/testdata/CP772..UTF8: New file.
37538 * iconvdata/testdata/CP773: New file.
37539 * iconvdata/testdata/CP773..UTF8: New file.
37540 * iconvdata/testdata/CP774: New file.
37541 * iconvdata/testdata/CP774..UTF8: New file.
37543 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37545 * iconvdata/gen-8bit-gap.sh: Likewise.
37546 * iconvdata/gen-8bit.sh: Likewise.
37548 * locale/iso-639.def: Add ary entry.
37551 * locale/C-translit.h.in: Add U20A1 transliteration.
37554 * locale/iso-639.def: Add wae entry.
37555 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37558 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37562 * locale/C-translit.h.in: Add entry for U20B9.
37563 Patch by pravin.d.s@gmail.com.
37565 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37568 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37569 ENAMETOOLONG use generic getcwd.
37570 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37571 in rtld. Use *stat64.
37572 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37573 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37574 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37575 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37576 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37577 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37578 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37579 __fstatat64 macros.
37580 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37581 * dirent/rewinddir.c: Add libc_hidden_def.
37582 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37583 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37585 * include/dirent.h (__alloc_dir): Add flags parameter.
37586 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37587 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37589 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37590 from fdopendir if O_CLOEXEC is already set.
37592 2011-03-15 Alan Modra <amodra@gmail.com>
37594 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37595 l_tls_firstbyte_offset non-zero. Save padding offset in
37596 l_tls_firstbyte_offset for later use.
37597 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37598 freeing static tls block.
37600 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37602 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37603 where #ifdef was intended. The intent is to prevent ARG_MAX from
37604 being defined by the kernel headers.
37606 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37609 * resolv/resolv.h: Define RES_NOTLDQUERY.
37610 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37611 no-tld-query and set RES_NOTLDQUERY.
37612 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37613 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37614 modern BIND to search name as TLD unless forbidden.
37616 2011-05-07 Petr Baudis <pasky@suse.cz>
37617 Ulrich Drepper <drepper@gmail.com>
37620 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37621 (is_trusted_path): ...to here.
37622 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37623 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37624 using is_trusted_path_normalize() in setuid scripts.
37626 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37628 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37629 __BEGIN/__END_DECLS.
37631 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37634 NSS_STATUS_NOTFOUND if no record was found.
37636 2011-05-05 Andreas Schwab <schwab@redhat.com>
37638 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37639 (headers-not-in-tirpc): Remove rpc/netdb.h
37640 * resolv/netdb.h: Revert last change.
37642 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37644 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37645 circular dependency between libgcc.a and libc.a.
37647 2011-05-05 Andreas Schwab <schwab@redhat.com>
37649 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37650 * nis/Makefile: Don't install rpcsvc/*.
37651 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37652 instead of <rpc/types.h>.
37653 (MAXHOSTNAMELEN): Define.
37655 2011-05-03 Andreas Schwab <schwab@redhat.com>
37657 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37659 2011-04-28 Maciej Babinski <mbabinski@google.com>
37662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37663 gethostbyname4_r when IPv6 results are possible.
37665 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37668 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37669 _PC_PIPE_BUF handling.
37671 2011-04-30 Bruno Haible <bruno@clisp.org>
37674 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37675 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37677 * inet/getnameinfo.c (getnameinfo): Likewise.
37679 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37681 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37682 to groups setting in database lookup.
37683 * nss/nsswitch.conf: Add initgroups entry.
37685 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37688 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37690 Patch by Eric Blake <eblake@redhat.com>.
37692 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37694 * sunrpc/Makefile (need-export-routines): Add svc_run.
37695 (routines): Remove svc_run.
37696 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37697 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37698 * sunrpc/svc_run.c (svc_run): Likewise.
37699 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37701 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37704 problem in reallocation in last patch.
37706 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37708 * sunrpc/Makefile: Move inclusion of Rules.
37710 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37712 * nss/nss_files/files-initgroups.c: New file.
37713 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37714 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37715 _nss_files_initgroups_dyn.
37717 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37719 * elf/elf.h (R_ARM_IRELATIVE): Define.
37721 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37723 * po/ru.po: Update from translation team.
37725 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37727 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37730 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37733 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37734 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37739 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37741 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37743 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37747 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37750 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37752 * stdlib/bug-getcontext.c: New file.
37753 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37755 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37757 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37758 instructions into .machine "z9-109".
37759 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37760 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37762 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37764 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37765 between environment variables and auxiliary vector.
37767 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37769 * Makefile: Add rules to build linkobj/libc.so.
37770 * include/libc-symbols.h: Define libc_hidden_nolink.
37771 * include/rpc/auth.h: Mark functions which are to be hidden.
37772 * include/rpc/auth_des.h: Likewise.
37773 * include/rpc/auth_unix.h: Likewise.
37774 * include/rpc/clnt.h: Likewise.
37775 * include/rpc/des_crypt.h: Likewise.
37776 * include/rpc/key_prot.h: Likewise.
37777 * include/rpc/pmap_clnt.h: Likewise.
37778 * include/rpc/pmap_prot.h: Likewise.
37779 * include/rpc/pmap_rmt.h: Likewise.
37780 * include/rpc/rpc_msg.h: Likewise.
37781 * include/rpc/svc.h: Likewise.
37782 * include/rpc/svc_auth.h: Likewise.
37783 * include/rpc/xdr.h: Likewise.
37784 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37785 * nss/Makefile: Likewise.
37786 * sunrpc/Makefile: Don't install headers. Build library with normal
37787 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37788 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37789 for the compat linking library. Remove use of INTDEF/INTUSE.
37790 * sunrpc/auth_none.c: Likewise.
37791 * sunrpc/auth_unix.c: Likewise.
37792 * sunrpc/authdes_prot.c: Likewise.
37793 * sunrpc/authuxprot.c: Likewise.
37794 * sunrpc/clnt_gen.c: Likewise.
37795 * sunrpc/clnt_perr.c: Likewise.
37796 * sunrpc/clnt_raw.c: Likewise.
37797 * sunrpc/clnt_simp.c: Likewise.
37798 * sunrpc/clnt_tcp.c: Likewise.
37799 * sunrpc/clnt_udp.c: Likewise.
37800 * sunrpc/clnt_unix.c: Likewise.
37801 * sunrpc/des_crypt.c: Likewise.
37802 * sunrpc/des_soft.c: Likewise.
37803 * sunrpc/get_myaddr.c: Likewise.
37804 * sunrpc/key_call.c: Likewise.
37805 * sunrpc/key_prot.c: Likewise.
37806 * sunrpc/netname.c: Likewise.
37807 * sunrpc/pm_getmaps.c: Likewise.
37808 * sunrpc/pm_getport.c: Likewise.
37809 * sunrpc/pmap_clnt.c: Likewise.
37810 * sunrpc/pmap_prot.c: Likewise.
37811 * sunrpc/pmap_prot2.c: Likewise.
37812 * sunrpc/pmap_rmt.c: Likewise.
37813 * sunrpc/publickey.c: Likewise.
37814 * sunrpc/rpc_cmsg.c: Likewise.
37815 * sunrpc/rpc_common.c: Likewise.
37816 * sunrpc/rpc_dtable.c: Likewise.
37817 * sunrpc/rpc_prot.c: Likewise.
37818 * sunrpc/rpc_thread.c: Likewise.
37819 * sunrpc/rtime.c: Likewise.
37820 * sunrpc/svc.c: Likewise.
37821 * sunrpc/svc_auth.c: Likewise.
37822 * sunrpc/svc_authux.c: Likewise.
37823 * sunrpc/svc_raw.c: Likewise.
37824 * sunrpc/svc_run.c: Likewise.
37825 * sunrpc/svc_simple.c: Likewise.
37826 * sunrpc/svc_tcp.c: Likewise.
37827 * sunrpc/svc_udp.c: Likewise.
37828 * sunrpc/svc_unix.c: Likewise.
37829 * sunrpc/svcauth_des.c: Likewise.
37830 * sunrpc/xcrypt.c: Likewise.
37831 * sunrpc/xdr.c: Likewise.
37832 * sunrpc/xdr_array.c: Likewise.
37833 * sunrpc/xdr_float.c: Likewise.
37834 * sunrpc/xdr_intXX_t.c: Likewise.
37835 * sunrpc/xdr_mem.c: Likewise.
37836 * sunrpc/xdr_rec.c: Likewise.
37837 * sunrpc/xdr_ref.c: Likewise.
37838 * sunrpc/xdr_sizeof.c: Likewise.
37839 * sunrpc/xdr_stdio.c: Likewise.
37841 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37844 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37845 * sysdeps/ia64/dl-tls.h: Likewise.
37846 * sysdeps/powerpc/dl-tls.h: Likewise.
37847 * sysdeps/s390/dl-tls.h: Likewise.
37848 * sysdeps/sh/dl-tls.h: Likewise.
37849 * sysdeps/sparc/dl-tls.h: Likewise.
37850 * sysdeps/x86_64/dl-tls.h: Likewise.
37851 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37853 2011-03-14 Andreas Schwab <schwab@redhat.com>
37855 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37856 rpath element also skip the following colon.
37857 (expand_dynamic_string_token): Add is_path parameter and pass
37858 down to DL_DST_REQUIRED and _dl_dst_substitute.
37859 (decompose_rpath): Call expand_dynamic_string_token with
37860 non-zero is_path. Ignore empty rpaths.
37861 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37864 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37869 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37872 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37873 Patch by Filipe David Manana <fdmanana@apache.org>.
37875 2011-04-07 Andreas Schwab <schwab@redhat.com>
37877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37878 Maintain aligned stack.
37879 (CHECK_RSP): Remove unused macro.
37881 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37883 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37886 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37888 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37890 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37892 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37895 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37896 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37897 * sysdeps/x86_64/memmove.c: New file.
37898 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37899 (memcpy): Renamed to ...
37900 (__new_memcpy): This.
37901 (memcpy): Provide GLIBC_2_14 memcpy.
37902 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37903 (memcpy): Provide GLIBC_2_2_5 memcpy.
37905 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37908 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37910 2011-03-30 Andreas Schwab <schwab@redhat.com>
37912 * misc/syncfs.c: New file.
37913 * misc/Makefile (routines): Add syncfs.
37914 * posix/unistd.h: Declare syncfs.
37915 * sysdeps/unix/syscalls.list: Add syncfs.
37917 2011-04-01 Andreas Schwab <schwab@redhat.com>
37919 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37922 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37926 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37929 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37933 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37939 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37940 sync_file_range.c with -fexceptions.
37941 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37942 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37943 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37944 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37945 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37946 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37948 sync_file_range as cancellation point
37949 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37950 now a wrapper around __call_sync_file_range with cancellation handling.
37951 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37952 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37953 function name to __call_sync_file_range.
37954 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37955 Add call_sync_file_range.
37957 2011-04-01 Andreas Schwab <schwab@redhat.com>
37959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37962 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37964 * iconv/iconv.h: Fix typo in comment.
37965 * io/fcntl.h: Likewise.
37966 * libio/stdio.h: Likewise.
37967 * posix/spawn.h: Likewise.
37968 * posix/unistd.h: Likewise.
37969 * stdlib/stdlib.h: Likewise.
37970 * time/time.h: Likewise.
37971 * wcsmbs/wchar.h: Likewise.
37973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37974 open_by_handle): Add.
37975 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37976 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37977 Augment a few comments.
37978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37980 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37983 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37986 * io/fcntl.h (AT_EMPTY_PATH): Define.
37988 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37990 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37991 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37992 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37994 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37995 * Versions.def: Add GLIBC_2.14.
37996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37999 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38001 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38003 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38005 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38008 * string/test-strncmp.c (do_page_test): New function.
38009 (check2): Likewise.
38010 (test_main): Call check2.
38011 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38013 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38017 Handle cache information in CPU leaf 4.
38018 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38020 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38023 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38024 character representation.
38025 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38027 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38029 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38030 END(__isnan) to END(__isnanf) to match function entry point/label
38031 EALIGN(__isnanf,...).
38033 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38035 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38037 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38040 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38041 copy from the symbol referenced in the relocation to initialize the
38043 Patch by Piotr Bury <pbury@goahead.com>.
38044 * elf/Makefile: Add rules to build and tst-unique3.
38045 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38046 * elf/tst-unique3.cc: New file.
38047 * elf/tst-unique3.h: New file.
38048 * elf/tst-unique3lib.cc: New file.
38049 * elf/tst-unique3lib2.cc: New file.
38051 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38053 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38055 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38056 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38059 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38061 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38062 to-be-loaded object along a path to loader is ld.so.
38064 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38065 Ulrich Drepper <drepper@gmail.com>
38067 * sysdeps/x86_64/memset.S: After aligning destination, code
38068 branches to different locations depending on the value of
38069 misalignment, when multiarch is enabled. Fix this.
38071 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38073 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38074 Set _x86_64_preferred_memory_instruction for AMD processsors.
38075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38076 Set bit_Prefer_SSE_for_memop for AMD processors.
38078 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38080 * libio/fmemopen.c (fmemopen): Optimize a bit.
38082 2011-03-03 Andreas Schwab <schwab@redhat.com>
38084 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38086 2011-03-03 Roland McGrath <roland@redhat.com>
38088 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38090 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38092 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38093 __bzero_ultra1 instead of __memset_ultra1.
38095 2011-02-23 Andreas Schwab <schwab@redhat.com>
38096 Ulrich Drepper <drepper@gmail.com>
38099 * include/link.h (struct link_map): Add l_orig_initfini.
38100 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38101 returning unsuccessfully.
38102 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38103 close of a file loaded at startup, restore the original l_initfini
38105 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38106 list, store the pointer.
38107 * elf/Makefile ($(objpfx)noload-mem): New rule.
38108 (noload-ENV): Define.
38109 (tests): Add $(objpfx)noload-mem.
38110 * elf/noload.c: Include <memcheck.h>.
38111 (main): Call mtrace. Close all opened handles.
38113 2011-02-17 Andreas Schwab <schwab@redhat.com>
38116 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38117 dependencies are missing.
38119 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38121 Fix __if_freereq crash: Unlike the generic version which uses free,
38123 * sysdeps/mach/hurd/ifreq.h: New file.
38125 2011-01-27 Petr Baudis <pasky@suse.cz>
38126 Ulrich Drepper <drepper@gmail.com>
38129 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38130 to extend_alloca().
38131 * stdio-common/bug23.c: New file.
38132 * stdio-common/Makefile (tests): Add bug23.
38134 2010-09-28 Andreas Schwab <schwab@redhat.com>
38135 Ulrich Drepper <drepper@gmail.com>
38138 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38139 before performing relro protection. At old place add assertion
38140 to make sure nothing changed.
38142 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38143 Glauber de Oliveira Costa <glommer@gmail.com>
38145 * elf/elf.h: Add new ARM TLS relocs.
38147 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38150 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38152 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38154 * sysdeps/wordsize-64/tst-writev.c: New file.
38156 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38158 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38159 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38160 insns in _dl_start to prevent a TOC reference before relocs are
38163 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38166 * Makeconfig: Remove RANLIB definition.
38167 * Makerules: Don't use RANLIB.
38168 * aclocal.m4: Remove ranlib test.
38169 * configure.in: No need to check for ranlib.
38170 * elf/rtld-Rules: Don't use RANLIB.
38172 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38174 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38176 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38177 inclusion protection macro.
38179 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38180 SIGRTMIN and SIGRTMAX and print information in that case only when
38181 SIGRTMIN is defined.
38183 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38185 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38186 arginfo fn returning -1.
38188 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38189 and thousands string is zero terminated.
38191 2011-02-03 Andreas Schwab <schwab@redhat.com>
38193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38194 sysdeps/unix/sysv/linux/bits/socket.h.
38196 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38198 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38199 (__CPU_COUNT): Remove old macros.
38200 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38201 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38202 (__CPU_ALLOC, __CPU_FREE): Add macros.
38203 (__sched_cpualloc, __sched_cpufree): Add declarations.
38205 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38207 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38208 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38209 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38210 (readdhstai): Return value of addhstaiX call.
38211 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38212 (addgrbyX): Return value returned by cache_addgr.
38213 (readdgrbyname): Return value returned by addgrbyX.
38214 (readdgrbygid): Likewise.
38215 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38216 (addpwbyX): Return value returned by cache_addpw.
38217 (readdpwbyname): Return value returned by addhstbyX.
38218 (readdpwbyuid): Likewise.
38219 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38220 (addservbyX): Return value returned by cache_addserv.
38221 (readdservbyname): Return value returned by addservbyX:
38222 (readdservbyport): Likewise.
38223 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38224 (addhstbyX): Return value returned by cache_addhst.
38225 (readdhstbyname): Return value returned by addhstbyX.
38226 (readdhstbyaddr): Likewise.
38227 (readdhstbynamev6): Likewise.
38228 (readdhstbyaddrv6): Likewise.
38229 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38230 (readdinitgroups): Return value returned by addinitgroupsX.
38231 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38232 (prune_cache): Keep track of timeout value of re-added entries.
38233 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38234 * nscd/nscd.h: Adjust prototypes of readd* functions.
38236 2011-02-04 Roland McGrath <roland@redhat.com>
38238 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38239 (nis_stats): Likewise.
38240 * nis/nis_modify.c (nis_modify): Likewise.
38241 * nis/nis_remove.c (nis_remove): Likewise.
38242 * nis/nis_add.c (nis_add): Likewise.
38244 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38246 * posix/fnmatch_loop.c: Add some consts.
38248 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38250 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38253 * config.make.in (config-cflags-novzeroupper): Define.
38254 * configure.in: Substitute libc_cv_cc_novzeroupper.
38255 * elf/Makefile (AVX-CFLAGS): Define.
38256 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38257 (CFLAGS-tst-auditmod4a.c): Likewise.
38258 (CFLAGS-tst-auditmod4b.c): Likewise.
38259 (CFLAGS-tst-auditmod6b.c): Likewise.
38260 (CFLAGS-tst-auditmod6c.c): Likewise.
38261 (CFLAGS-tst-auditmod7b.c): Likewise.
38262 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38264 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38266 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38267 function to the callback.
38268 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38270 2011-02-02 Andreas Schwab <schwab@redhat.com>
38272 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38275 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38278 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38280 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38282 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38285 * elf/Makefile: Add rules to build and run new test.
38286 * elf/tst-initorder.c: New file.
38287 * elf/tst-initorder.exp: New file.
38288 * elf/tst-initordera1.c: New file.
38289 * elf/tst-initordera2.c: New file.
38290 * elf/tst-initordera3.c: New file.
38291 * elf/tst-initordera4.c: New file.
38292 * elf/tst-initorderb1.c: New file.
38293 * elf/tst-initorderb2.c: New file.
38294 * elf/tst-order-a1.c: New file.
38295 * elf/tst-order-a2.c: New file.
38296 * elf/tst-order-a3.c: New file.
38297 * elf/tst-order-a4.c: New file.
38298 * elf/tst-order-b1.c: New file.
38299 * elf/tst-order-b2.c: New file.
38300 * elf/tst-order-main.c: New file.
38301 New test case by George Gensure <werkt0@gmail.com>.
38303 2010-10-01 Andreas Schwab <schwab@redhat.com>
38305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38306 decoding ACE if AI_CANONIDN.
38308 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38310 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38312 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38314 * version.h (RELEASE): Bump for 2.13 release.
38315 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38317 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38319 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38321 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38323 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38325 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38326 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38328 * posix/getconf.c: Update copyright year.
38329 * catgets/gencat.c: Likewise.
38330 * csu/version.c: Likewise.
38331 * debug/catchsegv.sh: Likewise.
38332 * debug/xtrace.sh: Likewise.
38333 * elf/ldconfig.c: Likewise.
38334 * elf/ldd.bash.in: Likewise.
38335 * elf/sprof.c (print_version): Likewise.
38336 * iconv/iconv_prog.c: Likewise.
38337 * iconv/iconvconfig.c: Likewise.
38338 * locale/programs/locale.c: Likewise.
38339 * locale/programs/localedef.c: Likewise.
38340 * malloc/memusage.sh: Likewise.
38341 * malloc/mtrace.pl: Likewise.
38342 * nscd/nscd.c (print_version): Likewise.
38343 * nss/getent.c: Likewise.
38345 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38346 PF_CAIF, and PF_ALG.
38347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38349 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38351 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38352 (modules-names): Use them.
38353 (ifunc-test-modules, ifunc-pie-tests): Define.
38354 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38355 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38356 (test-extras): Likewise.
38357 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38358 $(compile-command.c).
38359 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38360 (all-built-dso): Define.
38361 (check-textrel.out, check-execstack.out): Depend on it.
38363 * configure.in: Don't override --enable-multi-arch.
38365 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38368 * nscd/hstcache.c (tryagain): Define.
38369 (cache_addhst): Return tryagain not notfound for temporary errors.
38370 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38373 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38376 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38377 to make the syscall.
38378 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38381 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38382 and fall back to matching as normal character if the string ends before
38383 the matching ']' is found. This is what POSIX requires.
38384 * posix/testfnm.c: Adjust test result.
38385 * posix/globtest.sh: Adjust test result. Add new test.
38386 * posix/tst-fnmatch.input: Likewise.
38387 * posix/tst-fnmatch2.c: Add new test.
38389 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38391 * elf/Makefile (check-execstack): Revert last change. Depend on
38393 (check-execstack.h): New target.
38394 (generated): Add check-execstack.h.
38395 * elf/check-execstack.c: Include "check-execstack.h".
38396 (main): Revert last change.
38397 (handle_file): Return zero if GNU_STACK is absent and
38398 DEFAULT_STACK_PERMS doesn't include PF_X.
38400 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38402 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38403 in child fails because the descriptor is already closed.
38404 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38405 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38406 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38409 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38413 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38414 temporary buffer used to handle multi lookups locally.
38415 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38417 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38419 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38422 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38424 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38425 alignment for SSE2.
38427 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38430 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38431 characters. When rounding increased number of integer digits recompute
38433 * stdio-common/tst-grouping.c: New file.
38434 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38436 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38438 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38439 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38441 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38443 * bits/select.h: Likewise.
38445 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38447 * po/ja.po: Update from translation team.
38449 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38452 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38453 implementation just like for lxstat, fxstatat, et al.
38455 2010-12-27 Jim Meyering <meyering@redhat.com>
38458 * posix/regexec.c (build_trtable): Return failure indication upon
38459 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38461 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38464 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38465 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38466 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38467 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38470 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38473 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38474 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38476 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38478 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38479 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38480 script has SORT_BY_INIT_PRIORITY.
38481 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38482 NO_CTORS_DTORS_SECTIONS is defined.
38483 * elf/soinit.c: Likewise.
38484 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38485 NO_CTORS_DTORS_SECTIONS is defined.
38486 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38487 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38488 * sysdeps/sh/init-first.c: Likewise.
38489 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38491 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38493 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38494 always use the slow path.
38496 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38498 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38499 similar rule which adds the sysdep directories to the header search in
38500 order to pick up the correct platform stackinfo.h.
38501 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38502 perform test if it is, otherwise return successfully without testing.
38503 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38504 DEFAULT_STACK_PERMS define in stackinfo.h.
38505 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38506 defined in stackinfo.h.
38507 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38508 DEFAULT_STACK_PERMS defined in stackinfo.h.
38509 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38510 * sysdeps/ia64/stackinfo.h: Likewise.
38511 * sysdeps/s390/stackinfo.h: Likewise.
38512 * sysdeps/sh/stackinfo.h: Likewise.
38513 * sysdeps/sparc/stackinfo.h: Likewise.
38514 * sysdeps/x86_64/stackinfo.h: Likewise.
38515 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38516 PF_X for powerpc64. Retain PF_X for powerpc32.
38518 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38520 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38522 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38523 GETDENTS_64BIT_ALIGNED.
38525 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38527 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38529 2010-12-10 Andreas Schwab <schwab@redhat.com>
38531 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38534 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38535 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38537 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38538 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38540 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38543 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38546 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38548 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38550 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38552 * po/it.po: Update from translation team.
38554 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38559 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38561 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38563 2010-11-24 Andreas Schwab <schwab@redhat.com>
38565 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38567 (gaih_getanswer_slice): Likewise.
38569 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38573 2010-05-31 Petr Baudis <pasky@suse.cz>
38576 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38577 silently even in the chroot mode.
38579 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38581 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38582 last patch a bit. Pretty printing
38584 2010-05-31 Petr Baudis <pasky@suse.cz>
38587 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38588 initialization of skip_initgroups_dyn.
38590 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38595 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38597 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38599 2010-11-11 Andreas Schwab <schwab@redhat.com>
38601 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38602 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38603 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38604 ($(objpfx)tst-fnmatch-mem): New rule.
38605 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38606 * posix/tst-fnmatch.c (main): Call mtrace.
38608 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38611 Support Intel processor model 6 and model 0x2c.
38613 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38618 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38621 * string/test-strncasecmp.c (check_result): New function.
38622 (do_one_test): Use it.
38623 (check1): New function.
38624 (test_main): Use it.
38625 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38626 Support strcasecmp and strncasecmp.
38628 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38631 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38634 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38636 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38640 * sysdeps/x86_64/multiarch/bzero.S: New file.
38641 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38642 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38643 * sysdeps/x86_64/multiarch/memset.S: New file.
38644 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38646 Set bit_Prefer_SSE_for_memop for Intel processors.
38647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38649 (index_Prefer_SSE_for_memop): Define.
38650 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38652 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38654 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38655 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38657 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38660 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38661 (__x86_64_raw_data_cache_size_half): Likewise.
38662 (__x86_64_raw_shared_cache_size): Likewise.
38663 (__x86_64_raw_shared_cache_size_half): Likewise.
38665 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38666 (__x86_64_raw_data_cache_size_half): Likewise.
38667 (__x86_64_raw_shared_cache_size): Likewise.
38668 (__x86_64_raw_shared_cache_size_half): Likewise.
38669 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38670 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38671 and __x86_64_raw_shared_cache_size_half. Round
38672 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38673 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38674 to multiple of 256 bytes.
38676 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38680 of inacessible symlinks. Verify result of symlink before returning it.
38681 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38682 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38684 2010-10-28 Erich Ritz <erichritz@gmail.com>
38686 * math/math.h (isinf): Fix typo in comment.
38688 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38690 * po/da.po: Update from translation team.
38692 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38694 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38695 is added to the list.
38697 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38698 Ulrich Drepper <drepper@gmail.com>
38700 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38701 the global list here. Move code to...
38702 (_dl_add_to_namespace_list): ...here. New function.
38703 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38704 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38705 * elf/dl-load.c (lose): Don't remove the element from the list.
38706 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38707 (_dl_map_object): Likewise.
38709 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38712 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38713 into all bytes of SSE register.
38714 Patch by Richard Li <richardpku@gmail.com>.
38716 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38719 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38722 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38724 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38725 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38726 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38732 2010-10-22 Andreas Schwab <schwab@redhat.com>
38734 * include/dlfcn.h (__RTLD_SECURE): Define.
38735 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38736 mode & __RTLD_SECURE instead.
38737 (open_path): Rename preloaded parameter to secure.
38738 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38739 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38740 * elf/dl-deps.c (openaux): Likewise.
38741 * elf/rtld.c (struct map_args): Remove is_preloaded.
38742 (map_doit): Don't use it.
38743 (dl_main): Likewise.
38744 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38745 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38747 2010-09-09 Andreas Schwab <schwab@redhat.com>
38749 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38750 (sysd-rules-targets): Remove duplicates.
38751 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38752 rtld-%.$o dependency.
38754 2010-10-18 Andreas Schwab <schwab@redhat.com>
38756 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38757 _dl_map_object do it.
38759 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38761 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38762 fast fma builtins, define the macros in the C99 standard.
38763 (FP_FAST_FMAF): Likewise.
38764 (FP_FAST_FMAL): Likewise.
38765 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38767 * bits/mathdef.h: Update copyright year.
38768 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38770 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38772 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38773 builtins, define the macros in the C99 standard.
38774 (FP_FAST_FMAF): Likewise.
38775 (FP_FAST_FMAL): Likewise.
38776 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38778 (FP_FAST_FMAF): Likewise.
38780 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38783 * math/libm-test.inc (fma_test): Some new testcases.
38784 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38785 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38786 y and infinite z. Do multiplication by C already in long double.
38787 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38789 y and infinite z. Do bitwise or of inexact bit into u.d.
38790 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38791 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38792 * sysdeps/i386/fpu/s_fma.S: Removed.
38793 * sysdeps/i386/fpu/s_fmal.S: Removed.
38795 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38798 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38800 computation is not scheduled after fetestexcept. Fix value
38801 of minimum denormal long double.
38803 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38806 * math/libm-test.inc (fma_test): Add some more tests.
38807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38810 2010-10-15 Andreas Schwab <schwab@redhat.com>
38812 * scripts/data/localplt-s390-linux-gnu.data: New file.
38813 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38815 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38818 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38819 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38821 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38823 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38825 if one of x and y is very large and the other is subnormal.
38826 * sysdeps/s390/fpu/s_fmaf.c: New file.
38827 * sysdeps/s390/fpu/s_fma.c: New file.
38828 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38829 * sysdeps/powerpc/fpu/s_fma.S: New file.
38830 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38831 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38832 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38834 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38837 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38840 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38841 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38842 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38843 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38844 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38847 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38850 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38851 * posix/bug-regex31.input: Add test case.
38853 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38855 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38856 * posix/bug-regex31.input: New file.
38859 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38860 (parse_sub_exp): Fix last change, use postorder.
38862 * posix/bug-regex31.c: New file.
38863 * posix/Makefile: Add rules to build and run bug-regex31.
38865 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38868 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38871 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38872 to have entries in sys_siglist.
38875 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38878 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38881 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38882 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38883 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38884 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38885 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38886 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38887 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38888 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38889 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38890 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38891 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38892 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38893 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38894 * math/ftestexcept.c (fetestexcept): Likewise.
38895 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38896 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38897 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38898 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38899 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38900 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38901 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38903 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38906 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38909 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38911 * string/bug-strstr1.c: New file.
38912 * string/Makefile: Add rules to build and run bug-strstr1.
38914 2010-10-05 Eric Blake <eblake@redhat.com>
38917 * string/str-two-way.h (two_way_long_needle): Always clear memory
38918 when skipping input due to the shift table.
38920 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38923 * malloc/mcheck.c: Handle large requests.
38926 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38927 for strncmp and strncasecmp.
38928 * string/stratcliff.c: Add tests for strcmp and strncmp.
38929 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38931 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38933 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38936 2010-09-30 Andreas Jaeger <aj@suse.de>
38938 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38939 (CGROUP_SUPER_MAGIC): Define.
38940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38941 Handle btrfs and cgroup file systems.
38942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38945 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38947 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38948 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38950 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38953 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38954 trying to locate the ELF header.
38956 2010-09-27 Andreas Schwab <schwab@redhat.com>
38959 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38960 Mask out sign-bit copies when constructing f_fsid.
38962 2010-09-24 Petr Baudis <pasky@suse.cz>
38964 * debug/stack_chk_fail_local.c: Add missing licence exception.
38965 * debug/warning-nop.c: Likewise.
38967 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38969 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38970 implementing getdents64 using getdents syscall, set d_type if
38971 __ASSUME_GETDENTS32_D_TYPE.
38973 2010-09-16 Andreas Schwab <schwab@redhat.com>
38975 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38976 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38978 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38981 * posix/unistd.h: Undo change of feature selection for ftruncate from
38984 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38986 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38989 2010-09-20 Andreas Schwab <schwab@redhat.com>
38991 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38993 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38995 2010-09-14 Andreas Schwab <schwab@redhat.com>
38997 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38998 variables after CHECK_SP call.
38999 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39001 2010-09-13 Andreas Schwab <schwab@redhat.com>
39002 Ulrich Drepper <drepper@redhat.com>
39004 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39005 re-relocationg ld.so.
39006 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39007 _dl_init_paths call.
39008 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39011 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39013 * resolv/res_init.c (__res_vinit): Count the default server we added.
39015 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39016 Ulrich Drepper <drepper@redhat.com>
39019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39020 (____longjmp_chk): Use %ebx for saving value across system call.
39023 2010-09-06 Andreas Schwab <schwab@redhat.com>
39025 * manual/Makefile: Don't mix pattern rules with normal rules.
39027 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39029 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39031 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39032 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39033 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39034 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39038 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39041 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39042 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39044 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39046 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39047 * sysdeps/x86_64/addmul_1.S: Likewise.
39048 * sysdeps/x86_64/lshift.S: Likewise.
39049 * sysdeps/x86_64/mul_1.S: Likewise.
39050 * sysdeps/x86_64/rshift.S: Likewise.
39051 * sysdeps/x86_64/sub_n.S: Likewise.
39052 * sysdeps/x86_64/submul_1.S: Likewise.
39054 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39056 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39057 Define __sched_param instead of SCHED_* and sched_param when
39058 <bits/sched.h> is included with __need_schedparam defined.
39059 * bits/sched.h [__need_schedparam]
39060 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39061 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39062 (__defined_schedparam): Define to 1.
39063 (__sched_param): New structure, identical to sched_param.
39064 (__need_schedparam): Undefine.
39066 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39069 (epoll_create1): Declare.
39071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39073 2010-08-31 Andreas Schwab <schwab@redhat.com>
39076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39077 shifting retval into place.
39079 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39081 * nis/rpcsvc/nis.h: Update copyright notice.
39082 * nis/rpcsvc/nis.x: Likewise.
39083 * nis/rpcsvc/nis_callback.h: Likewise.
39084 * nis/rpcsvc/nis_callback.x: Likewise.
39085 * nis/rpcsvc/nis_object.x: Likewise.
39086 * nis/rpcsvc/nis_tags.h: Likewise.
39087 * nis/rpcsvc/yp.h: Likewise.
39088 * nis/rpcsvc/yp.x: Likewise.
39089 * nis/rpcsvc/ypupd.h: Likewise.
39090 * nis/yp_xdr.c: Likewise.
39091 * nis/ypupdate_xdr.c: Likewise.
39093 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39094 mainly the body of pmap_getport. Add parameters to specify timeouts.
39095 (pmap_getport): Use __libc_rpc_getport.
39096 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39097 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39098 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39100 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39105 2010-08-27 Roland McGrath <roland@redhat.com>
39107 * sysdeps/i386/i686/multiarch/Makefile
39108 (CFLAGS-varshift.c): New variable.
39110 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39112 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39113 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39117 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39119 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39121 * sysdeps/x86_64/strlen.S: Unroll the loop.
39122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39123 strlen-sse2 strlen-sse2-bsf.
39124 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39125 __strlen_no_bsf if bit_Slow_BSF is set.
39126 (__strlen_sse42): Removed.
39127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39128 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39130 2010-08-25 Roland McGrath <roland@redhat.com>
39132 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39133 * sysdeps/x86_64/multiarch/varshift.c: New file.
39134 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39135 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39136 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39137 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39139 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39142 strlen-sse2 strlen-sse2-bsf.
39143 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39144 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39145 (__strlen_sse2): Removed.
39146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39149 bit_Slow_BSF for Atom.
39150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39151 (index_Slow_BSF): Define.
39152 (HAS_SLOW_BSF): Define.
39154 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39157 * resolv/res_init.c (__res_vinit): When no server address at all
39158 is given default to loopback.
39160 2010-08-24 Roland McGrath <roland@redhat.com>
39162 * configure.in: Remove config-name.h generation.
39163 * configure: Regenerated.
39164 * config-name.in: File removed.
39165 * scripts/config-uname.sh: New file.
39166 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39167 ($(objdir)config-name.h): New target.
39169 * sunrpc/rpc_parse.h: Avoid nested comment.
39171 2010-08-24 Richard Henderson <rth@redhat.com>
39172 Ulrich Drepper <drepper@redhat.com>
39173 H.J. Lu <hongjiu.lu@intel.com>
39175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39177 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39178 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39179 _mm_alignr_epi8 with _mm_loadu_si128.
39180 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39181 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39182 (__m128i_shift_right): Removed.
39183 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39184 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39185 * sysdeps/x86_64/multiarch/varshift.h: New file.
39186 * sysdeps/x86_64/multiarch/varshift.S: New file.
39188 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39190 * configure.in: Move assembler checks to before sysdep dir checking.
39192 2010-08-20 Petr Baudis <pasky@suse.cz>
39194 * LICENSES: Sync the sunrpc license.
39196 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39198 * sunrpc/auth_des.c: Update copyright notice once again.
39199 * sunrpc/auth_none.c: Likewise.
39200 * sunrpc/auth_unix.c: Likewise.
39201 * sunrpc/authdes_prot.c: Likewise.
39202 * sunrpc/authuxprot.c: Likewise.
39203 * sunrpc/bindrsvprt.c: Likewise.
39204 * sunrpc/clnt_gen.c: Likewise.
39205 * sunrpc/clnt_perr.c: Likewise.
39206 * sunrpc/clnt_raw.c: Likewise.
39207 * sunrpc/clnt_simp.c: Likewise.
39208 * sunrpc/clnt_tcp.c: Likewise.
39209 * sunrpc/clnt_udp.c: Likewise.
39210 * sunrpc/clnt_unix.c: Likewise.
39211 * sunrpc/des_crypt.c: Likewise.
39212 * sunrpc/des_soft.c: Likewise.
39213 * sunrpc/get_myaddr.c: Likewise.
39214 * sunrpc/getrpcport.c: Likewise.
39215 * sunrpc/key_call.c: Likewise.
39216 * sunrpc/key_prot.c: Likewise.
39217 * sunrpc/openchild.c: Likewise.
39218 * sunrpc/pm_getmaps.c: Likewise.
39219 * sunrpc/pm_getport.c: Likewise.
39220 * sunrpc/pmap_clnt.c: Likewise.
39221 * sunrpc/pmap_prot.c: Likewise.
39222 * sunrpc/pmap_prot2.c: Likewise.
39223 * sunrpc/pmap_rmt.c: Likewise.
39224 * sunrpc/rpc/auth.h: Likewise.
39225 * sunrpc/rpc/auth_unix.h: Likewise.
39226 * sunrpc/rpc/clnt.h: Likewise.
39227 * sunrpc/rpc/des_crypt.h: Likewise.
39228 * sunrpc/rpc/key_prot.h: Likewise.
39229 * sunrpc/rpc/netdb.h: Likewise.
39230 * sunrpc/rpc/pmap_clnt.h: Likewise.
39231 * sunrpc/rpc/pmap_prot.h: Likewise.
39232 * sunrpc/rpc/pmap_rmt.h: Likewise.
39233 * sunrpc/rpc/rpc.h: Likewise.
39234 * sunrpc/rpc/rpc_des.h: Likewise.
39235 * sunrpc/rpc/rpc_msg.h: Likewise.
39236 * sunrpc/rpc/svc.h: Likewise.
39237 * sunrpc/rpc/svc_auth.h: Likewise.
39238 * sunrpc/rpc/types.h: Likewise.
39239 * sunrpc/rpc/xdr.h: Likewise.
39240 * sunrpc/rpc_clntout.c: Likewise.
39241 * sunrpc/rpc_cmsg.c: Likewise.
39242 * sunrpc/rpc_common.c: Likewise.
39243 * sunrpc/rpc_cout.c: Likewise.
39244 * sunrpc/rpc_dtable.c: Likewise.
39245 * sunrpc/rpc_hout.c: Likewise.
39246 * sunrpc/rpc_main.c: Likewise.
39247 * sunrpc/rpc_parse.c: Likewise.
39248 * sunrpc/rpc_parse.h: Likewise.
39249 * sunrpc/rpc_prot.c: Likewise.
39250 * sunrpc/rpc_sample.c: Likewise.
39251 * sunrpc/rpc_scan.c: Likewise.
39252 * sunrpc/rpc_scan.h: Likewise.
39253 * sunrpc/rpc_svcout.c: Likewise.
39254 * sunrpc/rpc_tblout.c: Likewise.
39255 * sunrpc/rpc_util.c: Likewise.
39256 * sunrpc/rpc_util.h: Likewise.
39257 * sunrpc/rpcinfo.c: Likewise.
39258 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39259 * sunrpc/rpcsvc/key_prot.x: Likewise.
39260 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39261 * sunrpc/rpcsvc/mount.x: Likewise.
39262 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39263 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39264 * sunrpc/rpcsvc/rex.x: Likewise.
39265 * sunrpc/rpcsvc/rstat.x: Likewise.
39266 * sunrpc/rpcsvc/rusers.x: Likewise.
39267 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39268 * sunrpc/rpcsvc/spray.x: Likewise.
39269 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39270 * sunrpc/rtime.c: Likewise.
39271 * sunrpc/svc.c: Likewise.
39272 * sunrpc/svc_auth.c: Likewise.
39273 * sunrpc/svc_authux.c: Likewise.
39274 * sunrpc/svc_raw.c: Likewise.
39275 * sunrpc/svc_run.c: Likewise.
39276 * sunrpc/svc_simple.c: Likewise.
39277 * sunrpc/svc_tcp.c: Likewise.
39278 * sunrpc/svc_udp.c: Likewise.
39279 * sunrpc/svc_unix.c: Likewise.
39280 * sunrpc/svcauth_des.c: Likewise.
39281 * sunrpc/xcrypt.c: Likewise.
39282 * sunrpc/xdr.c: Likewise.
39283 * sunrpc/xdr_array.c: Likewise.
39284 * sunrpc/xdr_float.c: Likewise.
39285 * sunrpc/xdr_mem.c: Likewise.
39286 * sunrpc/xdr_rec.c: Likewise.
39287 * sunrpc/xdr_ref.c: Likewise.
39288 * sunrpc/xdr_sizeof.c: Likewise.
39289 * sunrpc/xdr_stdio.c: Likewise.
39291 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39294 2010-08-19 Andreas Schwab <schwab@redhat.com>
39296 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39298 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39300 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39302 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39303 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39305 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39306 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39307 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39308 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39309 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39310 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39311 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39312 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39313 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39315 2010-07-26 Anton Blanchard <anton@samba.org>
39317 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39318 * malloc/arena.c (heap_trim): Likewise.
39320 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39322 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39325 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39327 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39329 * sysdeps/i386/elf/Makefile: New file.
39331 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39333 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39334 from fanotify_init.
39335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39338 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39340 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39342 * sysdeps/multiarch/strcmp.S: Likewise.
39344 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39346 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39347 strncase_l-nonascii.
39348 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39349 Add strncase_l-ssse3.
39350 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39351 * sysdeps/x86_64/strcmp.S: Likewise.
39352 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39353 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39354 * sysdeps/x86_64/strncase.S: New file.
39355 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39356 * sysdeps/x86_64/strncase_l.S: New file.
39357 * string/Makefile (strop-tests): Add strncasecmp.
39358 * string/test-strncasecmp.c: New file.
39360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39363 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39364 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39366 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39368 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39370 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39372 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39374 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39376 2010-05-01 Alan Modra <amodra@gmail.com>
39378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39379 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39380 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39381 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39382 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39383 tidying. Don't tail-call __sigjmp_save for static lib.
39384 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39386 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39387 (CALL_MCOUNT): Add eh info, and nop after bl.
39388 (TAIL_CALL_SYSCALL_ERROR): New macro.
39389 (PSEUDO_RET): Use it.
39390 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39391 Correct save location of integer regs and cr.
39392 (_dl_profile_resolve): Correct cr save location. Delete nops
39393 after bl when SHARED. Reduce cfi size a little by better
39394 placement of cfi directives.
39395 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39396 make a stack frame. Instead use parm save area as a temp.
39397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39398 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39400 Don't make a stack frame for parent, use parm save area.
39401 Increase child stack frame to 112 bytes. Don't save unused reg,
39402 and adjust reg usage. Set up cfi on error recovery and
39403 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39405 (__makecontext): Add dummy nop after jump to exit.
39406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39407 Use correct parm save area and cr save, reduce stack frame.
39408 Correct cfi for possible PSEUDO_RET frame setup.
39409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39410 Branch to local label emitted by PSEUDO_RET rather than
39413 2010-08-12 Andreas Schwab <schwab@redhat.com>
39416 * locale/programs/locale.c (print_assignment): New function.
39417 (show_locale_vars): Use it.
39419 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39421 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39423 (struct statfs64): Likewise.
39424 (_STATFS_F_FLAGS): Define.
39425 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39426 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39427 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39428 (ST_VALID): Define locally.
39429 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39430 __statvfs_getflags, use the provided value.
39431 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39432 __ASSUME_STATFS_F_FLAGS.
39434 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39436 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39437 Add sys/fanotify.h.
39438 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39439 fanotify_mask for GLIBC_2.13.
39440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39441 fanotify_init and fanotify_mark.
39442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39443 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39445 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39447 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39448 prlimit64 for GLIBC_2.13.
39449 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39455 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39456 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39457 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39459 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39462 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39463 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39465 * nss/Makefile: Add rules to build and run tst-nss-test1.
39466 * shlib-versions: Add entry for libnss_test1.
39467 * nss/nss_test1.c: New file.
39468 * nss/tst-nss-test1.c: New file.
39470 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39471 (__nss_configure_lookup): Set appropriate entry in
39472 __nss_configure_lookup to true.
39473 * nss/nsswitch.h: Define enum with indeces of databases in
39474 databases and __nss_database_custom arrays. Declare
39475 __nss_database_custom.
39476 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39477 to avoid using nscd when custom rules are installed.
39478 * nss/getXXbyYY_r.c: Likewise.
39479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39481 * nss/nss_files/files-parse.c: Whitespace fixes.
39483 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39486 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39487 * posix/fnmatch_loop.c: Likewise.
39489 2010-07-17 Andi Kleen <ak@linux.intel.com>
39491 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39492 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39493 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39494 * Versions.def [GLIBC_2.13]: Add.
39496 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39498 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39499 Also fail if tpwd after pwuid call is NULL.
39501 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39503 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39504 when converting to ms.
39506 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39508 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39509 EOPNOTSUPP errors with ENOTTY.
39510 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39511 EOPNOTSUPP errors with ENOTTY.
39513 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39515 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39516 Add strcasecmp_l-ssse3.
39517 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39519 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39520 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39521 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39523 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39525 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39527 * string/Makefile (strop-tests): Add strcasecmp.
39528 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39529 strcasecmp_l-nonascii.
39530 (gen-as-const-headers): Add locale-defines.sym.
39531 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39532 * sysdeps/x86_64/strcasecmp.S: New file.
39533 * sysdeps/x86_64/strcasecmp_l.S: New file.
39534 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39535 * sysdeps/x86_64/locale-defines.sym: New file.
39536 * string/test-strcasecmp.c: New file.
39538 * string/test-strcasestr.c: Test both ends of the range of characters.
39539 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39541 2010-07-29 Roland McGrath <roland@redhat.com>
39544 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39546 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39548 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39551 2010-07-27 Andreas Schwab <schwab@redhat.com>
39553 * manual/memory.texi (Malloc Tunable Parameters): Document
39556 2010-07-26 Roland McGrath <roland@redhat.com>
39559 * configure.in (-fgnu89-inline check): Set and substitute
39560 gnu89_inline, not libc_cv_gnu89_inline.
39561 * configure: Regenerated.
39562 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39564 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39566 * string/test-strnlen.c: New file.
39567 * string/Makefile (strop-tests): Add strnlen.
39568 * string/tester.c (test_strnlen): Add a few more test cases.
39569 * string/tst-strlen.c: Better error reporting.
39571 * sysdeps/x86_64/strnlen.S: New file.
39573 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39576 lower-latency instructions.
39578 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39580 * string/test-strcasestr.c: New file.
39581 * string/test-strstr.c: New file.
39582 * string/Makefile (strop-tests): Add strstr and strcasestr.
39583 * string/str-two-way.h: Don't undefine MAX.
39584 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39586 2010-07-21 Andreas Schwab <schwab@redhat.com>
39588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39589 strcasestr-nonascii.
39590 (CFLAGS-strcasestr-nonascii.c): Define.
39591 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39593 Remove unused attribute.
39595 2010-07-20 Roland McGrath <roland@redhat.com>
39597 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39598 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39599 ld.so.cache was broken. With it, there is no way to disable dsocaps
39600 like LD_HWCAP_MASK can disable hwcaps.
39602 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39604 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39606 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39608 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39609 call in strcasestr.
39610 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39611 __strcasestr_sse42_nonascii.
39612 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39613 strcasestr-nonascii.c.
39614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39616 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39618 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39620 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39623 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39628 2010-07-06 Andreas Schwab <schwab@redhat.com>
39631 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39634 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39636 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39637 _PC_PIPE_BUF using F_GETPIPE_SZ.
39639 2010-07-05 Roland McGrath <roland@redhat.com>
39641 * manual/arith.texi (Rounding Functions): Fix rint description
39642 implicit in round description.
39644 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39646 * elf/Makefile: Fix linking for a few tests to make recent linker
39649 2010-06-30 Andreas Schwab <schwab@redhat.com>
39651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39652 $(common-objpfx)libc_nonshared.a.
39654 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39656 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39657 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39658 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39659 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39660 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39661 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39662 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39663 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39678 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39679 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39680 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39681 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39682 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39683 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39684 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39685 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39686 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39687 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39688 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39689 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39705 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39707 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39708 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39709 * string/memmove.c (memmove): Renamed to ...
39710 (MEMMOVE): ...this. Default to memmove.
39711 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39712 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39715 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39716 mempcpy-ssse3-back memmove-ssse3-back.
39717 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39720 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39721 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39722 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39723 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39724 * sysdeps/x86_64/multiarch/memmove.c: New file.
39725 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39726 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39727 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39728 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39729 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39732 (index_Fast_Copy_Backward): Define.
39733 (HAS_ARCH_FEATURE): Define.
39734 (HAS_FAST_REP_STRING): Define.
39735 (HAS_FAST_COPY_BACKWARD): Define.
39737 2010-06-21 Andreas Schwab <schwab@redhat.com>
39739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39740 Restore proper fallback handling.
39742 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39745 * posix/group_member.c (__group_member): Correct checking loop.
39747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39748 OOM in getpwuid_r correctly. Return error number when the caller
39749 should return, otherwise -1.
39750 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39751 call returning > 0 value.
39752 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39754 2010-06-07 Andreas Schwab <schwab@redhat.com>
39756 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39757 libc_nonshared.a from targets in modules-names.
39759 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39761 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39764 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39766 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39767 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39768 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39771 2010-06-02 Andreas Schwab <schwab@redhat.com>
39773 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39775 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39786 2010-06-14 Roland McGrath <roland@redhat.com>
39788 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39790 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39792 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39793 __REDIRECT followed by __THROW.
39794 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39795 * posix/getopt.h (getopt): Likewise.
39797 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39799 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39800 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39801 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39803 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39804 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39806 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39808 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39810 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39814 Properly check family and model.
39816 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39818 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39820 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39822 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39824 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39826 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39829 2010-05-19 Andreas Schwab <schwab@redhat.com>
39831 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39834 2010-05-21 Andreas Schwab <schwab@redhat.com>
39836 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39837 and internal_recvmmsg.
39838 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39839 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39841 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39843 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39844 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39845 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39847 2010-05-20 Andreas Schwab <schwab@redhat.com>
39849 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39851 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39853 POWER7 optimizations.
39854 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39855 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39857 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39859 * version.h: Update for 2.13 development version.
39861 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39863 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39864 exceptions. Return 0.
39866 2010-05-07 Roland McGrath <roland@redhat.com>
39868 * elf/ldconfig.c (main): Add a const.
39870 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39872 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39873 (args_options): Add no-idn option.
39874 (ahosts_keys_int): Add idn_flags to ai_flags.
39875 (parse_option): Handle 'i' option to clear idn_flags.
39877 * malloc/malloc.c (_int_free): Possible race in the most recently
39878 added check. Only act on the data if no current modification
39881 See ChangeLog.17 for earlier changes.